MatheramaMatherama
← Combinatorics
Combinatorics·Section 5·10 min read

Circular Permutations

Every arrangement we have studied so far placed objects in a straight line—with a clear first position, second position, and last position. From now on, we call those linear permutations. Now suppose objects are arranged around a circle, such as guests seated around a round dining table or flowers strung into a garland. Because a circle has no beginning and no end, only the relative order of the objects around the ring matters.


Cyclic Equivalence and the Division Principle§

Consider a set of 66 distinct objects A={a,b,c,d,e,f}A = \{a, b, c, d, e, f\}, and take one linear arrangement: a–b–c–d–e–fa\text{–}b\text{–}c\text{–}d\text{–}e\text{–}f.

Now perform a cyclic shift: move the last object ff to the front, shifting every other object one step to the right, producing f–a–b–c–d–ef\text{–}a\text{–}b\text{–}c\text{–}d\text{–}e. Repeating this shift generates 66 linear arrangements in total:

abcdef,fabcde,efabcd,defabc,cdefab,bcdefaabcdef, \quad fabcde, \quad efabcd, \quad defabc, \quad cdefab, \quad bcdefa

These 66 linear arrangements are said to be cyclically related. Watch what happens when we bend each of these 66 strings around a circular ring:

Six Cyclically Shifted Linear Permutations Yielding the Exact Same Circular Arrangement

Every single one of the 66 linear arrangements produces the exact same circular arrangement—moving clockwise from aa, the neighbors are always b,c,d,e,fb, c, d, e, f in that identical order!

Now apply the Division Principle (Section 01): the set AA has 6!6! linear permutations in total. Partitioning them into groups of cyclically related arrangements places exactly 66 linear permutations in every group. Therefore, the total number of distinct circular permutations of these 66 objects is:

6!6=5!=120\frac{6!}{6} = 5! = 120

General Formula for Circular Permutations of Selected Objects§

Suppose we have nn distinct objects and wish to arrange rr of them (1≤r≤n1 \le r \le n) around a circular ring having rr identical positions.

Theorem (Circular rr-Permutation Formula): The number of distinct circular permutations of nn distinct objects taken rr at a time (1≤r≤n1 \le r \le n) is:

nPrr=n!r(n−r)!\frac{{}^n P_r}{r} = \frac{n!}{r(n - r)!}

In particular, when all nn objects are arranged around a circle (r=nr = n), the number of circular permutations is:

n!n=(n−1)!\frac{n!}{n} = (n - 1)!

Proof (Via the Division Principle): Let SS be the set of all linear rr-permutations of nn distinct objects, so ∣S∣=nPr|S| = {}^n P_r. Partition SS into equivalence classes S1,S2,…,SkS_1, S_2, \dots, S_k, where each class groups together all linear arrangements that are cyclic shifts of one another. Because all rr objects in any arrangement are distinct, every class contains exactly rr cyclically related linear permutations: ∣S1∣=∣S2∣=⋯=∣Sk∣=r|S_1| = |S_2| = \dots = |S_k| = r. By the Division Principle:

k=∣S∣r=nPrr■k = \frac{|S|}{r} = \frac{{}^n P_r}{r} \qquad \blacksquare

The Reference-Fixing Method: Round Table in a Vacuum§

The Division Principle above gave us (n−1)!(n - 1)! algebraically by dividing out nn identical rotations. A second viewpoint—fixing a reference—shows geometrically why rotational symmetry disappears the moment one object is placed, and provides a far easier tool for constrained circular seatings.

Suppose nn people wish to sit around a circular table with nn identical chairs. Many students initially struggle to understand why rotating everyone by one seat does not create a new arrangement. Why? Because our mind instinctively pictures the circular table sitting inside an asymmetrical room with a door or window. In such a room, the chair closest to the door is visually different from the chair farthest from the door—the door acts as a fixed external reference, making all nn chairs distinguishable!

To truly grasp circular permutations, imagine the circular table floating in empty space (a vacuum) with no walls, doors, windows, or seat numbers. Now every single chair is 100% identical to every other chair—there is no reference point anywhere.

Pick one particular person among the nn people, say Mr. XX, and seat him first:

  1. Because all nn chairs are completely indistinguishable, Mr. XX has only 11 choice—every chair looks identical before anyone sits down.
  2. Now something remarkable happens: the moment Mr. XX takes a seat, Mr. XX himself becomes a reference point! From Mr. XX's perspective, the chairs are no longer identical: the chair immediately to his left is distinct from the chair two seats to his left, which is distinct from the chair directly to his right. Starting from his left, we can uniquely number the remaining n−1n - 1 chairs from 11 to n−1n - 1.
  3. Because those n−1n - 1 chairs are now distinct linear positions, the remaining n−1n - 1 people arrange themselves on them in (n−1)!(n - 1)! ways!

Fixing One Person Mr X Breaks Rotational Symmetry and Numbers the Remaining Chairs Linearly

Thus, nn people can be seated around a circular table of nn identical chairs in 1×(n−1)!=(n−1)!1 \times (n - 1)! = (n - 1)! ways.

Using this exact idea, we can also re-derive circular rr-permutations: first select rr people from nn in (nr)\binom{n}{r} ways, then seat those rr people around a circular table of rr identical chairs in (r−1)!(r - 1)! ways:

(nr)(r−1)!=n!r!(n−r)!(r−1)!=n!r(n−r)!=nPrr\binom{n}{r}(r - 1)! = \frac{n!}{r!(n - r)!}(r - 1)! = \frac{n!}{r(n - r)!} = \frac{{}^n P_r}{r}

Watch Out for Hidden References§

Critical Caution:
Never apply (n−1)!(n - 1)! automatically just because a problem mentions a circular table! Circular permutation formulas apply only while the seats are completely identical. Once a reference exists—whether because chairs are numbered, a host's chair is marked, or an earlier group of people has already been seated—every remaining chair becomes distinguishable and must be filled using linear permutations!

Example 1 (Alternating Boys and Girls — The Hidden Reference Trap): Five boys and five girls wish to sit around a circular table of 1010 identical chairs so that no two boys sit adjacent. In how many ways can they be seated?

Solution:

  1. Seat the 55 boys first so that there is an empty chair between every pair of boys. Because all chairs are initially identical with no reference, the 55 boys can be arranged around the circle in (5−1)!=4!(5 - 1)! = 4! ways.
  2. Now seat the 55 girls on the 55 remaining empty chairs. Warning: these 55 empty chairs are no longer identical! The seated boys act as fixed reference points (the chair between Boy 11 and Boy 22 is completely distinct from the chair between Boy 22 and Boy 33). Therefore, the 55 girls are arranged linearly in 5!5! ways—not 4!4!!

By the Multiplication Principle:

Total arrangements=4!×5!=24×120=2880\text{Total arrangements} = 4! \times 5! = 24 \times 120 = 2880

Example 2 (Together, Separated, and Opposite on a Circle): In how many ways can 88 people be seated around a circular table if two particular people, AA and BB: (a) must sit together, (b) must not sit together, (c) must sit directly opposite each other?

Solution:

(a) AA and BB together: Tie AA and BB into one bundle. We now arrange 77 units around a circle in (7−1)!=6!(7 - 1)! = 6! ways, and permute AA and BB inside the bundle in 2!2! ways:

6!×2!=720×2=14406! \times 2! = 720 \times 2 = 1440

(b) AA and BB not together: By the Subtraction Principle, subtract part (a) from all (8−1)!=7!(8 - 1)! = 7! circular seatings:

7!−6!×2!=5040−1440=36007! - 6! \times 2! = 5040 - 1440 = 3600

(c) AA and BB directly opposite: Seat AA on any chair (11 way, fixing the reference). Then BB must sit on the unique chair directly opposite AA (11 way). The remaining 66 chairs are now distinct relative to AA and BB, so the remaining 66 people sit linearly in 6!6! ways:

1×1×6!=7201 \times 1 \times 6! = 720

Example 3 (Identical vs. Numbered Seats): In how many ways can 66 delegates be seated around a round conference table if: (a) all chairs are identical, (b) the chairs are numbered 11 through 66?

Solution:

(a) Identical chairs: (6−1)!=5!=120(6 - 1)! = 5! = 120.

(b) Numbered chairs: Because the seat numbers serve as an external reference, rotating everyone clockwise by one seat changes who sits in Chair 11 and produces a new arrangement. Thus all 66 seats are distinct: 6!=7206! = 720.

Example 4 (Couples Seated Together): In how many ways can 55 married couples be seated around a circular table so that every husband and wife sit next to each other?

Solution: Tie each couple into a single unit, creating 55 couple-units. Arrange these 55 units around the circular table in (5−1)!=4!(5 - 1)! = 4! ways. Within each of the 55 couples, the husband and wife can swap left and right positions in 2!2! ways independently. By the Multiplication Principle:

4!×25=24×32=7684! \times 2^5 = 24 \times 32 = 768

Necklaces and Garlands (When Clockwise Equals Anticlockwise)§

Around a dining table, clockwise order a–b–c–d–e–fa\text{–}b\text{–}c\text{–}d\text{–}e\text{–}f and anticlockwise order a–f–e–d–c–ba\text{–}f\text{–}e\text{–}d\text{–}c\text{–}b are genuinely different: in the first seating bb sits to aa's left, whereas in the second seating bb sits to aa's right. You cannot pick up a dining table with seated guests and turn it upside down!

Now consider stringing nn distinct flowers into a garland or nn distinct beads into a necklace. A physical garland exists in three dimensions and can be flipped upside down. Turning a garland over reverses clockwise into anticlockwise—so two mirror-image circular permutations represent the exact same physical garland.

Clockwise and Anticlockwise Garland Arrangements Become Identical When Flipped

Because every distinct garland corresponds to a pair of opposite-orientation circular permutations (for n≥3n \ge 3), the Division Principle divides the circular permutation count by 22:

Theorem (Necklaces / Garlands of Distinct Objects):

  • The number of distinct necklaces/garlands formed from nn distinct beads (n≥3n \ge 3) is:
(n−1)!2\frac{(n - 1)!}{2}
  • The number of distinct necklaces/garlands formed by selecting rr beads (3≤r≤n3 \le r \le n) from nn distinct beads is:
nPr2r\frac{{}^n P_r}{2r}

(Note: For n=1n = 1 or n=2n = 2, there is only 11 arrangement—flipping does not generate a second distinct circular order, so we do not divide by 22.)

Example 5: In how many ways can 77 different gemstones be strung into a circular necklace if a ruby and an emerald must always sit next to each other?

Solution: Bundle the ruby and emerald into 11 unit, giving 66 units on the ring. Oriented circular arrangements =(6−1)!×2!=5!×2= (6 - 1)! \times 2! = 5! \times 2. Since flipping the necklace upside down identifies clockwise and anticlockwise arrangements, divide by 22:

5!×2!2=5!=120\frac{5! \times 2!}{2} = 5! = 120

Example 6: How many distinct 44-bead bracelets can be made from a box containing 1010 different beads?

Solution: Here n=10n = 10 and r=4≥3r = 4 \ge 3, and a bracelet can be flipped over:

10P42×4=10×9×8×78=630\frac{{}^{10} P_4}{2 \times 4} = \frac{10 \times 9 \times 8 \times 7}{8} = 630

Summary Table§

Situation Formula Condition
Circular permutation of all nn distinct objects (n−1)!(n - 1)! Identical positions; clockwise ≠\neq anticlockwise
Circular rr-permutation of nn distinct objects nPrr=(nr)(r−1)!\frac{{}^n P_r}{r} = \binom{n}{r}(r - 1)! 1≤r≤n1 \le r \le n; clockwise ≠\neq anticlockwise
Necklace / garland of nn distinct objects (n−1)!2\frac{(n - 1)!}{2} n≥3n \ge 3; flippable (clockwise ≡\equiv anticlockwise)
Necklace / garland of rr out of nn objects nPr2r\frac{{}^n P_r}{2r} 3≤r≤n3 \le r \le n; flippable
Round table with numbered seats or fixed reference n!n! Reference eliminates rotational symmetry (linear)
Section 5 of 11 · Combinatorics

Mark this section complete when you have worked through its proofs.