Seating arrangement

Non-Verbal & Puzzles · free study notes

Seating‑Arrangement Reasoning – Study Notes

(For competitive exams: IIT‑JEE, JEE‑Advanced, NIT, GATE, UPSC, etc.)

Why it matters
Seating‑arrangement problems test your ability to translate verbal constraints into a concrete counting or ordering problem. They involve combinatorics (permutations, combinations), logical deduction, and sometimes inclusion–exclusion. Mastery of a systematic approach saves you time in exams.


1. Basic Concepts

Concept Definition Typical Use in Seating Arrangements
Linear arrangement People sit on a straight row of seats. Most “seating in a row” problems.
Circular arrangement People sit around a round table. When “first/last” are not distinguished.
Permutation Ordered arrangement of all people. Count total arrangements (n!).
Combination Unordered selection of a subset. Often used to choose positions for a subset of people.
Gap method Place people who must not sit together, then insert others into the “gaps”. Handles “not adjacent” constraints.
Inclusion–Exclusion Count all arrangements, then subtract those violating constraints. Useful for multiple overlapping restrictions.
Derangement Permutation where nobody is in his/her original position. Appears in “no one sits in his own seat” type problems.

2. Systematic Approach

Step What to do Why it helps
1. Identify total seats & people Count n people, n seats. Sets the base n! or (n-1)! for circular case.
2. Note all constraints Adjacent, “between”, “not next to”, “odd seat”, “specific seat numbers”, “relative order”, “fixed positions”. Clarifies which constraints are independent or overlapping.
3. Reduce the problem • Pull out people who are fixed or have fixed relative positions.
• Merge “adjacent” people into a single block.
• Replace “between” constraints with a “gap” requirement.
Simplifies counting by reducing the number of entities.
4. Count arrangements of reduced entities Use permutations or combinations. Gives the base count for the simplified system.
5. Insert remaining people into gaps Use the gap method or stars‑and‑bars. Handles “not adjacent” or “between” constraints.
6. Apply inclusion–exclusion if necessary Subtract arrangements that violate constraints. Removes over‑counting when constraints overlap.
7. Verify Check edge cases (e.g., seat 1 and seat n). Avoids lost arrangements.

3. Common Constraint Patterns & How to Handle Them

Pattern Typical Constraint Handling Technique
Adjacency (must sit together) “A and B must sit next to each other.” Treat A & B as a single entity (block). Arrange block + remaining people: (n-1)!. Multiply by 2! for internal order of A & B.
Not adjacent “C must not sit next to D.” First arrange the other n-2 people. Count gaps (n-1). Place C and D into different gaps: C(n-1,2) * 2! for order.
Between two people “E sits somewhere between F and G.” Arrange F and G first. The segment between them contains all in-between people. Count ways to choose a seat for E among the gap positions.
Fixed position “H sits in seat 3.” Remove seat 3 from the pool; arrange remaining n-1 people → (n-1)!.
Odd/Even seat “I must sit in an odd seat.” Count odd seats (ceil(n/2)) → choose 1 of them for I, then arrange rest: ceil(n/2) * (n-1)!.
Relative order “J must be on the left of K.” First treat J & K as a pair with an order. Fix J left of K: 2! / 2 = 1 (since only one order allowed).
Circular table “Seat numbers are irrelevant; rotations considered the same.” Fix one person as reference → (n-1)!.

4. Counting with Inclusion–Exclusion (Derangements & Overlaps)

4.1 Derangement Formula

For n people where no one sits in his/her original seat:

[ !n = n!\sum_{k=0}^{n} \frac{(-1)^k}{k!} ]

Derivation: Start with n! total arrangements. Subtract those where at least one person is fixed, add back those where at least two are fixed, etc.
Use‑case: “None of the people sits in the seat originally assigned to him/her.”

4.2 Inclusion–Exclusion for Multiple Constraints

Suppose you have constraints A, B, C… (e.g., A: “X and Y not adjacent”, B: “Z in seat 1”). Then:

[ N = N_{\text{total}} - \sum N_{\text{A}} - \sum N_{\text{B}} + \sum N_{\text{A∩B}} - \cdots ]

  • N_total = total permutations (straight or circular).
  • N_A = number of arrangements violating constraint A.
  • N_{A∩B} = number violating both A and B, etc.

Tip: If constraints are independent, the intersection terms become simple products. If they are highly

Your note

Page 1

Doubt hai is topic me?

Free AI teacher se poocho — 24/7, step by step.