aimnova.
DashboardMy LearningPaper MasteryStudy Plan

Stay in the loop

Study tips, product updates, and early access to new features.

aimnova.

AI-powered IB study platform with personalised plans, instant feedback, and examiner-style marking.

IB Subjects

  • IB Diploma
  • All IB Subjects
  • IB ESS
  • IB Economics
  • IB Business Management
  • IB Math AI SL
  • IB Math AA SL
  • Grade Calculator
  • Exam Timetable 2026
  • ESS Predictions 2026
  • Economics Predictions 2026
  • Business Management Predictions 2026
  • Math AI SL Predictions 2026
  • Math AA SL Predictions 2026

Study Resources

  • Free Study Notes
  • Revision Guide
  • Flashcards
  • ESS Question Bank
  • BM Question Bank
  • Mock Exams
  • Past Paper Feedback
  • Exam Skills
  • Command Terms

Company

  • Features
  • Pricing
  • About Us
  • Blog
  • Contact
  • Terms
  • Privacy
  • Cookies

© 2026 Aimnova. All rights reserved.

Made with 💜 for IB students worldwide

v0.1.868
NotesMath AA HLTopic 4.14Discrete random variables: E(X) & Var(X)
Back to Math AA HL Topics
4.14.11 min read

Discrete random variables: E(X) & Var(X)

IB Mathematics: Analysis and Approaches • Unit 4

Smart study tools

Turn reading into results

Move beyond passive notes. Answer real exam questions, get AI feedback, and build the skills that earn top marks.

Get Started Free

Contents

  • Probabilities must add to 1, then find E(X)
  • Variance: E(X²) − [E(X)]²
A table where every probability is listed: Picture a spinner with a few labelled outcomes. A discrete random variable X lists each value it can take and the probability of each:

the probabilities are a complete set of slices of one whole pie, so they must add to 1. That single fact lets you find any missing probability.

Once the table is complete, the mean (also called the expected value) is each value weighted by how likely it is.
All the probabilities of a discrete random variable add to 1.
Mean = each value times its probability, all added up.

IB-style question — find the missing probability, then E(X)

A discrete random variable X has the probability table P(X=1)=0.2, P(X=2)=0.3, P(X=3)=k, P(X=4)=0.1.

Find the value of k, then find E(X).

Step by step

  1. The probabilities must add to 1. Add the known ones and subtract from 1.
  2. Solve for k.
  3. Now apply the mean formula: each value times its probability.
  4. Work out each product and add.

Final answer

k = 0.4 and E(X) = 2.4.

Spread = 'mean of the squares' minus 'square of the mean': The mean tells you the centre; the variance tells you how spread out the values are.

The quick formula is E(X²) − [E(X)]². To get E(X²), square each value first, then weight by its probability — exactly like E(X) but with x² in place of x.

Why subtract [E(X)]²? Because the squared values are inflated by where the centre sits; removing the square of the mean leaves only the genuine spread about that centre.
Square each value, then weight by its probability.
Variance = mean of the squares minus the square of the mean.

IB-style question — variance from a table

X has P(X=1)=0.2, P(X=2)=0.3, P(X=3)=0.4, P(X=4)=0.1, so E(X)=2.4 from before.

Find Var(X).

Step by step

  1. First find E(X²): square each value, weight by its probability.
  2. Work out each term and add.
  3. Subtract the square of the mean.
  4. Compute (2.4)² = 5.76 and subtract.

Final answer

Var(X) = 0.84.

Try an IB Exam Question — Free AI Feedback

Test yourself on Discrete random variables: E(X) & Var(X). Write your answer and get instant AI feedback — just like a real IB examiner.

A spinner pays out X = 1, 2 or 5 dollars with P(X=1)=0.6, P(X=2)=0.3, P(X=5)=0.1. Find the expected payout E(X). [2 marks]

Related Math AA HL Topics

Continue learning with these related topics from the same unit:

4.1.1Populations & samples
4.1.2Sampling techniques
4.10.1Prediction
4.11.1Conditional probability
View all Math AA HL topics

Improve your exam technique

Command terms, paper structure, and mark-scheme tips for Math AA HL

Previous
4.13.1Bayes' theorem
Next
Continuous random variables: the pdf4.14.2

11 questions to test your understanding

Reading is just the start. Students who tested themselves scored 82% on average — try IB-style questions with AI feedback.

Start Free TrialView All Math AA HL Topics