aimnova.
DashboardMy LearningPaper MasteryStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aimnova.

AI-powered study platform for smarter revision, past-paper analysis and examiner-style feedback.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.8afc4e3

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesMath AI HLTopic 4.7Discrete Random Variables
Back to Math AI HL Topics
4.7.13 min read

Discrete Random Variables (Math AI HL)

IB Mathematics: Applications and Interpretation • Unit 4

Exam preparation

Practice the questions examiners actually ask

Our question bank mirrors real IB exam papers. Practice under timed conditions and track your progress across topics.

Start Practicing

Contents

  • What is a random variable
  • Probability distributions
  • Expected value and variance
  • Linear transformations

Random variables

Random variable X: Numerical outcome of random experiment.

Discrete: countable values (e.g., 0,1,2...).

Continuous: any value in range.

A discrete probability distribution: bar heights are probabilities summing to 1; E(X) is the long-run average.

Interactive diagram

Explore the labelled diagram, charts and maps for this topic in full study mode.

Claim your free topic

Worked example

Coin flipped 3 times.

Let X=number of heads.

What are possible values?

Solution

  1. All outcomes: HHH, HHT, HTH, HTT, THH, THT, TTH, TTT
  2. X can be: 0 heads (TTT), 1 head (3 ways), 2 heads (3 ways), 3 heads (HHH)
  3. X ∈ {0,1,2,3} - discrete random variable

Final answer

Discrete RV: X ∈ {0,1,2,3}.

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime

Probability distributions

Probability mass function (PMF): For each value x, assign probability P(X=x).

All probabilities sum to 1.

Worked example

Coin 3 times, X=heads.

Find P(X=0), P(X=1), P(X=2), P(X=3).

Solution

  1. P(X=0)=1/8 (1 way)
  2. P(X=1)=3/8 (3 ways)
  3. P(X=2)=3/8 (3 ways)
  4. P(X=3)=1/8 (1 way)
  5. Total: 1/8+3/8+3/8+1/8=1 ✓

Final answer

PMF table complete, probabilities sum to 1.

Practice with real exam questions

Answer exam-style questions and get AI feedback that shows you exactly what examiners want to see in a full-marks response.

Try Practice FreeYour first topic is free to keep • No credit card required

Expected value (mean) and variance

Worked example

From coin example: find E(X) and Var(X).

Solution

  1. E(X)=0(1/8)+1(3/8)+2(3/8)+3(1/8)
  2. E(X)=0+3/8+6/8+3/8=12/8=1.5
  3. E(X2)=0²(1/8)+1²(3/8)+2²(3/8)+3²(1/8)=15/8
  4. Var(X)=15/8-1.5²=15/8-2.25=0.75

Final answer

E(X)=1.5, Var(X)=0.75, SD(X)=√0.75≈0.87.

IB-style question — find a value from E(X) [5 marks]

In a board game, a player moves a token and the score X (in points) has the distribution below, where n is a positive whole number.

x: −2, 1, n

P(X = x): 0.4, 0.45, 0.15

The expected score is E(X) = 1.

(a) Show that the probabilities given are consistent with a valid distribution.

(b) Find the value of n.

Step by step

  1. (a) Check the probabilities add to 1.
  2. They sum to 1 and each lies between 0 and 1, so the distribution is valid.
  3. (b) Write the expected value with n still unknown and set it equal to 1.
  4. Simplify the known terms.
  5. Collect and solve for n.

Final answer

(a) The probabilities add to 1 (and each is between 0 and 1), so the distribution is valid. (b) n = 9.

IB-style question — is the game fair?

A game costs $2 to play. You win $5 (net gain $3) with probability 0.3, otherwise you lose your $2.

(a) Find the expected gain per play. (b) Is the game fair? (c) Find the expected number of wins in 50 plays.

Step by step

  1. (a) E(gain) = Σ (gain × probability).
  2. (b) A fair game has E = 0. Here E = −$0.50, so it is NOT fair (it favours the house).
  3. (c) Expected number of wins = n × P(win) (this is np, not E(gain)).

Final answer

(a) −$0.50. (b) not fair. (c) 15 wins.

Multiply each gain by its probability and add for E(gain); a fair game needs that total to be 0. The expected COUNT of wins is a separate n×p calculation.

Interactive diagram

Explore the labelled diagram, charts and maps for this topic in full study mode.

Claim your free topic

Linear transformations

Key insight: E changes linearly.

Variance: only a² matters (not b).

Worked example

E(X)=1.5, Var(X)=0.75.

Find E(2X+5) and Var(2X+5).

Solution

  1. E(2X+5)=2E(X)+5=2(1.5)+5=8
  2. Var(2X+5)=2²Var(X)=4(0.75)=3

Final answer

E=8, Var=3, SD≈1.73.

IB Exam Questions on Discrete Random Variables

Practice with IB-style questions filtered to Topic 4.7.1. Get instant AI feedback on every answer.

Practice Topic 4.7.1 QuestionsBrowse All Math AI HL Topics

How Discrete Random Variables Appears in IB Exams

Examiners use specific command terms when asking about this topic. Here's what to expect:

Define

Give the precise meaning of key terms related to Discrete Random Variables.

AO1
Describe

Give a detailed account of processes or features in Discrete Random Variables.

AO2
Explain

Give reasons WHY — cause and effect within Discrete Random Variables.

AO3
Evaluate

Weigh strengths AND limitations of approaches in Discrete Random Variables.

AO3
Discuss

Present arguments FOR and AGAINST with a balanced conclusion.

AO3

See the full IB Command Terms guide →

Related Math AI HL Topics

Continue learning with these related topics from the same unit:

4.1.1Population and Samples
4.1.2Data Classification
4.1.3Sampling Techniques
4.1.4Data Reliability and Outliers
View all Math AI HL topics

Improve your exam technique

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

Previous
4.6.2Tree Diagrams and Conditional Probability
Next
Variance and Standard Deviation4.7.2

12 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 FreeView All Math AI HL Topics