Discrete random variables: 7 exam questions solved step by step
What this lesson covers
- The mean of a discrete random variable is each value times its probability, added up.
- The probabilities in a table must sum to 1, which finds any missing value.
7 questions, one method
- 1. Probabilities sum to 1.
- 2. E(X) = Σ x × P(X = x).
- 3. Var(X) = E(X²) − [E(X)]².
- 4. Say what it means in context.
Question 1 · Achieved
- X = tries a club winger scores
- in one game of rugby.
- Find k, then E(X).
| Tries, x | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| P(X = x) | 0.45 | 0.3 | k | 0.05 |
Q1: k, then the mean
- Sum to 1 finds k.
- Then value × probability.
- 0.45 + 0.3 + k + 0.05 = 1sum to 1
- 0.8 + k = 1
- k = 0.2
- E(X) = Σ x × P(X = x)
- = 0 × 0.45 + 1 × 0.3
- + 2 × 0.2 + 3 × 0.05
- = 0 + 0.3 + 0.4 + 0.15
- = 0.85 tries
- average over many gamesnot one game
Question 2 · Achieved
- The same winger: E(X) = 0.85.
- Find the standard deviation of X.
- Careful: E(X²) is not E(X) squared.
| Tries, x | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| P(X = x) | 0.45 | 0.3 | 0.2 | 0.05 |
Q2: the standard deviation
- Square the value first.
- Then minus the mean squared.
- E(X²) = Σ x² × P(X = x)
- = 0² × 0.45 + 1² × 0.3
- + 2² × 0.2 + 3² × 0.05
- = 0 + 0.3 + 0.8 + 0.45 = 1.55
- E(X²) ≠ [E(X)]²1.55, not 0.7225
- Var(X) = E(X²) − [E(X)]²
- = 1.55 − 0.85² = 1.55 − 0.7225
- = 0.8275
- σ = √0.8275 = 0.9097 tries
Question 3 · Merit
- X = attempts to pass a driving test.
- P(X = x) = k(5 − x), x = 1, 2, 3, 4.
- Find k, E(X) and the SD of X.
Q3: find k
- Put each x into the rule.
- Then sum to 1.
- P(X = x) = k(5 − x)
- 4k + 3k + 2k + k = 1sum to 1
- 10k = 1, k = 0.1
- P(X = 1) = 0.1 × 4 = 0.4
- P(X = 2) = 0.1 × 3 = 0.3
- P(X = 3) = 0.1 × 2 = 0.2
- P(X = 4) = 0.1 × 1 = 0.1
- 0.4 + 0.3 + 0.2 + 0.1 = 1
Q3: mean and SD
- Write every product.
- Clean numbers: check them.
- P: 0.4, 0.3, 0.2, 0.1
- E(X) = 1 × 0.4 + 2 × 0.3
- + 3 × 0.2 + 4 × 0.1
- = 0.4 + 0.6 + 0.6 + 0.4 = 2
- E(X²) = 1² × 0.4 + 2² × 0.3
- + 3² × 0.2 + 4² × 0.1
- = 0.4 + 1.2 + 1.8 + 1.6 = 5
- Var(X) = 5 − 2² = 1
- σ = √1 = 1 attempt
Question 4 · Merit, in context
- Kayaks hired an hour at Raglan, X:
- E(X) = 2.4, SD(X) = 1.1.
- Takings T = 25X − 15 dollars.
- Find the mean and SD of T.
Q4: T = 25X − 15
- The booklet rules.
- − 15 moves it, not spreads.
- T = 25X − 15
- E(T) = 25 × E(X) − 15E(aX + b)
- = 25 × 2.4 − 15 = 60 − 15
- = $45 an hour
- Var(T) = 25² × Var(X)− 15 drops out
- = 625 × 1.1² = 625 × 1.21
- = 756.25
- SD(T) = √756.25 = $27.50
- 25 × 1.1 − 15 = 12.50no − 15 on spread
Question 5 · Merit, in context
- A school fair spinner costs $2 a go.
- Prizes and their probabilities below.
- How much will the school expect
- to make from 300 plays?
| Prize | $10 | $5 | $1 | $0 |
|---|---|---|---|---|
| P | 0.05 | 0.1 | 0.25 | ? |
Q5: the school fair
- Expected prize per play.
- Then cost minus prize.
- P($0) = 1 − 0.05 − 0.1 − 0.25
- = 0.6
- E(prize) = 10 × 0.05 + 5 × 0.1
- + 1 × 0.25 + 0 × 0.6
- = 0.5 + 0.5 + 0.25 = $1.25
- per play: 2 − 1.25 = $0.75cost minus prize
- 300 × 0.75 = $225
- about $225 from 300 playsan expected value
Question 6 · Excellence
- X = people in a car on a motorway
- at peak time. E(X) = 2.5.
- Find a and b, then the SD of X.
| People, x | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| P(X = x) | 0.1 | a | b | 0.2 |
Q6: two unknowns, two facts
- Sum to 1 is one equation.
- The mean is the other.
- 0.1 + a + b + 0.2 = 1sum to 1
- a + b = 0.7
- 0.1 + 2a + 3b + 0.8 = 2.5E(X) = 2.5
- 2a + 3b = 1.6
- a = 0.7 − bfrom the first
- 2(0.7 − b) + 3b = 1.6
- 1.4 + b = 1.6, b = 0.2
- a = 0.7 − 0.2 = 0.5
Q6: check, then the SD
- Check the mean first.
- Then E(X²) − 2.5².
- P: 0.1, 0.5, 0.2, 0.2
- E(X) = 0.1 + 1 + 0.6 + 0.8 = 2.5
- E(X²) = 1² × 0.1 + 2² × 0.5
- + 3² × 0.2 + 4² × 0.2
- = 0.1 + 2 + 1.8 + 3.2 = 7.1
- Var(X) = 7.1 − 2.5²
- = 7.1 − 6.25 = 0.85
- σ = √0.85 = 0.92204 d.p.
- about 0.92 people per car
Question 7 · Excellence
- The school fair spinner again: $2 a go.
- Keep the $5 and $1 prizes the same.
- What top prize gives the school
- an expected $0.60 a play?
| Prize | $T | $5 | $1 | $0 |
|---|---|---|---|---|
| P | 0.05 | 0.1 | 0.25 | 0.6 |
Q7: set the top prize
- Form the equation from words.
- Then check it.
- top prize = $T
- E(prize) = 0.05T + 0.5 + 0.25
- = 0.05T + 0.75
- 2 − (0.05T + 0.75) = 0.60profit per play
- 1.25 − 0.05T = 0.60
- 0.05T = 0.65
- T = 0.65 ÷ 0.05 = $13
- 2 − (0.65 + 0.5 + 0.25) = 0.60
- a long-run averagenot every play
The method that solved all seven
- Sum to 1, the mean, E(X²) minus the mean squared, then say it in context.
| Step | How |
|---|---|
| Missing p | probabilities sum to 1 |
| Mean | Σ x × P(X = x) |
| Spread | E(X²) − [E(X)]², then √ |
| aX + b | mean a × E(X) + b, SD |a| × σ |
| Two unknown | sum to 1, and the mean |
| Fair game | expected payout against cost |
More in AS 91586
Choosing a distribution, and naming it every time7 min
Discrete random variables: mean and standard deviation6 min
Binomial and Poisson: at least, at most, and the rate7 min
The normal distribution: forwards, backwards and conditional7 min
Uniform and triangular distributions, and judging a model7 min
Choosing a distribution: 7 exam questions solved step by step10 min
Discrete random variables: 7 exam questions solved step by step11 min
Binomial and Poisson: 7 exam questions solved step by step10 min
Normal distribution: 7 exam questions solved step by step10 min
Uniform and triangular: 7 exam questions solved step by step10 minIs your child on track?
Take the free placement test