Does This Recursion Converge
A quick test for whether a sequence defined by a_n+1 = f(a_n) settles down to a limit or spirals away, and how to find that limit without simulating the whole sequence.
Prerequisites: Sequences and Series Convergence, Mathematical Induction
An interviewer defines and , then asks: does this converge, and if so, to what? Simulating the sequence on paper for a few terms is a fine start, but the fast, reliable method is to assume it converges, solve for the limit algebraically, and separately check the assumption is valid.
Step 1: assume a limit exists and solve for it
If the sequence converges to some value , then as grows both and approach the same number . Taking the limit of both sides of the recurrence gives — the limit, if it exists, must be a fixed point of . For , solving gives , so , so , so (taking the positive root, since every term of the sequence is positive). In plain English: whatever the sequence settles on, that value has to reproduce itself under the recursion — which is a much easier equation to solve than tracking the sequence term by term.
Step 2: check convergence actually happens
Finding a candidate limit doesn't prove the sequence gets there — you need to verify the sequence is well-behaved near . Two checks cover almost every interview case:
- Monotone + bounded. If you can show the sequence is always decreasing (or always increasing) and stays bounded below (or above), it must converge by the monotone convergence theorem — sequences that move in one direction and can't escape a boundary have nowhere to go but their limit.
- Contraction near the fixed point. If , nearby points get pulled closer to at each step, so the iteration is locally stable and converges once it's close enough. If , nearby points get pushed away — the fixed point is real but unstable, and the sequence would only reach it from an exact starting value, never approximately.
Worked example: verifying
For , compute , so . Since , the fixed point is strongly attracting — this is Newton's method for , famous for doubling the number of correct digits every step. Tracing the numbers confirms it: , , , — already matching to four decimal places by the fourth term.
Drag the sample size and watch how a running sequence value settles onto its limit, with the gap shrinking inside a shaded envelope — exactly the "settling down" behavior you're checking for algebraically above, just made visible instead of computed by hand.
What this means in practice
This two-step method — solve , then check monotonicity or the derivative at — turns "does this recursive sequence converge" from a simulation exercise into an algebra-plus-calculus check you can do at a whiteboard. It's also exactly the reasoning behind fixed-point iteration schemes used to solve implied-volatility equations and other places where a model input has to be backed out from an equation that can't be inverted directly: you're relying on the same contraction argument to know the iteration will actually land somewhere.
To test whether converges: solve for the candidate limit, then confirm convergence either by showing the sequence is monotone and bounded, or by checking so nearby points contract toward .
Solving only finds candidate limits — it does not prove the sequence reaches one. A recursion can have a valid fixed point that the sequence never approaches (if ) or can oscillate between two values forever without settling at all. Always check convergence separately from finding the fixed point.
Related concepts
Practice in interviews
Further reading
- Rudin, Principles of Mathematical Analysis, ch. 3