All revision notes topics

4.7 Discrete random variables and expected valueIB Maths: Applications and Interpretation SL: Revision notes

Section 1

Discrete random variables

A discrete random variable XX takes separate values (usually whole numbers) according to chance, such as the score on a die or the number of goals in a match. A probability distribution lists each value xx with its probability P(X=x)P(X=x). Every probability satisfies 0≤P(X=x)≤10\leq P(X=x)\leq1, and all the probabilities add up to 1: ∑P(X=x)=1.\sum P(X=x)=1.

Key termsdiscrete random variableprobability distribution
Exam tip

Use ∑P(X=x)=1\sum P(X=x)=1 to find an unknown such as kk in a table.

Section 2

Tables and formulae

A distribution can be given as a table, for example x=1,2,3,4,5x=1,2,3,4,5 with P(X=x)=0.1,0.2,0.15,0.05,0.5P(X=x)=0.1,0.2,0.15,0.05,0.5, or as a formula, for example P(X=x)=4+x18P(X=x)=\frac{4+x}{18} for x∈{1,2,3}x\in\{1,2,3\}. Substitute each value to build the table: here 518,618,718\frac{5}{18},\frac{6}{18},\frac{7}{18}, which sum to 1. For a probability such as P(X≥2)P(X\geq2), add the probabilities of every value that qualifies.

Key termstableformula
Common mistake

Forgetting that P(X≥2)P(X\geq2) includes 2 itself: list the qualifying values explicitly.

Section 3

Expected value

The expected value (mean) of a discrete random variable is E(X)=∑xP(X=x).\mathrm{E}(X)=\sum xP(X=x). It is the long-run average of XX over many trials, not necessarily a value that XX can take. Example: P(X=1)=0.1P(X=1)=0.1, P(X=2)=0.3P(X=2)=0.3, P(X=3)=0.4P(X=3)=0.4, P(X=4)=0.2P(X=4)=0.2 gives E(X)=0.1+0.6+1.2+0.8=2.7\mathrm{E}(X)=0.1+0.6+1.2+0.8=2.7. A GDC can also do this: enter the values and probabilities as two lists and calculate the one-variable statistics with the probabilities as frequencies.

Key termsexpected valuemean
Common mistake

Averaging the xx-values and ignoring the probabilities: each value must be weighted by its probability.

Section 4

Games and fairness

If XX is the gain of a player (prize minus entry fee), then E(X)\mathrm{E}(X) is the expected gain per game. If E(X)=0\mathrm{E}(X)=0 the game is fair. A negative value favours the organiser and a positive value favours the player. Example: a game costs 4 AED and pays 0, 6 or 10 AED with probabilities 0.50.5, 0.30.3, 0.20.2. Expected prize =3.8=3.8 AED, so the expected gain is 3.8−4=−0.23.8-4=-0.2 AED: not fair. Over 500 games, the organiser expects to make 500×0.2=100500\times0.2=100 AED.

Key termsgainfair game
Exam tip

Always say what the sign means in context: 'the player loses 0.20 AED per game on average'.

Section 5

Applications

Many problems build a distribution from counting outcomes. For two fair four-sided dice with XX the larger number, there are 16 equally likely outcomes, and P(X=3)=516P(X=3)=\frac{5}{16} because five outcomes have a larger number of 3. Building the full table gives 116,316,516,716\frac{1}{16},\frac{3}{16},\frac{5}{16},\frac{7}{16} and E(X)=5016=3.125\mathrm{E}(X)=\frac{50}{16}=3.125. To find a total over repeated plays, multiply the expected value for one play by the number of plays.

Key termsrepeated plays
Exam tip

Check that your table sums to 1 before calculating E(X)\mathrm{E}(X).

That's the notes covered.

Carry on to the next subtopic.

Exam questions on 4.7 Discrete random variables and expected value

  1. The discrete random variable XX has the probability distribution P(X=1)=0.1P(X=1)=0.1, P(X=2)=0.3P(X=2)=0.3, P(X=3)=0.4P(X=3)=0.4 and P(X=4)=kP(X=4)=k.
    Find P(X≥3)P(X\geq3).2 marks
  2. The discrete random variable XX has probability distribution P(X=x)=x+418P(X=x)=\frac{x+4}{18} for x∈{1,2,3}x\in\{1,2,3\}.
    Find P(X≥2)P(X\geq2).2 marks
  3. At a fairground, a player pays 4 AED to spin a wheel. The prize is 0 AED with probability 0.5, 6 AED with probability 0.3 and 10 AED with probability 0.2. Let XX be the prize in AED.
    Find E(X)\mathrm{E}(X).3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).