Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

5.3: Expected value

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

Definition:

For a probability distribution defined by P(X=x), we define the expectation of the random variable X as

E(X)=i=ni=1xiP(X=xi)=x1P(X=x2)+x2P(X=x2)++xnP(X=xn)

where xi represents the observed outcome and P(X=xi) is the probability of the outcome occurring.

The “expected value of X” can be interpreted as the mean value of X.

The expectation values can be considered in two ways.

1. Long-run average

This is the measure one would see if the experiment was repeated a large number of times, namely E(X)=np, where n is the number of times the experiment occurred and p is the probability for the event to occur.

Example 5.3.1

If we tossed a coin 1500 times, and the random variable X, represents the number of heads observed, we would expect 750 heads, that is E(X)=750.

2. Probability weighted average

This is the measure that takes into account the relative probabilities of each observed outcome.

Example 5.3.2

For the probability distribution with random variable X defined by

Table 5.3.2: Probability distribution
x 2 3 4 5
P(X=x) 16 16 16 16

E(X)=i=4i=1xiP(X=xi)=216+316+416+516=156.

Thus X has a mean value of 156.

Example 5.3.3:

We toss four coins at the same time, then the probability of getting X number of tails:

Table 5.3.3: Tossing four coins at the same time
x 0 1 2 3 4 Total
P(X=x) 116 416 616 416 116  

Then, the expected value is

E(X)=i=4i=0xiP(X=xi)=0116+1416+2616+3416+4116=3216=2.

Therefore, in the long run, we expect to get 2 tails when tossing 94 coins simultaneously.


This page titled 5.3: Expected value is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Pamini Thangarajah.

Support Center

How can we help?