UKMT Permutation Proof: Returning to the Original Order Takes an Even Number of Adjacent Swaps

Take a list of distinct numbers in increasing order. A move swaps two neighbouring entries. Prove that any sequence of moves returning to the original order has even length. This original UKMT proof extension uses inversion count as a parity invariant; it does not assume that a repeated-looking arrangement is identical when the entries are not distinct.

Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send UKMT-S6-1130 and tell us your school year and question.

Define an inversion using positions and values

An inversion is a pair of positions with the earlier value larger than the later value. The initially increasing list has zero inversions. Counting inversions records more information than just whether a list is sorted, and taking that count modulo two gives a simple feature that can be tracked through every move.

Analyse one adjacent swap exactly

Suppose neighbouring distinct entries are a and b. Swapping them reverses the order of that pair, adding one inversion if a was smaller or removing one if a was larger. Their relationships with any other entry contribute the same combined number before and after because that other entry lies on one side of both adjacent positions.

Conclude that every move flips parity

The total inversion count therefore changes by exactly plus one or minus one, so its parity flips on every move. After an even number of moves it has the initial even parity; after an odd number it is odd. Returning to the increasing list requires inversion count zero, which is even, so the move count must be even.

Distinguish a necessary condition from a sufficient one

An even number of moves does not guarantee return. For example, starting with one, two, three, swapping the first pair then the second gives two, three, one after two moves. The conclusion only excludes return after an odd count. A parity test can reject impossible histories without completely reconstructing the permutation.

Check how a nonadjacent swap differs

Swapping entries separated by d positions can be realised by two d minus one adjacent swaps, an odd number. This helps explain why a general transposition also flips permutation parity, although it need not change the full inversion count by just one. The exact adjacent argument should not be transferred to a distant swap without distinguishing count from parity.

State why entry identities matter

If repeated values are treated as indistinguishable, a swap of equal entries can leave the visible list unchanged after one move. That would violate the conclusion unless distinct labels are retained. The proof is complete when it names the distinct-entry assumption, defines inversions, checks one move and connects the final zero count to even parity, rather than relying on a few trial shuffles.

Continue reading: UKMT Coordinate Proof: Two Distinct Circles Cannot Meet in Three Points.

Contact Hanlin

Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send UKMT-S6-1130. Include your school year, country or competition region, experience and the question you want to discuss.

Scan to contact Hanlin on WeChat. Send UKMT-S6-1130.

Contact Hanlin on WeChat

On your phone, use the button or save the QR image and scan it within WeChat.

Official information and further reading: Source 1

UKMT Coordinate Proof: Two Distinct Circles Cannot Meet in Three Points

Prove that two distinct circles in the Euclidean plane have at most two common points. This original UKMT coordinate extension includes zero, one and two intersections; it does not assume that every pair actually crosses twice. The special word distinct matters because two descriptions of the same circle would share infinitely many points.

Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send UKMT-S5-1130 and tell us your school year and question.

Write equations with matching quadratic parts

A circle can be written as x squared plus y squared plus D x plus E y plus F equals zero, with coefficients satisfying the appropriate positive-radius condition. Write one such equation for each circle. The coefficients of the two squared terms match because both equations describe circles in the same coordinate system.

Subtract to eliminate the squared terms

Every common point satisfies the difference equation: the difference in D times x plus the difference in E times y plus the difference in F equals zero. If the centres differ, at least one of the first two coefficient differences is nonzero. The common points must therefore lie on a particular straight line.

Intersect that line with one circle

Substituting a line parametrisation into a circle equation gives a quadratic equation in the line parameter with a positive quadratic coefficient for a genuine line direction. Such an equation has at most two real roots, so there can be at most two common points. A double root corresponds to tangency rather than two distinct intersections.

Handle concentric circles before calling the difference a line

If the centres agree, both linear coefficient differences vanish. For different radii, the remaining constant difference is nonzero, so no point can satisfy both equations. Calling this constant equation a line would be incorrect. If that difference also vanishes, the equations describe the same circle, which is excluded by the distinct-circle hypothesis.

Check why the proof does not guarantee an intersection

The line-circle quadratic can have negative discriminant, zero discriminant or positive discriminant, producing zero, one or two common points. The upper bound covers all three outcomes. A diagram of overlapping circles illustrates only one case and cannot prove the general statement or resolve the concentric exception.

Explain the role of the shared quadratic form

Subtracting cancels x squared and y squared because both loci are circles. For unrelated conic equations, subtraction need not reduce the common-point condition to a line, so this exact bound cannot simply be transferred. State the equations, the distinct-centre case, the line-circle root bound and the concentric cases to obtain a complete proof with all exceptions accounted for.

Continue reading: UKMT Graph Proof: Two People Must Have the Same Number of Acquaintances in the Group.

Contact Hanlin

Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send UKMT-S5-1130. Include your school year, country or competition region, experience and the question you want to discuss.

Scan to contact Hanlin on WeChat. Send UKMT-S5-1130.

Contact Hanlin on WeChat

On your phone, use the button or save the QR image and scan it within WeChat.

Official information and further reading: Source 1

Online Customer Service
Contact Customer Service