Skip to content

05. Expected Values

$\gdef \N{\mathbb{N}} \gdef \Z{\mathbb{Z}} \gdef \Q{\mathbb{Q}} \gdef \R{\mathbb{R}} \gdef \C{\mathbb{C}} \gdef \setcomp#1{\overline{#1}} \gdef \sseq{\subseteq} \gdef \pset#1{\mathcal{P}(#1)} \gdef \covariant{\operatorname{Cov}} \gdef \of{\circ} \gdef \p{^{\prime}} \gdef \pp{^{\prime\prime}} \gdef \ppp{^{\prime\prime\prime}} \gdef \pn#1{^{\prime\times{#1}}} $

Definition

Let \(X\) be a random variable. Then, \(E[X]=\sum_kk\cdot P_X(k)\)
This is a weighted average of possible values of X, where the weight of each value is the possibility of X taking that value.

Alternate form

You may also see \(E[X]\) expressed as \(\mu\). They are the same thing.

Roll of a single die

Let X= roll of a single die
\(E[X]=1\cdot\frac16+2\cdot\frac16+3\cdot\frac16+4\cdot\frac16+5\cdot\frac16+6\cdot\frac16=\frac72=3.5\)

Tirgul 4 Question 5

A pilot wants to insure his private plane worth 200,000 NIS. The insurance company estimates the probability of damage to the plane each year as follows:

  • 10% chance of a 50k NIS loss
  • 1% chance of a 100k NIS loss
  • 0.2% chance of a 200k NIS loss

If the insurance company wants an expected annual profit of 500 NIS from insuring this plane, what annual premium should it charge the pilot?


Define \(p=\)annual premium. We wish to solve for this variable.
Define \(X=\) annual profit to company from pilot.
We make our table as follows, assigning \(k\) to be possible values of \(X\):

\(k\) \(P_X(k)\)
\(p\) \(100\%-10\%-1\%-0.2\% = 88.8\%\)
\(p-50,000\) 0.1
\(p-100,000\) 0.01
\(p-200,000\) 0.02

\(500=E[X]=(0.888)\cdot p+(0.1)(p-50,000)+(0.01)(p-100,000)+(0.002)(p-200,000)\)

\[500=1\cdot p-6400\Rightarrow p=6900\text{ NIS}\]

—Numerous examples omitted—

How to Solve Expected Value Questions

Assuming \(X\) is the Random Variable

  1. Create a two column table, where the first column is labled \(k\), and the second, \(P_X(k)\).
  2. Write each possible value for \(X\) in the \(k\) column, and the probability of \(X\) taking that value in the \(P_X(k)\) column.
  3. Multiply each \(k\) by it’s corresponding \(P_X(k)\).
  4. Sum up the products

The value obtained in step 4 is the Expected Value.

Properties of Expected Values

  1. \(E[cX]=cE[X]\)
  2. \(E[X+c]=E[X]+c\)
  3. \(E[X+Y]=E[X]+E[Y]\)
  4. If \(X,Y\) are independent, then \(E[X\cdot Y]=E[X]\cdot E[Y]\)
Linearity of Expectation

The first three properties are called linearity of expectation.
They can be expressed as:

\[E[aX+bY+c]=a\cdot E[X]+b\cdot E[Y]+c\]