Steply

Solve a_n = 4a_(n-1) + 3, a_0 = 0

Step by step, with the reason for every step · Solving recurrences · Discrete Math

Step by step

The question

Question: solve aₙ = 4aₙ₋₁ + 3, starting with a₀ = 0.

an = 4an − 1 + 3, a0 = 0

Solve means: find a formula for aₙ, so we can get any term without the ones before.

solve = a formula for an

1 First terms

First, a few terms.

Each one comes from the one before.

We start with a₀ = 0.

start
0

Then 4 times 0, plus 3.

4 × 0 + 3

That is 3.

And so on.

3
4 × 3 + 3
15
4 × 15 + 3
63
4 × 63 + 3
255

2 The number that stays the same

Is there a number that the rule keeps the same?

Call it c.

If a term were c, the next would be 4c + 3, and it must be c again.

c = 4c + 3

Careful!

c is on both sides.

We solve for it like any equation.

Careful: not c = 4 + 3 = 7 ✗

Take away 4c on both sides.

c − 4c = 3

c minus 4c is −3c.

−3c = 3

Divide by −3: c = −1.

c = −1

Check it: 4 times −1, plus 3 is −1 again.

check: 4 × (−1) + 3 = −1 ✓

3 The distance from it

Now the distance from c: each term plus 1.

Look at the new column: 1, 4, 16, 64, 256.

Each one is 4 times the one before.

The distance from c grows by times 4.

× 4 each time

4 The formula

The distance starts at 1 and is multiplied by 4 each step: 1 times 4 to the n.

an + 1 = 4n

Take away 1 on both sides.

an = 4n − 1

5 Check

Check n = 3 with the formula: it gives 63.

n = 3: formula gives 63

The table says 63 too.

Right!

table: a3 = 63

Let's look back.

First: first terms.

Then: the number that stays the same.

Then: the distance from it.

Then: the formula.

Last: check.

Answer
an = 4n − 1

Your turn

Try this one yourself, then check:

Solve an2an − 1 + 4, a0 = −3
Show the answer
an = 2n − 4

More from Solving recurrences

The whole lesson: Solving recurrences →