Counting and conditional probability
Choose counting structures, interpret event regions and conditional trees, and use the observed condition as the reference set.
More
Offline pages
Saved on this device only. Connect at least once every 30 days to confirm Premium. Sign-out or a change of account removes saved copies.
Find this activity in your course
On this page
You stopped at:
ContinueRevision Mode is on. Questions and activities are hidden.
Count outcomes that the question distinguishes
Before using a formula, describe one outcome. An unordered committee, an assignment of different jobs and an ordered sequence of draws distinguish different things. A probability ratio also needs an experiment that makes the counted underlying outcomes equally likely.
The multiplication principle combines successive choices: four shirt choices and three trouser choices give 4 × 3 = 12 outfits. The addition principle combines disjoint alternatives: five bus options or two train options give seven choices if every option belongs to exactly one group. Overlapping cases need their shared outcomes removed from a simple sum.
For r ordered selections without replacement from n distinct objects,
If order does not matter,
because each unordered selection occurs in r! different orders. Here 0 ≤ r ≤ n are integers and 0! = 1. Choosing two of five pupils gives ten pairs; assigning first and second places gives twenty ordered results.
Restrictions change the structure before they change the arithmetic. Five distinct books have 5! = 120 linear orders. If two specified books must be together, treat them as one block: four units have 4! orders and the pair has two internal orders, giving 48. If they must be apart, the complete complement gives 120-48 = 72.
Check your understanding 1 Separate membership from assigned roles
Seven distinct applicants include three specialists and four other applicants. A committee of three must include at least one specialist. Two different officer roles are then assigned to two committee members. Count the possible committees and the final committee-with-officers outcomes. Explain why choosing a specialist first and then two of the other six applicants would overcount committees.
Show answer
There are (7 choose 3)-(4 choose 3) = 35-4 = 31 committees. Each permits ³P₂ = 6 assignments of the two different roles, giving 186 final outcomes.
Choosing a specialist first counts a committee once for each specialist it contains. A disjoint-case check is (3 choose 1)(4 choose 2) + (3 choose 2)(4 choose 1) + (3 choose 3) = 18 + 12 + 1 = 31. The membership decision is unordered; the role assignment is ordered.
Use event regions to organise the sample space
Suppose one pupil is chosen uniformly from a group of 25. Of these pupils, 18 take Art, 12 take Music and 8 take both. Let A mean Art and M mean Music. The intersection belongs to both event totals, so Art only has 18-8 = 10 pupils and Music only has 12-8 = 4.
The same information in a two-way table makes both the row and column reference groups visible.
| Group | Music | No Music | Total |
|---|---|---|---|
| Art | 8 | 10 | 18 |
| No Art | 4 | 3 | 7 |
| Total | 12 | 13 | 25 |
The union contains 18 + 12-8 = 22 pupils, leaving three in neither event. For overlapping events,
The intersection is subtracted once because adding both totals counted it twice. A complement gives P((A∪ M)') = 1-22/25 = 3/25. In general, P(E') = 1-P(E) for an event E.
A condition changes the reference group
Conditional probability restricts attention to the stated event:
Given Music in this group, the denominator is the 12 Music pupils and the numerator is the eight who also take Art, so P(A ∣ M) = 8/12 = 2/3. Reversing the condition gives P(M ∣ A) = 8/18 = 4/9. The intersection is the same, but the reference group changes.
Check your understanding 2 The condition chooses the sample space
Six distinct pupils include A and B. A committee of two is selected uniformly from all pairs. Given that at least one of A or B is selected, find the probability that both are selected. Show the conditioned denominator and a check using disjoint cases.
Show answer
There are (6 choose 2) = 15 pairs and (4 choose 2) = 6 containing neither A nor B. Thus nine contain at least one, and only one contains both, giving 1/9.
The disjoint-case check counts four pairs containing A but not B, four containing B but not A, and the single pair containing both. The denominator is 4 + 4 + 1 = 9, not 15. Simply adding the five pairs containing A to the five containing B would count their joint pair twice.
Independence and mutual exclusion make different claims
Events E and F are independent when P(E∩ F) = P(E)P(F). If P(F) > 0, this is equivalent to P(E ∣ F) = P(E). Mutual exclusion means their intersection is empty. Two mutually exclusive events with positive probabilities cannot be independent: their joint probability is zero while the product of their probabilities is positive.
Overlapping events may be independent or dependent. Overlap alone does not decide the product test, and the direction of a condition matters when comparing conditional probabilities.
Check your understanding 3 Test the event relationship with probabilities
Using the Art and Music group, decide whether A and M are mutually exclusive or independent. Compare their joint probability with the product of their probabilities. Explain why the events “Art only” and “Music only” have a different mutual-exclusion relationship.
Show answer
A and M overlap in eight pupils, so they are not mutually exclusive. Their joint probability is 8/25 = 200/625, whereas P(A)P(M) = (18/25)(12/25) = 216/625. They are not independent either.
“Art only” and “Music only” are disjoint regions, so those two events are mutually exclusive. Both have positive probabilities, so they are not independent. A different event description can change the relationship even within the same sample space.
A tree records conditional stages
A bag contains three red and two blue balls. Two balls are drawn uniformly one after the other without replacement. The second draw uses the remaining four balls, and its colour counts depend on the first draw.
Multiply along a route using its conditional branch probabilities. For example, P(R₁∩ R₂) = (3/5)(2/4) = 3/10. This is the general multiplication rule P(E∩ F) = P(E)P(F ∣ E), not an assumption that the draws are independent.
The four colour routes and their probabilities are:
| First draw | Second draw | Probability |
|---|---|---|
| Red | Red | 3/10 |
| Red | Blue | 3/10 |
| Blue | Red | 3/10 |
| Blue | Blue | 1/10 |
They sum to one, but the four colour routes are not equally likely. Add disjoint routes for an event such as exactly one red: the red-blue and blue-red probabilities add to 3/5. Multiplying down a path and adding alternative paths perform different jobs.
Check your understanding 4 Condition on the routes that remain possible
For this experiment, given that at least one ball is red, find the probability of exactly one red. Then compare P(R₂ ∣ R₁) with P(R₂) to test independence. What changes if the first ball is replaced and the bag is mixed before a new uniform draw?
Show answer
“At least one red” has probability 1-1/10 = 9/10. “Exactly one red” has probability 3/5, so the conditional probability is (3/5)/(9/10) = 2/3.
Without replacement, P(R₂ ∣ R₁) = 2/4 = 1/2, while P(R₂) = 3/10 + 3/10 = 3/5, so the red events are dependent. With replacement, mixing and a fresh uniform draw, the second red probability is 3/5 after either first colour. The draws are then independent under that stated sampling model; its tree uses different second-stage probabilities.
Try it yourself 1
Identify the source after seeing two colours
Problem
Bag P contains three red and two blue balls. Bag Q contains one red and three blue balls. A mechanism chooses P with probability 1/3 and Q with probability 2/3. From the chosen bag, draw two balls uniformly without replacement. Given that the two colours differ, find the probability that P was chosen. Show the probabilities of the relevant colour routes and compare the requested conditional probability with the probability of different colours given P.
Write your answer, then compare it with the solution
Hints
Hint 1
Separate the bag choice from the two draws
Within each bag, count both orders of the different-colour event. Then include the probability of choosing that bag before forming the denominator for the observed condition.
Show full solution
Find the colour-event probability within each bag
Method
Combine the two disjoint orders of different colours.Reason
The second draw depends on the first, and either colour can come first.Working
Answer
Writing D for different colours, P(D ∣ P) = (3/5)(2/4) + (2/5)(3/4) = 3/5. For Q, P(D ∣ Q) = (1/4)(3/3) + (3/4)(1/3) = 1/2.Weight the source routes
Method
Include each bag’s selection probability.Reason
The mechanism does not choose the two bags equally often.Working
Answer
P(P∩ D) = (1/3)(3/5) = 1/5, and P(Q∩ D) = (2/3)(1/2) = 1/3. These are disjoint source routes, so P(D) = 1/5 + 1/3 = 8/15.Apply the observed condition
Method
Use the joint P-and-D route as numerator within all D outcomes.Reason
The question conditions on the colours observed, not on the source bag.Working
Answer
P(P ∣ D) = (1/5)/(8/15) = 3/8. This differs from P(D ∣ P) = 3/5 because the denominator describes a different event. Equal weighting of the two bags would also describe a different experiment.
Quick check
Compare the sampling mechanism, conditional branch probabilities and reference group separately. A counted route becomes a probability only under its stated experiment. Add disjoint ways to meet the condition before reversing that condition.
Keep track of this lesson
Mark the lesson done when you have worked through it.
Lesson progress is optional and kept on this device.
Loading lesson controls…
Your lesson mark records your own study. Checks are kept separately in My Learning.