Random variables, binomial and normal distributions
Discrete random variables and expected value, fair games, the binomial distribution with its mean and variance, the normal distribution, standardising with z-scores and inverse normal problems, and for HL: variance of discrete variables, E(aX + b), Var(aX + b) and continuous random variables with probability density functions.
mentorriyaz.in
In 30 seconds
- A discrete random variable has a table of values and probabilities that add to 1. Its expected value is E(X) = Σ x P(X = x).
- Binomial X ~ B(n, p): a fixed number n of independent trials, each a success with the same probability p. Mean np, variance np(1 − p).
- Normal X ~ N(μ, σ2): a symmetric bell curve for continuous data. Use the GDC for probabilities; use z = (x − μ)/σ when μ or σ is unknown.
- HL: Var(X) = E(X2) − [E(X)]2; E(aX + b) = aE(X) + b and Var(aX + b) = a2Var(X); a continuous variable has a pdf f(x) with total area 1.
By the end you can
- Find probabilities and expected values for discrete random variables, and decide whether a game is fair.
- Recognise binomial situations and find binomial probabilities, mean and variance.
- Find normal probabilities and use inverse normal calculations.
- Standardise with z-scores to find an unknown mean or standard deviation.
- Find the variance of a discrete variable and use E(aX + b) and Var(aX + b). HL
- Use a pdf to find probabilities, the mean, variance, median and mode of a continuous random variable. HL
1Discrete random variables
X takes the values 1, 2, 3, 4 with P(X = x) = kx. Find k and E(X).
- k + 2k + 3k + 4k = 1 ⇒ k = 0.1 M1A1
- E(X) = 1(0.1) + 2(0.2) + 3(0.3) + 4(0.4) M1
- = 3 A1
- Fair game: the expected gain (winnings minus the cost to play) is 0.
A game costs $3. You roll a fair die: a 6 wins $10, a 5 wins $5, anything else wins nothing. Is the game fair?
- E(winnings) = 10(16) + 5(16) = 2.5 M1A1
- E(gain) = 2.5 − 3 = −$0.50, so it is not fair (it favours the organiser) R1
2The binomial distribution
- The four conditions: a fixed number of trials; two outcomes (success or failure); constant p; independent trials. Say which one fails if a situation isn't binomial.
X ~ B(10, 0.3). Find P(X = 3), P(X ≤ 2) and P(X ≥ 3).
- P(X = 3) = 10C3(0.3)3(0.7)7 = 0.267 A1
- P(X ≤ 2) = 0.383 (binomial cdf) A1
- P(X ≥ 3) = 1 − 0.383 = 0.617 A1
The probability that a seed grows is 0.2. Five seeds are planted. Find the probability that at least one grows.
- P(none) = 0.85 = 0.32768 M1
- P(at least one) = 1 − 0.32768 = 0.672 A1
3The normal distribution
- Facts: symmetric about μ; about 68% of values are within μ ± σ, 95% within μ ± 2σ and 99.7% within μ ± 3σ.
Heights are normally distributed, X ~ N(170, 82) cm. Find P(X > 180), P(160 < X < 175) and the height exceeded by only 10% of people.
- P(X > 180) = 0.106 A1
- P(160 < X < 175) = 0.628 A1
- P(X < k) = 0.9 ⇒ k = 180 cm (inverse normal) M1A1
X ~ N(60, σ2) and P(X < 50) = 0.2. Find σ.
- inverse normal: z = −0.8416 M1
- 50 − 60σ = −0.8416 M1
- σ = 11.9 A1
4Variance and linear transformations HL
For X above (P(X = x) = 0.1x, x = 1, 2, 3, 4), find Var(X) and Var(5X − 2).
- E(X2) = 0.1 + 0.8 + 2.7 + 6.4 = 10 M1
- Var(X) = 10 − 32 = 1 A1
- Var(5X − 2) = 25 × 1 = 25 A1
5Continuous random variables HL
f(x) = kx2 for 0 ≤ x ≤ 3 (and 0 elsewhere). Find k, E(X), the median and Var(X).
- ∫03 kx2 dx = 9k = 1 ⇒ k = 19 M1A1
- E(X) = ∫03 x39 dx = 8136 = 2.25 A1
- median m: m327 = 0.5 ⇒ m = 2.38 M1A1
- E(X2) = ∫03 x49 dx = 5.4, so Var(X) = 5.4 − 2.252 = 0.3375 A1
- Mode of a continuous variable: where f(x) is greatest (the maximum of the pdf, which may be at an end of the domain). Here the mode is 3.
Test yourself — cover the answers first
Quick check
- E(X) of a fair six-sided die?
- X ~ B(20, 0.4). Find E(X).
- X ~ B(20, 0.4). Find Var(X).
- X ~ N(50, 4²). What percentage is roughly above 58?
- Find z for x = 65 when μ = 50 and σ = 5.
- HL Var(X) = 4. Find Var(3X + 1).
Exam-style
- Scores are normal with mean μ and SD σ. 10% score below 40 and 20% score above 70. Find μ and σ.
- HL X has pdf f(x) = 34x(2 − x) for 0 ≤ x ≤ 2. Find P(X < 0.5) and state E(X) without integrating.
Show answers
- 3.5
- 8
- 4.8
- about 2.5%
- 3
- 36
- 40 − μσ = −1.2816 and 70 − μσ = 0.8416
subtract: 30 = 2.1232σ ⇒ σ = 14.1
μ = 58.1 - ∫00.5 34(2x − x2) dx = 34(0.25 − 124) = 532 = 0.156
the pdf is symmetric about x = 1, so E(X) = 1
Send it to me on WhatsApp. I read every message.
Want regular help? Send this to your parent →