# Sums and Differences of Independent Random Variables

## Horizontal and vertical translations of the histogram

Estimated11 minsto complete
%
Progress
Practice Sums and Differences of Independent Random Variables

MEMORY METER
This indicates how strong in your memory this concept is
Progress
Estimated11 minsto complete
%
Transforming Random Variables II

In the previous lesson, Transforming Random Variables I, we considered the following problem, and partially solved it, but did not yet know how to handle the $0.30 per customer materials cost. In this lesson we will learn how to multiply random variables by a constant (like 0.30), so we can finish solving the problem. Suppose you are running a lemonade stand, and you know that you have a mean of 15 customers per hour, with a standard deviation of 5 customers. If you know that it costs you 30 cents per glass in materials, and that you could hire your little sister to work the stand for you for$4.50 per hour, how could you calculate the mean and standard deviation of the cost per hour of having your sister run the stand?

### Transforming Random Variables (Part 2)

We discussed previously the process of adding or subtracting a constant to a random variable, but often, you may need to multiply the random variable by a constant as well, or instead. For instance, suppose you had a random variable that represented the temperature in your classroom in degrees Celsius, and wanted to convert the values to degrees Fahrenheit. You could either start over with your calculations, having first converted each random variable outcome to the Fahrenheit equivalent, or you could just convert the mean and variance you already calculated to Fahrenheit by multiplying by  and adding 32.

Since we discussed the process of adding a constant to a random variable in the previous lesson, let’s look at the multiplication process.

The graph below represents the probability distribution of random variable , with and :

Let’s see what happens if we multiply each outcome by 3, and find and :

By multiplying every outcome by three, not only was the mean multiplied by three: , but the standard deviation was also increased by a multiple of three: . The variance, since it is the square of the standard deviation, would be multiplied by 32 or 9.

#### Transforming Variables

1. Given that , , and , what is and ?

When a random variable is multiplied by a constant, the mean and standard deviation are multiplied by the same constant, and the variance is multiplied by the square of the constant:

2. Given random variable  with , and , what is and ?

As above, when a random variable is multiplied by a constant, the mean and standard deviation are multiplied by the same constant, and the variance is multiplied by the square of the constant:

#### Finding the Mean and Standard Deviation

Tony the troll charges a fee of 3 gold pieces per person + 2 gold pieces per sword in order to cross his bridge. If random variable S represents the number of swords carried by a traveler wanting to cross his bridge, then , and  What is the mean and standard deviation of Tony’s income per traveler

Since we know the mean and variance of the traffic across Tony’s bridge, we are really just looking to multiply that data by 2 and then add 3 in order to convert the number of swords to the number of gold pieces and add the per traveler charge.

We can describe the converted values mathematically, using the random variable S from the question, as: , and .

We know that adding a constant affects the mean, but not the variance or standard deviation, and that multiplying by a constant affects both, so the standard deviation should be multiplied by two, and the mean should be multiplied by 2, and then increased by 3:

•  (remember that adding a constant to a random variable doesn’t affect the standard deviation.)

#### Earlier Problem Revisited

Suppose you are running a lemonade stand, and you know that you have a mean of 15 customers per hour, with a standard deviation of 5 customers. If you know that it costs you 30 cents per glass in materials, and that you could hire your little sister to work the stand for you for $4.50 per hour, how could you calculate the mean and standard deviation of the cost per hour of having your sister run the stand? Now we should have all of the pieces to solve this problem. If we let random variable equal the number of customers per hour, then and . We need to multiply the number of customers, , by$0.30, and add that to the base cost of $4.50 that we have to pay our sister regardless of the number of customers, to get the hourly cost in dollars. Mathematically, we need to find the mean and standard deviation of . In other words, we are looking for and . So, based on our mean number of customers, and paying our sister$4.50 per hour, we can expect to have a total of $9.00 per hour in materials and labor, with a standard deviation of$1.50.

### Examples

#### Example 1

If , and , what is  and ?

Multiplying a random variable by a constant affects both mean and standard deviation:

#### Example 2

Given , and , what would  and  be?

As above, in :

#### Example 3

If random variable  has , and , what is the mean and the standard deviation of ?

Multiplying by a constant affects both mean and variance, adding a constant affects only the mean, so here we get:

### Review

1. If , and , what is  and ?
2. If , and , what is  and ?
3. If , and , what is and ?
4. If , and , what is the  and  of ?
5. If , and , what is the and of ?
6. If , and , what is the  and of ?
7. If , and , what is the and of ?
8. If , and , what is the  and of ?
9. If , and , what is the  and  of ?
10. If of and of , what is and ?
11. If of and of , what is and ?
12. If of and of , what is and ?
13. If of and of , what is and ?

### Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes

### Vocabulary Language: English

TermDefinition
expected value The expected value is the return or cost you can expect on average, given many trials.
mean The mean, often called the average, of a numerical set of data is simply the sum of the data values divided by the number of values.
mean of a linear transformation the mean of a linear transformation is given by the following: uc+dx = c+dux
random variables Random variables are quantities that take on different values depending on chance, or probability.
standard deviation of a linear transformation The standard deviation of a linear transformation has the form: $\sigma_{c+dX} = |d| \sigma_X$
Transformation The transformation of a random variable describes the effect of performing operations (+, -, *, /) on the random variable.
variance A measure of the spread of the data set equal to the mean of the squared variations of each data value from the mean of the data set.