Lesson 32 of 36 · Quantitative reasoning

Counting and probability

Count arrangements and selections with the product rule, permutations and combinations, then turn counts into probabilities, using complements.

About 24 minutes

In this lesson

  • Decide whether order matters and count with the product rule, permutations or combinations.
  • Compute a probability as favourable over total when outcomes are equally likely.
  • Use complements, independence and draws without replacement correctly.

The idea

The product rule

If a choice is made in stages, with mm options at the first stage and nn at the second whatever happened first, there are m×nm \times n ways in all. A sandwich with 3 breads and 4 fillings can be made in 3×4=123 \times 4 = 12 ways. The rule extends to any number of stages, and nearly every counting formula is built from it.

Order matters: permutations

Arranging nn different items in a row: nn choices for the first place, n−1n - 1 for the second, and so on, giving

n!=n×(n−1)×⋯×2×1.n! = n \times (n - 1) \times \cdots \times 2 \times 1.

Values to know: 3!=63! = 6, 4!=244! = 24, 5!=1205! = 120, 6!=7206! = 720.

Filling only rr ordered places from nn items gives n×(n−1)×⋯n \times (n - 1) \times \cdots with rr factors. Electing a president, a secretary and a treasurer from 7 people: 7×6×5=2107 \times 6 \times 5 = 210 ways. If repetition is allowed, each place has all nn options: a 3-digit code using the digits 1 to 5 with repeats allowed has 53=1255^3 = 125 possibilities.

Order does not matter: combinations

Choosing a committee of 3 from 7 people, where the three seats are identical, counts each group once rather than once per ordering. Each group of 3 can be ordered in 3!=63! = 6 ways, so

(73)=7×6×53×2×1=2106=35.\binom{7}{3} = \frac{7 \times 6 \times 5}{3 \times 2 \times 1} = \frac{210}{6} = 35.

In general, (nr)=n!r! (n−r)!\binom{n}{r} = \frac{n!}{r!\,(n - r)!}, and choosing rr to take is the same as choosing n−rn - r to leave: (108)=(102)=45\binom{10}{8} = \binom{10}{2} = 45. Useful values: (52)=10\binom{5}{2} = 10, (62)=15\binom{6}{2} = 15, (82)=28\binom{8}{2} = 28, (103)=120\binom{10}{3} = 120.

The deciding question is whether swapping two chosen items gives a different outcome. Different roles, positions or a code: order matters. A team, a hand of cards, a set of books to take: it does not.

Probability as counting

When every outcome is equally likely,

P(event)=number of favourable outcomestotal number of outcomes.P(\text{event}) = \frac{\text{number of favourable outcomes}}{\text{total number of outcomes}}.

Count the top and the bottom the same way: both ordered or both unordered. A probability always lies between 0 and 1; an answer outside that range signals an error.

With two dice, the 36 ordered pairs are the equally likely outcomes, not the 11 possible sums. A sum of 7 arises in 6 ways, so it has probability 636=16\frac{6}{36} = \frac{1}{6}, while a sum of 2 arises only as (1,1)(1, 1).

Rules for combining events

  • Complement: P(not A)=1−P(A)P(\text{not } A) = 1 - P(A). "At least one" is almost always easiest as 1−P(none)1 - P(\text{none}).
  • And, for independent events: multiply. Two fair coin tosses both landing heads: 12×12=14\frac{1}{2} \times \frac{1}{2} = \frac{1}{4}.
  • Or: P(A or B)=P(A)+P(B)−P(A and B)P(A \text{ or } B) = P(A) + P(B) - P(A \text{ and } B). Subtract the overlap, which would otherwise be counted twice. If the events cannot both happen, the overlap is 0 and you simply add.

For a number chosen at random from 1 to 20, the multiples of 2 are 10 numbers and the multiples of 5 are 4 numbers (5, 10, 15, 20). The multiples of both, 10 and 20, are counted in each list, so there are 10+4−2=1210 + 4 - 2 = 12 numbers that are multiples of 2 or 5, and the probability is 1220=35\frac{12}{20} = \frac{3}{5}.

Without replacement

When items are drawn and not put back, later draws depend on earlier ones. From a bag of 5 red and 3 blue balls, two drawn without replacement are both red with probability

58×47=2056=514,\frac{5}{8} \times \frac{4}{7} = \frac{20}{56} = \frac{5}{14},

because after one red is gone, 4 of the remaining 7 are red. Counting gives the same answer: (52)(82)=1028=514\frac{\binom{5}{2}}{\binom{8}{2}} = \frac{10}{28} = \frac{5}{14}. Using 58×58\frac{5}{8} \times \frac{5}{8} would treat the draws as if the ball were put back.

Worked examples

Example 1: Committee or officers?

From 7 club members, (a) how many 3-person committees can be formed, and (b) in how many ways can a president, a secretary and a treasurer be chosen?

  1. (b) has distinct roles, so order matters: 7×6×5=2107 \times 6 \times 5 = 210.

  2. (a) has identical seats. Each committee of 3 appears 3!=63! = 6 times among the 210 ordered choices, once for each way of handing out the roles.

  3. So the number of committees is 2106=35\frac{210}{6} = 35, which is (73)\binom{7}{3}.

  4. Check by the formula: (73)=7!3! 4!=50406×24=5040144=35\binom{7}{3} = \frac{7!}{3!\,4!} = \frac{5040}{6 \times 24} = \frac{5040}{144} = 35.

Answer

(a) 35 committees; (b) 210 ways to choose officers. Giving 210 for the committee question counts each group six times over.

Example 2: At least one six

Two fair dice are rolled. What is the probability that at least one shows a six?

  1. Use the complement: "at least one six" fails only if neither die shows a six.

  2. P(no six on one die)=56P(\text{no six on one die}) = \frac{5}{6}, and the dice are independent, so P(no six on either)=56×56=2536P(\text{no six on either}) = \frac{5}{6} \times \frac{5}{6} = \frac{25}{36}.

  3. P(at least one six)=1−2536=1136P(\text{at least one six}) = 1 - \frac{25}{36} = \frac{11}{36}.

  4. Check by counting ordered pairs: 6 pairs have a six on the first die, 6 on the second, and (6,6)(6, 6) is in both, so 6+6−1=116 + 6 - 1 = 11 of the 36 pairs.

Answer

1136\frac{11}{36}. Adding 16+16=1236\frac{1}{6} + \frac{1}{6} = \frac{12}{36} counts the double six twice.

Example 3: One of each colour

A bag holds 5 red and 3 blue balls. Two are drawn without replacement. What is the probability of getting one red and one blue?

  1. Count unordered pairs: there are (82)=28\binom{8}{2} = 28 pairs in all.

  2. Pairs with one red and one blue: 5×3=155 \times 3 = 15.

  3. Probability =1528= \frac{15}{28}.

  4. Check in order: red then blue 58×37=1556\frac{5}{8} \times \frac{3}{7} = \frac{15}{56}, blue then red 38×57=1556\frac{3}{8} \times \frac{5}{7} = \frac{15}{56}, total 3056=1528\frac{30}{56} = \frac{15}{28}. Also, the three cases add to 1: two red 1028\frac{10}{28}, two blue 328\frac{3}{28}, mixed 1528\frac{15}{28}.

Answer

1528\frac{15}{28}. Computing only "red then blue", 1556\frac{15}{56}, misses the other order.

Common traps

  • Counting ordered outcomes when order does not matter

    A team, a hand or a sample is a set: choosing Ana then Ben is the same team as Ben then Ana. Using n×(n−1)×⋯n \times (n - 1) \times \cdots for such a question overcounts by a factor of r!r!. Ask whether swapping two chosen items changes the outcome.

  • Mixing ordered and unordered counts

    In a probability, the top and bottom must be counted the same way. An ordered numerator over an unordered denominator can double an answer, or worse.

  • Adding probabilities that overlap

    "A or B" is P(A)+P(B)P(A) + P(B) only when A and B cannot happen together. Otherwise subtract P(A and B)P(A \text{ and } B). An "or" probability above 1 is a sure sign of double counting.

  • Treating draws without replacement as independent

    Once an item is removed, the bag has changed. Reduce both the total and, if relevant, the favourable count before the next draw.

Check yourself

Answer each question before you open its answer.

Question 1: Codes with different digits

Quantitative reasoning: counting

A code is made of 3 different digits chosen from 1, 2, 3, 4 and 5, and the order of the digits matters. How many codes are possible?

  1. A.10
  2. B.15
  3. C.60
  4. D.125
Show the answer

Answer: C. 60

Working

5 choices for the first digit, 4 for the second, 3 for the third: 5×4×3=605 \times 4 \times 3 = 60. Check: each of the (53)=10\binom{5}{3} = 10 sets of digits can be ordered in 3!=63! = 6 ways, and 10×6=6010 \times 6 = 60.

Why the other options are wrong

  • A. This is (53)\binom{5}{3}, the number of sets of 3 digits; it ignores that 123 and 321 are different codes.
  • B. Multiplies the 5 digits by the 3 places; the number of choices shrinks at each place, and the places multiply with each other.
  • D. This is 535^3, which allows repeated digits such as 113; the digits must be different.

What carries over

Order matters and no repeats: multiply the shrinking number of choices.

Question 2: Two black cards

Quantitative reasoning: probability

A box holds 4 red cards and 2 black cards. Two cards are drawn at random without replacement. What is the probability that both are black?

  1. A.115\frac{1}{15}
  2. B.19\frac{1}{9}
  3. C.215\frac{2}{15}
  4. D.13\frac{1}{3}
Show the answer

Answer: A. 115\frac{1}{15}

Working

Step by step: 26×15=230=115\frac{2}{6} \times \frac{1}{5} = \frac{2}{30} = \frac{1}{15}. By counting: there are (62)=15\binom{6}{2} = 15 pairs, and only 1 of them is the two black cards, so 115\frac{1}{15}.

Why the other options are wrong

  • B. This is 26×26\frac{2}{6} \times \frac{2}{6}, which puts the first card back; without replacement only 1 black card remains among 5.
  • C. Counts the black pair in both orders on top but uses the 15 unordered pairs underneath; top and bottom must be counted the same way.
  • D. This is the chance that the first card alone is black; the second card must be black too.

What carries over

Without replacement, update the counts after each draw, or count unordered pairs top and bottom.

Question 3: At least one head

Quantitative reasoning: probability

A fair coin is tossed three times. What is the probability of at least one head?

  1. A.12\frac{1}{2}
  2. B.38\frac{3}{8}
  3. C.78\frac{7}{8}
  4. D.32\frac{3}{2}
Show the answer

Answer: C. 78\frac{7}{8}

Working

The only outcome with no head is tails three times, with probability (12)3=18\left(\frac{1}{2}\right)^3 = \frac{1}{8}. So P(at least one head)=1−18=78P(\text{at least one head}) = 1 - \frac{1}{8} = \frac{7}{8}. Check: of the 8 equally likely sequences, all but TTT contain a head.

Why the other options are wrong

  • A. This is the probability of a head on a single toss; three tosses give three chances.
  • B. This is the probability of exactly one head; "at least one" also includes two or three heads.
  • D. Adds 12\frac{1}{2} three times, double counting outcomes with several heads; a probability can never exceed 1.

What carries over

"At least one" is one minus the probability of none.

Key points

  • If swapping two chosen items changes the outcome, order matters; otherwise use combinations.

  • (nr)\binom{n}{r} is the ordered count divided by r!r!.

  • Probability is favourable over total, with both counted the same way.

  • "At least one" is 1−P(none)1 - P(\text{none}).

  • Without replacement, change the counts after every draw.

All questions here are original and written for UniExamer; none comes from the test maker.

Written by the UniExamer team with AI assistance. Every worked example and check question was re-solved by an independent checker before publication. No subject expert has reviewed this lesson yet. If you find a mistake, write to support@uniexamer.com.

Esercitati su questo argomento

Domande nuove su questa abilità, con spiegazioni svolte. L’esercitazione richiede un Single Exam Pass o Plus.