Skip Navigation

7.5: Sums and Differences of Independent Random Variables

Difficulty Level: At Grade Created by: CK-12
Turn In

Learning Objectives

  • Construct probability distributions of random variables.
  • Calculate the mean and standard deviation for sums and differences of independent random variables.


In previous lessons, you learned that sampling is a way of estimating a parameter of a population by selecting data from that population and a way of computing the chance of obtaining a specified outcome from a sample given a specific population. In Fort McMurray, Alberta, better known as “Fort McMoney” because of the oil industry, housing is becoming a rare commodity. Suppose you are a recent winner of a lottery and you decide to invest your winnings in a housing project for this city. Your plan is to build \begin{align*}500\end{align*} single-family homes. Before you begin, there are some facts that you need to know so that the houses will be a quick sell and you can turn a profit for your investment. One bit of information that you would like to ascertain is how many televisions each family will have so you will know how many cable hook-ups to install in each household. Short of conducting a survey, how will you determine a solution to this problem?

Probability Distributions from Data

To begin, you should contact the local cable provider in the city and ask them to provide you with a record of the distribution of cable hook-ups per household that are currently on their books. Suppose they release this data:

Hook-ups per Household Proportion of Households
\begin{align*}1\end{align*} \begin{align*}0.328\end{align*}
\begin{align*}2\end{align*} \begin{align*}0.380\end{align*}
\begin{align*}3\end{align*} \begin{align*}0.142\end{align*}
\begin{align*}4\end{align*} \begin{align*}0.058\end{align*}

From the above table and histogram, you now have some estimates with which to work. The \begin{align*}'4'\end{align*} represents '\begin{align*}4\end{align*} or more’ but there are only \begin{align*}0.058\end{align*} or \begin{align*}5.8 \%\end{align*} of the houses that fall in this category. As well, if you add \begin{align*}0.380 + 0.142 + 0.058\end{align*}, you will see that a little more than \begin{align*}50 \% (0.580)\end{align*} of the households will have \begin{align*}2\end{align*} or more cable hook-ups. The above distribution is skewed toward the larger numbers and has a mean of approximately \begin{align*}1.746\end{align*}. By using probability from samples with known distributions, you now have some data for the unknown population.

The data above can also be shown in another way to display numbers that represent the possible number of hook-ups in each household. This display is done by using a list of random digits to select a household at random from this distribution. The numbers must be three-digit numbers because the percentages all have three decimal places.

Number of Hook-ups per Household Proportions of Households Random Numbers Representing this Category
\begin{align*} 0.092\end{align*} \begin{align*}001-092\end{align*}
\begin{align*}1\end{align*} \begin{align*}0.328\end{align*} \begin{align*}093-329\end{align*}
\begin{align*}2\end{align*} \begin{align*}0.380\end{align*} \begin{align*}330-382\end{align*}
\begin{align*}3\end{align*} \begin{align*}0.142 \end{align*} \begin{align*}383-524\end{align*}
\begin{align*}4\end{align*} \begin{align*}0.058\end{align*} \begin{align*}525-582\end{align*}

A three-digit random number does not represent an individual household, but with other three-digit numbers in its category, it represents the many households in the category.

From this display, you can see that \begin{align*}92\end{align*} households out of \begin{align*}1000\end{align*} require no cable hook-up while \begin{align*}328\end{align*} out of \begin{align*}1000\end{align*} require one cable hook-up. This way of displaying the data allows you to see actual numbers for each household.

Probability distribution is the set of values that a random variable takes on. Its value depends upon the result of a trial. The random variable, \begin{align*}X\end{align*}, will represent the number of cable hook-ups in a randomly selected household. Therefore, \begin{align*}P(x = 2) \approx 0.380\end{align*}, because approximately \begin{align*}38.0 \%\end{align*} of the randomly selected households require two cable hook-ups.

At this time, there are two ways that you can create probability distributions from data. Sometimes previously collected data, relative to the random variable that you are studying, can serve as a probability distribution. This was the case with the data received from the local cable company in Fort McMurray. In addition to this method, a simulation is also a good way to create an approximate probability distribution. A probability distribution can also be constructed from basic principles and assumptions by using the rules of theoretical probability. The following examples will lead to the understanding of these rules of theoretical probability.


Create a table that shows all the possible outcomes when two die are rolled simultaneously. (Hint: There are \begin{align*}36\end{align*} possible outcomes.)

\begin{align*}&&& && && 2^{\text{nd}} && \text{Die}\\ &&& {\color{blue}1} && {\color{blue}2} && {\color{blue}3} && {\color{blue}4} && {\color{blue}5} && {\color{blue}6}\\ & {\color{red}1} && 1,1 && 1,2 && 1,3 && 1,4 && 1,5 && 1,6\\ & {\color{red}2} && 2,1 && 2,2 && 2,3 && 2,4 && 2,5 && 2,6\\ & {\color{red}3} && 3,1 && 3,2 && 3,3 && 3,4 && 3,5 && 3,6 && 1^{\text{st}} \text{ Die}\\ & {\color{red}4} && 4,1 && 4,2 && 4,3 && 4,4 && 4,5 && 4,6\\ & {\color{red}5} && 5,1 && 5,2 && 5,3 && 5,4 && 5,5 && 5,6\\ & {\color{red}6} && 6,1 && 6,2 && 6,3 && 6,4 && 6,5 && 6,6\end{align*}

This table of possible outcomes when two die are rolled simultaneously can now be used to construct other probability distributions. The first table will display the sum of the two die and the second will represent the larger of the two numbers.

Sum of Two Die, \begin{align*}x\end{align*} Probability, \begin{align*}p\end{align*}
\begin{align*}2\end{align*} \begin{align*}1/36\end{align*}
\begin{align*}3\end{align*} \begin{align*}2/36\end{align*}
\begin{align*}4\end{align*} \begin{align*}3/36\end{align*}
\begin{align*}5\end{align*} \begin{align*}4/36\end{align*}
\begin{align*}6\end{align*} \begin{align*}5/36\end{align*}
\begin{align*}7\end{align*} \begin{align*}6/36\end{align*}
\begin{align*}8\end{align*} \begin{align*}5/36\end{align*}
\begin{align*}9\end{align*} \begin{align*}4/36\end{align*}
\begin{align*}10\end{align*} \begin{align*}3/36\end{align*}
\begin{align*}11\end{align*} \begin{align*}2/36\end{align*}
\begin{align*}12\end{align*} \begin{align*}1/36\end{align*}
Total \begin{align*}1\end{align*}
Larger Number, \begin{align*}x\end{align*} Probability, \begin{align*}p\end{align*}
\begin{align*}1\end{align*} \begin{align*}1/36\end{align*}
\begin{align*}2\end{align*} \begin{align*}3/36\end{align*}
\begin{align*}3\end{align*} \begin{align*}5/36\end{align*}
\begin{align*}4\end{align*} \begin{align*}7/36\end{align*}
\begin{align*}5\end{align*} \begin{align*}9/36\end{align*}
\begin{align*}6\end{align*} \begin{align*}11/36\end{align*}
Total \begin{align*}1\end{align*}

When you roll the two die, what is the probability that the sum of the two die is \begin{align*}4\end{align*}? The probability that the sum of the two die is four is \begin{align*} \frac{3}{36}\end{align*}.

What is the probability that the larger number is \begin{align*}4\end{align*}? The probability that the larger number is four is \begin{align*} \frac{7}{36}\end{align*}.


The Regional Hospital has recently opened a new pulmonary unit and has released the following data on the proportion of silicosis cases caused by working in the coal mines. Suppose two silicosis patients are randomly selected from the large population with the disease.

Silicosis Cases Proportion
Worked in the mine \begin{align*}0.80\end{align*}
Did not work in the mine \begin{align*}0.20\end{align*}

There are four possible outcomes for the two patients. With ‘yes’ representing “worked in the mines” and ‘no’ representing “did not work in the mines”, the possibilities are

First Patient Second Patient
1 No No
2 Yes No
3 No Yes
4 Yes Yes

The patients for this survey have been randomly selected from a large population and therefore the outcomes are independent. The probability for each outcome can be calculated by applying this rule:

\begin{align*}P (\text{no for } \ 1^{st}) \cdot P (\text{no for } \ 2nd) & = (0.2) (0.2) = 0.04 \\ P (\text{yes for} \ 1^{st}) \cdot P (\text{no for } \ 2nd) & = (0.8) (0.2) = 0.16 \\ P (\text{no for } \ 1^{st}) \cdot P (\text{yes for} \ 2nd) & = (0.2) (0.8) = 0.16 \\ P (\text{yes for} \ 1^{st}) \cdot P (\text{yes for} \ 2nd) & = (0.8) (0.8) = 0.64\end{align*}

If \begin{align*}X\end{align*} represents the number of mine workers in this random sample, then the first of these outcomes results in \begin{align*}X = 0\end{align*}, the second and third each result in \begin{align*}X = 1\end{align*} and the fourth results in \begin{align*}X = 2\end{align*}. Because the second and third outcomes are disjoint, their probabilities can be added. The probability distribution of \begin{align*}X\end{align*} is given in the table below:

\begin{align*}x\end{align*} Probability of \begin{align*}x\end{align*}
\begin{align*}1\end{align*} \begin{align*}0.16 + 0.16 = 0.32\end{align*}
\begin{align*}2\end{align*} \begin{align*}0.64\end{align*}

These probabilities are added because the outcomes are disjoint.


The Quebec Junior Major Hockey League has five teams from the Maritime Provinces. These teams are Cape Breton Screaming Eagles, Halifax Mooseheads, PEI Rockets, Moncton Wildcats and Saint John Sea Dogs. Each team has its own hometown arena and each arena has a seating capacity that is listed below:

Team Seating Capacity (Thousands)
Screaming Eagles \begin{align*}5\end{align*}
Mooseheads \begin{align*}10\end{align*}
Rockets \begin{align*}4\end{align*}
Wildcats \begin{align*}7\end{align*}
Sea Dogs \begin{align*}6\end{align*}

A schedule can now be drawn up for the teams to play pre-season exhibition games. One game will be played in each home arena and the possible capacity attendance will also be calculated. In addition, the probability of the total possible attendance being at least \begin{align*}12,000\end{align*} people will also be calculated.

The number of possible combinations of two teams from these five is \begin{align*}10\end{align*}. \begin{align*}(_{5}C_{2})\end{align*}. The following table shows the possible attendance for each of the pre-season, exhibition games.

Teams Combined Attendance Capacity for Both Games (Thousands)
Eagles/Mooseheads \begin{align*}5 + 10 = 15\end{align*}
Eagles/Rockets \begin{align*}5 + 4 = 9\end{align*}
Eagles/Wildcats \begin{align*}5 + 7 = 12\end{align*}
Eagles/Sea Dogs \begin{align*}5 + 6 = 11\end{align*}
Mooseheads/Rockets \begin{align*}10 + 4 = 14\end{align*}
Mooseheads/Wildcats \begin{align*}10 + 7 = 17\end{align*}
Mooseheads/Sea Dogs \begin{align*}10 + 6 = 16\end{align*}
Rockets/Wildcats \begin{align*}4 + 7 = 11\end{align*}
Rockets/Sea Dog \begin{align*}4 + 6 = 10\end{align*}
Sea Dogs/Wildcats \begin{align*}6 + 7 = 13\end{align*}

The last calculation is to determine the probability distribution of the capacity attendance.

Capacity Attendance, \begin{align*}x\end{align*} Probability, \begin{align*}p\end{align*}
\begin{align*}9\end{align*} \begin{align*}0.1\end{align*}
\begin{align*}10\end{align*} \begin{align*}0.1\end{align*}
\begin{align*}11\end{align*} \begin{align*}0.2\end{align*}
\begin{align*}12\end{align*} \begin{align*}0.1\end{align*}
\begin{align*}13\end{align*} \begin{align*}0.1\end{align*}
\begin{align*}14\end{align*} \begin{align*}0.1\end{align*}
\begin{align*}15\end{align*} \begin{align*}0.1\end{align*}
\begin{align*}16\end{align*} \begin{align*}0.1\end{align*}
\begin{align*}17\end{align*} \begin{align*}0.1\end{align*}

The probability that the capacity attendance will be at least \begin{align*}12,000\end{align*} is \begin{align*}0.6 (0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1)\end{align*}

Expected Values and Standard Deviation

Returning to the original problem of the number of cable hook-ups for the \begin{align*}500\end{align*} single-family homes, take another look at figures one and two. From these displays, you can find the mean number of hook-ups per household. You expect \begin{align*}9.2\%\end{align*} of households to have no hook-up, \begin{align*}32.8\%\end{align*} to have one hook-up, \begin{align*}38.0\%\end{align*} to have two hook-ups, \begin{align*}14.2\%\end{align*} to have three hook-ups and \begin{align*}5.8\%\end{align*} to have four hook-ups. To calculate the mean number of hook-ups per household, use the previous figure and add another column.

Hook-ups per Household, \begin{align*}x\end{align*} Proportion of Households, \begin{align*}p\end{align*} Contribution to Mean, \begin{align*}x \cdot p\end{align*}
\begin{align*}1\end{align*} \begin{align*}0.328\end{align*} \begin{align*}0.328\end{align*}
\begin{align*}2\end{align*} \begin{align*}0.380\end{align*} \begin{align*}0.760\end{align*}
\begin{align*}3\end{align*} \begin{align*}0.142\end{align*} \begin{align*}0.426\end{align*}
\begin{align*}4\end{align*} \begin{align*}0.058\end{align*} \begin{align*}0.232\end{align*}
Sum \begin{align*} \longrightarrow\end{align*} \begin{align*}1.746\end{align*}

The mean of a probability distribution for the random variable \begin{align*}X\end{align*} is denoted by \begin{align*}\mu_x\end{align*} or \begin{align*}E(X)\end{align*} which represents expected value. Since you now know the expected number of cable hook-ups for each household, you can also calculate how much each household will differ from this mean. In other words, you can calculate the expected standard deviation. To do this, simply determine the expected value of the square of the deviations from the mean. As you recall from chapter 1, this value is called the variance of the probability distribution, and gives a representation of how far an actual value will in general stray from this mean.

\begin{align*} \sigma^2{_x} = &(0 - 1.746)^2(0.092) + (1 - 1.746)^2(0.328) + (2 - 1.746)^2(0.380) \\ & + (3 - 1.746)^2(0.142) + (4 - 1.746)^2(0.058) \\ \approx & 1.0054\end{align*}

The standard deviation (\begin{align*}\sigma_x\end{align*}) is \begin{align*}\sqrt{1.0054} \approx 1.002\end{align*}. This indicates that each household will have \begin{align*}1.746\end{align*} cable hook-ups and differ from this mean by an average of about \begin{align*}1\end{align*} hook-up. These calculations yield the following formulas for calculating the expected value and the standard deviation (and its square, the variance) for a probability distribution.

\begin{align*}E(X) = \mu_x = \sum x_i p_i && \text{and} && Var(X) & = \sigma^2{_x} = \sum (x_i - \mu_x)^2 p_i \\ &&&&\sigma_x & = \sqrt{\text{var} (X)}\end{align*}

where \begin{align*}p_i\end{align*} is the probability of the random variable \begin{align*}X\end{align*} produced when \begin{align*}x\end{align*} takes on a specific value \begin{align*}x_i\end{align*}.


Suppose an individual plays a gambling game where it is possible to lose \begin{align*}\$2.00\end{align*}, break even, win \begin{align*}\$6.00\end{align*}, or win \begin{align*}\$20.00\end{align*} each time he plays. The probability distribution for each outcome is provided by the following table:

Winnings, \begin{align*}x\end{align*} Probability, \begin{align*}p\end{align*}
\begin{align*}-\$2.00\end{align*} \begin{align*}0.30\end{align*}
\begin{align*}\$0.00\end{align*} \begin{align*}0.40\end{align*}
\begin{align*}\$6.00\end{align*} \begin{align*}0.20\end{align*}
\begin{align*}\$20.00\end{align*} \begin{align*}0.10\end{align*}


Now use the table to calculate the expected value and the variance of this distribution.

\begin{align*}\mu_x & = \sum x_i p_i \\ \mu_x & = (-2 \cdot 0.30) + (0 \cdot 0.40) + (6 \cdot 0.20) + (20 \cdot 0.10) \\ \mu_x & = 2.6\end{align*}

The player can expect to win \begin{align*}\$2.60\end{align*} playing this game.

The variance of this distribution is:

\begin{align*}\sigma^2{_x} & = \sum x_i - \mu_x{^2} p_i\\ \sigma^2{_x} & = (-2 - 2.6)^2 (0.30) + (0 - 2.6)^2(0.40) + (6 - 2.6)^2(0.20) + (20 - 2.6)^2( 0.10)\\ \sigma^2{_x} & \approx 41.64\end{align*}

So the standard deviation, \begin{align*}\sigma_x\end{align*}, is approximately \begin{align*}\sqrt{41.64} \approx \$6.46\end{align*}


The following probability distribution was constructed from the results of a survey at the local university. The random variable is the number of fast food meals purchased by a student during the preceding year (\begin{align*}12\end{align*} months). For this distribution, calculate the expected value and the standard deviation.

Number of Meals Purchased Within 12 Months, \begin{align*}x\end{align*} Probability, \begin{align*}p\end{align*}
\begin{align*}[1 - 6)\end{align*} \begin{align*}0.30\end{align*}
\begin{align*}[6 -11)\end{align*} \begin{align*}0.29\end{align*}
\begin{align*}[11 - 21)\end{align*} \begin{align*}0.17\end{align*}
\begin{align*}[21 - 51)\end{align*} \begin{align*}0.15\end{align*}
\begin{align*}>50\end{align*} \begin{align*}0.05\end{align*}
Total \begin{align*}1.00\end{align*}

The mean for each interval is in the center of each interval, so you must begin by estimating a mean for each interval. For the first interval of \begin{align*}[1 - 6)\end{align*}, six is not included in this interval so a value of \begin{align*}3\end{align*} would be the center. This same procedure will be used to estimate the mean of all the intervals. Therefore the expected value is:


\begin{align*}\mu_x & = \sum x_i p_i \\ \mu_x & = 0(0.04) + 3(0.30) + 8(0.29) + 15.5(0.17) + 35.5 (0.15) + 55(0.05)\\ \mu_x & = 13.93\end{align*}


\begin{align*}\sigma^2{_x} = & \;\sum (x_i- \mu_x)^2 p_i\\ = &\;(0 - 13.93)^2 (0.04) + (3 - 13.93)^2 (0.30) \\ & \;+ (8 - 13.93)^2 (0.29) + (15.5 - 13.93)^2 (0.17)\\ & \;+ (35.5 - 13.93)^2 (0.15) + (55 - 13.93)^2 (0.05)\\ \approx &\; 208.3451\ \text{and} \ \sigma_x \approx 14.43\end{align*}

The expected number of fast food meals purchased by a student at the local university is \begin{align*}13.93\end{align*}. This number should not be rounded since the mean does not have to be one of the values in the distribution. You should also notice that the standard deviation is very close to the expected value. This means that the distribution will be skewed to the right and have long tails toward the larger numbers.

Notice that \begin{align*}\bar{x} = 13.93\end{align*} and \begin{align*}\sigma_x = 14.43\end{align*}.

Linear Transformations of X on Mean of x and Standard Deviation of x

If you add the same number to all values of a data set, the shape or standard deviation of the data remains the same but the value is added to the mean. This is referred to as recentering the data set. Likewise, if you rescale the data – multiply all data values by the same nonzero number- the basic shape will not change but the mean and the standard deviation will each be a multiple of this number. The standard deviation must be multiplied by the absolute value of the number. If you multiply the mean and the standard deviation by a constant \begin{align*}d\end{align*} and then add a constant \begin{align*}c\end{align*}, then the mean and the standard deviation of the transformed values are expressed as:

\begin{align*}\mu_{c + dx} & = c + d\mu_x\\ \sigma_{c + dx} & = |d| \sigma_x\end{align*}

The implications of these can be better understood if you return to example 1.


The casino has decided to ‘triple’ the prizes for the game being played. What are the expected winnings for a person who plays one game? What is the standard deviation?


Recall that the expected value was \begin{align*}\$2.60\end{align*} and the standard deviation was \begin{align*}\$6.46\end{align*}. The simplest way to calculate the expected value of the tripled prize is \begin{align*}3(\$2.60)\end{align*}, or \begin{align*}\$7.80\end{align*}, with a standard deviation of \begin{align*}3(\$6.46)\end{align*}, or \begin{align*}\$19.38\end{align*}. Here \begin{align*}c = 0\end{align*} and \begin{align*}d = 3\end{align*}. Another method of calculating the expected value would be to create a new table for the tripled prize:

Winnings, \begin{align*}x\end{align*} Probability, \begin{align*}p\end{align*}
\begin{align*}-\$2.00\end{align*} \begin{align*}0.30\end{align*}
\begin{align*}\$0.00\end{align*} \begin{align*}0.40\end{align*}
\begin{align*}\$6.00\end{align*} \begin{align*}0.20\end{align*}
\begin{align*}\$20.00\end{align*} \begin{align*}0.10\end{align*}

New Table

Original Winnings, \begin{align*}x\end{align*} New Winnings, \begin{align*}3x\end{align*} Probability, \begin{align*}p\end{align*}
\begin{align*}-\$2.00\end{align*} \begin{align*}-\$6.00\end{align*} \begin{align*}0.30\end{align*}
\begin{align*}\$0.00\end{align*} \begin{align*}\$0.00\end{align*} \begin{align*}0.40\end{align*}
\begin{align*}\$6.00\end{align*} \begin{align*}\$18.00\end{align*} \begin{align*}0.20\end{align*}
\begin{align*}\$20.00\end{align*} \begin{align*}\$60.00\end{align*} \begin{align*}0.10\end{align*}

The calculations can be done using the formulas or by using the graphing calculator.

Using the graphing calculator:

Notice that the same results are obtained.

This same problem can be changed again in order to introduce the addition and subtraction rules for random variables. Suppose the casino wants to encourage customers to play more, so begins demanding that customers play the game in sets of three. What are the expected value (total winnings) and standard deviation now?


Let \begin{align*}X, Y\end{align*} and \begin{align*}Z\end{align*} represent the total winnings on each game played. If this is the case, then \begin{align*}\mu_{X + Y + Z}\end{align*} is the expected value of the total winnings when three games are played. The expected value of the total winnings for playing one game was \begin{align*}\$2.60\end{align*} so for three games the expected value is: \begin{align*}y\end{align*}

\begin{align*}\mu_{X + Y + Z} & = \mu_X + \mu_Y + \mu_Z\\ \mu_{X + Y + Z} & = \$2.60 + \$2.60 + \%2.60\\ \mu_{X + Y + Z} & = \$7.80 \end{align*}

The expected value is the same as that for the tripled prize.

Since the winnings on the three games played are independent, the standard deviation of \begin{align*}X + Y + Z\end{align*} is:

\begin{align*}\sigma^2{_{X + Y + Z}} & = \sigma^2{_X} + \sigma^2{_Y} + \sigma^2{_Z}\\ \sigma^2{_{X + Y + Z}} & = 6.46^2 + 6.46^2 + 6.46^2\\ \sigma^2{_{X + Y + Z}} & \approx 125.1948 \ \ \ \text{and} \ \ \ \sigma \approx \sqrt{125.1948} \approx 11.19\end{align*}

The person playing the three games expects to win \begin{align*}\$7.80\end{align*} with a standard deviation of \begin{align*}\$11.19\end{align*}. When the prize was tripled, there was a greater standard deviation \begin{align*}(\$19.36)\end{align*} than when the person played three games \begin{align*}(\$11.19)\end{align*}.

The rules for addition and subtraction for random variables are:

If \begin{align*}X\end{align*} and \begin{align*}Y\end{align*} are random variables then:

\begin{align*}\mu_{X + Y} = \mu_X + \mu_Y \\ \mu_{X - Y} = \mu_X - \mu_Y\end{align*}

If \begin{align*}X\end{align*} and \begin{align*}Y\end{align*} are independent then:

\begin{align*}\sigma^2{_{X + Y}} = \sigma^2{_X }+ \sigma^2{_Y} \\ \sigma^2{_{X - Y}} = \sigma^2{_X} + \sigma^2{_Y}\end{align*}

Variances are added for both the sum and difference of two independent random variables because the variation in each variable contributes to the variation in each case. Subtracting is the same as adding the opposite. Suppose you have two dice, one die \begin{align*}(X)\end{align*} with the normal positive numbers \begin{align*}1\end{align*} through \begin{align*}6\end{align*}, and another \begin{align*}(Y)\end{align*} with the negative numbers \begin{align*}-1\end{align*} through \begin{align*}-6\end{align*}. Then suppose you perform two experiments. In the first, you roll the first die \begin{align*}(X)\end{align*} and then the second die \begin{align*}(Y)\end{align*}, and you compute the difference of the two rolls. In the second experiment you roll the first die \begin{align*}(X)\end{align*} and then the second die \begin{align*}(Y)\end{align*} and you calculate the sum of the two rolls.

\begin{align*}\mu_x & = \sum x_ip_i && \mu_y = \sum x_ip_i\\ \mu_X & = 3.5 && \mu_Y = -3.5\end{align*}

\begin{align*}\sigma^2{_x} & \approx \sum (x_i - \mu_x)^2 p_i && \sigma^2{_y} \approx \sum (x_i - \mu_y)^2 p_i\\ \sigma^2{_x} & \approx 2.917 && \sigma^2{_y} \approx 2.917\end{align*}

\begin{align*}\mu_{X + Y} & = \mu_X + \mu_Y && \mu_{X + Y} = \mu_X - \mu_Y\\ \mu_{X + Y} & = 3.5 + (-3.5) = 0 && \mu_{X - Y} = 3.5 - (-3.5) = 7\\ \sigma^2{_{X + Y}} & = \sigma^2{_X} + \sigma^2{_Y} && \sigma^2{_{X - Y}} = \sigma^2{_X} + \sigma^2{_Y}\\ \sigma^2{_{X + Y}} & \approx 2.917 + 2.917 = 5.834 && \sigma^2{_{X - Y}} \approx 2.917 + 2.917 = 5.834\end{align*}

Notice how the expected values and the variances combine for these two experiments.


I earn \begin{align*}\$25.00\end{align*} an hour for tutoring but spend \begin{align*}\$20.00\end{align*} an hour for piano lessons. I save the difference between my earnings for tutoring and the cost of the piano lessons. The number of hours I spend on each activity in one week varies independently according to the probability distributions shown below. Determine my expected weekly savings and the standard deviation of these savings.

Hours of Piano Lessons, \begin{align*}x\end{align*} Probability, \begin{align*}p\end{align*}
\begin{align*}1\end{align*} \begin{align*}0.3\end{align*}
\begin{align*}2\end{align*} \begin{align*}0.4\end{align*}
Hours of Tutoring, \begin{align*}x\end{align*} Probability, \begin{align*}p\end{align*}
\begin{align*}1\end{align*} \begin{align*}0.2\end{align*}
\begin{align*}2\end{align*} \begin{align*}0.3\end{align*}
\begin{align*}3\end{align*} \begin{align*}0.2\end{align*}
\begin{align*}4\end{align*} \begin{align*}0.3\end{align*}


\begin{align*}X\end{align*} will represent the number of hours per week taking piano lessons and \begin{align*}Y\end{align*} will represent the number of hours tutoring per week.

Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes
Show More

Image Attributions

Show Hide Details
Files can only be attached to the latest version of section
Please wait...
Please wait...
Image Detail
Sizes: Medium | Original