Introduction
Imagine shuffling a set of name cards and placing them back beside the people they belong to. Even if every card is equally likely to land in every position, some cards may return to their original places. This is not a flaw in probability: equal chances for each individual position do not prevent matches in a complete arrangement. The key is to distinguish what is likely for one card from what can happen across the whole shuffle.
- What Is a Fixed Point in a Shuffle?
- Why Equal Chances Do Not Prevent Matches
- Calculating the Expected Number of Matches
- The Chance of Getting No Fixed Points
- Why the Probability Settles Near 63 Percent
- Why the Item Events Are Not Independent
- What “Random Shuffle” Means in Practice
- Where the Idea Is Useful
- Conclusion
What Is a Fixed Point in a Shuffle?
A fixed point is an item that ends up in its original position after a rearrangement. The term comes from mathematics, where a permutation is a way of reordering a collection. If a shuffled set of cards has a card in its starting position, that card is a fixed point of the permutation.
For example, suppose four cards begin in the order A, B, C, D. After a shuffle, they might appear as C, B, D, A. Card B stayed in position two, so this arrangement has one fixed point. An arrangement such as C, D, A, B has none.
When people ask whether a shuffle will contain a fixed point, they may mean one of two things: how many matches should we expect on average, or what is the probability of getting at least one? Those are different questions. The average is exactly one for any positive number of items in a uniformly random permutation, while the chance of at least one match approaches about 63 percent as the collection gets large.
Why Equal Chances Do Not Prevent Matches
If a shuffle is uniform, each item has the same chance of landing in any particular position. With n items, a specified item has a 1/n chance of returning to its own position. This can sound like a reason to expect no matches when n is large, because the chance for each individual item becomes small.
But there are n items that could match. A small chance repeated across many opportunities can add up. A simple way to estimate the average number of matches is to add each item’s chance of matching: n items multiplied by a 1/n chance each gives an expected total of 1.
This is an application of the linearity of expectation. In plain language, the expected number of matches equals the sum of the expected contributions from each item. The calculation does not require the items’ outcomes to be independent. In fact, positions in a permutation are linked: once some items have been placed, the remaining positions and items are constrained.
This distinction resolves the apparent paradox. Equal chances describe each item considered on its own. They do not say that every full arrangement contains no matches, nor do they mean that the events for different items can be treated as unrelated. A whole shuffle can produce one or more fixed points even though no single item is especially likely to be one.
Calculating the Expected Number of Matches
Consider a collection of n distinct items shuffled so that all possible orders are equally likely. For each item, imagine recording a 1 if it returns to its original position and a 0 if it does not. Adding those records gives the total number of fixed points.
For any one item, exactly one of the n possible positions is its original position. Its probability of matching is therefore 1/n. The expected contribution from that item is 1/n. Since there are n items, the average total is:
Expected number of fixed points = n × (1/n) = 1.
This result holds for any positive n under the uniform-shuffle assumption. It does not mean every shuffle has exactly one match. Some have none, some have one, and some have several. It means that if the same kind of shuffle were repeated many times, the average count of matches would be one per shuffle.
For a small example, with four items the average is still one, even though a particular shuffle can have zero, one, two, or four fixed points. The average describes the balance across possible outcomes, not a promise about any single result.
The Chance of Getting No Fixed Points
A complete arrangement with no fixed points is called a derangement. To find the chance of one, it helps to count arrangements that avoid every original position. The exact count can be found using inclusion-exclusion, a counting method that adds and subtracts overlapping possibilities.
For n items, the probability of no fixed points is:
1 − 1/1! + 1/2! − 1/3! + … + (−1)n/n!
Here, n! means “n factorial,” the product of the positive whole numbers from 1 through n. For instance, 4! means 4 × 3 × 2 × 1. The alternating terms account for arrangements in which one, two, or more specified items happen to remain in place, correcting for overlaps as the count is built.
As n becomes large, this probability approaches 1/e, where e is a mathematical constant of about 2.718. So the chance of no fixed points approaches roughly 37 percent. The complementary chance of at least one fixed point approaches roughly 63 percent. These are limiting approximations, not exact probabilities for every finite set.
For four items, there are 24 possible orders, and 9 of them have no fixed points. That gives a probability of 9/24, or 37.5 percent. The probability of at least one match is therefore 62.5 percent. This small example is already close to the large-n percentages.
Why the Probability Settles Near 63 Percent
The expected count of one might seem to suggest that a match should be unusual. But an average does not tell us how often a category occurs unless we also know how many matches are possible in each outcome. A shuffle with several fixed points can balance some shuffles with none.
For large collections, the number of fixed points behaves approximately like a Poisson distribution with an average of 1. This is a standard probability model for counts that occur across many opportunities under suitable conditions. In this case, it implies that the chance of zero fixed points is close to e−1, or about 37 percent, and the chance of at least one is close to 63 percent.
The Poisson approximation is useful for understanding the overall pattern, but it is not necessary to calculate the expected count. The expectation of one follows directly from the equal 1/n chance for each item. The approximation instead helps describe how the possible counts are spread out when the collection is large.
Why the Item Events Are Not Independent
It may be tempting to treat each item as an independent test with a 1/n chance of matching. That would mean multiplying probabilities as if one item’s position had no effect on another’s. But a shuffle is made of a single arrangement, so the items must occupy different positions.
For example, if one card is known to be in its original place, that position is no longer available to another card. At the same time, knowing that a card is not in its original place changes what can happen to the remaining cards. These dependencies mean that a simple independent-trials calculation is not exact for the number of fixed points.
Linearity of expectation still works because it only requires adding the expected contribution of each item. It does not require independence. This is a broadly useful lesson: probabilities can be dependent while the average of a sum is still found by adding the individual averages.
What “Random Shuffle” Means in Practice
The mathematical results assume a uniform random permutation: every possible order has the same probability. A real-world shuffle may not meet this condition perfectly. The way items are mixed, the number of mixing actions, and the method used to generate an order can all affect how random the result is.
For a computer-generated shuffle, a sound method should give each possible ordering the same chance, rather than merely making each item’s position look plausible in isolation. A process can seem random while favoring some complete arrangements over others. The fixed-point calculation applies when the full ordering is uniform, not simply when no obvious pattern is visible.
For a physical set of cards or slips, the mathematical model is still useful, but it describes an idealized shuffle. If the mixing is poor, the actual likelihood of matches may differ. The central probability insight remains: even in a genuinely uniform shuffle, fixed points are normal outcomes, not evidence that something has gone wrong.
Where the Idea Is Useful
Fixed points appear in many settings where objects are reassigned to destinations: letters placed in envelopes, tasks assigned to people, or labels returned to a collection of items. These examples are mathematical models, and real situations may have additional constraints, such as some assignments being forbidden. When all permutations are allowed equally, the same fixed-point reasoning applies.
The concept also clarifies the difference between individual fairness and group outcomes. Each item may have an equal chance of occupying every position, while the group-level result still has a predictable pattern. Equal individual chances do not mean that every outcome is equally likely to contain zero, one, or several matches; rather, the complete permutations and their features determine those probabilities.
In teaching probability, fixed points offer a compact example of expectation, dependence, and counting working together. A short calculation gives the expected number of matches, while a separate counting argument explains the chance of none. Keeping those questions distinct prevents a common mistake: confusing “one expected match” with “exactly one match every time.”
Conclusion
Random shuffling can create fixed points because equal chances for each individual item do not rule out matches in the complete arrangement. In a uniform shuffle of n items, each has a 1/n chance of returning to its original place, so the expected total is one. Yet the number varies from shuffle to shuffle: for large collections, no match occurs about 37 percent of the time, and at least one occurs about 63 percent.

