Skip to main content
Mathematics LibreTexts

7.8: Expected Value

  • Page ID
    165396
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Learning Objectives

    In this section, you will learn to:

    1. Find the expected value of a discrete probability distribution
    2. Interpret expected value as a long-run average

    An expected gain or loss in a game of chance is called Expected Value. The concept of expected value is closely related to a weighted average. Consider the following situations.

    1. Suppose you and your friend play a game that consists of rolling a die. Your friend offers you the following deal: If the die shows any number from 1 to 5, he will pay you the face value of the die in dollars, that is, if the die shows a 4, he will pay you $4. But if the die shows a 6, you will have to pay him $18.

    Before you play the game you decide to find the expected value. You analyze as follows.

    Since a die will show a number from 1 to 6, with an equal probability of 1/6, your chance of winning $1 is 1/6, winning $2 is 1/6, and so on up to the face value of 5. But if the die shows a 6, you will lose $18. You write the expected value.

    \[\mathrm{E}=\$ 1(1 / 6)+\$2(1 / 6)+\$ 3(1 / 6)+\$ 4(1 / 6)+\$ 5(1 / 6)-\$ 18(1 / 6)=-\$ .50 \nonumber \]

    This means that every time you play this game, you can expect to lose 50 cents. In other words, if you play this game 100 times, theoretically you will lose $50. Obviously, it is not to your interest to play.

    2. Suppose of the ten quizzes you took in a course, on eight quizzes you scored 80, and on two you scored 90. You wish to find the average of the ten quizzes.
    The average is

    \[\mathrm{A}=\frac{(80)(8)+(90)(2)}{10}=(80) \frac{8}{10}+(90) \frac{2}{10}=82 \nonumber \]

    It should be observed that it would be incorrect to take the average of 80 and 90 because you scored 80 on eight quizzes, and 90 on only two of them. Therefore, you take a "weighted average" of 80 and 90. That is, the average of 8 parts of 80 and 2 parts of 90, which is 82.

    In the first situation, to find the expected value, we multiplied each payoff by the probability of its occurrence, and then added up the amounts calculated for all possible cases. In the second example, if we consider our test score a payoff, we did the same. This leads us to the following definition.

    Expected Value

    If an experiment has the following probability distribution,

    Payoff \(x_1\) \(x_2\) \(x_3\) . . . \(x_n\)
    Probability \(p(x_1)\) \(p(x_2)\) \(p(x_3)\) . . . \(p(x_n)\)

    then the expected value of the experiment is

    \[\text { Expected Value }=x_{1} p\left(x_{1}\right)+x_{2} p\left(x_{2}\right)+x_{3} p\left(x_{3}\right)+\dots+x_{n} p\left(x_{n}\right) \nonumber \]

    Example \(\PageIndex{1}\)

    In a town, 10% of the families have three children, 60% of the families have two children, 20% of the families have one child, and 10% of the families have no children. What is the expected number of children to a family?

    Solution

    We list the information in the following table.

    Number of children 3 2 1 0
    Probability 0.10 0.60 0.20 0.10

    Expected Value = \(x_1p(x_1) + x_2p(x_2) + x_3p(x_3) + x_4p(x_4)\)

    \(E = 3(.10) + 2(.60) + 1(.20) + 0(.10) = 1.7\)

    So on average, there are 1.7 children to a family.

    Example \(\PageIndex{2}\)

    To sell an average house, a real estate broker spends $1200 for advertisement expenses. If the house sells in three months, the broker makes $8,000. Otherwise, the broker loses the listing. If there is a 40% chance that the house will sell in three months, what is the expected payoff for the real estate broker?

    Solution

    The broker makes $8,000 with a probability of .40, but he loses $1200 whether the house sells or not.

    \[ E = (\$8000)(.40) - (\$1200) = \$2,000 \nonumber. \nonumber \]

    Alternatively, the broker makes $(8000 - 1200) with a probability of .40, but loses $1200 with a probability of .60. Therefore,

    \[E = (\$6800)(.40) - (\$1200)(.60) = \$2,000 \nonumber. \nonumber \]

    Example \(\PageIndex{3}\)

    In a town, the attendance at a football game depends on the weather. On a sunny day the attendance is 60,000, on a cold day the attendance is 40,000, and on a stormy day the attendance is 30,000. If for the next football season, the weatherman has predicted that 30% of the days will be sunny, 50% of the days will be cold, and 20% days will be stormy, what is the expected attendance for a single game?

    Solution

    Using the expected value formula, we get

    \[ E = (60,000)(.30) + (40,000)(.50) + (30,000)(.20) = 44,000 \nonumber. \nonumber \]

    Example \(\PageIndex{4}\)

    A lottery consists of choosing 6 numbers from a total of 51 numbers. The person who matches all six numbers wins $2 million. If the lottery ticket costs $1, what is the expected payoff?

    Solution

    Since there are \(51\mathrm{C}6 = 18,009,460\) combinations of six numbers from a total of 51 numbers, the chance of choosing the winning number is 1 out of 18,009,460.

    So the expected payoff is: \(\mathrm{E}=\left(\$ 2 \text { million } \right) \left(\frac{1}{18009460}\right)-\$ 1=-\$ 0.89\)

    This means that every time a person spends $1 to buy a ticket, he or she can expect to lose 89 cents.


    This page titled 7.8: Expected Value is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform.