All revision notes topics

4.7 Discrete random variablesIB Maths: Analysis and Approaches HL: Revision notes

Section 1

Discrete random variables

A random variable is a quantity whose value is determined by the outcome of a random experiment. It is discrete if it can take only separate (countable) values, such as the number of goals in a match or the score on a dice.

We write XX for the random variable and xx for a value it takes, so P(X=2)P(X = 2) means 'the probability that XX takes the value 2'.

Key termsrandom variablediscrete

Section 2

Probability distributions

A probability distribution lists every possible value of XX with its probability. It can be given

  • as a table, e.g. P(G=0)=0.25P(G = 0) = 0.25, P(G=1)=0.35P(G = 1) = 0.35, …; or
  • as a function, e.g. P(X=x)=4+x18P(X = x) = \frac{4 + x}{18} for x∈{1,2,3}x \in \{1, 2, 3\}.

For any distribution, every probability is between 0 and 1 and ∑P(X=x)=1.\sum P(X = x) = 1. Use this to find an unknown constant: for P(X=x)=kxP(X = x) = kx, x∈{1,2,3,4}x \in \{1, 2, 3, 4\}, 10k=110k = 1 so k=110k = \frac{1}{10}.

Key termsprobability distribution
Common mistake

Assuming the values are equally likely. Always use the given probabilities or function.

Section 3

Expected value

The expected value (mean) of XX is E(X)=∑x P(X=x),E(X) = \sum x\,P(X = x), which is in the formula booklet. It is the long-run average value of XX over many trials. It need not be a possible value of XX: a team can have E(G)=1.33E(G) = 1.33 goals per match.

Example: P(X=x)=x10P(X = x) = \frac{x}{10} for x=1,2,3,4x = 1, 2, 3, 4 gives E(X)=1+4+9+1610=3E(X) = \frac{1 + 4 + 9 + 16}{10} = 3.

Key termsexpected value
Common mistake

Averaging the values (e.g. 0+1+2+3+45=2\frac{0 + 1 + 2 + 3 + 4}{5} = 2) instead of weighting each value by its probability.

Exam tip

Check that your E(X)E(X) lies between the smallest and largest values of XX.

Section 4

Applications and expected numbers

If an event has probability pp on each of nn occasions, the expected number of occurrences is npnp. With P(G≥2)=0.4P(G \ge 2) = 0.4, over 30 matches the expected number with at least 2 goals is 30×0.4=1230\times0.4 = 12.

For two independent observations, multiply probabilities and remember different orders: P(Y1+Y2=5)=2 P(Y=2)P(Y=3)P(Y_1 + Y_2 = 5) = 2\,P(Y = 2)P(Y = 3) when 2 and 3 are the only values that sum to 5.

Key termsindependent observations

Section 5

Fair games

Let XX be the gain of a player: the amount received minus the cost to play. The game is fair if E(X)=0.E(X) = 0. If E(X)<0E(X) < 0, the player expects to lose on average and the organiser expects to profit; over nn games the organiser's expected profit is −n E(X)-n\,E(X).

To make a game fair, write E(X)E(X) in terms of the unknown prize or cost, set it equal to 0 and solve.

Key termsfair gamegain
Common mistake

Forgetting to subtract the cost of playing from every prize when writing the values of the gain.

Must know

  • ∑P(X=x)=1\sum P(X = x) = 1; use it to find unknown constants.
  • E(X)=∑xP(X=x)E(X) = \sum xP(X = x).
  • Expected number of occurrences =np= np.
  • Fair game: E(gain)=0E(\text{gain}) = 0.
  • E(X)E(X) need not be a value that XX can take.

That's the notes covered.

Carry on to the next subtopic.