M
Math Coach Amy
Amy Ferguson Moncure

IB AA · 8A Discrete Random Variables

Distributions from Coins and Dice

List the values of X and the probability of each value. The probabilities add to 1.

Jump to section:

P(X = x) = outcomes for xoutcomes

The probabilities add to 1.

What to Remember

Probability distribution

Write every value X can take, and the probability of that value.

Equally likely outcomes

P(X = x) = number of outcomes that give xnumber of outcomes.

Independent results

Multiply the probabilities along a path. Add the paths that give the same value of X.

Check

Every probability is from 0 to 1, and the probabilities add to 1.

Easy

Easy

A coin tossed twice, or one fair die.

Example
A fair coin is tossed twice. X is the number of heads. Find the probability distribution of X.

Each trial has 2 equally likely results, H and T.

2 trials give 4 equally likely outcomes.

The outcomes are TT, TH, HT, HH.

X = 0: TT. 1 outcome.

X = 1: TH, HT. 2 outcomes.

X = 2: HH. 1 outcome.

P(X = x) = number of outcomestotal outcomes

P(X = 0) = 14

P(X = 1) = 24

P(X = 1) = 12

P(X = 2) = 14

X012
P(X = x)141214

The probabilities add to 1.

14 + 24 + 14 = 44

44 = 1

Answer: P(X = 0) = 14, P(X = 1) = 12, P(X = 2) = 14

1
A fair coin is tossed twice. X is the number of tails. Find the probability distribution of X.
Show Answer

Each trial has 2 equally likely results, H and T.

2 trials give 4 equally likely outcomes.

The outcomes are TT, TH, HT, HH.

X = 0: HH. 1 outcome.

X = 1: TH, HT. 2 outcomes.

X = 2: TT. 1 outcome.

P(X = x) = number of outcomestotal outcomes

P(X = 0) = 14

P(X = 1) = 24

P(X = 1) = 12

P(X = 2) = 14

X012
P(X = x)141214

The probabilities add to 1.

14 + 24 + 14 = 44

44 = 1

Answer: P(X = 0) = 14, P(X = 1) = 12, P(X = 2) = 14

2
A fair six-sided die is rolled once. X is the number shown. Find the probability distribution of X.
Show Answer

The possible values are 1, 2, 3, 4, 5, 6.

There are 6 equally likely outcomes.

P(X = x) = 16

X123456
P(X = x)161616161616

The probabilities add to 1.

16 + 16 + 16 + 16 + 16 + 16 = 66

66 = 1

Answer: each probability is 16

3
A fair four-sided die, numbered 1 to 4, is rolled once. X is the number shown. Find the probability distribution of X.
Show Answer

The possible values are 1, 2, 3, 4.

There are 4 equally likely outcomes.

P(X = x) = 14

X1234
P(X = x)14141414

The probabilities add to 1.

14 + 14 + 14 + 14 = 44

44 = 1

Answer: each probability is 14

4
A spinner has five equal sections numbered 1 to 5. X is the number where it stops. Find the probability distribution of X.
Show Answer

The possible values are 1, 2, 3, 4, 5.

There are 5 equally likely outcomes.

P(X = x) = 15

X12345
P(X = x)1515151515

The probabilities add to 1.

15 + 15 + 15 + 15 + 15 = 55

55 = 1

Answer: each probability is 15

5
Five cards, labeled 2, 4, 6, 8, and 10, are shuffled. One card is drawn. X is the number on the card. Find the probability distribution of X.
Show Answer

The possible values are 2, 4, 6, 8, 10.

There are 5 equally likely outcomes.

P(X = x) = 15

X246810
P(X = x)1515151515

The probabilities add to 1.

15 + 15 + 15 + 15 + 15 = 55

55 = 1

Answer: each probability is 15

Medium

Medium

Three equally likely results. X is how many times something happens.

Example
A fair coin is tossed three times. X is the number of heads. Find the probability distribution of X.

First: H, probability 12

then H, probability 12

then H, probability 12 → HHH

then T, probability 12 → HHT

then T, probability 12

then H, probability 12 → HTH

then T, probability 12 → HTT

First: T, probability 12

then H, probability 12

then H, probability 12 → THH

then T, probability 12 → THT

then T, probability 12

then H, probability 12 → TTH

then T, probability 12 → TTT

Each trial has 2 equally likely results, H and T.

3 trials give 8 equally likely outcomes.

The outcomes are TTT, TTH, THT, THH, HTT, HTH, HHT, HHH.

X = 0: TTT. 1 outcome.

X = 1: TTH, THT, HTT. 3 outcomes.

X = 2: THH, HTH, HHT. 3 outcomes.

X = 3: HHH. 1 outcome.

P(X = x) = number of outcomestotal outcomes

P(X = 0) = 18

P(X = 1) = 38

P(X = 2) = 38

P(X = 3) = 18

X0123
P(X = x)18383818

The probabilities add to 1.

18 + 38 + 38 + 18 = 88

88 = 1

Answer: P(X = 0) = 18, P(X = 1) = 38, P(X = 2) = 38, P(X = 3) = 18

1
A fair coin is tossed three times. X is the number of tails. Find the probability distribution of X.
Show Answer

Each trial has 2 equally likely results, H and T.

3 trials give 8 equally likely outcomes.

The outcomes are TTT, TTH, THT, THH, HTT, HTH, HHT, HHH.

X = 0: HHH. 1 outcome.

X = 1: THH, HTH, HHT. 3 outcomes.

X = 2: TTH, THT, HTT. 3 outcomes.

X = 3: TTT. 1 outcome.

P(X = x) = number of outcomestotal outcomes

P(X = 0) = 18

P(X = 1) = 38

P(X = 2) = 38

P(X = 3) = 18

X0123
P(X = x)18383818

The probabilities add to 1.

18 + 38 + 38 + 18 = 88

88 = 1

Answer: P(X = 0) = 18, P(X = 1) = 38, P(X = 2) = 38, P(X = 3) = 18

2
A family has three children. Each child is equally likely to be a boy or a girl. X is the number of boys. Find the probability distribution of X.
Show Answer

B means boy, and G means girl.

Each trial has 2 equally likely results, B and G.

3 trials give 8 equally likely outcomes.

The outcomes are GGG, GGB, GBG, GBB, BGG, BGB, BBG, BBB.

X = 0: GGG. 1 outcome.

X = 1: GGB, GBG, BGG. 3 outcomes.

X = 2: GBB, BGB, BBG. 3 outcomes.

X = 3: BBB. 1 outcome.

P(X = x) = number of outcomestotal outcomes

P(X = 0) = 18

P(X = 1) = 38

P(X = 2) = 38

P(X = 3) = 18

X0123
P(X = x)18383818

The probabilities add to 1.

18 + 38 + 38 + 18 = 88

88 = 1

Answer: P(X = 0) = 18, P(X = 1) = 38, P(X = 2) = 38, P(X = 3) = 18

3
A quiz has three true or false questions. Each answer is a random guess, and a guess is equally likely to be right or wrong. X is the number of right answers. Find the probability distribution of X.
Show Answer

R means right, and W means wrong.

Each trial has 2 equally likely results, R and W.

3 trials give 8 equally likely outcomes.

The outcomes are WWW, WWR, WRW, WRR, RWW, RWR, RRW, RRR.

X = 0: WWW. 1 outcome.

X = 1: WWR, WRW, RWW. 3 outcomes.

X = 2: WRR, RWR, RRW. 3 outcomes.

X = 3: RRR. 1 outcome.

P(X = x) = number of outcomestotal outcomes

P(X = 0) = 18

P(X = 1) = 38

P(X = 2) = 38

P(X = 3) = 18

X0123
P(X = x)18383818

The probabilities add to 1.

18 + 38 + 38 + 18 = 88

88 = 1

Answer: P(X = 0) = 18, P(X = 1) = 38, P(X = 2) = 38, P(X = 3) = 18

4
Three fair coins are tossed together. X is the number of tails. Find the probability distribution of X.
Show Answer

Each trial has 2 equally likely results, H and T.

3 trials give 8 equally likely outcomes.

The outcomes are TTT, TTH, THT, THH, HTT, HTH, HHT, HHH.

X = 0: HHH. 1 outcome.

X = 1: THH, HTH, HHT. 3 outcomes.

X = 2: TTH, THT, HTT. 3 outcomes.

X = 3: TTT. 1 outcome.

P(X = x) = number of outcomestotal outcomes

P(X = 0) = 18

P(X = 1) = 38

P(X = 2) = 38

P(X = 3) = 18

X0123
P(X = x)18383818

The probabilities add to 1.

18 + 38 + 38 + 18 = 88

88 = 1

Answer: P(X = 0) = 18, P(X = 1) = 38, P(X = 2) = 38, P(X = 3) = 18

5
A player shoots three free throws. Each shot is equally likely to score or miss. X is the number of shots that score. Find the probability distribution of X.
Show Answer

S means score, and M means miss.

Each trial has 2 equally likely results, S and M.

3 trials give 8 equally likely outcomes.

The outcomes are MMM, MMS, MSM, MSS, SMM, SMS, SSM, SSS.

X = 0: MMM. 1 outcome.

X = 1: MMS, MSM, SMM. 3 outcomes.

X = 2: MSS, SMS, SSM. 3 outcomes.

X = 3: SSS. 1 outcome.

P(X = x) = number of outcomestotal outcomes

P(X = 0) = 18

P(X = 1) = 38

P(X = 2) = 38

P(X = 3) = 18

X0123
P(X = x)18383818

The probabilities add to 1.

18 + 38 + 38 + 18 = 88

88 = 1

Answer: P(X = 0) = 18, P(X = 1) = 38, P(X = 2) = 38, P(X = 3) = 18

Hard

Hard

The probability is not 1/2, or X is a sum.

Example
The probability that a bus is late on any day is 1/4. The days are independent. X is the number of late days in a two-day period. Find the probability distribution of X.

The two results are independent.

P(X = 0) = P(on time) × P(on time)

P(X = 0) = 34 × 34

P(X = 0) = 916

P(X = 2) = P(late) × P(late)

P(X = 2) = 14 × 14

P(X = 2) = 116

P(X = 1) = P(late then on time) + P(on time then late)

P(late then on time) = 14 × 34

P(late then on time) = 316

P(on time then late) = 34 × 14

P(on time then late) = 316

P(X = 1) = 316 + 316

P(X = 1) = 616

P(X = 1) = 38

X012
P(X = x)91638116

The probabilities add to 1.

916 + 616 + 116 = 1616

1616 = 1

Answer: P(X = 0) = 916, P(X = 1) = 38, P(X = 2) = 116

1
The probability that it rains on any day is 1/5. The days are independent. X is the number of rainy days in a two-day weekend. Find the probability distribution of X.
Show Answer

The two results are independent.

P(X = 0) = P(no rain) × P(no rain)

P(X = 0) = 45 × 45

P(X = 0) = 1625

P(X = 2) = P(rain) × P(rain)

P(X = 2) = 15 × 15

P(X = 2) = 125

P(X = 1) = P(rain then no rain) + P(no rain then rain)

P(rain then no rain) = 15 × 45

P(rain then no rain) = 425

P(no rain then rain) = 45 × 15

P(no rain then rain) = 425

P(X = 1) = 425 + 425

P(X = 1) = 825

X012
P(X = x)1625825125

The probabilities add to 1.

1625 + 825 + 125 = 2525

2525 = 1

Answer: P(X = 0) = 1625, P(X = 1) = 825, P(X = 2) = 125

2
The probability that Nora goes to choir on any day is 2/5. The days are independent. X is the number of choir days in a two-day weekend. Find the probability distribution of X.
Show Answer

The two results are independent.

P(X = 0) = P(no choir) × P(no choir)

P(X = 0) = 35 × 35

P(X = 0) = 925

P(X = 2) = P(choir) × P(choir)

P(X = 2) = 25 × 25

P(X = 2) = 425

P(X = 1) = P(choir then no choir) + P(no choir then choir)

P(choir then no choir) = 25 × 35

P(choir then no choir) = 625

P(no choir then choir) = 35 × 25

P(no choir then choir) = 625

P(X = 1) = 625 + 625

P(X = 1) = 1225

X012
P(X = x)9251225425

The probabilities add to 1.

925 + 1225 + 425 = 2525

2525 = 1

Answer: P(X = 0) = 925, P(X = 1) = 1225, P(X = 2) = 425

3
A fair six-sided die is rolled twice. X is the number of 6s. Find the probability distribution of X.
Show Answer

The two results are independent.

P(X = 0) = P(not a 6) × P(not a 6)

P(X = 0) = 56 × 56

P(X = 0) = 2536

P(X = 2) = P(a 6) × P(a 6)

P(X = 2) = 16 × 16

P(X = 2) = 136

P(X = 1) = P(a 6 then not a 6) + P(not a 6 then a 6)

P(a 6 then not a 6) = 16 × 56

P(a 6 then not a 6) = 536

P(not a 6 then a 6) = 56 × 16

P(not a 6 then a 6) = 536

P(X = 1) = 536 + 536

P(X = 1) = 1036

P(X = 1) = 518

X012
P(X = x)2536518136

The probabilities add to 1.

2536 + 1036 + 136 = 3636

3636 = 1

Answer: P(X = 0) = 2536, P(X = 1) = 518, P(X = 2) = 136

4
A fair four-sided die, numbered 1 to 4, is rolled three times. X is the number of 4s. Find the probability distribution of X.
Show Answer

The three results are independent.

P(X = 0) = not a 4 then not a 4 then not a 4

P(X = 0) = 34 × 34 × 34

P(X = 0) = 2764

1 a 4: the 3 orders are SFF, FSF, FFS.

S means a 4, and F means not a 4.

P(one outcome with 1 a 4) = 14 × 34 × 34

P(one outcome with 1 a 4) = 964

P(X = 1) = 3 × 964

P(X = 1) = 2764

2 a 4: the 3 orders are SSF, SFS, FSS.

S means a 4, and F means not a 4.

P(one outcome with 2 a 4) = 14 × 14 × 34

P(one outcome with 2 a 4) = 364

P(X = 2) = 3 × 364

P(X = 2) = 964

P(X = 3) = a 4 then a 4 then a 4

P(X = 3) = 14 × 14 × 14

P(X = 3) = 164

X0123
P(X = x)27642764964164

The probabilities add to 1.

2764 + 2764 + 964 + 164 = 6464

6464 = 1

Answer: P(X = 0) = 2764, P(X = 1) = 2764, P(X = 2) = 964, P(X = 3) = 164

5
Two fair six-sided dice are rolled. X is the sum of the two numbers. Find the probability distribution of X.
Show Answer
+123456
1234567
2345678
3456789
45678910
567891011
6789101112

There are 36 equally likely outcomes. The cell is the sum.

P(X = x) = number of ways36

P(X = 2) = 136

P(X = 3) = 236

P(X = 3) = 118

P(X = 4) = 336

P(X = 4) = 112

P(X = 5) = 436

P(X = 5) = 19

P(X = 6) = 536

P(X = 7) = 636

P(X = 7) = 16

P(X = 8) = 536

P(X = 9) = 436

P(X = 9) = 19

P(X = 10) = 336

P(X = 10) = 112

P(X = 11) = 236

P(X = 11) = 118

P(X = 12) = 136

X23456789101112
P(X = x)136118112195361653619112118136

The probabilities add to 1.

136 + 236 + 336 + 436 + 536 + 636 + 536 + 436 + 336 + 236 + 136 = 3636

3636 = 1

Answer: P(X = 2) = 136, P(X = 3) = 118, P(X = 4) = 112, P(X = 5) = 19, P(X = 6) = 536, P(X = 7) = 16, P(X = 8) = 536, P(X = 9) = 19, P(X = 10) = 112, P(X = 11) = 118, P(X = 12) = 136

Want to go over a random variable together?

Book a Session with Amy