Grouping
We will often have constraints when rearranging objects. For example, we may want certain objects to be together.
Technique: the grouping method
Let us consider the example of rearranging five objects and where and must be together.
Step 1: Consider and grouped together as if they are just one object. Then we have ways to rearrange the four overall objects.
Step 2: Rearrange and among themselves: ways.
Hence the number of ways
Example: grouping people
Question
5 J1s, 4 J2s and 2 teachers are to be seated in a row for a photo. How many ways are there to arrange them if
- there are no restrictions?
- the J1s must sit together, the J2s must sit together and the teachers must sit together?
Solution
- Number of ways
- Number of ways