All revision notes topics

Probability functions and cumulative distribution functionsEdexcel International A Level Maths: Revision notes

Section 1

Discrete random variables

A random variable XX is a variable whose value depends on the outcome of a random experiment. It is discrete if it takes separate values, usually whole numbers, such as the score on a die or the number of defects in a batch. A capital letter, XX, names the variable; a lower-case letter, xx, is a particular value. P(X=x)P(X=x) means 'the probability that XX takes the value xx'. The possible values and their probabilities form the probability distribution of XX.

Key termsdiscrete random variableprobability distribution
Common mistake

Mixing up XX (the variable) and xx (a value).

Section 2

The probability function p(x)

The probability function is p(x)=P(X=x)p(x)=P(X=x). It can be given as a table, a list or a formula such as P(X=x)=kxP(X=x)=kx for x=1,2,3,4x=1,2,3,4. Two rules always hold:

  • 0≤p(x)≤10\le p(x)\le1 for every xx;
  • ∑p(x)=1\sum p(x)=1 over all possible values. Use the second rule to find an unknown constant. Example: P(X=x)=kxP(X=x)=kx gives k(1+2+3+4)=10k=1k(1+2+3+4)=10k=1, so k=0.1k=0.1 and P(X≥3)=0.3+0.4=0.7P(X\ge3)=0.3+0.4=0.7. For P(X=x)=k(x2+1)P(X=x)=k(x^2+1), x=0,1,2,3x=0,1,2,3: k(1+2+5+10)=1k(1+2+5+10)=1, k=118k=\frac1{18}.
Key termsprobability functionsum of probabilities
Exam tip

After finding an unknown constant, check that every probability is between 0 and 1.

Section 3

The cumulative distribution function F(x)

The cumulative distribution function is F(x0)=P(X≤x0)=∑x≤x0p(x).F(x_0)=P(X\le x_0)=\sum_{x\le x_0}p(x). It adds up the probabilities from the smallest value up to x0x_0. Example: for the probabilities 0.1,0.2,0.3,0.40.1,0.2,0.3,0.4 on x=1,2,3,4x=1,2,3,4: F(1)=0.1F(1)=0.1, F(2)=0.3F(2)=0.3, F(3)=0.6F(3)=0.6, F(4)=1F(4)=1. FF never decreases, and FF for the largest value is 1. For a value that is not possible, use the next lower possible value: if XX takes whole numbers, F(2.5)=F(2)F(2.5)=F(2).

Key termscumulative distribution function$F(x_0)$
Common mistake

Treating F(x)F(x) as P(X=x)P(X=x). FF includes every value up to xx.

Section 4

Using F to find probabilities

Convert each probability into differences of FF (for whole-number values):

  • P(X=x)=F(x)−F(x−1)P(X=x)=F(x)-F(x-1)
  • P(X>a)=1−F(a)P(X>a)=1-F(a)
  • P(X≥a)=1−F(a−1)P(X\ge a)=1-F(a-1)
  • P(a<X≤b)=F(b)−F(a)P(a<X\le b)=F(b)-F(a) Example: if F(1)=0.15F(1)=0.15, F(2)=0.40F(2)=0.40, F(3)=0.75F(3)=0.75, F(4)=1F(4)=1 then P(X=3)=0.75−0.40=0.35P(X=3)=0.75-0.40=0.35 and P(X≥2)=1−F(1)=0.85P(X\ge2)=1-F(1)=0.85. To go the other way, add the probabilities cumulatively: p(x)p(x) gives F(x)F(x).
Key termsstrict inequalitynon-strict inequality
Exam tip

For P(X≥a)P(X\ge a) the value aa is included, so subtract FF of the value just below aa.

Section 5

Building a distribution from a situation

To find a distribution from a situation, list the possible values, count or calculate each probability, and check the total is 1. Example: a fair four-sided die rolled twice and XX the larger score. Of the 16 outcomes, X=3X=3 for 5, so P(X=3)=516P(X=3)=\frac5{16}, and in general P(X=x)=2x−116P(X=x)=\frac{2x-1}{16} for x=1,2,3,4x=1,2,3,4. A shortcut: P(X≤x)=(x4)2P(X\le x)=\left(\frac x4\right)^2, so F(x)=x216F(x)=\frac{x^2}{16}. For three rolls, F(x)=x364F(x)=\frac{x^3}{64} and P(X=3)=2764−864=1964P(X=3)=\frac{27}{64}-\frac8{64}=\frac{19}{64}. Working with FF is often quicker for 'largest' or 'smallest' questions.

Key termslargest of several scores
Exam tip

For 'largest', use P(max≤x)P(\text{max}\le x) and multiply independent probabilities.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Probability functions and cumulative distribution functions

  1. The discrete random variable XX has probability function P(X=x)=kxP(X=x)=kx for x=1,2,3,4x=1,2,3,4, where kk is a constant.
    Find P(2≤X<4)P(2\le X<4).2 marks
  2. The discrete random variable XX takes the values 1, 2, 3 and 4. Its cumulative distribution function is given by F(1)=0.15F(1)=0.15, F(2)=0.40F(2)=0.40, F(3)=0.75F(3)=0.75 and F(4)=1F(4)=1.
    Find the probability that XX is either 2 or 4.2 marks
  3. The discrete random variable XX has probability function P(X=x)=k(x2+1)P(X=x)=k(x^2+1) for x=0,1,2,3x=0,1,2,3, where kk is a constant.
    Find the value of kk and write down the probability function as a list of probabilities.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).