E(X) & Var(X) (Continuous) (Cambridge (CIE) A Level Maths: Probability & Statistics 2): Revision Note

Exam code: 9709

Paul

Written by: Paul

Reviewed by: Dan Finlay

Updated on

E(X) & Var(X) (Continuous)

What are E(X) and Var(X)?

  • E(X)is the expected value, or mean, of a random variable X

    • E(X) is the same as the population mean so can also be denoted by µ

  • Var (X) is the variance of the continuous random variable X

    • Standard deviation is the square root of the variance

How do I find the mean and variance of a continuous random variable?

  • The mean, for a continuous random variable X is given by

E(X)=xf(x) dx

  • This is equivalent to ΣxP(X=x) for discrete random variables

  • If the graph of y=f(x)has axis of symmetry, x = a , then  E(X) = a

  • The variance is given by

Var(X)=x2f(x)dx[E(X)]2

  • This is equivalent to Σx2P(X=x)[E(X)]2  for discrete random variables

  • Be careful about confusing E(X2)  and [E(X)]2

    • E(X2)=x2f(x) dx                “mean of the squares”

    • [E(X)]2=[x f(x) dx]2       “square of the mean”

    • If you are happy with the difference between these and how to calculate them the variance formula becomes very straightforward

Var(X)=E(X2)[E(X)]2

How do I calculate E(g(X))?

  • E(g(X))=g(x)f(x) dx

  • In particular:

    • E(X2)=x2f(x) dxas seen above

Worked Example

A continuous random variable, X, is modelled by the probability distribution function f(x), such that

f(x)={1.5x2(10.5x)0x2            0otherwise 

(i) Find E(X)

Answer:

2-3-2-cie-fig1-we-solution_a

(ii) Find Var(X)

Answer:

2-3-2-cie-fig1-we-solution_b

Examiner Tips and Tricks

  • A sketch of the graph of y =  f(x) can highlight any symmetrical properties which can help reduce the work involved in finding the mean and variance

  • Take care with awkward values and negatives – use the memory features on your calculator and avoid rounding until your final answer (if rounding at all!)

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Paul

Author: Paul

Expertise: Maths Content Creator

Paul has taught mathematics for 20 years and has been an examiner for Edexcel for over a decade. GCSE, A level, pure, mechanics, statistics, discrete – if it’s in a Maths exam, Paul will know about it. Paul is a passionate fan of clear and colourful notes with fascinating diagrams.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.