Leaving Certificate Applied Mathematics8.4 First-order difference equations

All books

8.4 First-order difference equations — Learn

Prerequisites: Section 8.3, recurrence relations and fixed points; indices.

Objectives: recognise a first-order difference equation; find its fixed point; write its closed form; decide whether the sequence settles.

By the end of this section you can write down the value after any number of steps without iterating, and say where the sequence is heading.

From recurrence to formula

A recurrence such as un+1=0.8un+10u_{n+1} = 0.8u_n + 10 is a rule for stepping forwards. It is correct but slow: to reach u50u_{50} you would apply it fifty times. A closed form gives unu_n directly as a formula in nn.

A recurrence of the form

un+1=aun+bu_{n+1} = au_n + b

is a first-order difference equation. The word "first-order" says that each term depends only on the one before it.

The fixed point LL is found by setting un+1=un=Lu_{n+1} = u_n = L:

L=aL+b,L=b1−a(a≠1).L = aL + b, \qquad L = \frac{b}{1 - a} \qquad (a \neq 1).

The closed form

The gap between unu_n and the fixed point shrinks by a factor of aa at each step. That gives the closed form

un=an(u0−L)+L.u_n = a^n(u_0 - L) + L.

Read it in two parts. The term an(u0−L)a^n(u_0 - L) is the distance from the fixed point, multiplied by aa once per step. The term LL is where the sequence is heading. At n=0n = 0 the distance is u0−Lu_0 - L, and the formula returns u0u_0.

Example 1. Solve un+1=0.8un+10u_{n+1} = 0.8u_n + 10 with u0=0u_0 = 0.

The fixed point is

L=101−0.8=50.L = \frac{10}{1 - 0.8} = 50.

Then

un=0.8n(0−50)+50=50−50(0.8)n.u_n = 0.8^n(0 - 50) + 50 = 50 - 50(0.8)^n.

Check n=0n = 0: 50−50=050 - 50 = 0. Check n=1n = 1: 50−40=1050 - 40 = 10, which matches the recurrence.

Example 2. Solve un+1=3un+2u_{n+1} = 3u_n + 2 with u0=1u_0 = 1.

The fixed point is

L=21−3=−1.L = \frac{2}{1 - 3} = -1.

Then

un=3n(1−(−1))+(−1)=2×3n−1.u_n = 3^n(1 - (-1)) + (-1) = 2 \times 3^n - 1.

Check n=0n = 0: 2−1=12 - 1 = 1. Check n=1n = 1: 6−1=56 - 1 = 5, which matches 3(1)+23(1) + 2.

The arithmetic case

When a=1a = 1 the recurrence is un+1=un+bu_{n+1} = u_n + b. Each step adds the same amount, so

un=u0+nb.u_n = u_0 + nb.

This is an arithmetic sequence. There is no fixed point, because the equation L=L+bL = L + b has no solution unless b=0b = 0.

Example 3. Solve un+1=un+5u_{n+1} = u_n + 5 with u0=2u_0 = 2.

un=2+5n.u_n = 2 + 5n.

At n=4n = 4 this gives 2+20=222 + 20 = 22.

Does the sequence settle?

The closed form shows what happens as nn grows. The term ana^n decides it.

Example 4. A loan of €10\,000 is charged 1%1\% interest a month, and €300 is repaid at the end of each month. The balance is

un+1=1.01un−300,u0=10 000.u_{n+1} = 1.01u_n - 300, \qquad u_0 = 10\,000.

Find the closed form.

The fixed point is

L=−3001−1.01=−300−0.01=30 000.L = \frac{-300}{1 - 1.01} = \frac{-300}{-0.01} = 30\,000.

Then

un=1.01n(10 000−30 000)+30 000=30 000−20 000(1.01)n.u_n = 1.01^n(10\,000 - 30\,000) + 30\,000 = 30\,000 - 20\,000(1.01)^n.

Here a=1.01>1a = 1.01 > 1, so the distance from the fixed point grows. The balance falls at first, because the repayments are larger than the interest, but the model says it would eventually turn and grow if the repayments stopped.

Progress check

Back to the chapter problem. The daily lake model is

un+1=0.95un,u0=400 kg.u_{n+1} = 0.95u_n, \qquad u_0 = 400\ \text{kg}.
  1. Find the fixed point of this recurrence. What does the value mean for the lake?
  2. Write the closed form for unu_n.
  3. Use the closed form to find u10u_{10}, the amount left after ten days.
  4. Does the sequence settle to the fixed point? Explain in one sentence.

Keep your value of u10u_{10} and compare it with P(10)=400e−0.05×10P(10) = 400e^{-0.05 \times 10} from Section 8.2.

You should now be able to

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.