Discrete random variables
Probability distribution tables, expectation and variance of a discrete random variable, and the binomial and geometric distributions: when to use them, their probabilities, means and variances.
mentorriyaz.in
In 30 seconds
- A probability distribution lists every value with its probability; the probabilities add up to 1.
- E(X) = Σx p and Var(X) = Σx² p − [E(X)]².
- Binomial B(n, p): a fixed number n of independent trials, each a success with the same probability p. X counts the successes.
- Geometric Geo(p): independent trials with constant p, until the first success. X is the trial on which it happens.
By the end you can
- Draw up a probability distribution table and use Σp = 1.
- Calculate E(X) and Var(X) for a discrete random variable.
- Recognise and use the binomial distribution, including its mean np and variance np(1 − p).
- Recognise and use the geometric distribution, including P(X > r) and its mean 1/p.
1Probability distributions
Expectation and variance
P(X = x) = kx for x = 1, 2, 3, 4. Find k, E(X) and Var(X).
- k(1 + 2 + 3 + 4) = 1 ⇒ k = 1/10 B1
- E(X) = (1 + 4 + 9 + 16)/10 = 3 M1 A1
- E(X²) = (1 + 8 + 27 + 64)/10 = 10 ⇒ Var(X) = 10 − 9 = 1 M1 A1
2The binomial distribution
X ~ B(n, p)
- Conditions in context: "each item is faulty independently with the same probability". Questions often ask you to state one.
X ~ B(10, 0.3). Find (a) P(X = 3), (b) P(X ≤ 2), (c) P(X ≥ 2).
- (a) ¹⁰C₃ (0.3)³(0.7)⁷ = 0.267 M1 A1
- (b) P(0) + P(1) + P(2) = 0.0282 + 0.1211 + 0.2335 = 0.383 M1 A1
- (c) 1 − P(0) − P(1) = 0.851 M1 A1
3The geometric distribution
X ~ Geo(p)
- Why P(X > r) = (1 − p)ʳ: the first r trials all fail.
A fair die is thrown until a six appears. Find (a) P(X = 4), (b) P(X > 3), (c) E(X).
- (a) (5/6)³(1/6) = 0.0965 M1 A1
- (b) (5/6)³ = 0.579 B1
- (c) 6 B1
Find the least number of throws needed for the probability of at least one six to exceed 0.9.
- 1 − (5/6)ⁿ > 0.9 ⇒ (5/6)ⁿ < 0.1 M1
- n > ln 0.1/ln(5/6) = 12.6 M1
- n = 13 A1
Test yourself — cover the answers first
Quick check
- X ~ B(20, 0.25). Find E(X).
- X ~ B(20, 0.25). Find Var(X).
- X ~ Geo(0.2). Find E(X).
- X ~ Geo(0.2). Find P(X = 2).
- State two conditions for a binomial model.
Exam-style
- X ~ B(8, 0.4). Find P(2 < X ≤ 5).
- The probability that a seed germinates is 0.85. 12 seeds are planted. Find the probability that at least 11 germinate.
- X ~ Geo(p) and P(X = 1) = 0.3. Find P(X ≥ 3).
Show answers
- 5
- 3.75
- 5
- 0.16
- fixed number of independent trials; constant probability of success
- P(3) + P(4) + P(5) = 0.2787 + 0.2322 + 0.1239 = 0.635
- 12(0.85)¹¹(0.15) + 0.85¹² = 0.3012 + 0.1422 = 0.443
- (0.7)² = 0.49
Send it to me on WhatsApp. I read every message.
Want regular help? Send this to your parent →