Study Guide

Discrete probability distributions

IB Mathematics: Applications and Interpretation SLΒ· 30 min read

1. Discrete Random Variables and Valid Probability Distributionsβ˜…β˜…β˜†β˜†β˜†β± 15 min

πŸ“˜ Definition

Discrete Probability Distribution

P(X=x)P(X=x)

A function that assigns a probability to every possible outcome of a discrete random variable, satisfying two core conditions: all probabilities are between 0 and 1, and the sum of all probabilities equals 1.

Example:

Number of rainy days in a week, number of defective products in a batch

IB exams very commonly ask you to find an unknown probability in a given distribution. You will always use the core rule that the sum of all probabilities equals 1 to solve for the unknown value, then confirm it meets the 0 ≀ p ≀ 1 condition.

πŸ“ Worked Example

A discrete random variable has the probability distribution: , , , . Find the value of and confirm the distribution is valid.

  1. 1

    Use the rule that the sum of all probabilities equals 1:

  2. 2
    0.12+k+0.45+0.28=10.12 + k + 0.45 + 0.28 = 1
  3. 3

    Simplify and solve for :

  4. 4
    0.85+k=1β€…β€ŠβŸΉβ€…β€Šk=1βˆ’0.85=0.150.85 + k = 1 \implies k = 1 - 0.85 = 0.15
  5. 5

    Check validity: , so gives a valid discrete probability distribution.

2. Expected Value (Mean) of a Discrete Distributionβ˜…β˜…β˜†β˜†β˜†β± 15 min

πŸ“˜ Definition

Expected Value

E[X] or ΞΌE[X] \text{ or } \mu

The long-term average outcome of many repeated trials of the random variable, calculated as the weighted average of all possible outcomes weighted by their probabilities.

Example:

Expected daily sales, expected profit from a game

The formula for expected value is: for all possible values of . Note that the expected value does not need to be one of the possible outcomes of the distribution β€” it is just an average.

πŸ“ Worked Example

A small shop sells ice creams with the following probability distribution for daily sales. Calculate the expected number of ice creams sold per day:

(Number of ice creams)1015202530
0.10.20.350.250.1
  1. 1

    Apply the expected value formula:

  2. 2
    E[X]=(10Γ—0.1)+(15Γ—0.2)+(20Γ—0.35)+(25Γ—0.25)+(30Γ—0.1)E[X] = (10 \times 0.1) + (15 \times 0.2) + (20 \times 0.35) + (25 \times 0.25) + (30 \times 0.1)
  3. 3

    Calculate each product and sum the results:

  4. 4
    E[X]=1+3+7+6.25+3=20.25E[X] = 1 + 3 + 7 + 6.25 + 3 = 20.25

3. Variance and Standard Deviationβ˜…β˜…β˜…β˜†β˜†β± 20 min

πŸ“˜ Definition

Variance

Var(X) or Οƒ2\text{Var}(X) \text{ or } \sigma^2

A measure of the spread of outcomes around the expected value. A higher variance means more variability in outcomes, while a lower variance means outcomes cluster close to the mean.

Example:

A variance of 0 means the outcome is fixed, no variation

The most commonly used formula for variance in IB AI SL is , where . Standard deviation is simply the square root of variance, and is in the same units as the original random variable.

πŸ“ Worked Example

Given for the ice cream sales example above, calculate the variance and standard deviation of daily sales.

  1. 1

    First calculate :

  2. 2
    E[X2]=(102Γ—0.1)+(152Γ—0.2)+(202Γ—0.35)+(252Γ—0.25)+(302Γ—0.1)E[X^2] = (10^2 \times 0.1) + (15^2 \times 0.2) + (20^2 \times 0.35) + (25^2 \times 0.25) + (30^2 \times 0.1)
  3. 3

    Simplify to get:

  4. 4
    E[X2]=10+45+140+156.25+90=441.25E[X^2] = 10 + 45 + 140 + 156.25 + 90 = 441.25
  5. 5

    Apply the variance formula:

  6. 6
    Var(X)=441.25βˆ’(20.25)2=441.25βˆ’410.0625=31.1875\text{Var}(X) = 441.25 - (20.25)^2 = 441.25 - 410.0625 = 31.1875
  7. 7

    Calculate standard deviation:

  8. 8
    Οƒ=31.1875β‰ˆ5.58\sigma = \sqrt{31.1875} \approx 5.58

4. Common Pitfalls

Wrong move:

Skipping the validity check after finding an unknown probability

Why:

Examiners almost always allocate a mark for confirming the distribution is valid

Correct move:

Always state that the sum of probabilities equals 1 and confirm after solving for the unknown value

Wrong move:

Confusing expected value with the most likely outcome

Why:

Students often assume the expected value is the outcome with the highest probability, which is incorrect

Correct move:

Always calculate expected value using the weighted average formula; it can be a value that is not a possible outcome

Wrong move:

Reversing the variance formula:

Why:

This order gives a negative variance, which is impossible for any distribution

Correct move:

Memorize the order: ; if you get a negative result, you reversed the terms

Wrong move:

Forgetting variance scales with the square of a constant for linear transformations

Why:

Students mix up the transformation rules for expected value and variance

Correct move:

Remember: , but

Wrong move:

Assuming all discrete outcomes are equally likely

Why:

Students automatically assign equal probability when it is not stated

Correct move:

Only assume equal probability if the question explicitly states all outcomes are equally likely

5. Quick Reference Cheatsheet

Concept

Core Formula

Validity Check

,

Expected Value

Expected Value of

Variance

Standard Deviation

Linear Transformation: Expected Value

Linear Transformation: Variance

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2025 Β· 1

    Find unknown probability and expected value

  • 2023 Β· 2

    Calculate expected profit and variance

  • 2021 Β· 1

    Variance calculation for discrete distribution

What's Next

The core concepts you learned in this sub-topic are the foundation for all specific discrete probability distributions tested in IB AI SL, most notably the binomial distribution. Every skill from checking validity to calculating expected value and variance applies directly to these specific distributions, so mastery here will make learning those topics much simpler. These concepts also prepare you for continuous probability distributions, which describe outcomes that can take any value within a range, later in the course. Discrete probability questions appear regularly on both Paper 1 and Paper 2, so this sub-topic is a high-yield area for exam preparation.