Counting tools in probability · Mathematics Class 11–12 | StemPy Lab
Course 23.2·Lesson 3 of 3
Counting tools in probability
Many probability questions are counting questions in disguise. The favourable outcomes and all outcomes are counted with the multiplication principle, permutations and combinations from the Class 11 chapter on counting. This lesson uses them for cards, committees, letters in a word and seats at a table, and warns about the one mistake that spoils most of these questions.
about 30 min1 simulation1 practice question1 Python program5 questions to check yourself
This lesson is free to read. Enroll free to keep your place and take the tests.
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
count favourable and total outcomes with nPr and nCr;
solve questions on cards, committees, arrangements and seating;
keep the favourable count and the total count in the same style, both ordered or both unordered.
From counting to chance
In the chapter on permutations and combinations you counted ways. Here we turn ways into chances. When all outcomes are equally likely,
P(E)=all waysways in which E can happen,
and each number of ways is counted with the multiplication principle, nPr or nCr. Remember: nPr=(n−r)!n! counts arrangements, and nCr=r!(n−r)!n! counts selections. A-Level and IB texts write (rn) for nCr and read it as "n choose r".
The golden rule. Count the favourable and the total in the same style. If the total counts hands without order, the favourable count must also be without order. If the total counts arrangements, count the favourable arrangements.
A hand of five cards
A hand of 5 cards is dealt from a pack of 52. The order of the cards in a hand does not matter, so the number of hands is 52C5=2598960.
What is the probability that the hand has exactly two aces? Choose the two aces from the 4 aces in 4C2=6 ways. Choose the other three cards from the 48 non-aces in 48C3=17296 ways. So
A selection of r people from a group of N, with K of them of one kind, has exactly k of that kind in
P=NCrKCk×N−KCr−k
of the cases. This is the model of every committee, sample from a batch and hand of cards.
A committee of 4 is chosen from 5 men and 4 women. The number of committees is 9C4=126. Committees with two men and two women: 5C2×4C2=10×6=60. So the probability is 12660=2110.
Arrangements
The letters of a word are arranged at random. Take the word EQUATION. It has 8 different letters, 5 vowels (E, U, A, I, O) and 3 consonants. The number of arrangements is 8!=40320.
What is the chance that all the vowels are together? Glue the vowels into one block. The block and the three consonants make 4 objects, which can be arranged in 4! ways. The vowels can be arranged inside the block in 5! ways. So
P=8!4!×5!=403202880=141.
Seating
Six friends sit in a row. What is the chance that two particular friends sit next to each other? Glue the two into one block. The block and four other friends make 5 objects, arranged in 5! ways. The two inside can swap in 2! ways. So P=6!5!×2!=31.
At a round table, rotating everybody does not give a new seating. Fix one friend, and arrange the other n−1 in (n−1)! ways. For six friends, two particular friends sit next to each other with probability 5!4!×2!=52. In general, the other friend takes one of the n−1 seats, and 2 of them are next to you, so the chance is n−12.
A round table with six seats drawn as circles around it, one seat at the top marked as a given person. The two seats next to the given person are shaded orange. The other three seats are shaded grey. The title says that 2 of the other 5 seats are next to the given person.
With and without putting back
A bag holds 6 red and 4 blue balls. Three balls are drawn.
Together, or one by one without putting back. Exactly two red: 10C36C2×4C1=12060=21.
One by one with putting back. Choose which draw is blue in 3 ways, then count 6×6×4 outcomes out of 103. So P=10003×144=0.432.
The two answers differ, because putting a ball back changes the bag. Read the question for the words "with replacement".
A worked example
Five letters are written on cards: A, B, C, D and E. Three cards are drawn together. Find the probability that the cards A and B are both drawn.
All outcomes.5C3=10 selections.
Favourable. A and B are in, so only one more card is chosen from the other 3: 3C1=3.
The probability.103.
Check by ordering. Count ordered draws instead. All: 5×4×3=60. Favourable: choose the places of A and B in 3×2=6 ways, and the third card in 3 ways, so 18. 6018=103. The answers agree.
Practise with new numbers
Try it in Python
The program counts the hands of five cards with math.comb and finds the chance of exactly two aces. It then does the committee of four from five men and four women.
Common mistakes
Counting the favourable outcomes in order and the total without order. Both must be in the same style.
Forgetting the arrangement factor. When a block of friends or letters sits together, multiply by the arrangements inside the block.
Using a table formula for a row. A row of n friends has n! arrangements. A round table has (n−1)!.
Mixing replacement. A draw with replacement is not a combination.
Remember these
P(E)=all waysfavourable ways, both counted in the same style.
Committees and hands: NCrKCk×N−KCr−k.
Glue objects that must be together into a block, then multiply by the arrangements inside it.
A row of n has n! arrangements. A round table has (n−1)!.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
A hand of 5 cards is dealt. What is the probability that all five are hearts? Leave the answer as a fraction of combinations.
A committee of 3 is chosen from 6 men and 4 women. Find the probability that it has no woman.
The letters of the word PLANET are arranged in a row. Find the probability that the vowels are together.
Five friends sit at a round table. What is the chance that two particular friends sit side by side?
Why do the answers to "three balls together" and "three balls with replacement" differ?
References
NCERT, Mathematics for Class XI (earlier edition), Permutations and Combinations and Probability, and the chapter of this book on permutations and combinations.
OpenStax, Precalculus 2e, Chapter 11, sections on counting principles and on probability.
Enroll free in Probability by Counting
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.