IB AA · 8A Discrete Random Variables
List the values of X and the probability of each value. The probabilities add to 1.
Jump to section:
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.
A coin tossed twice, or one fair die.
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
| X | 0 | 1 | 2 |
|---|---|---|---|
| P(X = x) | 14 | 12 | 14 |
The probabilities add to 1.
14 + 24 + 14 = 44
44 = 1
Answer: P(X = 0) = 14, P(X = 1) = 12, P(X = 2) = 14
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
| X | 0 | 1 | 2 |
|---|---|---|---|
| P(X = x) | 14 | 12 | 14 |
The probabilities add to 1.
14 + 24 + 14 = 44
44 = 1
Answer: P(X = 0) = 14, P(X = 1) = 12, P(X = 2) = 14
The possible values are 1, 2, 3, 4, 5, 6.
There are 6 equally likely outcomes.
P(X = x) = 16
| X | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| P(X = x) | 16 | 16 | 16 | 16 | 16 | 16 |
The probabilities add to 1.
16 + 16 + 16 + 16 + 16 + 16 = 66
66 = 1
Answer: each probability is 16
The possible values are 1, 2, 3, 4.
There are 4 equally likely outcomes.
P(X = x) = 14
| X | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| P(X = x) | 14 | 14 | 14 | 14 |
The probabilities add to 1.
14 + 14 + 14 + 14 = 44
44 = 1
Answer: each probability is 14
The possible values are 1, 2, 3, 4, 5.
There are 5 equally likely outcomes.
P(X = x) = 15
| X | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| P(X = x) | 15 | 15 | 15 | 15 | 15 |
The probabilities add to 1.
15 + 15 + 15 + 15 + 15 = 55
55 = 1
Answer: each probability is 15
The possible values are 2, 4, 6, 8, 10.
There are 5 equally likely outcomes.
P(X = x) = 15
| X | 2 | 4 | 6 | 8 | 10 |
|---|---|---|---|---|---|
| P(X = x) | 15 | 15 | 15 | 15 | 15 |
The probabilities add to 1.
15 + 15 + 15 + 15 + 15 = 55
55 = 1
Answer: each probability is 15
Three equally likely results. X is how many times something happens.
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
| X | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| P(X = x) | 18 | 38 | 38 | 18 |
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
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
| X | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| P(X = x) | 18 | 38 | 38 | 18 |
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
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
| X | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| P(X = x) | 18 | 38 | 38 | 18 |
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
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
| X | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| P(X = x) | 18 | 38 | 38 | 18 |
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
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
| X | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| P(X = x) | 18 | 38 | 38 | 18 |
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
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
| X | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| P(X = x) | 18 | 38 | 38 | 18 |
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
The probability is not 1/2, or X is a sum.
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
| X | 0 | 1 | 2 |
|---|---|---|---|
| P(X = x) | 916 | 38 | 116 |
The probabilities add to 1.
916 + 616 + 116 = 1616
1616 = 1
Answer: P(X = 0) = 916, P(X = 1) = 38, P(X = 2) = 116
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
| X | 0 | 1 | 2 |
|---|---|---|---|
| P(X = x) | 1625 | 825 | 125 |
The probabilities add to 1.
1625 + 825 + 125 = 2525
2525 = 1
Answer: P(X = 0) = 1625, P(X = 1) = 825, P(X = 2) = 125
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
| X | 0 | 1 | 2 |
|---|---|---|---|
| P(X = x) | 925 | 1225 | 425 |
The probabilities add to 1.
925 + 1225 + 425 = 2525
2525 = 1
Answer: P(X = 0) = 925, P(X = 1) = 1225, P(X = 2) = 425
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
| X | 0 | 1 | 2 |
|---|---|---|---|
| P(X = x) | 2536 | 518 | 136 |
The probabilities add to 1.
2536 + 1036 + 136 = 3636
3636 = 1
Answer: P(X = 0) = 2536, P(X = 1) = 518, P(X = 2) = 136
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
| X | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| P(X = x) | 2764 | 2764 | 964 | 164 |
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
| + | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
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
| X | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| P(X = x) | 136 | 118 | 112 | 19 | 536 | 16 | 536 | 19 | 112 | 118 | 136 |
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