Precalculus · Textbook draft · 10 minute reading

Sequences and Recurrence

Connect recursive updates with explicit arithmetic and geometric formulas.

Before you begin

  • Functions, powers, and linear models.

Learning objectives

  • Translate between recursive and explicit sequence definitions.
  • Calculate and compare arithmetic and geometric sequences.
  • Analyze a simple affine recurrence and its equilibrium.

A weekly balance, a sampled temperature, or the number of objects after repeated steps has a discrete input. A sequence records the value at each integer index. We can define it by a formula that gives a term directly or by an update rule that describes how one term produces the next.

Indexing is part of the definition

A sequence (an)(a_n) is a function on an integer index set, usually n=1,2,…n=1,2,\ldots or n=0,1,…n=0,1,\ldots. For an=2n+1a_n=2n+1 starting at n=0n=0, the terms are 1,3,5,…1,3,5,\ldots. Starting at n=1n=1 instead gives 3,5,7,…3,5,7,\ldots. The formula alone does not specify which term is first.

A recursive definition supplies initial values and an update. The rules a0=1a_0=1, an+1=2an+3a_{n+1}=2a_n+3 give 1,5,13,29,…1,5,13,29,\ldots. The initial value is necessary: the same update starting at 2 gives a different sequence.

Specifying a finite list does not determine a unique continuation. A pattern can suggest a rule, but the rule is an additional specification. Many polynomial or piecewise formulas can fit the same first few terms.

Arithmetic sequences accumulate equal differences

An arithmetic sequence has an+1−an=da_{n+1}-a_n=d for a fixed difference dd. Starting at index 1, repeated addition gives

an=a1+(n−1)d.a_n=a_1+(n-1)d.

If a1=7a_1=7 and d=4d=4, the tenth term is 7+9(4)=437+9(4)=43. A pair of known terms gives d=(aj−ai)/(j−i)d=(a_j-a_i)/(j-i), provided their indices differ.

This is the discrete version of an affine model. The continuous line interpolates the integer-indexed values, but the sequence itself need not assign values at fractional indices.

Geometric sequences accumulate equal factors

For an+1=rana_{n+1}=ra_n with constant ratio rr, the index-1 formula is an=a1rn−1a_n=a_1r^{n-1}. A sequence beginning 3,−6,12,−24,…3,-6,12,-24,\ldots has ratio −2-2. Its signs alternate while magnitudes double.

If 0<r<10<r<1, positive terms decrease toward zero. A negative ratio with ∣r∣<1|r|<1 alternates signs with shrinking magnitude. If r=1r=1, the sequence is constant. If r=−1r=-1 and a1≠0a_1\ne0, the two alternating values do not approach one limit. With ∣r∣>1|r|>1 and nonzero initial term, magnitudes grow without bound.

The exceptional zero sequence remains zero under any fixed ratio update. Statements about divergence therefore need the nonzero initial-value condition.

An affine recurrence can be reduced to a geometric one

Consider

xn+1=axn+b.x_{n+1}=ax_n+b.

A fixed point LL satisfies L=aL+bL=aL+b. For a≠1a\ne1, it is L=b/(1−a)L=b/(1-a). Subtract this equation from the recurrence:

xn+1−L=a(xn−L).x_{n+1}-L=a(x_n-L).

The deviation from the fixed point is geometric. With starting index zero,

xn=L+an(x0−L).x_n=L+a^n(x_0-L).

For xn+1=0.8xn+4x_{n+1}=0.8x_n+4 and x0=70x_0=70, the fixed point is 20 and the formula is xn=20+50(0.8)nx_n=20+50(0.8)^n. Its first values are 70, 60, and 52. The decrease in each step is smaller because it acts on the shrinking deviation from 20.

If a=1a=1, the fixed-point formula has a zero denominator. The original rule becomes xn+1=xn+bx_{n+1}=x_n+b, an arithmetic sequence xn=x0+nbx_n=x_0+nb. Treating this parameter value separately recovers the missing case.

Convergence describes eventually small errors

A sequence converges to LL when its terms can be kept within any positive tolerance of LL by going sufficiently far along the sequence. For the affine model with ∣a∣<1|a|<1, the error is ∣a∣n∣x0−L∣|a|^n|x_0-L|, which tends to zero.

A negative aa between −1-1 and zero approaches the fixed point from alternating sides. For ∣a∣>1|a|>1, deviations grow unless the initial value is exactly LL. These behaviors follow from the transformed geometric sequence, giving more information than a short table of numerical iterations.

Exercises

  1. Find term 15 of the arithmetic sequence with a1=2a_1=2 and d=3d=3.
  2. An arithmetic sequence has a3=11a_3=11 and a8=31a_8=31. Find dd and a1a_1.
  3. Give the sixth term of the geometric sequence with a1=5a_1=5, r=2r=2.
  4. Describe the limiting behavior of an=4(−1/2)na_n=4(-1/2)^n for n≥0n\ge0.
  5. Solve xn+1=0.6xn+8x_{n+1}=0.6x_n+8, x0=5x_0=5, explicitly and calculate x3x_3.
  6. Solve xn+1=xn−3x_{n+1}=x_n-3, x0=10x_0=10, and explain why the fixed-point quotient is unavailable.
Worked solutions
  1. a15=2+14(3)=44a_{15}=2+14(3)=44.
  2. Five increments total 20, so d=4d=4; a1=11−2(4)=3a_1=11-2(4)=3.
  3. a6=5(2)5=160a_6=5(2)^5=160.
  4. Signs alternate and the magnitudes 4(1/2)n4(1/2)^n tend to zero, so the limit is zero.
  5. The fixed point is 8/0.4=208/0.4=20, giving xn=20−15(0.6)nx_n=20-15(0.6)^n. Thus x3=16.76x_3=16.76.
  6. xn=10−3nx_n=10-3n. Here a=1a=1, so b/(1−a)b/(1-a) is undefined and there is no fixed point when b=−3b=-3.
Your study progress · Optional

Keep your place

Mark this lesson complete after you've read it, attempted its exercises, and explained its central idea in your own words.

Progress is not saved unless you choose to mark the lesson complete.

Saved only in this browser's local storage. No required account, server transmission, or analytics. You can reset your saved progress on the course page. Clearing browser data also clears the record.