📚 Advanced Study Notes – Seating Arrangement (Reasoning Ability)
Prepared for the Uttarakhand Patwari / Lekhpal Competitive Test (MIT‑Level)
Goal: Master all typical and atypical seating‑arrangement questions by first‑principles reasoning, combinatorial theory, and graph‑based models.
Audience: Final‑year undergraduates, postgraduate students, and competitive exam aspirants.
1. Foundations: Counting & Constraints
| Concept | Symbol | Definition |
|---|---|---|
| Permutation | (P(n,k) = \frac{n!}{(n-k)!}) | Number of ways to seat (k) distinct people in (n) distinct seats. |
| Combination | (\binom{n}{k} = \frac{n!}{k!(n-k)!}) | Number of ways to choose (k) people without regard to order. |
| Adjacency Constraint | “X sits next to Y” | Requires that two people occupy two consecutive seats (in a line) or two seats that share a side (in a circle). |
| Exclusion Constraint | “X does not sit next to Y” | Requires that two forbidden pairs cannot be adjacent. |
| Equivalence Class | Seats that are indistinguishable (e.g., identical chairs at a banquet) | Reduces counting by dividing by symmetry factor. |
| Graph Representation | Vertices = people, edges = “must sit next to” or “must not sit next to” | Allows use of graph theory (matchings, colorings). |
Key Principle: Any seating problem can be translated into a permutation problem with constraints that can be expressed combinatorially or graph‑theoretically.
2. Linear Arrangements (Row of Seats)
2.1 Basic Counting
- For (n) distinct seats and (n) people: (n!) arrangements.
- If only (k) people sit among (n) seats: (P(n,k)) arrangements.
2.2 Adjacency Constraints
- Two Specific People Adjacent
Treat the pair as a single “super‑person” → ( (n-1)! \times 2 ).
Explanation: Place the block first (order matters within the block). - Multiple Adjacent Pairs
Use the inclusion–exclusion principle (IEP) to account for overlapping pairs.
2.3 Non‑Adjacency Constraints
- X not next to Y
Count total arrangements minus those where they are adjacent:
[ n! - 2 (n-1)! ] - No two of a set (S) sit together
Use IEP over all (\binom{|S|}{2}) forbidden pairs.
2.4 Edge Cases
| Edge Case | Strategy |
|---|---|
| Circular seating collapsed into a line | Fix one person’s seat to break symmetry, then count permutations for remaining (n-1). |
| Seats with “forbidden” positions | Exclude those seats from the set, or treat them as “blocked” (use rook polynomial). |
| Multiple tables (sub‑rows) | Count arrangements per table then multiply, accounting for inter‑table constraints. |
3. Circular Arrangements
3.1 Basic Counting
- Number of ways to seat (n) distinct people around a round table: ((n-1)!).
– Fix one person’s seat to remove rotational symmetry.
3.2 Adjacent Constraints
- Two people must sit together: Treat as a block → ((n-1-1)!\times 2 = (n-2)! \times 2).
- Three people must sit consecutively: Treat as a block of size 3 → ((n-3)!\times 3! = (n-3)! \times 6).
3.3 Non‑Adjacency Constraints
- X not next to Y: Total ((n-1)!) minus adjacent arrangements: ((n-1)! - 2(n-2)!).
- All members of a set (S) pairwise separate: Use circular derangements or rook polynomial on a circle.
3.4 Advanced Circular Models
- Cyclic Graphs: Represent seats as vertices of a cycle (C_n).
– “Adjacency” → edges of (C_n).
– “Non‑adjacency” → absence of edges. - Circular Arrangements with “gaps”: Use the gap‑method (placing people first, then inserting “gaps” for others).
– Useful when certain people must be separated by at least one seat.
3.5 Edge Cases
| Scenario | Handling |
|---|---|
| Symmetry due to identical chairs | Divide by the number of seat symmetries (rotations, reflections). |
| Seats arranged on a circle but with a “fixed” seat | Treat as linear arrangement with one seat fixed. |
| Multiple circles (e.g., two tables) | Count arrangements per circle, then multiply. |
4. Graph‑Based Formulation
4.1 Graph (G = (V,E))
- Vertices (V): People.
- Edges (E): Pairs that must be adjacent (or must be separated).
4.2 Matching & Path Cover
- Adjacency Constraints → Find a matching or path cover that respects required adjacencies.