Every lesson of the chapter, ready for paper. Exercise sets are lettered A, B, C… and answered at the end.
To save a PDF, choose “Save as PDF” in the print dialog.
Statistics (AP-aligned)
Random variables
NameDate
Scan to open online
1. Discrete random variables and their distributions
Warm-up
Three quick questions from earlier lessons.
Discover
X is the number of heads in two coin tosses. Its values are 0, 1, 2. Which list gives their probabilities?
41,21,41
31,31,31
Key idea
A random variable assigns a number to each outcome.
A discrete random variableX has a list of values with probabilities P(X=x). Every probability is between 0 and 1, and they sum to 1. Probabilities of events such as X≥2 add the matching values.
Worked example
P(X=0)=0.2, P(X=1)=0.5, X takes only 0, 1, 2.
P(X=2)=1−0.2−0.5=0.3
Sum to 1.
P(X≥1)=0.8
Everything but 0.
Your turn, guided
Your turn: P(X=0)=0.1, P(X=1)=0.6. Find P(X=2).
0.3
1 − 0.1 − 0.6.
Practice ★
A random variable X takes the values 0, 1 and 2, with P(X = 0) = 29/100 and P(X = 1) = 13/100. Find P(X = 2).
A random variable X takes the values 0, 1 and 2, with P(X = 0) = 14/100 and P(X = 1) = 18/100. Find P(X = 2).
Which list could be the probabilities of a random variable with three values?
0.1, 0.5 and 4/10
0.5, 0.5 and 0.1
0.8, 0.4 and −0.2
Watch out!
Practice ★★
X takes the values 0, 1, 2 with P(X = 0) = 25/100 and P(X = 1) = 15/100. Find P(X ≥ 1).
X takes the values 0, 1, 2 with P(X = 0) = 34/100 and P(X = 1) = 15/100. Find P(X ≥ 1).
Exit ticket
Three questions to check you have got it.
A random variable X takes the values 0, 1 and 2, with P(X = 0) = 29/100 and P(X = 1) = 13/100. Find P(X = 2).
A random variable X takes the values 0, 1 and 2, with P(X = 0) = 14/100 and P(X = 1) = 18/100. Find P(X = 2).
A random variable X takes the values 0, 1 and 2, with P(X = 0) = 18/100 and P(X = 1) = 23/100. Find P(X = 2).
Summary card
Discrete distributions
Values with probabilities in [0,1] summing to 1.
Add probabilities for events.
Watch out: values are not automatically equally likely.
2. Expected value and standard deviation of a random variable
Warm-up
Three quick questions from earlier lessons.
Discover
A raffle ticket wins 10 dollars with probability 0.1 and nothing otherwise. What is the average win per ticket over many tickets?
1 dollar
5 dollars
Key idea
The mean and SD of a random variable.
E(X)=μX=∑xP(x), the long-run average. Var(X)=∑(x−μ)2P(x) and SD(X)=Var(X). For X equal to 1 with probability p and 0 otherwise: μ=p, Var=p(1−p).
Worked example
X: 0, 1, 2 with probabilities 0.3, 0.4, 0.3.
E(X)=0+0.4+0.6=1
Σ x P(x).
Var(X)=0.3+0+0.3=0.6
Σ (x − 1)² P(x).
SD(X)=0.6≈0.77
Square root.
Your turn, guided
Your turn: X = 0, 5 with probabilities 0.6, 0.4. E(X).
2
5 × 0.4.
Practice ★
X takes the values 0, 1, 2 with probabilities 51/100, 15/100 and 34/100. Find E(X).
X takes the values 0, 1, 2 with probabilities 56/100, 25/100 and 19/100. Find E(X).
A game costs 1 dollar. You win 9 dollars (net) with probability 1/7; otherwise you lose your dollar. Find your expected net gain, in dollars.
Watch out!
Practice ★★
X = 1 with probability 7/10 and X = 0 otherwise. Find the standard deviation of X.
X = 1 with probability 9/10 and X = 0 otherwise. Find the standard deviation of X.
Exit ticket
Three questions to check you have got it.
X takes the values 0, 1, 2 with probabilities 51/100, 15/100 and 34/100. Find E(X).
X takes the values 0, 1, 2 with probabilities 56/100, 25/100 and 19/100. Find E(X).
X takes the values 0, 1, 2 with probabilities 77/100, 10/100 and 13/100. Find E(X).
Summary card
Expected value and SD
E(X)=∑xP(x); SD=∑(x−μ)2P(x).
Watch out: weight by probabilities; include losses.
3. Combining random variables
Warm-up
Three quick questions from earlier lessons.
Discover
Two independent dice each have SD about 1.7. Is the SD of their sum about 3.4?
No, smaller: about 2.4
Yes
Key idea
Means always add; variances add for independent variables.
E(a+bX)=a+bE(X), SD(a+bX)=∣b∣SD(X). E(X±Y)=E(X)±E(Y). If X and Y are independent, Var(X±Y)=Var(X)+Var(Y): variances add even for a difference.
Worked example
Morning commute: mean 20, SD 3; evening: mean 25, SD 4; independent.
X and Y are independent with SD(X) = 27 and SD(Y) = 36. Find SD(X + Y).
X and Y are independent with SD(X) = 18 and SD(Y) = 24. Find SD(X + Y).
SD(X) = 8. Let Y = 12 + 5X. Find SD(Y).
Watch out!
Practice ★★
X and Y are independent with SD(X) = 24 and SD(Y) = 10. Find SD(X − Y).
X and Y are independent with SD(X) = 72 and SD(Y) = 30. Find SD(X − Y).
Exit ticket
Three questions to check you have got it.
X and Y are independent with SD(X) = 27 and SD(Y) = 36. Find SD(X + Y).
X and Y are independent with SD(X) = 18 and SD(Y) = 24. Find SD(X + Y).
X and Y are independent with SD(X) = 12 and SD(Y) = 16. Find SD(X + Y).
Summary card
Combining random variables
Means add (and subtract).
Independent: variances add, for sums and differences.
Watch out: never add SDs directly.
4. The binomial distribution
Warm-up
Three quick questions from earlier lessons.
Discover
A coin is tossed 3 times. How many sequences have exactly one head?
3
1
Key idea
Count the successes in a fixed number of independent trials.
Binomial setting:n fixed trials, two outcomes, independent, same probability p of success. Then P(X=k)=(kn)pk(1−p)n−k, where (kn) counts the arrangements: (1n)=n, (2n)=2n(n−1).
Worked example
n=5, p=0.2: P(X=2).
(25)=10
Arrangements.
0.22×0.83=0.02048
One arrangement.
P(X=2)=0.2048
Multiply.
Your turn, guided
Your turn: n=4, p=21. P(X=1).
41
4 × (½)⁴.
Practice ★
A free throw is made with probability 1/6. In 5 independent shots, find P(exactly one is made).
A free throw is made with probability 1/5. In 6 independent shots, find P(exactly one is made).
Which situation fits a binomial model?
The number of heads in 9 tosses of a fair coin
The number of tosses until the first head
The number of aces in 9 cards dealt from one deck
Watch out!
Practice ★★
A seed sprouts with probability 1/4, independently. 6 seeds are planted. Find P(exactly two sprout).
A seed sprouts with probability 1/3, independently. 8 seeds are planted. Find P(exactly two sprout).
Boss problem. A machine part is faulty with probability 1/5, independently. Four parts are tested; X counts the faulty ones.
Exit ticket
Three questions to check you have got it.
A free throw is made with probability 1/6. In 5 independent shots, find P(exactly one is made).
A free throw is made with probability 1/5. In 6 independent shots, find P(exactly one is made).
A free throw is made with probability 1/2. In 7 independent shots, find P(exactly one is made).
Summary card
Binomial probabilities
P(X=k)=(kn)pk(1−p)n−k in a binomial setting.
Watch out: multiply by the number of arrangements.
5. Mean and standard deviation of a binomial variable
Warm-up
Three quick questions from earlier lessons.
Discover
A fair coin is tossed 100 times. About how many heads do you expect?
50
25
Key idea
Shortcuts for the binomial.
If X is binomial with n and p: μX=np and σX=np(1−p).
Worked example
n=50, p=0.3.
μ=15
np.
σ2=10.5
np(1 − p).
σ≈3.24
Square root.
Your turn, guided
Your turn: n=200, p=0.1. The mean.
20
200 × 0.1.
Practice ★
X is binomial with n = 91 and p = 1/9. Find E(X).
X is binomial with n = 87 and p = 1/8. Find E(X).
X is binomial with n = 70 and p = 1/5. Find SD(X).
X is binomial with n = 71 and p = 1/2. Find SD(X).
Watch out!
Practice ★★
A multiple-choice test has 87 questions with 4 options each. A student guesses every answer. What does E(X) = \frac{87}{4} mean?
Over many such guessed tests, the average number correct is about \frac{87}{4}
The student will get exactly \frac{87}{4} right
\frac{87}{4} is the largest possible score
Exit ticket
Three questions to check you have got it.
X is binomial with n = 91 and p = 1/9. Find E(X).
X is binomial with n = 87 and p = 1/8. Find E(X).
X is binomial with n = 59 and p = 1/5. Find E(X).
Summary card
Binomial mean and SD
μ=np, σ=np(1−p).
Watch out: the SD is the square root of np(1−p).
6. The geometric distribution
Warm-up
Three quick questions from earlier lessons.
Discover
You roll a die until the first six. What is the probability that the first six comes on roll 3?
(65)261
(65)361
Key idea
Waiting for the first success.
Geometric setting: independent trials with the same p, repeated until the first success; X = the number of the trial of the first success. P(X=k)=(1−p)k−1p, μX=p1.
Worked example
p=0.25.
P(X=2)=0.75×0.25=0.1875
First success on trial 2.
P(X≤2)=1−0.752=0.4375
Within 2 trials: complement of 2 failures.
μ=4
1/p.
Your turn, guided
Your turn: p=0.1. The mean number of trials.
10
1/0.1.
Practice ★
Each call reaches a customer with probability 1/2, independently. Find P(the first success is on call 2).
Each call reaches a customer with probability 1/4, independently. Find P(the first success is on call 2).
A die-like spinner shows 'win' with probability 1/10. On average, how many spins are needed to get the first win?
Watch out!
Practice ★★
Each attempt succeeds with probability 1/7. Find P(the first success comes within the first two attempts).
Each attempt succeeds with probability 1/9. Find P(the first success comes within the first two attempts).
Exit ticket
Three questions to check you have got it.
Each call reaches a customer with probability 1/2, independently. Find P(the first success is on call 2).
Each call reaches a customer with probability 1/4, independently. Find P(the first success is on call 2).
Each call reaches a customer with probability 1/2, independently. Find P(the first success is on call 6).
Summary card
Geometric distribution
P(X=k)=(1−p)k−1p, μ=1/p.
Watch out: k−1 failures before the first success.
Answers: Random variables
1. Discrete random variables and their distributions
A
5029
2517
B
0.1, 0.5 and 4/10
C
43
5033
D
5029
2517
10059
2. Expected value and standard deviation of a random variable
A
10083
10063
B
73
C
1021
103
D
10083
10063
259
3. Combining random variables
A
45
30
B
40
C
26
78
D
45
30
20
4. The binomial distribution
A
77763125
156256144
B
The number of heads in 9 tosses of a fair coin
C
40961215
65611792
D
54
E
77763125
156256144
1287
5. Mean and standard deviation of a binomial variable
A
991
887
B
5270
271
C
Over many such guessed tests, the average number correct is about \frac{87}{4}