Clear Notion Academy

Permutations and Combinations (Beyond Advanced) Practice: Six teachers T 1, ,T 6 each wrote one exam paper (paper i was written by T i ). The…

Question

Six teachers T1,…,T6T_1,\ldots,T_6 each wrote one exam paper (paper ii was written by TiT_i). The papers are shuffled and handed back one to each teacher for marking, so that no teacher gets their own paper, and also T1T_1 does not get the paper of T2T_2 and T2T_2 does not get the paper of T1T_1. In how many ways can the papers be handed out? (In the figure, row ii counted from the top is teacher TiT_i and column jj is paper jj; a shaded cell is a forbidden handing-over.)

Answer

Answer: 168

Hint

Start from all derangements of six and remove those with T1→T_1\to paper 22, or T2→T_2\to paper 11, by symmetry.

Solution

Derangements of 66 objects: D6=265D_6=265. Derangements in which T1T_1 gets paper 22: by symmetry the D6D_6 derangements are equally spread over the 55 possible papers for T1T_1 (any paper except 11), so there are 265/5=53265/5=53. The same for T2T_2 getting paper 11: 5353. Both: T1T_1 gets paper 22 and T2T_2 gets paper 11; the remaining four teachers get a derangement of their four papers: D4=9D_4=9. Answer 265−53−53+9=168265-53-53+9=168.

More questions from Permutations and Combinations (Beyond Advanced) Practice

Practise the full set: Permutations and Combinations — Beyond Advanced