All revision notes topics

Cumulative distribution functionsAQA A-Level Further Maths: Revision notes

Section 1

What the cdf is

The cumulative distribution function (cdf) of a continuous random variable XX is F(x)=P(X≤x)=∫−∞xf(t) dt.F(x)=P(X\le x)=\int_{-\infty}^{x}f(t)\,dt. It gives the probability that XX is at most xx. Properties: FF is non-decreasing, F(x)→0F(x)\to0 as x→−∞x\to-\infty and F(x)→1F(x)\to1 as x→∞x\to\infty, so 0≤F(x)≤10\le F(x)\le1. For a continuous variable FF has no jumps.

Key termscumulative distribution function
Common mistake

Mixing up the pdf and the cdf. ff is a density (a rate of change); FF is a probability between 0 and 1.

Section 2

From the pdf to the cdf

Integrate ff from the bottom of its range up to xx, using a dummy variable tt: F(x)=∫axf(t) dtfor a≤x≤b,F(x)=\int_{a}^{x}f(t)\,dt\quad\text{for }a\le x\le b, with F(x)=0F(x)=0 below the range and F(x)=1F(x)=1 above it. For a pdf in pieces, add the total area of the earlier pieces to the integral over the current piece, so FF is continuous at each join. Example: f(t)=3t−4f(t)=3t^{-4} for t≥1t\ge1 gives F(x)=[−t−3]1x=1−x−3F(x)=\left[-t^{-3}\right]_1^x=1-x^{-3}.

Exam tip

Check F(lower end)=0F(\text{lower end})=0 and F(upper end)=1F(\text{upper end})=1. If not, you have lost a constant.

Section 3

From the cdf to the pdf

Differentiate each piece: f(x)=dFdx.f(x)=\frac{dF}{dx}. Outside the range f(x)=0f(x)=0. If F(x)=3x2−x34F(x)=\frac{3x^2-x^3}{4} on 0≤x≤20\le x\le2, then f(x)=6x−3x24f(x)=\frac{6x-3x^2}{4} on that range. An unknown constant in FF is found from continuity or from F=1F=1 at the top of the range: if F(x)=k(x2+2x)F(x)=k(x^2+2x) on 0≤x≤20\le x\le2 then F(2)=8k=1F(2)=8k=1, so k=18k=\frac18.

Key termsdifferentiate

Section 4

Using the cdf

Probabilities come straight from FF with no integration: P(a<X<b)=F(b)−F(a),P(X>a)=1−F(a).P(a<X<b)=F(b)-F(a),\qquad P(X>a)=1-F(a). The median mm satisfies F(m)=12F(m)=\frac12. The quartiles satisfy F(Q1)=14F(Q_1)=\frac14 and F(Q3)=34F(Q_3)=\frac34. When FF is in pieces, compare the target (12\frac12, 14\frac14, 34\frac34) with the value of FF at the join to choose which piece to solve in. Then check the root lies in that piece.

Key termsmedianquartiles
Common mistake

Solving in the wrong piece. If F(2)=23F(2)=\frac23 and you want F=12F=\frac12, the answer lies below 2.

Section 5

Worked example

F(x)=x26F(x)=\frac{x^2}{6} for 0≤x≤20\le x\le2 and x3\frac x3 for 2<x≤32<x\le3. P(1<X<2.5)=2.53−16=23P(1<X<2.5)=\frac{2.5}{3}-\frac16=\frac23. Median: F(2)=23>12F(2)=\frac23>\frac12, so m26=12\frac{m^2}{6}=\frac12 and m=3m=\sqrt3. Upper quartile: F(2)=23<34F(2)=\frac23<\frac34, so u3=34\frac u3=\frac34 and u=94u=\frac94.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Cumulative distribution functions

  1. The continuous random variable XX has cumulative distribution function F(x)=0F(x)=0 for x<0x<0, F(x)=3x2−x34F(x)=\frac{3x^2-x^3}{4} for 0≤x≤20\le x\le2, and F(x)=1F(x)=1 for x>2x>2.
    Find the probability density function f(x)f(x) of XX.2 marks
  2. The continuous random variable XX has probability density function f(x)=3x4f(x)=\frac{3}{x^4} for x≥1x\ge1, and f(x)=0f(x)=0 otherwise.
    Find the median of XX.2 marks
  3. The continuous random variable XX has cumulative distribution function F(x)=0F(x)=0 for x<0x<0, F(x)=k(x2+2x)F(x)=k(x^2+2x) for 0≤x≤20\le x\le2, and F(x)=1F(x)=1 for x>2x>2, where kk is a constant.
    Find the value of kk.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).