All revision notes topics

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

Section 1

Continuous random variables

A continuous random variable can take any value in an interval, such as a time, a mass or a length, so it cannot be listed value by value. Probabilities are found as areas, not heights. A key consequence: for a continuous variable P(X=a)=0P(X=a)=0 for every single value aa. So P(a<X<b)P(a<X<b), P(a≤X≤b)P(a\le X\le b) and P(a<X≤b)P(a<X\le b) are all equal. You can ignore whether the inequality is strict.

Key termscontinuous random variable
Common mistake

Writing P(X=a)=f(a)P(X=a)=f(a). The value f(a)f(a) is a density, not a probability, and P(X=a)=0P(X=a)=0.

Section 2

The probability density function

The probability density function (pdf) f(x)f(x) describes how probability is spread out. It must satisfy

  • f(x)≥0f(x)\ge0 for all xx,
  • the total area under the curve is 1: ∫−∞∞f(x) dx=1\int_{-\infty}^{\infty}f(x)\,dx=1. Probabilities come from integration: P(a<X≤b)=∫abf(x) dx.P(a<X\le b)=\int_a^bf(x)\,dx. Here f(x)f(x) is restricted to simple polynomials, often defined piecewise (a different expression on each interval, and 0 outside). To find an unknown constant kk, set the total area equal to 1.
Key termsprobability density functionpiecewise
Exam tip

For a piecewise pdf, integrate each piece over its own interval and add the areas to find kk.

Section 3

The cumulative distribution function

The cumulative distribution function (cdf) gives the probability of being at or below a value: F(x0)=P(X≤x0)=∫−∞x0f(x) dx.F(x_0)=P(X\le x_0)=\int_{-\infty}^{x_0}f(x)\,dx. It rises from 0 to 1 and never decreases. Then P(a<X≤b)=F(b)−F(a)P(a<X\le b)=F(b)-F(a), and P(X>a)=1−F(a)P(X>a)=1-F(a). To find F(x)F(x) from f(x)f(x), integrate from the lower end of the range to xx (or integrate and fix the constant using F=0F=0 at the start). For a piecewise pdf, the cdf for a later piece must include the total probability of the earlier pieces.

Key termscumulative distribution function
Common mistake

Forgetting to add FF at the end of the previous piece, so the cdf does not reach 1 at the top of the range.

Exam tip

Check your FF: it should equal 0 at the lower end, 1 at the upper end, and match the previous piece where they meet.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Probability density and cumulative distribution functions

  1. The continuous random variable XX has probability density function f(x)=kx2f(x)=kx^2 for 0≤x≤30\le x\le3, and f(x)=0f(x)=0 otherwise, where kk is a constant.
    Find the cumulative distribution function F(x)F(x) for 0≤x≤30\le x\le3.2 marks
  2. The continuous random variable YY has cumulative distribution function F(y)=0F(y)=0 for y<1y<1, F(y)=y2−18F(y)=\frac{y^2-1}{8} for 1≤y≤31\le y\le3, and F(y)=1F(y)=1 for y>3y>3.
    Find P(1.5<Y≤2.5)P(1.5<Y\le2.5).2 marks
  3. The continuous random variable XX has probability density function f(x)=kxf(x)=kx for 0≤x≤20\le x\le2, f(x)=k(6−2x)f(x)=k(6-2x) for 2<x≤32<x\le3, and f(x)=0f(x)=0 otherwise, where kk is a constant.
    Show that k=13k=\frac13.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).