Exercise 13.3 · Q1: Urn topped up with the colour drawn: second ball red,
An urn contains 5 red and 5 black balls. A ball is drawn at random, its colour is noted and is returned to the urn. Moreover, 2 additional balls of the colour drawn are put in the urn and then a ball is drawn at random. What is the probability that the second ball is red?
Let : the first ball drawn is red, : the first ball drawn is black, and : the second ball drawn is red.
and form a partition of the sample space (the first ball is either red or black).
and .
If occurs, the urn has 7 red and 5 black balls, so .
If occurs, the urn has 5 red and 7 black balls, so .
By the theorem of total probability,
The probability that the second ball is red is .
Want the reason behind every step, the basics and the checks?
The second draw depends on what the first draw was, so split by the first ball: it is either red or black, and exactly one of these happens. For each case the urn is known exactly, so the chance of a red second ball is easy. The theorem of total probability then adds the two cases, each weighted by how likely it is: multiply along each branch of the tree and add the branches that end in "red".
- Given
- An urn with 5 red and 5 black balls. The first ball is put back together with 2 more balls of its colour, so the urn then has 12 balls.
- To find
- The probability that the second ball drawn is red.
- Plan
- (1) Name the events and check that the two "first ball" events form a partition. (2) Find and . (3) Count the urn after each case to get and . (4) Apply the theorem of total probability.
Basics you need
When every ball is equally likely to be drawn, : the number of favourable balls over the total number of balls. Basics: classical probability
is the probability of once we know that has happened. Here it is simply the chance of red in the urn as it stands after the first draw. Lesson: conditional probability
Events form a partition of the sample space when they are pairwise disjoint, together make up , and each has nonzero probability. Lesson: total probability and Bayes' theorem
If form a partition, then . On a tree: multiply along each path, then add the paths that end in . Basics: tree diagrams
Solution
Name the events
Let
- : the first ball drawn is red;
- : the first ball drawn is black;
- : the second ball drawn is red.
and form a partition of the sample space: they cannot both happen (the first ball has one colour), one of them must happen (every ball is red or black), and each has a nonzero probability (Step 2).
The second draw is not the same experiment whatever happens first: the urn changes. Splitting by the first ball turns one hard question into two easy ones, and the partition is exactly the condition that lets the theorem of total probability add them back together.A partition: pairwise disjoint, exhaustive, nonzero probabilities (Section 13.5.1). Lesson: total probabilityThe chances for the first ball
The urn starts with balls, all equally likely to be drawn, and 5 of them are red. So
"Drawn at random" means every ball has the same chance, so the classical formula applies. The two probabilities add up to 1, as they must for a partition into two events.for equally likely outcomes. Basics: classical probabilityThe urn after each first draw
The first ball goes back, and 2 more balls of its colour are added, so the urn always holds balls for the second draw.
- If the first ball was red (): 7 red and 5 black, so .
- If the first ball was black (): 5 red and 7 black, so .
Knowing which case happened tells us the exact contents of the urn, and the second ball is drawn at random from those 12 balls. The returned ball counts too: forgetting it would give 11 balls.: the chance of in the situation that leaves behind (Section 13.2). Lesson: conditional probabilityAdd the two routes: the theorem of total probability
Since and form a partition, the theorem of total probability gives
The tree of the two draws. Multiply along each path; the two green paths end in a red second ball, and their products add to . Each term is one route to a red second ball: by the multiplication rule, and similarly for . The two routes cannot happen together, so their probabilities add.Multiply along a path, add the paths. Basics: tree diagramsState the answer, and see why it is so neat
The probability that the second ball is red is .
It is the same as for the first ball. Adding balls of the colour drawn helps red after a red draw () exactly as much as it helps black after a black draw, and the urn starts balanced, so the two effects cancel.
The second ball is also black with probability , and the two answers add to 1, as they must.
The probability that the second ball is red is . (Textbook answer: .)
Give every ball a name and list every way the two draws can go: 10 choices for the first ball, then 12 for the second, all equally likely, so outcomes. A red second ball happens in of them after a red first ball and after a black one: outcomes, and . The verify script makes this list and counts it.
- Forgetting the returned ball. The urn has balls for the second draw, not 11.
- Answering . That is , the chance only when the first ball was red. The first ball may be black, so both cases must be weighted and added.
- Adding . Each conditional probability must first be multiplied by the probability of its case.
- Treating the draws as independent. The second draw depends on the first, because the urn changes.
- When the second stage depends on the first, split by the first stage (a partition), find the conditional probability in each case, and add with the theorem of total probability.
- With red and black balls and balls of the drawn colour added, the second ball is red with probability , the same as the first. Here .
- The next questions turn the question round: given the result, which case caused it? That is Bayes' theorem, starting in Question 2.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| for equally likely outcomes | Steps 2, 3 | Classical probability, Class XI (Basics: classical probability) |
| Conditional probability | Step 3 | Section 13.2 (Lesson: conditional probability) |
| Multiplication rule | Step 4 | Section 13.3 (Lesson: the multiplication rule) |
| Partition of a sample space | Step 1 | Section 13.5.1 (Lesson: total probability) |
| Theorem of total probability | Step 4 | Section 13.5.2; used in Example 15 (Examples 15 to 21) |
| Step 5 | Class XI axioms (Basics: rules of probability) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →