From a recurrence to an explicit formula
A recurrence defines each term from an earlier term. For example, once an initial value is given, the rule \(x_{n+1}=\frac12x_n+3\) determines the whole sequence. Computing several terms can reveal a pattern, but an explicit formula is more useful: it describes the \(n\)th term directly and makes the limit question precise.
This tutorial considers first-order linear recurrences with constant coefficients. “First-order” means that \(x_{n+1}\) depends only on the preceding term \(x_n\), and “linear” means the dependence has the form of a constant multiple of \(x_n\), plus a constant.
The number \(a\) determines how a difference between a term and a fixed point changes at each step. The number \(b\) shifts the recurrence. When \(a\ne 1\), the recurrence has a fixed point: a value \(L\) that stays unchanged under the rule, so \(L=aL+b\). Solving gives \(L=\frac{b}{1-a}\). This value is useful, but it is not automatically the limit; the multiplier \(a\) and the initial value matter too.
The explicit formula and why it works
When \(a\ne 1\), subtract the fixed point \(L\) from each term. The recurrence then becomes a simple multiplication rule for the difference. Repeating that rule gives the explicit formula.
For \(a\ne 1\), solve \(L=aL+b\), giving \(L=\frac{b}{1-a}\).
Since \(L=aL+b\), subtracting this equation from \(x_{n+1}=a x_n+b\) gives \(x_{n+1}-L=a(x_n-L)\).
Each step multiplies the difference by \(a\), so \(x_n-L=a^n(x_0-L)\).
The explicit formula is \(x_n=L+a^n(x_0-L)\).
Here is a direct verification of the formula for \(a\ne 1\). Set \(L=\frac{b}{1-a}\), so \(aL+b=L\). If \(x_n=L+a^n(x_0-L)\), then
At \(n=0\), the formula gives \(x_0=L+(x_0-L)=x_0\), so it also has the required initial value. Thus it both starts at the specified term and follows the recurrence. For \(a=1\), the formula \(x_n=x_0+nb\) gives \(x_0\) at \(n=0\); adding \(b\) increases it to \(x_0+(n+1)b\), as required.
Using the formula to determine convergence
For \(a\ne 1\), the formula separates the fixed point \(L\) from the term \(a^n(x_0-L)\). The earlier result on exponential decay gives \(a^n\to 0\) when \(|a|<1\). In that case the second part vanishes, and the sequence converges to \(L\). If \(|a|\ge 1\), the behavior depends on whether the coefficient \(x_0-L\) is zero and on the special cases \(a=1\) and \(a=-1\).
- If \(|a|<1\), the sequence converges for every \(x_0\), and its limit is \(\frac{b}{1-a}\).
- If \(a=1\) and \(b=0\), the sequence is constant, so it converges to \(x_0\). If \(a=1\) and \(b\ne 0\), it does not converge.
- If \(a=-1\), it converges exactly when \(x_0=\frac{b}{2}\); in that case it is constant. Otherwise it alternates between two distinct values and does not converge.
- If \(|a|>1\), it converges exactly when \(x_0=\frac{b}{1-a}\); in that case it is constant. Otherwise it does not converge.
For \(a=-1\), the fixed point is \(L=\frac{b}{2}\), and the explicit formula is \(x_n=L+(-1)^n(x_0-L)\). If \(x_0\ne L\), the even-indexed terms equal \(L+(x_0-L)\), while the odd-indexed terms equal \(L-(x_0-L)\). These are distinct, so the sequence does not converge. If \(x_0=L\), every term equals \(L\).
For \(|a|>1\), the formula gives \(x_n=L+a^n(x_0-L)\). If \(x_0\ne L\), the magnitude of the second term grows without bound because \(|a|^n\) grows without bound. Adding the fixed number \(L\) cannot make the sequence converge. If \(x_0=L\), the second term is always zero, so the sequence is constant.
When \(a=1\), the formula is \(x_n=x_0+nb\). If \(b=0\), every term equals \(x_0\). If \(b\ne0\), the terms move by the same nonzero amount at every step and are unbounded, so they do not converge.
Worked examples
Worked Example: A recurrence with a contracting multiplier
Find an explicit formula and the limit for \(x_{n+1}=\frac12x_n+3\), with \(x_0=0\).
Here \(a=\frac12\), \(b=3\), and \(x_0=0\). Since \(a\ne1\), the fixed point is
Use the explicit formula:
Because \(\left|\frac12\right|<1\), \(\left(\frac12\right)^n\to0\). Therefore \(x_n\to6\).
Check the formula at the initial value: \(x_0=6-6=0\). Check that it follows the recurrence:
The formula satisfies both the initial value and the recurrence, and its limit is \(6\).
Worked Example: A negative multiplier with a convergent sequence
Find an explicit formula and the limit for \(x_{n+1}=-\frac12x_n+\frac32\), with \(x_0=5\).
Here \(a=-\frac12\), \(b=\frac32\), and \(x_0=5\). The fixed point is
Thus
Since \(\left|-\frac12\right|<1\), the power term tends to zero. Hence \(x_n\to1\). The sign alternates, so the terms approach \(1\) from alternating sides, but their deviations shrink.
Check the initial value: \(x_0=1+4=5\). For the recurrence check,
Both checks agree with the explicit formula.
Worked Example: A multiplier of negative one
Determine whether the sequence \(x_{n+1}=-x_n+4\), with \(x_0=0\), converges.
Here \(a=-1\) and \(b=4\), so the fixed point is \(L=\frac{4}{2}=2\). The formula becomes
For even \(n\), \((-1)^n=1\), so \(x_n=0\). For odd \(n\), \((-1)^n=-1\), so \(x_n=4\). The terms alternate between \(0\) and \(4\), and therefore do not converge.
Check the first two terms directly: \(x_1=-0+4=4\) and \(x_2=-4+4=0\), matching the formula. The fixed point \(2\) is not the limit; it is the value about which the sequence alternates.
Worked Example: A growing multiplier and an exceptional initial value
For \(x_{n+1}=2x_n-3\), compare the sequences starting at \(x_0=3\) and \(x_0=4\).
The fixed point is \(L=\frac{-3}{1-2}=3\). With \(x_0=3\), the explicit formula gives
This sequence is constant and converges to \(3\). With \(x_0=4\), the formula instead gives
Since \(2^n\) grows without bound, this sequence does not converge. Check the recurrence: for the first sequence, \(2(3)-3=3\); for the second, \(2(3+2^n)-3=3+2^{n+1}\), which is its next term. Thus a multiplier greater than one permits convergence only for the fixed-point initial value.
A common mistake: treating every fixed point as a limit
A common error is to solve \(L=aL+b\), find a fixed point, and conclude that the sequence converges to it. The fixed-point equation only identifies a value that remains unchanged under the recurrence; it does not establish that the sequence approaches that value.
For instance, with \(x_{n+1}=-2x_n+3\) and \(x_0=0\), the fixed point is \(L=\frac{3}{1-(-2)}=1\). The incorrect conclusion is “the limit is \(1\), because \(1\) is the fixed point.” But the explicit formula is
The term \((-2)^n\) does not tend to zero; its magnitude grows. The sequence therefore does not converge. The correction is to use the explicit formula and check the multiplier, rather than assume that a fixed point is necessarily a limit.
Another special-case error is dividing by \(1-a\) when \(a=1\). That denominator is zero, so the fixed-point formula does not apply. Instead, use \(x_n=x_0+nb\) and determine convergence from whether \(b=0\).
Why the explicit formula is useful
The recurrence form describes how to move from one term to the next; the explicit form exposes the long-term behavior. In particular, it shows that when \(|a|<1\), the initial difference \(x_0-L\) is repeatedly multiplied by a factor whose magnitude is less than one. This shrinking difference explains why different starting values all approach the same fixed point. When the multiplier has magnitude greater than one, deviations instead grow unless the starting value is already the fixed point.
For a recurrence of this form, a reliable procedure is to identify \(a\), \(b\), and \(x_0\); separate the case \(a=1\); find the fixed point when \(a\ne1\); derive the explicit formula; and then use the size and sign of \(a\) to classify convergence. Substituting the formula into the initial condition and recurrence is a useful final check.
Check Your Understanding
For each question, use the explicit formula where appropriate and justify the convergence conclusion.
- Find an explicit formula and limit for \(x_{n+1}=\frac13x_n+2\), with \(x_0=1\).
- Does \(x_{n+1}=-\frac34x_n+1\), with \(x_0=0\), converge? If so, to what value?
- Describe the sequence \(x_{n+1}=x_n-2\), with \(x_0=5\). Why does the fixed-point formula for \(a\ne1\) not apply?
- For \(x_{n+1}=3x_n-4\), identify the initial value that gives a convergent sequence and state its limit.
- For \(x_{n+1}=-x_n+6\), with \(x_0=1\), determine whether the sequence converges and explain using its even- and odd-indexed terms.