Worked examples
The question
Question: solve aโ = 5aโโโ โ 6aโโโ, with aโ = 2 and aโ = 5.
an = 5an โ 1 โ 6an โ 2, a0 = 2, a1 = 5
1 Everything on one side
Move everything to one side.
Each term changes its sign when it moves.
an โ 5an โ 1 + 6an โ 2 = 0
2 The characteristic equation
Powers are good at this: try aโ = x to the n, for some number x.
try an = xn
Put x to the n in for aโ, x to the n minus 1 for aโโโ, and so on.
xn โ 5xn โ 1 + 6xn โ 2 = 0
Divide everything by x to the n minus 2: the powers drop to 2, 1 and 0.
This is the characteristic equation.
x2 โ 5x + 6 = 0
รท xn โ 2 on both sides
Careful!
Watch the signs.
The terms moved to the left, so their signs changed.
Careful: not x2 โ 5x โ 6 = 0 โ
3 Solve it
Factor: we need two numbers that multiply to 6 and add to โ5: โ2 and โ3.
(x โ 2)(x โ 3) = 0
(โ2) ร (โ3) = 6, (โ2) + (โ3) = โ5
So x = 2 or x = 3.
x = 2 or 3
4 The general form
Each root gives a power that works.
Any mix of them works too: A times 2 to the n, plus B times 3 to the n.
an = A ร 2n + B ร 3n
5 Use the start values
n = 0: every power to the 0 is 1.
So A + B = 2.
A + B = 2 โ
n = 1: 2A + 3B = 5.
2A + 3B = 5 โก
From equation 1: A = 2 โ B.
A = 2 โ B
Put it into equation 2.
2(2 โ B) + 3B = 5
Open the bracket.
4 โ 2B + 3B = 5
Like terms: B.
4 + B = 5
Take away 4 on both sides.
B = 1
And A = 2 minus B, that is 1.
A = 2 โ 1 = 1
So aโ = 2โฟ + 3โฟ.
an = 2n + 3n
6 Check
Check aโ.
The rule: 5 times 5, minus 6 times 2: 13.
rule: a2 = 5 ร 5 โ 6 ร 2 = 13
The formula with n = 2 gives 13 too.
Right!
formula: a2 = 13
Let's look back.
First: everything on one side.
Then: the characteristic equation.
Then: solve it.
Then: the general form.
Then: use the start values.
Last: check.
โถ Watch it solved
The question
Question: solve aโ = 2aโโโ + 3aโโโ, with aโ = 2 and aโ = 2.
an = 2an โ 1 + 3an โ 2, a0 = 2, a1 = 2
1 Everything on one side
Move everything to one side.
Each term changes its sign when it moves.
an โ 2an โ 1 โ 3an โ 2 = 0
2 The characteristic equation
Powers are good at this: try aโ = x to the n, for some number x.
try an = xn
Put x to the n in for aโ, x to the n minus 1 for aโโโ, and so on.
xn โ 2xn โ 1 โ 3xn โ 2 = 0
Divide everything by x to the n minus 2: the powers drop to 2, 1 and 0.
This is the characteristic equation.
x2 โ 2x โ 3 = 0
รท xn โ 2 on both sides
Careful!
Watch the signs.
The terms moved to the left, so their signs changed.
Careful: not x2 โ 2x + 3 = 0 โ
3 Solve it
Factor: we need two numbers that multiply to โ3 and add to โ2: 1 and โ3.
(x + 1)(x โ 3) = 0
1 ร (โ3) = โ3, 1 + (โ3) = โ2
So x = โ1 or x = 3.
x = โ1 or 3
4 The general form
Each root gives a power that works.
Any mix of them works too: A times โ1 to the n, plus B times 3 to the n.
an = A ร (โ1)n + B ร 3n
5 Use the start values
n = 0: every power to the 0 is 1.
So A + B = 2.
A + B = 2 โ
n = 1: โ1A + 3B = 2.
โA + 3B = 2 โก
From equation 1: A = 2 โ B.
A = 2 โ B
Put it into equation 2.
-1(2 โ B) + 3B = 2
Open the bracket.
โ2 + 1B + 3B = 2
Like terms: 4B.
โ2 + 4B = 2
Take away โ2 on both sides.
4B = 4
Divide by 4: B = 1.
B = 1
And A = 2 minus B, that is 1.
A = 2 โ 1 = 1
So aโ = (โ1)โฟ + 3โฟ.
an = (โ1)n + 3n
6 Check
Check aโ.
The rule: 2 times 2, plus 3 times 2: 10.
rule: a2 = 2 ร 2 + 3 ร 2 = 10
The formula with n = 2 gives 10 too.
Right!
formula: a2 = 10
Let's look back.
First: everything on one side.
Then: the characteristic equation.
Then: solve it.
Then: the general form.
Then: use the start values.
Last: check.
โถ Watch it solved
The question
Question: solve aโ = 4aโโโ โ 4aโโโ, with aโ = 1 and aโ = 4.
an = 4an โ 1 โ 4an โ 2, a0 = 1, a1 = 4
1 Everything on one side
Move everything to one side.
Each term changes its sign when it moves.
an โ 4an โ 1 + 4an โ 2 = 0
2 The characteristic equation
Powers are good at this: try aโ = x to the n, for some number x.
try an = xn
Put x to the n in for aโ, x to the n minus 1 for aโโโ, and so on.
xn โ 4xn โ 1 + 4xn โ 2 = 0
Divide everything by x to the n minus 2: the powers drop to 2, 1 and 0.
This is the characteristic equation.
x2 โ 4x + 4 = 0
รท xn โ 2 on both sides
Careful!
Watch the signs.
The terms moved to the left, so their signs changed.
Careful: not x2 โ 4x โ 4 = 0 โ
3 Solve it
Factor: we need two numbers that multiply to 4 and add to โ4: โ2 and โ2.
(x โ 2)ยฒ = 0
(โ2) ร (โ2) = 4, (โ2) + (โ2) = โ4
Both brackets are the same: one root, 2, twice.
x = 2 (twice)
4 The general form
With one root twice, the second part gets an extra n: A times 2 to the n, plus B times n times 2 to the n.
an = A ร 2n + B ร n ร 2n
5 Use the start values
n = 0: the n in front makes the B part 0.
So A = 1.
A = 1 โ
n = 1: 2A + 2B = 4.
2A + 2B = 4 โก
Put A = 1 in.
2 + 2B = 4
Take away 2.
2B = 2
Divide by 2: B = 1.
B = 1
So aโ = 2โฟ + n ร 2โฟ.
an = 2n + n ร 2n
6 Check
Check aโ.
The rule: 4 times 4, minus 4 times 1: 12.
rule: a2 = 4 ร 4 โ 4 ร 1 = 12
The formula with n = 2 gives 12 too.
Right!
formula: a2 = 12
Let's look back.
First: everything on one side.
Then: the characteristic equation.
Then: solve it.
Then: the general form.
Then: use the start values.
Last: check.
โถ Watch it solved