QlarIITy

MathematicsJEE Main 2023 · 11 AprilInteger

In an examination, 5 students have been allotted their seats as per their roll numbers. The number of ways, in which none of the students sits on the allotted seat, is

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. Arrangements with nothing in its own place are counted by inclusion and exclusion.

Concept refresher. The number DnD_n of arrangements of nn objects with none in its own place satisfies

Dn=(n−1)(Dn−1+Dn−2)D_n = (n - 1)(D_{n-1} + D_{n-2})

with D1=0D_1 = 0 and D2=1D_2 = 1.

Picture the situation. Each of the five students has an allotted seat, and every student must sit in a seat that is not their own. So the seating is a rearrangement of five objects in which nothing stays in its original place. Such arrangements are called derangements.

Approach. Apply inclusion and exclusion to the students who sit in their own seats.

  1. Step 1: Set up

    If kk chosen students sit in their own seats, the others can sit in (5−k)!(5 - k)! ways, and the kk students can be chosen in 5Ck{}^5C_k ways. The products for k=0k = 0 to 5 are 120, 120, 60, 20, 5 and 1.

  2. Step 2: Evaluate

    Taking these with alternating signs, the count is 120−120+60−20+5−1=44120 - 120 + 60 - 20 + 5 - 1 = 44.

Answer. 44

Sanity check. About 1e\dfrac{1}{e} of all arrangements are derangements, and 120e\dfrac{120}{e} is about 44.1.

Smart method. Use Dn=(n−1)(Dn−1+Dn−2)D_n = (n - 1)(D_{n-1} + D_{n-2}) with D1=0D_1 = 0 and D2=1D_2 = 1. Then D3=2D_3 = 2, D4=9D_4 = 9 and D5=4×(9+2)=44D_5 = 4 \times (9 + 2) = 44.

Common wrong answers

  • 119: Removing only the one arrangement in which everyone is in the allotted seat gives 119.
  • 76: The value 76 counts the arrangements in which at least one student is in the allotted seat, the opposite of what is asked.

Key takeaway

The trap. None in the right seat is far stronger than not all in the right seats.

How toppers think. They remember the first few values: 0, 1, 2, 9, 44.

Remember. Dn=(n−1)(Dn−1+Dn−2)D_n = (n - 1)(D_{n-1} + D_{n-2})

More on Permutations