4C

Grouping, complementary and cases

Three more counting principles for ordered selections: treat objects that must be together as a block, count the complement, and split a problem into cases.

The grouping principle

Example 1●●

Four boys and three girls stand in a line. In how many ways can this happen if the three girls stand together?

Arrange the $5$ objects: $5! = 120$.
The girls form one block, so there are 4 boys + 1 block = 5 objects.
Arrange the girls inside their block: $3! = 6$.
Total $120 \times 6 = 720$.
Example 2: alternating●●

In how many ways can the four boys and three girls stand if boys and girls alternate?

Boys in their places: $4!$. Girls in theirs: $3!$.
With 4 boys and 3 girls the only pattern is B G B G B G B.
Total $24 \times 6 = 144$.

The complementary principle

Example 3●●

Seven people stand in a line. In how many ways can this happen if Ali and Bea are not next to each other?

Total: $7! = 5040$.
Together: $6! \times 2 = 1440$.
Glue Ali and Bea: 6 objects, and the pair has 2 orders.
Not together: $5040 - 1440 = 3600$.

The cases principle

Example 4●●●

How many whole numbers less than $1000$ can be formed from the digits $1, 2, 3, 4, 5$, with no repeated digit?

One-digit numbers: $5$.
Two-digit numbers: $5 \times 4 = 20$.
Three-digit numbers: $5 \times 4 \times 3 = 60$.
Total $5 + 20 + 60 = 85$.
Flashcards
Must be together
Glue into a block, arrange the blocks, then arrange inside the block.
Not together
Total minus together.
Cases
Split into non-overlapping cases and add.
Practice
  1. Four boys and three girls stand in a line with the three girls together. How many ways?

  2. How many ways if boys and girls alternate?

  3. Seven people line up. In how many ways are Ali and Bea not next to each other?

  4. How many numbers less than $1000$ can be formed from $1, 2, 3, 4, 5$ without repetition?

  5. For "at least one", the most efficient method is usually:

  6. Six people line up. In how many ways are two particular people next to each other?

  7. Five people line up, with one particular person at either end. How many ways?

  8. When you split a counting problem into separate cases, you combine the counts by:

  9. Four boys and four girls sit in a row, boys and girls alternating. How many ways?

  10. Four boys and four girls sit in a row with all the boys together and all the girls together. How many ways?

More questions

New numbers every time. Keep going until you get five in a row.

Formula sheet