Mean and Variance of a Continuous Random Variable, and Functions of X | OCR B (MEI) A Level Further Maths notes
Free preview: Mean and Variance of a Continuous Random Variable, and Functions of X
From Sums to Integrals
Watch: 1-minute explainer
All four boards teach this (AQA, Edexcel, OCR A, OCR B (MEI)); check your own specification for whether it is AS or A level content.
Let's start with what you know for discrete X: . But a continuous X has no list of values to add up. Here's the idea: chop the range into very thin strips. A strip at x of width dx has probability about . Adding "value × probability" over all the strips is exactly what an integral does.
- So the sum becomes an integral, and the probability becomes .
- Integrate over the range where f is not zero.
- E(X) is the balance point of the pdf: if you cut the shape out of card, it would balance there.
- The variance formula is exactly the same as for discrete variables.
![Diagram: The triangle is f(x) = x2 on [0, 2]. More of its area is on the right.](https://cdn.globalphysicstutor.com/editor-images/0ae0122f-1598-46c3-a053-c604499d2fb6.png)
What the picture shows
- The triangle is on [0, 2]. More of its area is on the right.
- So it balances at , not at the midpoint 1.
- Check: .
💡 In plain words
- Mean: multiply by x, then integrate.
- E(X²): multiply by x², then integrate.
- Variance: E(X²) minus the mean squared.
👀 Watch me do it: f(x) = x/2 for . Find E(X) and Var(X)
| What I write | Why I do it |
|---|---|
| Multiply f by x. | |
| Integrate and substitute. | |
| Multiply f by . | |
| Mean of squares minus square of mean. |
Coding still works
- and , for the same reasons as before (integrals split just like sums).
- Example: .
📝 Symmetry saves time
- If the pdf is symmetrical about x = c, then with no integration. Say "by symmetry".
- For example on [0, 4] is symmetrical about 2.
- Wrong: . That is always 1. You must multiply by x first.
✏️ YOUR TURN 1
Try this first:
X has pdf for , 0 otherwise. Find E(X), Var(X) and .
Answer:
- .
- .
- .
- .
✏️ YOUR TURN 2
Try this first:
For the same X, find and compare it with .
Answer:
- .
- . Not the same.
✏️ YOUR TURN 3
Try this first:
X has pdf for , 0 otherwise. Write down E(X), giving a reason, then find Var(X) and .
Answer:
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in Continuous Random Variables
- Continuous Random Variables: Probability Density Functions and Areas
- Cumulative Distribution Functions, Medians, Quartiles, Mode and Skewness
- Mean and Variance of a Continuous Random Variable, and Functions of X
Video
What's inside for this topic
3 teacher notes, 89 practice questions, 47 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Cumulative Distribution Functions, Medians, Quartiles, Mode and Skewness
Mean and Variance of a Continuous Random Variable, and Functions of X on other exam boards
All OCR B (MEI) A Level Further Maths topics · A Level Further Maths