<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
You are viewing an older version of this Concept. Go to the latest version.

# Sums and Differences of Independent Random Variables

## Horizontal and vertical translations of the histogram

0%
Progress
Practice Sums and Differences of Independent Random Variables
Progress
0%
Transforming Random Variables II

#### Objective

Here you will learn about multiplying random variables by a constant.

#### Concept

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?

#### Watch This

http://youtu.be/hpQfhHQS4Xk    Arnold Kling — transformations of random variables

#### Guidance

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  $\frac{9}{5}$ 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 $Y$ , with $\mu_Y=3$ and $\sigma_Y=1$ :

Let’s see what happens if we multiply each outcome by 3, and find $\mu_{3Y}$ and $\sigma_{3Y}$ :

By multiplying every outcome by three, not only was the mean multiplied by three:  $\mu_{3Y} = 3 \times 3=9$ , but the standard deviation was also increased by a multiple of three: $\sigma_{3Y}=1 \times 3=3$ . The variance, since it is the square of the standard deviation, would be multiplied by 3 2 or 9.

Example A

Given that $\mu_X=3$ , $\sigma_X=.5$ , and ${\sigma^2}_X= .25$ , what is $\mu_{3X}$$\sigma_{3X}$ and ${\sigma^2}_{3X}$ ?

Solution :

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:

• $\mu_{3X}=\mu_X \times 3= 3 \times 3=9$
• $\sigma_{3X}=\sigma_X \times 3= .5 \times 3 = 1.5$
• ${\sigma^2}_{3X}={\sigma^2}_X \times 3^2=.25 \times 9=2.25$

Example B

Given random variable  $Y$ with $\mu_Y=.75$$\sigma_Y=0.125$ , and ${\sigma^2}_Y=0.0156$ , what is $\mu_{-2.2Y}$$\sigma_{-2.2Y}$ and ${\sigma^2}_{-2.2Y}$ ?

Solution:

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:

• $\mu_{-2.2Y} = \mu_Y \times -2.2 = 0.75 \times -2.2 = -1.65$
• $\sigma_{-2.2y} = \sigma_Y \times -2.2 = 0.125 \times -2.2 = -0.275$
• ${\sigma^2}_{-2.2Y} = {\sigma^2}_Y \times (-2.2)^2 = 0.0156 \times 4.84 = 0.075$

Example C

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 $\mu_S=2.8$ , and  $\sigma_S=1.095$ What is the mean and standard deviation of Tony’s income per traveler?

Solution:

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: $\mu_{2S+3}$ , and $\sigma_{2S+3}$ .

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:

• $\mu_{2S+3} = 2({\mu_S})+3 = 2(2.8)+3=5.6+3=8.6$
• $\sigma_{2S+3} = 2(\sigma_S)=2(1.095)=2.19$  (remember that adding a constant to a random variable doesn’t affect the standard deviation.)

#### Concept 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 $D$ equal the number of customers per hour, then $\mu_D=15$ and $\sigma_D=5$ . We need to multiply the number of customers, $D$ , 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 $.3D + 4.5$ . In other words, we are looking for $\mu_{.3D+4.5}$ and $\sigma_{.3D+4.5}$ . • $\mu_{.3D+4.5}=.3(\mu_D)+4.5=.3(15)+4.5=4.5+4.5= \ 9.00 \ per \ hour$ • $\sigma_{.3D+4.5}=.3(\sigma_D)=.3(5)=\ 1.50 \ per \ hour$ 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.

#### Vocabulary

A random variable takes on the numerical outcomes of a random process.

The mean of a random variable is also known as the expected value , and is the value you would expect to be the average outcome of many, many trials.

The transformation of a random variable describes the effect of performing operations (+, -, *, /) on the random variable.

#### Guided Practice

1. If $\mu_X=5.5$ , and $\sigma_X=.8$ , what is  $\mu_{2.5X}$ and $\sigma_{2.5X}$ ?
2. Given $\mu_Y=3.1$ , $\sigma_X=.35$ , and ${\sigma^2}_X=.1225$ , what would $\mu_{-1.3X}$$\sigma_{-1.3X}$ and  ${\sigma^2}_{-1.3X}$ be?
3. If random variable  $Z$ has $\mu=14.9$ , and  $\sigma^2=16$ , what is the mean and the standard deviation of $4Z+2$ ?

Solutions:

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

• $\mu_{2.5X}=(2.5)(\mu_X)=(2.5)(5.5)=13.75$
• $\sigma_{2.5X}=(2.5)(\sigma_X)=(2.5)(0.8)=.2$

2. As above, in $Q1$ :

• $\mu_{-1.3X}=(-1.3)(\mu_X)=(-1.3)(3.1)=-4.03$
• $\sigma_{-1.3X}=(-1.3)(\sigma_X)=(-1.3)(.35)=-0.455$
• ${\sigma^2}_{-1.3X}=(-1.3)^2({\sigma^2}_X)=(1.69)(0.1225)=0.207$

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

• $\mu_{4Z+2}=4(\mu_Z)+2=4(14.9)+2=59.6+2=61.6$
• ${\sigma^2}_{4Z+2}=4^2({\sigma^2}Z)=(16)(16)=256$

#### Practice

1. If $\mu_X=.23$ , and $\sigma_X=.03$ , what is  $\mu_{3.1X}$ and $\sigma_{3.1X}$ ?
2. If $\mu_C=124$ , and $\sigma_C=12$ , what is $\mu_{4C}$  and $\sigma_{4C}$ ?
3. If $\mu_Y=19.2$ , and $\sigma_Y=2.3$ , what is $\mu_{-1.9Y}$ and $\sigma_{-1.9Y}$ ?
4. If $\mu_Z=48.38$ , and $\sigma_Z=2.27$ , what is the  $\mu$ and  $\sigma$ of  $2.3Z$ ?
5. If $\mu_X=7.84$ , and $\sigma_X=.72$ , what is the $\mu$ and $\sigma$ of $-1.98X$ ?
6. If $\mu_A=\frac{5}{7}$ , and $\sigma_A=\frac{1}{7}$ , what is the  $\mu$ and $\sigma$ of $\frac{3}{14}A$ ?
7. If $\mu_B=14.11$ , and $\sigma_B=1.15$ , what is the $\mu$ and $\sigma$ of $-0.35B+2$ ?
8. If $\mu_A=\frac{3}{7}$ , and $\sigma_A=\frac{1}{7}$ , what is the  $\mu$ and $\sigma$ of $2A -\frac{3}{14}$ ?
9. If $\mu_Y=21.3$ , and $\sigma_Y=2.94$ , what is the  $\mu$ and  $\sigma$ of $-3.8Y+2.13$ ?
10. If $+1SD$ of $\mu_X=4.75$ and $-1SD$ of $\mu_X=3.25$ , what is $\mu_{3X+2.25}$ and $\sigma_{3X+2.25}$ ?
11. If $+1SD$ of $\mu_X=11.25$ and $-1SD$ of $\mu_X=9.75$ , what is $\mu_{2X-2.25}$ and $\sigma_{2X-2.25}$ ?
12. If $+2SD$ of $\mu_X=25$ and $-2SD$ of $\mu_X=5$ , what is $\mu_{3X-4}$ and $\sigma_{3X-4}$ ?
13. If $-2SD$ of $\mu_Z=9$ and $+2SD$ of $\mu_Z=15$ , what is $\mu_{2Z-.75}$ and $\sigma_{2Z-.75}$ ?

### Vocabulary Language: English

expected value

expected value

The expected value is the return or cost you can expect on average, given many trials.
mean

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

mean of a linear transformation

the mean of a linear transformation is given by the following: uc+dx = c+dux
random variables

random variables

Random variables are quantities that take on different values depending on chance, or probability.
standard deviation of a linear transformation

standard deviation of a linear transformation

The standard deviation of a linear transformation has the form: $\sigma_{c+dX} = |d| \sigma_X$
Transformation

Transformation

The transformation of a random variable describes the effect of performing operations (+, -, *, /) on the random variable.
variance

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.