Tutorials › Calculus II › Convergence of Linear Recurrences

Sequence Limits · Tutorial 519 of 998

Convergence of Linear Recurrences

Derive an explicit formula for a first-order linear recurrence and use its multiplier and initial value to determine whether it converges.

Beginner 9 min read

What You'll Learn

  • Write a first-order linear recurrence in the form \(x_{n+1}=a x_n+b\).
  • Derive an explicit formula when the multiplier is not one.
  • Handle the special case where the multiplier equals one.
  • Determine limits when the absolute value of the multiplier is less than one.
  • Recognize nonconvergence and exceptional constant sequences when the multiplier has absolute value at least one.
  • Check an explicit formula against the recurrence and initial value.

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.

Definition: A first-order linear recurrence with constant coefficients is a sequence specified by an initial value \(x_0\) and a rule \(x_{n+1}=a x_n+b\) for \(n=0,1,2,\ldots\), where \(a\) and \(b\) are fixed real numbers. The sequence is indexed starting at \(0\).

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.

1
Find the fixed point.
For \(a\ne 1\), solve \(L=aL+b\), giving \(L=\frac{b}{1-a}\).
2
Subtract it from the recurrence.
Since \(L=aL+b\), subtracting this equation from \(x_{n+1}=a x_n+b\) gives \(x_{n+1}-L=a(x_n-L)\).
3
Repeat the multiplication.
Each step multiplies the difference by \(a\), so \(x_n-L=a^n(x_0-L)\).
4
Rearrange.
The explicit formula is \(x_n=L+a^n(x_0-L)\).
Formula: If \(a\ne 1\), the sequence defined by \(x_{n+1}=a x_n+b\) and \(x_0\) is \(x_n=\frac{b}{1-a}+a^n\left(x_0-\frac{b}{1-a}\right)\). If \(a=1\), then \(x_{n+1}=x_n+b\), so \(x_n=x_0+nb\).

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

$$ \begin{aligned} a x_n+b &=a\left(L+a^n(x_0-L)\right)+b\\ &=aL+b+a^{n+1}(x_0-L)\\ &=L+a^{n+1}(x_0-L)\\ &=x_{n+1}. \end{aligned} $$

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\).

Theorem: For \(x_{n+1}=a x_n+b\):
  • 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

$$L=\frac{b}{1-a}=\frac{3}{1-\frac12}=\frac{3}{\frac12}=6.$$

Use the explicit formula:

$$x_n=L+a^n(x_0-L)=6+\left(\frac12\right)^n(0-6)=6-6\left(\frac12\right)^n.$$

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:

$$\frac12x_n+3=\frac12\left(6-6\left(\frac12\right)^n\right)+3=6-6\left(\frac12\right)^{n+1}=x_{n+1}.$$

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

$$L=\frac{\frac32}{1-(-\frac12)}=\frac{\frac32}{\frac32}=1.$$

Thus

$$x_n=1+\left(-\frac12\right)^n(5-1)=1+4\left(-\frac12\right)^n.$$

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,

$$-\frac12x_n+\frac32=-\frac12\left(1+4\left(-\frac12\right)^n\right)+\frac32=1+4\left(-\frac12\right)^{n+1}=x_{n+1}.$$

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

$$x_n=2+(-1)^n(0-2)=2-2(-1)^n.$$

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

$$x_n=3+2^n(3-3)=3.$$

This sequence is constant and converges to \(3\). With \(x_0=4\), the formula instead gives

$$x_n=3+2^n(4-3)=3+2^n.$$

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

$$ x_n=1+(-2)^n(0-1)=1-(-2)^n. $$

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.

  1. Find an explicit formula and limit for \(x_{n+1}=\frac13x_n+2\), with \(x_0=1\).
  2. Does \(x_{n+1}=-\frac34x_n+1\), with \(x_0=0\), converge? If so, to what value?
  3. Describe the sequence \(x_{n+1}=x_n-2\), with \(x_0=5\). Why does the fixed-point formula for \(a\ne1\) not apply?
  4. For \(x_{n+1}=3x_n-4\), identify the initial value that gives a convergent sequence and state its limit.
  5. 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.