Mean and variance of a random variable: Class 12 practice
For a discrete random variable, mean E(X) = Σ x·P(x) and variance Var(X) = Σ x²P(x) − [E(X)]². The quick answer and an example come first; then the method, worked examples and six graded questions.
Mean and variance of a random variable: quick answer
For a discrete random variable, mean E(X) = Σ x·P(x) and variance Var(X) = Σ x²P(x) − [E(X)]². The probabilities must add to 1.
Example: X takes values 0, 1, 2 with probabilities 2/5, 2/5, 1/5. Find E(X). Answer: 4/5.
- Where it is taught: Chapter 13 of the NCERT Class 12 Maths book.
- On this page: the method, 3 worked examples and 6 graded questions with a full answer key.
How to use this page (about 30 minutes)
- Read the method once, then cover the worked examples and try them yourself before reading the steps.
- Do the two Basic questions without notes. If either is wrong, re-read the matching worked example.
- Do the Standard and Challenge questions, then check every line of working against the answer key — not only the final answer.
- Write down the mistake behind each wrong answer and redo that question the next day.
What you should know first
- Fractions
The idea behind mean and variance of a random variable
For a discrete random variable, mean E(X) = Σ x·P(x) and variance Var(X) = Σ x²P(x) − [E(X)]². The probabilities must add to 1.
Step-by-step method
- Check ΣP = 1.
- E(X) = Σ xP(x).
- Var = Σ x²P(x) − E(X)².
Worked example 1 (Basic)
X takes values 0, 1, 2 with probabilities 2/5, 2/5, 1/5. Find E(X).
- E(X) = 4/5
- Answer: 4/5
Worked example 2 (Standard)
X takes values 0, 1, 2, 3 with probabilities 1/4, 1/5, 1/4, 3/10. Find E(X) and Var(X).
- E(X) = 8/5
- Var = 1.34
- Answer: E(X) = 8/5, Var = 1.34
Worked example 3 (Challenge)
X takes values 0, 1, 2, 3 with probabilities 5/12, 5/12, 1/12, 1/12. Find E(X) and Var(X).
- E(X) = 5/6
- Var = 0.81
- Answer: E(X) = 5/6, Var = 0.81
Common mistakes and misconceptions
- Forgetting to subtract E(X)²
- Probabilities not summing to 1
Practice questions
- (Basic) X takes values 0, 1, 2 with probabilities 1/2, 3/10, 1/5. Find E(X).
- (Basic) X takes values 0, 1, 2 with probabilities 4/11, 5/11, 2/11. Find E(X).
- (Standard) X takes values 0, 1, 2, 3 with probabilities 2/7, 3/14, 3/7, 1/14. Find E(X) and Var(X).
- (Standard) X takes values 0, 1, 2, 3 with probabilities 5/13, 6/13, 1/13, 1/13. Find E(X) and Var(X).
- (Challenge) X takes values 0, 1, 2, 3 with probabilities 3/19, 6/19, 4/19, 6/19. Find E(X) and Var(X).
- (Challenge) X takes values 0, 1, 2, 3 with probabilities 1/3, 5/18, 1/6, 2/9. Find E(X) and Var(X).
Answer key with full working
- Q1: E(X) = 7/10 → Answer: 7/10
- Q2: E(X) = 9/11 → Answer: 9/11
- Q3: E(X) = 9/7 → Var = 0.92 → Answer: E(X) = 9/7, Var = 0.92
- Q4: E(X) = 11/13 → Var = 0.75 → Answer: E(X) = 11/13, Var = 0.75
- Q5: E(X) = 32/19 → Var = 1.16 → Answer: E(X) = 32/19, Var = 1.16
- Q6: E(X) = 23/18 → Var = 1.31 → Answer: E(X) = 23/18, Var = 1.31
Which textbook this practice follows
In the NCERT Class 12 Maths book used in the 2026-27 session, this is Chapter 13, "Probability". ICSE/ISC and state-board books keep their own chapter lists, so check your own book's contents page.
Answers on this page are generated and automatically re-checked by a second, independent calculation. They have not been reviewed by a teacher — if you spot a problem, tell us on WhatsApp.
Still stuck after the answer key?
If the same step in mean and variance of a random variable keeps going wrong, a short live 1 on 1 class can find the exact gap. The first demo class is free; send the class, board and chapter on WhatsApp (+91 9379416374).
Related practice and notes
- Probability chapter notes (Class 12)
- Conditional probability and Bayes' theorem
- Binomial distribution
- Independent events and the multiplication rule
- Law of total probability
- Derivatives of polynomials and slope of a tangent
- Definite integrals of polynomials
- Evaluating 2×2 and 3×3 determinants
- Matrix multiplication
- All Class 12 practice
More Class 12 Maths practice
Continue with this syllabus
Frequently asked questions
Which chapter is mean and variance of a random variable in?
In the NCERT Class 12 Maths book used in the 2026-27 session, this is Chapter 13, "Probability". ICSE/ISC and state-board books keep their own chapter lists, so check your own book's contents page.
Which question should I start with?
Start with the Basic questions. Move to Standard only when both Basic answers match the key with the same working; the Challenge questions combine this skill with earlier ones.
How were the answers checked?
Answers on this page are generated and automatically re-checked by a second, independent calculation. They have not been reviewed by a teacher — if you spot a problem, tell us on WhatsApp.
Is this only for CBSE?
The skill names follow NCERT/CBSE, but the method is the same for ICSE, state boards, IGCSE and IB. Only the chapter name and order differ.
Can I get live help with this topic?
Yes. RG's E-Learning teaches live 1 on 1 online classes; the first demo class is free and fees are shared after it.