Probability recurrence relations: two University of Tokyo problems explained
What is a probability recurrence relation?
A probability recurrence describes how a probability changes after successive steps of a random process. It combines probability with sequences: define the state probabilities, find how one step redistributes them, and solve the resulting recurrence.
These problems need not involve calculus or advanced probability. The main challenge is often choosing a small enough set of states. The two University of Tokyo entrance-exam problems below illustrate this especially well. The explanations and solutions here are the author's own.
Two problems to try
Problem 1: rolling a regular tetrahedron
A regular tetrahedron rests on a plane. At each step, one of the three edges of the face in contact with the plane is chosen with equal probability, and the tetrahedron is rolled over that edge onto the adjacent face.
Find the probability that, after steps, the face originally in contact with the plane is again in contact with it.
University of Tokyo, 1991 science-track mathematics, Problem 1.
Problem 2: a random walk through nine rooms
An equilateral triangle is divided into nine triangular rooms as shown below. A ball starts in room . Every second, it moves to one of the rooms sharing an edge with its current room, choosing each available adjacent room with equal probability. It never stays in the same room.
Find the probability that the ball is in room after seconds.
University of Tokyo, 2012 humanities-track Problem 3 and science-track Problem 2.

The basic method
Define probabilities as sequences
For Problem 1, let be the probability that the original face is in contact with the plane after rolls. Giving the desired probability a name is the first step toward relating it to the previous step.
Draw a transition diagram
Suppose a process has two states, and , with probabilities and after steps. Suppose it stays in its current state with probability and changes state with probability .

The arrows describe conditional probabilities of the next state given the current state. To compute the probability of arriving in , add the contributions from both possible starting states:
This is the law of total probability written as a recurrence.
Find an initial value and solve
A first-order affine recurrence has the form . If , its fixed point is . Subtracting it gives
so
For the transition diagram above, and , giving
Five useful checks and shortcuts
1. Reduce the number of states using symmetry and parity
In Problem 1, the original face is special, but the other three faces are symmetric. Track whether the original face is down rather than tracking all four faces separately.
In Problem 2, the ball alternates between two groups of rooms. Separating even and odd times dramatically reduces the number of states that need to be considered.
2. Use the fact that probabilities sum to one
If is the probability that some other face is down in Problem 1, then . There is no need to introduce a second independent sequence.
3. Treat unexpectedly large systems as a reason to reconsider the states
These examples can both be reduced to a single recurrence. In other problems a larger system may be necessary, but before doing a long calculation, check whether states are symmetric or whether looking every two steps simplifies the process.
When combining states, verify that the transition probabilities to the groups are consistent for the individual states being combined. Symmetry helps justify this; grouping arbitrary states may not.
4. Start at time zero
An initial value does not have to be the value after one step. At time zero, the tetrahedron certainly has its original face down, and the ball is certainly in room . These observations give initial values without any probability calculation.
5. Check small cases and limiting behavior
Substitute when you can calculate those probabilities directly. A limit can also be a useful check, but take care with periodic processes: in Problem 2 the full sequence does not have a single limit because all odd-time probabilities are zero.
Solution to Problem 1: the tetrahedron
Choose two states
Call the original face , and let be the probability that is down after rolls. The complementary state, “one of the other three faces is down,” has probability .
- From , the next roll always moves to another face.
- From any other face, exactly one of the three possible rolls returns to , while the remaining two lead to other faces.

Thus
Solve the recurrence
The fixed point is , so
Therefore
and the answer is
For , an equivalent form is .
Check the answer
The formula gives , , and , as expected. As tends to infinity, it tends to , consistent with the four symmetric faces.
Solution to Problem 2: the triangular rooms
Use reflection symmetry
Label the rooms as in the diagram below. The two rooms marked are reflections of one another, and one of them is . Rooms bearing the same letter have equal probabilities by reflection symmetry.

Tracking all six labels separately still looks cumbersome. Parity provides the next simplification.
Separate even and odd times
Starting from :
- After an even number of steps, the ball is in or one of the two rooms.
- After an odd number of steps, it is in an , , , or room.
This follows by induction. It holds at time zero, and every shared edge connects one of these groups to the other. Hence the desired probability is zero for odd .
For even , let be the probability of being in either room. The probability of being in is , and by reflection symmetry the probability of being in is .
Calculate transitions over two seconds
From , the first step goes to or either of the two rooms, each with probability . The room leads straight back to . Each room has two neighbors, and a room. Hence the two-step probability of moving from to the group is
From either room, the first step goes to its neighboring , , or room, each with probability . Only the route through can reach on the next step, and it does so with probability . Thus the two-step probability of moving from the group to is
The probability of remaining in the group after two steps is consequently .
Each arrow represents two seconds of elapsed time, from to .
Solve the recurrence at even times
For even ,
Subtract the fixed point :
Writing gives
Since is one of the two equally likely rooms, the required probability is
Check the answer
At time zero the probability is zero. After two seconds, the only route to is through the adjacent room, giving , which agrees with the formula.
Along even times, the probability tends to . The three downward-pointing rooms and the two rooms are symmetric under a rotation of the entire triangle. Along odd times the probability is always zero, so the full sequence does not converge.
What to take away
Choose states before doing algebra. Symmetry can identify equal probabilities; the total-probability condition can remove a variable; and parity can suggest looking at two steps at a time. Once those choices are right, an apparently complicated random process may reduce to a single affine recurrence.
For another example of choosing a method from the structure of a problem, see three strategies for integer problems.
Related articles
- Equating rational and irrational parts: proof and worked problems
- How to simplify nested square roots, with three worked examples
- Conditional probability: the formula, information protocols, and worked examples
- Integration by parts: formulas, proof, and four useful patterns
- Triple-angle identities: remember, derive, and apply them
About the author
Koki Saito
Physician and graduate of the University of Tokyo Faculty of Medicine. Drawing on his entrance-exam experience, he explains how to choose mathematical methods and construct complete solutions.
Full profile →Have a question or spotted an error? Contact us.