Problem:
In how many ways can people be arranged in a line if Alice and Bob must be next to each other, and Carol must be somewhere behind Dan?
Problem:
In how many ways can people be arranged in a line if Alice and Bob must be next to each other, and Carol must be somewhere behind Dan?
Solution:
Let us place Alice and Bob as a single person; there are then different arrangements. Alice can be in front of Bob or vice versa, multiplying the number of possibilities by , but Carol is behind Dan in exactly half of those, so that the answer is just .