BAC MathsOffline
Progress saved to your account.Saving to your account…Offline. Progress stays on this device and uploads later.Sync did not work. It will try again.Progress on this device is not in your account.This device’s progress belongs to another account, so it is not synced.
Settings

Working draft: this text has not been reviewed yet.

5.2Numerical sequences

Arithmetic, Geometric & Recurrent Sequences

Reading time
40 min
In the programme of
SEMTM
Contents
  1. 1Arithmetic Sequences
  2. 2Geometric Sequences
  3. 3Reading a Recurrence on a Graph
  4. 4The Recurrence u(n+1) = a u(n) + b
  5. 4.1Worked Example
  6. 5Homographic Recurrences
  7. 6Recap

Arithmetic Sequences

Add the same number every time: the terms climb (or fall) by equal steps.

Definition · Arithmetic sequence

A sequence (un)n≥n0(u_n)_{n \ge n_0} is arithmetic if there is a constant real number rr, the common difference, such that for every n≥n0n \ge n_0:

un+1=un+r\boxed{u_{n+1} = u_n + r}

Theorem · General term, mean, sum

For any two indices nn and pp:

un=up+(n−p)r\boxed{u_n = u_p + (n - p)r}

In particular un=u0+nru_n = u_0 + nr, or un=u1+(n−1)ru_n = u_1 + (n - 1)r.

Three numbers a,b,ca, b, c (in this order) are consecutive terms of an arithmetic sequence if and only if a+c=2ba + c = 2b.

The sum of the N=n−p+1N = n - p + 1 consecutive terms from upu_p to unu_n is:

S=up+⋯+unS=N2(up+un)\begin{gathered} S = u_p + \dots + u_n \\ \boxed{S = \frac{N}{2}(u_p + u_n)} \end{gathered}

that is, number of terms2×(first term+last term)\frac{\text{number of terms}}{2} \times (\text{first term} + \text{last term}).

Example · A term and a sum

(un)(u_n) is arithmetic with u0=3u_0 = 3 and r=4r = 4. Then u10=3+10×4=43u_{10} = 3 + 10 \times 4 = 43, and u0+u1+⋯+u10u_0 + u_1 + \dots + u_{10} has 1111 terms:

S=112(3+43)=253S = \frac{11}{2}(3 + 43) = 253

Pitfall · Counting the terms

From upu_p to unu_n there are n−p+1n - p + 1 terms, not n−pn - p: from u0u_0 to u10u_{10} there are 1111.

Quick check

(un)n≥1(u_n)_{n \ge 1} is arithmetic with u1=2u_1 = 2 and r=3r = 3. Compute u5u_5.

Solution

u5=u1+4r=2+12=14u_5 = u_1 + 4r = 2 + 12 = 14.

Compute 1+2+⋯+1001 + 2 + \dots + 100 (the terms of an arithmetic sequence with r=1r = 1).

Solution

1002(1+100)=50×101=5050\frac{100}{2}(1 + 100) = 50 \times 101 = 5050.


Geometric Sequences

Multiply by the same number every time: the terms grow or shrink by equal ratios.

Definition · Geometric sequence

A sequence (vn)n≥n0(v_n)_{n \ge n_0} is geometric if there is a non-zero constant real number qq, the common ratio, such that for every n≥n0n \ge n_0:

vn+1=q⋅vn\boxed{v_{n+1} = q \cdot v_n}

Theorem · General term, mean, sum

For any two indices nn and pp:

vn=vp⋅qn−p\boxed{v_n = v_p \cdot q^{n - p}}

In particular vn=v0⋅qnv_n = v_0 \cdot q^n, or vn=v1⋅qn−1v_n = v_1 \cdot q^{n - 1}.

Three strictly positive numbers a,b,ca, b, c are consecutive terms of a geometric sequence if and only if a⋅c=b2a \cdot c = b^2.

For q≠1q \neq 1, the sum of the N=n−p+1N = n - p + 1 consecutive terms from vpv_p to vnv_n is:

S=vp+⋯+vnS=vp×1−qN1−q\begin{gathered} S = v_p + \dots + v_n \\ \boxed{S = v_p \times \frac{1 - q^N}{1 - q}} \end{gathered}

that is, first term×1−qnumber of terms1−q\text{first term} \times \frac{1 - q^{\text{number of terms}}}{1 - q}.

Theorem · Limit of qⁿ

For a geometric sequence vn=v0qnv_n = v_0 q^n with v0≠0v_0 \neq 0, everything depends on qq:

Ratio qqlim⁡n→+∞qn\lim\limits_{n \to +\infty} q^nBehaviour
q>1q > 1+∞+\inftydivergent
q=1q = 111constant
−1<q<1-1 < q < 100converges to 00
q≤−1q \le -1no limitoscillates

So (qn)(q^n) converges exactly when −1<q≤1-1 < q \le 1; for q≤−1q \le -1 it is divergent.

Pitfall · A negative ratio

For q≤−1q \le -1 the powers qnq^n change sign at every step: (−2)n(-2)^n is 1,−2,4,−8,…1, -2, 4, -8, \dots Their sign alternates and ∣qn∣≥1|q^n| \ge 1, so they tend neither to a real number nor to ±∞\pm\infty: there is no limit.

Quick check

(vn)(v_n) is geometric with v0=3v_0 = 3 and q=2q = 2. Compute v5v_5.

Solution

v5=v0⋅q5=3×32=96v_5 = v_0 \cdot q^5 = 3 \times 32 = 96.

Same sequence: compute v0+v1+v2+v3+v4v_0 + v_1 + v_2 + v_3 + v_4.

Solution

55 terms: 3×1−251−2=3×−31−1=933 \times \frac{1 - 2^5}{1 - 2} = 3 \times \frac{-31}{-1} = 93.

What is lim⁡n→+∞0.9n\lim\limits_{n \to +\infty} 0.9^n?

Solution

−1<0.9<1-1 < 0.9 < 1, so 0.9n→00.9^n \to 0.


Reading a Recurrence on a Graph

A recurrent sequence is given by u0u_0 and un+1=f(un)u_{n+1} = f(u_n). Before any computation, the curve of ff and the line y=xy = x show where the terms go.

y = xy = f(x)αu₀u₁u₂
n = 6u₆ − 2 ≈ 0.047

uₙ₊₁ − 2 = ½(uₙ − 2)

  1. Two lines

    The sequence of module 01: u0=5u_0 = 5 and un+1=f(un)u_{n+1} = f(u_n) with f(x)=12x+1f(x) = \frac{1}{2}x + 1. Draw the line y=f(x)y = f(x), the line y=xy = x, and place u0=5u_0 = 5 on the xx-axis.

  2. From u₀ to u₁

    Go up from u0u_0 to the line y=f(x)y = f(x): the height is f(u0)=u1f(u_0) = u_1. Go across to the line y=xy = x, where the abscissa equals the height, then down to the xx-axis: u1=3.5u_1 = 3.5 is now on the axis.

  3. The staircase

    Repeat: up or down to the line y=f(x)y = f(x), across to y=xy = x, down to the axis. The terms u2,u3,…,u6u_2, u_3, \dots, u_6 appear without a single computation. They decrease and stay above 22.

  4. The fixed point

    The steps pile up where the two lines meet: the point (α,α)(\alpha, \alpha) with f(α)=αf(\alpha) = \alpha, that is 12α+1=α\frac{1}{2}\alpha + 1 = \alpha, so α=2\alpha = 2. The graph suggests that (un)(u_n) is decreasing and converges to 22.

  5. Halving the gap

    The gap un−2u_n - 2, marked on the axis, is cut in half at every step: un+1−2=12(un−2)u_{n+1} - 2 = \frac{1}{2}(u_n - 2). It goes 3,1.5,0.75,…3, 1.5, 0.75, \dots Move u0u_0 yourself: from below 22 the staircase climbs towards 22, and from u0=2u_0 = 2 the sequence is constant.

Method · Placing u₁, u₂, u₃ on the x-axis

  1. Draw the curve of ff and the line y=xy = x; place u0u_0 on the xx-axis.
  2. From u0u_0, go vertically to the curve: the height is u1=f(u0)u_1 = f(u_0).
  3. Go horizontally to the line y=xy = x, then vertically down to the axis: that abscissa is u1u_1.
  4. Repeat from u1u_1 to place u2u_2, then u3u_3.
  5. Read conjectures: is (un)(u_n) increasing or decreasing? Does it close in on the abscissa of an intersection point of the curve and y=xy = x?

Pitfall · A graph is a conjecture, not a proof

The staircase suggests monotonicity and a limit. The BAC then asks you to prove them: by induction, by the sign of un+1−unu_{n+1} - u_n, and with the theorems of the next lesson.

Quick check

To carry a height u1u_1 back onto the xx-axis, which line do you go across to?

Solution

On the line y=xy = x the abscissa equals the height: the point reached there has abscissa u1u_1, and going down places u1u_1 on the xx-axis.

With u0=5u_0 = 5 and un+1=12un+1u_{n+1} = \frac{1}{2}u_n + 1, compute u3u_3.

Solution

u1=3.5u_1 = 3.5, u2=2.75u_2 = 2.75, u3=12×2.75+1=2.375u_3 = \frac{1}{2} \times 2.75 + 1 = 2.375.


The Recurrence u(n+1) = a u(n) + b

Sequences with un+1=aun+bu_{n+1} = a u_n + b (a≠0a \neq 0, a≠1a \neq 1, b≠0b \neq 0) are in general neither arithmetic nor geometric (they are constant when u0u_0 is the fixed point), but the difference between the term and the fixed point is geometric.

Method · The six-step protocol

  1. Fixed point: solve α=aα+b\alpha = a\alpha + b, so α=b1−a\alpha = \frac{b}{1 - a}.
  2. Auxiliary sequence: vn=un−αv_n = u_n - \alpha.
  3. (vn)(v_n) is geometric: vn+1=avnv_{n+1} = a v_n, ratio q=aq = a, first term v0=u0−αv_0 = u_0 - \alpha.
  4. vn=v0⋅anv_n = v_0 \cdot a^n.
  5. un=vn+α=v0⋅an+αu_n = v_n + \alpha = v_0 \cdot a^n + \alpha.
  6. Limit: if ∣a∣<1|a| < 1, then an→0a^n \to 0 and lim⁡un=α\lim u_n = \alpha.
Proof · Why v(n) is geometric

From α=aα+b\alpha = a\alpha + b we get b=α−aαb = \alpha - a\alpha. Then:

vn+1=un+1−α=aun+b−α=aun+α−aα−α=a(un−α)=avn\begin{aligned} v_{n+1} & = u_{n+1} - \alpha \\ & = a u_n + b - \alpha \\ & = a u_n + \alpha \\ & \quad - a\alpha - \alpha \\ & = a(u_n - \alpha) \\ & = a v_n \end{aligned}

So (vn)(v_n) is geometric with ratio aa and first term v0=u0−αv_0 = u_0 - \alpha, and:

un=v0⋅an+b1−a\boxed{u_n = v_0 \cdot a^n + \frac{b}{1 - a}}

Worked Example

  1. u0=5u_0 = 5 and un+1=12un+1u_{n+1} = \frac{1}{2}u_n + 1: here a=12a = \frac{1}{2} and b=1b = 1.

  2. Fixed point:

    α=11−12=2\alpha = \frac{1}{1 - \frac{1}{2}} = \htmlClass{hl}{2}
  3. vn=un−2v_n = u_n - 2 is geometric with ratio 12\frac{1}{2} and first term v0=5−2=3v_0 = 5 - 2 = 3:

    vn=3(12)nv_n = 3 \left(\frac{1}{2}\right)^n
  4. Back to unu_n:

    un=3(12)n+2\boxed{u_n = 3 \left(\frac{1}{2}\right)^n + 2}
  5. Since −1<12<1-1 < \frac{1}{2} < 1, (12)n→0\left(\frac{1}{2}\right)^n \to 0, so lim⁡n→+∞un=2\htmlClass{hl}{\lim\limits_{n \to +\infty} u_n = 2}: the fixed point of the staircase.

Quick check

Compute the fixed point α\alpha of un+1=3un−4u_{n+1} = 3u_n - 4.

Hint

Solve α=3α−4\alpha = 3\alpha - 4.

Solution

α=3α−4  ⟺  2α=4  ⟺  α=2\alpha = 3\alpha - 4 \iff 2\alpha = 4 \iff \alpha = 2.

Same sequence: vn=un−2v_n = u_n - 2 is geometric. What is its ratio?

Solution

vn+1=3un−4−2=3(un−2)=3vnv_{n+1} = 3u_n - 4 - 2 = 3(u_n - 2) = 3v_n: the ratio is 33.


Homographic Recurrences

In series M and SE the recurrence is often un+1=f(un)u_{n+1} = f(u_n) with f(x)=ax+bcx+df(x) = \frac{ax + b}{cx + d}. The exam then gives an auxiliary sequence, typically:

vn=un−αun−βv_n = \frac{u_n - \alpha}{u_n - \beta}

where α\alpha is a fixed point of ff (a root of f(x)=xf(x) = x). You show that vn+1=q⋅vnv_{n+1} = q \cdot v_n by writing un+1u_{n+1} in terms of unu_n and reducing to one denominator.

Method · From v(n) back to u(n)

Once vnv_n is known in terms of nn, isolate unu_n (here α≠β\alpha \neq \beta, so vn≠1v_n \neq 1):

vn(un−β)=un−αun(vn−1)=βvn−αun=βvn−αvn−1\begin{aligned} v_n(u_n - \beta) & = u_n - \alpha \\ u_n(v_n - 1) & = \beta v_n - \alpha \\ u_n & = \boxed{\frac{\beta v_n - \alpha}{v_n - 1}} \end{aligned}

Then the limit of vnv_n gives the limit of unu_n.

Quick check

Suppose vn=un−1un+2v_n = \frac{u_n - 1}{u_n + 2} (so α=1\alpha = 1, β=−2\beta = -2) and lim⁡vn=0\lim v_n = 0. Compute lim⁡un\lim u_n.

Hint

Use un=βvn−αvn−1u_n = \frac{\beta v_n - \alpha}{v_n - 1} and let vn→0v_n \to 0.

Solution

un=−2vn−1vn−1→0−10−1=1u_n = \frac{-2v_n - 1}{v_n - 1} \to \frac{0 - 1}{0 - 1} = 1.


Recap

  • Arithmetic: un=up+(n−p)ru_n = u_p + (n - p)r; geometric: vn=vpqn−pv_n = v_p q^{n - p}. Sums: count the n−p+1n - p + 1 terms.
  • qn→0q^n \to 0 when −1<q<1-1 < q < 1, qn→+∞q^n \to +\infty when q>1q > 1, no limit when q≤−1q \le -1.
  • The staircase between y=f(x)y = f(x) and y=xy = x places the terms and suggests the limit: a fixed point f(α)=αf(\alpha) = \alpha.
  • For un+1=aun+bu_{n+1} = a u_n + b: vn=un−αv_n = u_n - \alpha is geometric with ratio aa.

What is next: proving convergence and computing limits.

Mark it when you have worked through the lesson: it counts in your chapter progress.

A new version of the site is ready.

Progress saved to your account.Saving to your account…Offline. Progress stays on this device and uploads later.Sync did not work. It will try again.Progress on this device is not in your account.This device’s progress belongs to another account, so it is not synced.
Settings