M
Math Coach Amy
Amy Ferguson Moncure

IB AA · 7B Probability Techniques

Tree Diagrams

A tree follows one event and then the next. Multiply along a path. Add the paths that answer the question.

Jump to section:

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

P(event) = sum of the paths that fit

What to Remember

Paths

The first branches are the first event. The branches after those are what can happen next.

Multiply

The probability of a path is the probability on the first branch times the probability on the second branch.

Add

If more than one path fits the question, add those paths.

Without replacement

After the first draw, one object is gone. The second probabilities use what is left.

Easy

Easy

The second probability depends on the first event.

Example
Each morning Nia walks or bikes. The probability that she walks is 25. If she walks, the probability that she is late is 110. If she bikes, the probability that she is late is 14. Find the probability that Nia is late.

First: walks, probability 25

then late, probability 110

then not late, probability 910

First: bikes, probability 35

then late, probability 14

then not late, probability 34

P(walks and late) = P(walks) × P(late given walks)

P(walks and late) = 25 × 110

P(walks and late) = 250

P(walks and late) = 125

P(bikes and late) = P(bikes) × P(late given bikes)

P(bikes and late) = 35 × 14

P(bikes and late) = 320

P(late) = P(walks and late) + P(bikes and late)

P(late) = 125 + 320

P(late) = 4100 + 15100

P(late) = 19100

Answer: 19100

1
The probability of rain is 15. If it rains, the probability that Omar takes the bus is 34. If it does not rain, the probability that he takes the bus is 13. Find the probability that Omar takes the bus.
Show Answer

First: rain, probability 15

then bus, probability 34

then walks, probability 14

First: no rain, probability 45

then bus, probability 13

then walks, probability 23

P(rain and bus) = P(rain) × P(bus given rain)

P(rain and bus) = 15 × 34

P(rain and bus) = 320

P(no rain and bus) = P(no rain) × P(bus given no rain)

P(no rain and bus) = 45 × 13

P(no rain and bus) = 415

P(bus) = P(rain and bus) + P(no rain and bus)

P(bus) = 320 + 415

P(bus) = 960 + 1660

P(bus) = 2560

P(bus) = 512

Answer: 512

2
The probability that Inez revises is 34. If she revises, the probability that she passes is 910. If she does not revise, the probability that she passes is 12. Find the probability that she revises and passes.
Show Answer

First: revises, probability 34

then passes, probability 910

then fails, probability 110

First: does not revise, probability 14

then passes, probability 12

then fails, probability 12

P(revises and passes) = P(revises) × P(passes given revises)

P(revises and passes) = 34 × 910

P(revises and passes) = 2740

Answer: 2740

3
The probability that lunch starts with soup is 25. If there is soup, the probability of bread is 45. If there is no soup, the probability of bread is 12. Find the probability that there is no bread.
Show Answer

First: soup, probability 25

then bread, probability 45

then no bread, probability 15

First: no soup, probability 35

then bread, probability 12

then no bread, probability 12

P(soup and no bread) = P(soup) × P(no bread given soup)

P(soup and no bread) = 25 × 15

P(soup and no bread) = 225

P(no soup and no bread) = P(no soup) × P(no bread given no soup)

P(no soup and no bread) = 35 × 12

P(no soup and no bread) = 310

P(no bread) = P(soup and no bread) + P(no soup and no bread)

P(no bread) = 225 + 310

P(no bread) = 450 + 1550

P(no bread) = 1950

Answer: 1950

4
The probability that the first coin lands heads is 13. If it is heads, the second coin is fair. If it is tails, the probability that the second coin lands heads is 34. Find the probability that the second coin lands heads.
Show Answer

First: heads, probability 13

then second heads, probability 12

then second tails, probability 12

First: tails, probability 23

then second heads, probability 34

then second tails, probability 14

P(heads and second heads) = P(heads) × P(second heads given heads)

P(heads and second heads) = 13 × 12

P(heads and second heads) = 16

P(tails and second heads) = P(tails) × P(second heads given tails)

P(tails and second heads) = 23 × 34

P(tails and second heads) = 612

P(tails and second heads) = 12

P(second heads) = P(heads and second heads) + P(tails and second heads)

P(second heads) = 16 + 12

P(second heads) = 16 + 36

P(second heads) = 46

P(second heads) = 23

Answer: 23

5
The probability that Priya takes the train is 35. Otherwise she takes the bus. If she takes the train, the probability that she gets a seat is 23. If she takes the bus, the probability that she gets a seat is 14. Find the probability that she does not get a seat.
Show Answer

First: train, probability 35

then seat, probability 23

then no seat, probability 13

First: bus, probability 25

then seat, probability 14

then no seat, probability 34

P(train and no seat) = P(train) × P(no seat given train)

P(train and no seat) = 35 × 13

P(train and no seat) = 315

P(train and no seat) = 15

P(bus and no seat) = P(bus) × P(no seat given bus)

P(bus and no seat) = 25 × 34

P(bus and no seat) = 620

P(bus and no seat) = 310

P(no seat) = P(train and no seat) + P(bus and no seat)

P(no seat) = 15 + 310

P(no seat) = 210 + 310

P(no seat) = 510

P(no seat) = 12

Answer: 12

Medium

Medium

Two draws without replacement.

Example
A bag contains 5 red counters and 7 blue counters. Two counters are taken out at random, one after the other, without replacement. Find the probability that both counters are red.

First: red, probability 512

then red, probability 411

then blue, probability 711

First: blue, probability 712

then red, probability 511

then blue, probability 611

P(red and red) = P(red) × P(red given red)

P(red and red) = 512 × 411

P(red and red) = 20132

P(red and red) = 533

Answer: 533

1
A bag contains 6 red counters and 4 green counters. Two counters are taken out at random, one after the other, without replacement. Find the probability that both counters are green.
Show Answer

First: red, probability 35

then red, probability 59

then green, probability 49

First: green, probability 25

then red, probability 23

then green, probability 13

P(green and green) = P(green) × P(green given green)

P(green and green) = 25 × 13

P(green and green) = 215

Answer: 215

2
A bag contains 8 red counters and 4 blue counters. Two counters are taken out at random, one after the other, without replacement. Find the probability that the second counter is blue.
Show Answer

First: red, probability 23

then red, probability 711

then blue, probability 411

First: blue, probability 13

then red, probability 811

then blue, probability 311

P(red and blue) = P(red) × P(blue given red)

P(red and blue) = 23 × 411

P(red and blue) = 833

P(blue and blue) = P(blue) × P(blue given blue)

P(blue and blue) = 13 × 311

P(blue and blue) = 333

P(blue and blue) = 111

P(second blue) = P(red and blue) + P(blue and blue)

P(second blue) = 833 + 111

P(second blue) = 833 + 333

P(second blue) = 1133

P(second blue) = 13

Answer: 13

3
A bag contains 9 red tokens and 6 yellow tokens. Two tokens are taken out at random, one after the other, without replacement. Find the probability that the two tokens have different colours.
Show Answer

First: red, probability 35

then red, probability 47

then yellow, probability 37

First: yellow, probability 25

then red, probability 914

then yellow, probability 514

P(red and yellow) = P(red) × P(yellow given red)

P(red and yellow) = 35 × 37

P(red and yellow) = 935

P(yellow and red) = P(yellow) × P(red given yellow)

P(yellow and red) = 25 × 914

P(yellow and red) = 1870

P(yellow and red) = 935

P(different colours) = P(red and yellow) + P(yellow and red)

P(different colours) = 935 + 935

P(different colours) = 1835

Answer: 1835

4
A bowl holds 5 apples and 3 pears. Two pieces of fruit are taken out at random, one after the other, without replacement. Find the probability that the two pieces are the same fruit.
Show Answer

First: apple, probability 58

then apple, probability 47

then pear, probability 37

First: pear, probability 38

then apple, probability 57

then pear, probability 27

P(apple and apple) = P(apple) × P(apple given apple)

P(apple and apple) = 58 × 47

P(apple and apple) = 2056

P(apple and apple) = 514

P(pear and pear) = P(pear) × P(pear given pear)

P(pear and pear) = 38 × 27

P(pear and pear) = 656

P(pear and pear) = 328

P(same fruit) = P(apple and apple) + P(pear and pear)

P(same fruit) = 514 + 328

P(same fruit) = 1028 + 328

P(same fruit) = 1328

Answer: 1328

5
A bag contains 7 black beads and 5 white beads. Two beads are taken out at random, one after the other, without replacement. Find the probability that the first bead is black and the second bead is white.
Show Answer

First: black, probability 712

then black, probability 611

then white, probability 511

First: white, probability 512

then black, probability 711

then white, probability 411

P(black and white) = P(black) × P(white given black)

P(black and white) = 712 × 511

P(black and white) = 35132

Answer: 35132

Hard

Hard

Three first outcomes, a machine chosen at random, or a comparison.

Example
Jo walks, takes the bus, or cycles, each with equal probability. The probability that Jo is late is 15 when walking, 110 on the bus, and 310 when cycling. Find the probability that Jo is late.

First: walks, probability 13

then late, probability 15

then on time, probability 45

First: bus, probability 13

then late, probability 110

then on time, probability 910

First: cycles, probability 13

then late, probability 310

then on time, probability 710

P(walks and late) = P(walks) × P(late given walks)

P(walks and late) = 13 × 15

P(walks and late) = 115

P(bus and late) = P(bus) × P(late given bus)

P(bus and late) = 13 × 110

P(bus and late) = 130

P(cycles and late) = P(cycles) × P(late given cycles)

P(cycles and late) = 13 × 310

P(cycles and late) = 330

P(cycles and late) = 110

P(late) = P(walks and late) + P(bus and late) + P(cycles and late)

P(late) = 115 + 130 + 110

P(late) = 230 + 130 + 330

P(late) = 630

P(late) = 15

Answer: 15

1
Sam walks, takes the bus, or cycles, each with equal probability. The probability that Sam is on time is 45 when walking, 910 on the bus, and 710 when cycling. Find the probability that Sam is on time.
Show Answer

First: walks, probability 13

then on time, probability 45

then late, probability 15

First: bus, probability 13

then on time, probability 910

then late, probability 110

First: cycles, probability 13

then on time, probability 710

then late, probability 310

P(walks and on time) = P(walks) × P(on time given walks)

P(walks and on time) = 13 × 45

P(walks and on time) = 415

P(bus and on time) = P(bus) × P(on time given bus)

P(bus and on time) = 13 × 910

P(bus and on time) = 930

P(bus and on time) = 310

P(cycles and on time) = P(cycles) × P(on time given cycles)

P(cycles and on time) = 13 × 710

P(cycles and on time) = 730

P(on time) = P(walks and on time) + P(bus and on time) + P(cycles and on time)

P(on time) = 415 + 310 + 730

P(on time) = 830 + 930 + 730

P(on time) = 2430

P(on time) = 45

Answer: 45

2
An office has two printers. One printer is chosen at random. The probability that the first is broken is 15. The probability that the second is broken is 25. Find the probability that the chosen printer is working.
Show Answer

First: first, probability 12

then working, probability 45

then broken, probability 15

First: second, probability 12

then working, probability 35

then broken, probability 25

P(first and working) = P(first) × P(working given first)

P(first and working) = 12 × 45

P(first and working) = 410

P(first and working) = 25

P(second and working) = P(second) × P(working given second)

P(second and working) = 12 × 35

P(second and working) = 310

P(working) = P(first and working) + P(second and working)

P(working) = 25 + 310

P(working) = 410 + 310

P(working) = 710

Answer: 710

3
A league has 10 teams, and my team is ranked 3rd. The next opponent is chosen at random from the other 9 teams. The probability of winning against a stronger team is 15. The probability of winning against a weaker team is 34. Find the probability that my team wins.
Show Answer

First: stronger, probability 29

then wins, probability 15

then loses, probability 45

First: weaker, probability 79

then wins, probability 34

then loses, probability 14

P(stronger and wins) = P(stronger) × P(wins given stronger)

P(stronger and wins) = 29 × 15

P(stronger and wins) = 245

P(weaker and wins) = P(weaker) × P(wins given weaker)

P(weaker and wins) = 79 × 34

P(weaker and wins) = 2136

P(weaker and wins) = 712

P(wins) = P(stronger and wins) + P(weaker and wins)

P(wins) = 245 + 712

P(wins) = 8180 + 105180

P(wins) = 113180

Answer: 113180

4
A fair six-sided die is rolled. If the result is 6, a fair coin is tossed. Otherwise a biased coin is tossed, and the probability of heads on that coin is 25. Find the probability that the coin lands heads.
Show Answer

First: 6, probability 16

then heads, probability 12

then tails, probability 12

First: not 6, probability 56

then heads, probability 25

then tails, probability 35

P(6 and heads) = P(6) × P(heads given 6)

P(6 and heads) = 16 × 12

P(6 and heads) = 112

P(not 6 and heads) = P(not 6) × P(heads given not 6)

P(not 6 and heads) = 56 × 25

P(not 6 and heads) = 1030

P(not 6 and heads) = 13

P(heads) = P(6 and heads) + P(not 6 and heads)

P(heads) = 112 + 13

P(heads) = 112 + 412

P(heads) = 512

Answer: 512

5
A bag contains 8 red balls and 4 blue balls. Two balls are taken out at random, one after the other, without replacement. Is the same colour more likely, or are different colours more likely?
Show Answer

First: red, probability 23

then red, probability 711

then blue, probability 411

First: blue, probability 13

then red, probability 811

then blue, probability 311

Same colour means both red, or both blue.

P(red and red) = P(red) × P(red given red)

P(red and red) = 23 × 711

P(red and red) = 1433

P(blue and blue) = P(blue) × P(blue given blue)

P(blue and blue) = 13 × 311

P(blue and blue) = 333

P(blue and blue) = 111

P(same colour) = P(red and red) + P(blue and blue)

P(same colour) = 1433 + 111

P(same colour) = 1433 + 333

P(same colour) = 1733

Different colours means red then blue, or blue then red.

P(red and blue) = P(red) × P(blue given red)

P(red and blue) = 23 × 411

P(red and blue) = 833

P(blue and red) = P(blue) × P(red given blue)

P(blue and red) = 13 × 811

P(blue and red) = 833

P(different colours) = P(red and blue) + P(blue and red)

P(different colours) = 833 + 833

P(different colours) = 1633

1733 is greater than 1633, so the same colour is more likely.

Answer: same colour

Want to go over a probability together?

Book a Session with Amy