M
Math Coach Amy
Amy Ferguson Moncure

IB AA · 8A Discrete Random Variables

Selecting without Replacement

Two objects are taken at random. X is how many of them are a chosen type.

Jump to section:

P(both) = P(first) × P(second given the first)

P(exactly one) = the two mixed paths added

What to Remember

First and second

The first draw changes what is left. Multiply along each path.

Exactly one

Add the path that starts with the chosen type and the path that starts with the other type.

Both, or neither

Both means the chosen type twice. Neither means the other type twice.

A zero probability

If fewer than two of that type are available, that probability is 0.

Easy

Easy

A small bag. Two are taken, and X counts one color.

Example
A bag contains 5 red counters and 3 blue counters. Two counters are taken at random, without replacement. X is the number of red counters. Find the probability distribution of X.

Two are drawn, one after the other, without putting the first one back.

First red, probability 58

then red, probability 47

then blue, probability 37

First blue, probability 38

then red, probability 57

then blue, probability 27

P(X = 2) = P(red then red)

P(X = 2) = 58 × 47

P(X = 2) = 2056

P(X = 2) = 514

P(X = 1) = P(red then blue) + P(blue then red)

P(red then blue) = 58 × 37

P(red then blue) = 1556

P(blue then red) = 38 × 57

P(blue then red) = 1556

P(X = 1) = 1556 + 1556

P(X = 1) = 16803136

P(X = 1) = 1528

P(X = 0) = P(blue then blue)

P(X = 0) = 38 × 27

P(X = 0) = 656

P(X = 0) = 328

X012
P(X = x)3281528514

The probabilities add to 1.

328 + 1528 + 1028 = 2828

2828 = 1

Answer: P(X = 0) = 328, P(X = 1) = 1528, P(X = 2) = 514

1
A bag contains 4 red counters and 2 blue counters. Two counters are taken at random, without replacement. X is the number of red counters. Find the probability distribution of X.
Show Answer

Two are drawn, one after the other, without putting the first one back.

First red, probability 23

then red, probability 35

then blue, probability 25

First blue, probability 13

then red, probability 45

then blue, probability 15

P(X = 2) = P(red then red)

P(X = 2) = 23 × 35

P(X = 2) = 615

P(X = 2) = 25

P(X = 1) = P(red then blue) + P(blue then red)

P(red then blue) = 23 × 25

P(red then blue) = 415

P(blue then red) = 13 × 45

P(blue then red) = 415

P(X = 1) = 415 + 415

P(X = 1) = 120225

P(X = 1) = 815

P(X = 0) = P(blue then blue)

P(X = 0) = 13 × 15

P(X = 0) = 115

X012
P(X = x)11581525

The probabilities add to 1.

115 + 815 + 615 = 1515

1515 = 1

Answer: P(X = 0) = 115, P(X = 1) = 815, P(X = 2) = 25

2
A bag contains 6 green marbles and 2 yellow marbles. Two marbles are taken at random, without replacement. X is the number of yellow marbles. Find the probability distribution of X.
Show Answer

Two are drawn, one after the other, without putting the first one back.

First yellow, probability 14

then yellow, probability 17

then green, probability 67

First green, probability 34

then yellow, probability 27

then green, probability 57

P(X = 2) = P(yellow then yellow)

P(X = 2) = 14 × 17

P(X = 2) = 128

P(X = 1) = P(yellow then green) + P(green then yellow)

P(yellow then green) = 14 × 67

P(yellow then green) = 628

P(yellow then green) = 314

P(green then yellow) = 34 × 27

P(green then yellow) = 628

P(green then yellow) = 314

P(X = 1) = 314 + 314

P(X = 1) = 84196

P(X = 1) = 37

P(X = 0) = P(green then green)

P(X = 0) = 34 × 57

P(X = 0) = 1528

X012
P(X = x)152837128

The probabilities add to 1.

1528 + 1228 + 128 = 2828

2828 = 1

Answer: P(X = 0) = 1528, P(X = 1) = 37, P(X = 2) = 128

3
A bag contains 3 red tiles and 3 blue tiles. Two tiles are taken at random, without replacement. X is the number of red tiles. Find the probability distribution of X.
Show Answer

Two are drawn, one after the other, without putting the first one back.

First red, probability 12

then red, probability 25

then blue, probability 35

First blue, probability 12

then red, probability 35

then blue, probability 25

P(X = 2) = P(red then red)

P(X = 2) = 12 × 25

P(X = 2) = 210

P(X = 2) = 15

P(X = 1) = P(red then blue) + P(blue then red)

P(red then blue) = 12 × 35

P(red then blue) = 310

P(blue then red) = 12 × 35

P(blue then red) = 310

P(X = 1) = 310 + 310

P(X = 1) = 60100

P(X = 1) = 35

P(X = 0) = P(blue then blue)

P(X = 0) = 12 × 25

P(X = 0) = 210

P(X = 0) = 15

X012
P(X = x)153515

The probabilities add to 1.

15 + 35 + 15 = 55

55 = 1

Answer: P(X = 0) = 15, P(X = 1) = 35, P(X = 2) = 15

4
A bowl contains 5 apples and 4 oranges. Two pieces of fruit are taken at random, without replacement. X is the number of apples. Find the probability distribution of X.
Show Answer

Two are drawn, one after the other, without putting the first one back.

First apple, probability 59

then apple, probability 12

then orange, probability 12

First orange, probability 49

then apple, probability 58

then orange, probability 38

P(X = 2) = P(apple then apple)

P(X = 2) = 59 × 12

P(X = 2) = 518

P(X = 1) = P(apple then orange) + P(orange then apple)

P(apple then orange) = 59 × 12

P(apple then orange) = 518

P(orange then apple) = 49 × 58

P(orange then apple) = 2072

P(orange then apple) = 518

P(X = 1) = 518 + 518

P(X = 1) = 180324

P(X = 1) = 59

P(X = 0) = P(orange then orange)

P(X = 0) = 49 × 38

P(X = 0) = 1272

P(X = 0) = 16

X012
P(X = x)1659518

The probabilities add to 1.

318 + 1018 + 518 = 1818

1818 = 1

Answer: P(X = 0) = 16, P(X = 1) = 59, P(X = 2) = 518

5
A box contains 4 chocolate cookies and 4 vanilla cookies. Two cookies are taken at random, without replacement. X is the number of chocolate cookies. Find the probability distribution of X.
Show Answer

Two are drawn, one after the other, without putting the first one back.

First chocolate, probability 12

then chocolate, probability 37

then vanilla, probability 47

First vanilla, probability 12

then chocolate, probability 47

then vanilla, probability 37

P(X = 2) = P(chocolate then chocolate)

P(X = 2) = 12 × 37

P(X = 2) = 314

P(X = 1) = P(chocolate then vanilla) + P(vanilla then chocolate)

P(chocolate then vanilla) = 12 × 47

P(chocolate then vanilla) = 414

P(chocolate then vanilla) = 27

P(vanilla then chocolate) = 12 × 47

P(vanilla then chocolate) = 414

P(vanilla then chocolate) = 27

P(X = 1) = 27 + 27

P(X = 1) = 2849

P(X = 1) = 47

P(X = 0) = P(vanilla then vanilla)

P(X = 0) = 12 × 37

P(X = 0) = 314

X012
P(X = x)31447314

The probabilities add to 1.

314 + 814 + 314 = 1414

1414 = 1

Answer: P(X = 0) = 314, P(X = 1) = 47, P(X = 2) = 314

Medium

Medium

A larger bag, or two cards from a pack.

Example
A jar contains 7 red beads and 5 blue beads. Two beads are taken at random, without replacement. X is the number of blue beads. Find the probability distribution of X.

Two are drawn, one after the other, without putting the first one back.

First blue, probability 512

then blue, probability 411

then red, probability 711

First red, probability 712

then blue, probability 511

then red, probability 611

P(X = 2) = P(blue then blue)

P(X = 2) = 512 × 411

P(X = 2) = 20132

P(X = 2) = 533

P(X = 1) = P(blue then red) + P(red then blue)

P(blue then red) = 512 × 711

P(blue then red) = 35132

P(red then blue) = 712 × 511

P(red then blue) = 35132

P(X = 1) = 35132 + 35132

P(X = 1) = 924017424

P(X = 1) = 3566

P(X = 0) = P(red then red)

P(X = 0) = 712 × 611

P(X = 0) = 42132

P(X = 0) = 722

X012
P(X = x)7223566533

The probabilities add to 1.

2166 + 3566 + 1066 = 6666

6666 = 1

Answer: P(X = 0) = 722, P(X = 1) = 3566, P(X = 2) = 533

1
A bag contains 8 red sweets and 4 yellow sweets. Two sweets are taken at random, without replacement. X is the number of yellow sweets. Find the probability distribution of X.
Show Answer

Two are drawn, one after the other, without putting the first one back.

First yellow, probability 13

then yellow, probability 311

then red, probability 811

First red, probability 23

then yellow, probability 411

then red, probability 711

P(X = 2) = P(yellow then yellow)

P(X = 2) = 13 × 311

P(X = 2) = 333

P(X = 2) = 111

P(X = 1) = P(yellow then red) + P(red then yellow)

P(yellow then red) = 13 × 811

P(yellow then red) = 833

P(red then yellow) = 23 × 411

P(red then yellow) = 833

P(X = 1) = 833 + 833

P(X = 1) = 5281089

P(X = 1) = 1633

P(X = 0) = P(red then red)

P(X = 0) = 23 × 711

P(X = 0) = 1433

X012
P(X = x)14331633111

The probabilities add to 1.

1433 + 1633 + 333 = 3333

3333 = 1

Answer: P(X = 0) = 1433, P(X = 1) = 1633, P(X = 2) = 111

2
A bag contains 9 blue counters and 3 green counters. Two counters are taken at random, without replacement. X is the number of green counters. Find the probability distribution of X.
Show Answer

Two are drawn, one after the other, without putting the first one back.

First green, probability 14

then green, probability 211

then blue, probability 911

First blue, probability 34

then green, probability 311

then blue, probability 811

P(X = 2) = P(green then green)

P(X = 2) = 14 × 211

P(X = 2) = 244

P(X = 2) = 122

P(X = 1) = P(green then blue) + P(blue then green)

P(green then blue) = 14 × 911

P(green then blue) = 944

P(blue then green) = 34 × 311

P(blue then green) = 944

P(X = 1) = 944 + 944

P(X = 1) = 7921936

P(X = 1) = 922

P(X = 0) = P(blue then blue)

P(X = 0) = 34 × 811

P(X = 0) = 2444

P(X = 0) = 611

X012
P(X = x)611922122

The probabilities add to 1.

1222 + 922 + 122 = 2222

2222 = 1

Answer: P(X = 0) = 611, P(X = 1) = 922, P(X = 2) = 122

3
Two cards are dealt from a standard pack of 52 cards, without replacement. X is the number of aces. Find the probability distribution of X.
Show Answer

Two are drawn, one after the other, without putting the first one back.

First ace, probability 113

then ace, probability 117

then non-ace, probability 1617

First non-ace, probability 1213

then ace, probability 451

then non-ace, probability 4751

P(X = 2) = P(ace then ace)

P(X = 2) = 113 × 117

P(X = 2) = 1221

P(X = 1) = P(ace then non-ace) + P(non-ace then ace)

P(ace then non-ace) = 113 × 1617

P(ace then non-ace) = 16221

P(non-ace then ace) = 1213 × 451

P(non-ace then ace) = 48663

P(non-ace then ace) = 16221

P(X = 1) = 16221 + 16221

P(X = 1) = 707248841

P(X = 1) = 32221

P(X = 0) = P(non-ace then non-ace)

P(X = 0) = 1213 × 4751

P(X = 0) = 564663

P(X = 0) = 188221

X012
P(X = x)188221322211221

The probabilities add to 1.

188221 + 32221 + 1221 = 221221

221221 = 1

Answer: P(X = 0) = 188221, P(X = 1) = 32221, P(X = 2) = 1221

4
Two cards are dealt from a standard pack of 52 cards, without replacement. X is the number of clubs. Find the probability distribution of X.
Show Answer

Two are drawn, one after the other, without putting the first one back.

First club, probability 14

then club, probability 417

then non-club, probability 1317

First non-club, probability 34

then club, probability 1351

then non-club, probability 3851

P(X = 2) = P(club then club)

P(X = 2) = 14 × 417

P(X = 2) = 468

P(X = 2) = 117

P(X = 1) = P(club then non-club) + P(non-club then club)

P(club then non-club) = 14 × 1317

P(club then non-club) = 1368

P(non-club then club) = 34 × 1351

P(non-club then club) = 39204

P(non-club then club) = 1368

P(X = 1) = 1368 + 1368

P(X = 1) = 17684624

P(X = 1) = 1334

P(X = 0) = P(non-club then non-club)

P(X = 0) = 34 × 3851

P(X = 0) = 114204

P(X = 0) = 1934

X012
P(X = x)19341334117

The probabilities add to 1.

1934 + 1334 + 234 = 3434

3434 = 1

Answer: P(X = 0) = 1934, P(X = 1) = 1334, P(X = 2) = 117

5
A bag contains 10 red grapes and 6 green grapes. Two grapes are taken at random, without replacement. X is the number of red grapes. Find the probability distribution of X.
Show Answer

Two are drawn, one after the other, without putting the first one back.

First red, probability 58

then red, probability 35

then green, probability 25

First green, probability 38

then red, probability 23

then green, probability 13

P(X = 2) = P(red then red)

P(X = 2) = 58 × 35

P(X = 2) = 1540

P(X = 2) = 38

P(X = 1) = P(red then green) + P(green then red)

P(red then green) = 58 × 25

P(red then green) = 1040

P(red then green) = 14

P(green then red) = 38 × 23

P(green then red) = 624

P(green then red) = 14

P(X = 1) = 14 + 14

P(X = 1) = 816

P(X = 1) = 12

P(X = 0) = P(green then green)

P(X = 0) = 38 × 13

P(X = 0) = 324

P(X = 0) = 18

X012
P(X = x)181238

The probabilities add to 1.

18 + 48 + 38 = 88

88 = 1

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

Hard

Hard

One of the probabilities may be 0, or the pack is split another way.

Example
A jar contains 6 mint sweets and 8 lemon sweets. Two sweets are taken at random, without replacement. X is the number of mint sweets. Find the probability distribution of X.

Two are drawn, one after the other, without putting the first one back.

First mint, probability 37

then mint, probability 513

then lemon, probability 813

First lemon, probability 47

then mint, probability 613

then lemon, probability 713

P(X = 2) = P(mint then mint)

P(X = 2) = 37 × 513

P(X = 2) = 1591

P(X = 1) = P(mint then lemon) + P(lemon then mint)

P(mint then lemon) = 37 × 813

P(mint then lemon) = 2491

P(lemon then mint) = 47 × 613

P(lemon then mint) = 2491

P(X = 1) = 2491 + 2491

P(X = 1) = 43688281

P(X = 1) = 4891

P(X = 0) = P(lemon then lemon)

P(X = 0) = 47 × 713

P(X = 0) = 2891

P(X = 0) = 413

X012
P(X = x)41348911591

The probabilities add to 1.

2891 + 4891 + 1591 = 9191

9191 = 1

Answer: P(X = 0) = 413, P(X = 1) = 4891, P(X = 2) = 1591

1
A bag contains 1 gold counter and 5 silver counters. Two counters are taken at random, without replacement. X is the number of gold counters. Find the probability distribution of X.
Show Answer

Two are drawn, one after the other, without putting the first one back.

First gold, probability 16

then gold, probability 0

then silver, probability 1

First silver, probability 56

then gold, probability 15

then silver, probability 45

There is only 1 gold, so P(X = 2) = 0.

P(X = 1) = P(gold then silver) + P(silver then gold)

P(gold then silver) = 16 × 1

P(gold then silver) = 16

P(silver then gold) = 56 × 15

P(silver then gold) = 530

P(silver then gold) = 16

P(X = 1) = 16 + 16

P(X = 1) = 1236

P(X = 1) = 13

P(X = 0) = P(silver then silver)

P(X = 0) = 56 × 45

P(X = 0) = 2030

P(X = 0) = 23

X012
P(X = x)23130

The probabilities add to 1.

23 + 13 + 03 = 33

33 = 1

Answer: P(X = 0) = 23, P(X = 1) = 13, P(X = 2) = 0

2
Two cards are dealt from a standard pack of 52 cards, without replacement. X is the number of red cards. Find the probability distribution of X.
Show Answer

Two are drawn, one after the other, without putting the first one back.

First red, probability 12

then red, probability 2551

then black, probability 2651

First black, probability 12

then red, probability 2651

then black, probability 2551

P(X = 2) = P(red then red)

P(X = 2) = 12 × 2551

P(X = 2) = 25102

P(X = 1) = P(red then black) + P(black then red)

P(red then black) = 12 × 2651

P(red then black) = 26102

P(red then black) = 1351

P(black then red) = 12 × 2651

P(black then red) = 26102

P(black then red) = 1351

P(X = 1) = 1351 + 1351

P(X = 1) = 13262601

P(X = 1) = 2651

P(X = 0) = P(black then black)

P(X = 0) = 12 × 2551

P(X = 0) = 25102

X012
P(X = x)25102265125102

The probabilities add to 1.

25102 + 52102 + 25102 = 102102

102102 = 1

Answer: P(X = 0) = 25102, P(X = 1) = 2651, P(X = 2) = 25102

3
A wardrobe has 7 blue shirts and 5 purple shirts. Two shirts are taken at random, without replacement. X is the number of blue shirts. Find the probability distribution of X.
Show Answer

Two are drawn, one after the other, without putting the first one back.

First blue, probability 712

then blue, probability 611

then purple, probability 511

First purple, probability 512

then blue, probability 711

then purple, probability 411

P(X = 2) = P(blue then blue)

P(X = 2) = 712 × 611

P(X = 2) = 42132

P(X = 2) = 722

P(X = 1) = P(blue then purple) + P(purple then blue)

P(blue then purple) = 712 × 511

P(blue then purple) = 35132

P(purple then blue) = 512 × 711

P(purple then blue) = 35132

P(X = 1) = 35132 + 35132

P(X = 1) = 924017424

P(X = 1) = 3566

P(X = 0) = P(purple then purple)

P(X = 0) = 512 × 411

P(X = 0) = 20132

P(X = 0) = 533

X012
P(X = x)5333566722

The probabilities add to 1.

1066 + 3566 + 2166 = 6666

6666 = 1

Answer: P(X = 0) = 533, P(X = 1) = 3566, P(X = 2) = 722

4
Two cards are dealt from a standard pack of 52 cards, without replacement. X is the number of face cards. There are 12 face cards. Find the probability distribution of X.
Show Answer

Two are drawn, one after the other, without putting the first one back.

First face card, probability 313

then face card, probability 1151

then other card, probability 4051

First other card, probability 1013

then face card, probability 417

then other card, probability 1317

P(X = 2) = P(face card then face card)

P(X = 2) = 313 × 1151

P(X = 2) = 33663

P(X = 2) = 11221

P(X = 1) = P(face card then other card) + P(other card then face card)

P(face card then other card) = 313 × 4051

P(face card then other card) = 120663

P(face card then other card) = 40221

P(other card then face card) = 1013 × 417

P(other card then face card) = 40221

P(X = 1) = 40221 + 40221

P(X = 1) = 1768048841

P(X = 1) = 80221

P(X = 0) = P(other card then other card)

P(X = 0) = 1013 × 1317

P(X = 0) = 130221

P(X = 0) = 1017

X012
P(X = x)10178022111221

The probabilities add to 1.

130221 + 80221 + 11221 = 221221

221221 = 1

Answer: P(X = 0) = 1017, P(X = 1) = 80221, P(X = 2) = 11221

5
A bag contains 9 red counters and 5 yellow counters. Two counters are taken at random, without replacement. X is the number of yellow counters. Find the probability distribution of X.
Show Answer

Two are drawn, one after the other, without putting the first one back.

First yellow, probability 514

then yellow, probability 413

then red, probability 913

First red, probability 914

then yellow, probability 513

then red, probability 813

P(X = 2) = P(yellow then yellow)

P(X = 2) = 514 × 413

P(X = 2) = 20182

P(X = 2) = 1091

P(X = 1) = P(yellow then red) + P(red then yellow)

P(yellow then red) = 514 × 913

P(yellow then red) = 45182

P(red then yellow) = 914 × 513

P(red then yellow) = 45182

P(X = 1) = 45182 + 45182

P(X = 1) = 1638033124

P(X = 1) = 4591

P(X = 0) = P(red then red)

P(X = 0) = 914 × 813

P(X = 0) = 72182

P(X = 0) = 3691

X012
P(X = x)369145911091

The probabilities add to 1.

3691 + 4591 + 1091 = 9191

9191 = 1

Answer: P(X = 0) = 3691, P(X = 1) = 4591, P(X = 2) = 1091

Want to go over a random variable together?

Book a Session with Amy