D2 6.2 - Solving second-order recurrence relations
A second-order relation remembers two previous terms. You will use its auxiliary equation, handle distinct and repeated roots, add particular solutions for forcing terms and apply two conditions, including conditions that control the signs of later terms.
Two roots give two independent components
How can two irrational powers combine to give an exact integer at every step?
The sequence , in which each new term is the sum of the previous two, has just such a formula. Its two irrational components cancel in precisely the way needed to obey the integer update rule.
You already know
A linear recurrence is solved by adding a complementary function and a particular solution, then applying the stated conditions. First-order auxiliary equations arise by trying . Core Pure supplies quadratic equations, complex roots and de Moivre's theorem; no other Further Mathematics option is needed here.
For , substitute and divide by . This gives the auxiliary equation . We consider genuine second-order constant-coefficient relations, with ; a missing trailing term reduces the order after shifting the index.
Distinct auxiliary roots
If has distinct roots , the complementary function is
Here are arbitrary constants before two independent conditions are applied. Keep irrational roots exact. Not in the formula booklet: learn it.
If conditions are given at , substitute those indices. Do not automatically write .
Worked example 1: an integer sequence from irrational roots
Question. Solve .
Plan. Solve the auxiliary quadratic, then apply the two conditions at their actual indices.
Why this step? Subtracting the two condition equations uses the same quadratic identity that generated the roots.
Answer. .
Check. The recurrence and initial values generate integers, even though this exact expression uses irrational numbers. At , both methods give .
Worked example 2 changes only , from to .
Worked example 2: a changed second starting value
Question. Solve the same recurrence with .
Plan. Keep the roots and change the two equations for the constants.
Why this step? Only the constants depend on the starting values; the update rule fixes the roots.
Answer. .
Check. The next term is , as required by .
Negative real roots are also valid. Their powers alternate in sign; whether that component dominates later matters in the final part.
Watch out
Wrong: use , round the roots before taking powers, or treat as . Right: move all sequence terms to one side, preserve exact roots and substitute the stated indices.
Change only the second starting value again.
A repeated root needs a second kind of term
If the auxiliary equation has the same root twice, writing gives only one adjustable coefficient. Two starting conditions need two independent components.
Repeated auxiliary root
For a repeated non-zero root , use
Both and satisfy the homogeneous recurrence. Not in the formula booklet: learn it.
For a recurrence with auxiliary equation , dividing by leaves a sequence with zero second difference. Its first difference is constant, so it has the form . This explains the extra .
Worked example 3: a repeated root
Question. Solve .
Plan. Identify the repeated root and fit both constants in .
Why this step? The repeated-root term supplies the independent component needed to fit the second condition.
Answer. .
Check. The recurrence gives , agreeing with .
Worked example 4 changes only , from to .
Worked example 4: the second component can vanish
Question. Solve the same recurrence with .
Plan. Retain the repeated-root form and refit its constants.
Why this step? A coefficient may be zero after fitting conditions; that does not justify omitting its possible component beforehand.
Answer. .
Check. The next value is , from both the recurrence and the formula.
Apply initial conditions after choosing the correct general form.
Watch out
Wrong: write and try to solve two conditions. Right: use , whose two components are independent.
Change only the second condition again.
Write complex-root solutions in real form
Real recurrence coefficients can have conjugate complex auxiliary roots. Core Pure complex-number methods let us combine their powers into a real formula.
Conjugate-root real form
For roots , with and distinct conjugate roots, a real complementary function is
De Moivre's theorem explains how these two real components arise from the conjugate powers. This recurrence solution form is not separately supplied. Not in the formula booklet: learn it.
The powers can oscillate while all sequence values remain real. Do not throw away complex roots merely because the starting values are real.
Worked example 5: a real oscillating solution
Question. Solve .
Plan. Express the roots in modulus-argument form, then apply the two real conditions.
Why this step? The conjugate powers combine into real sine and cosine components, so both constants can be fitted using real equations.
Answer. .
Check. The formula gives , matching .
Worked example 6 changes only , from to .
Worked example 6: a changed phase
Question. Solve the same recurrence with .
Plan. Retain the real complementary function and refit .
Why this step? Changing the starting value changes the mixture of the two oscillating components, not the roots.
Answer. .
Check. The formula gives , matching .
Use radians and retain exact angles when evaluating a symbolic formula.
Watch out
Wrong: replace by their modulus alone and write . Right: retain the arguments; they carry the oscillation.
Change only the second condition once more.
Add a polynomial particular solution
For a linear non-homogeneous recurrence, add a particular solution to the complementary function before applying the conditions. Constant, linear and quadratic forcing suggest polynomial trials with all lower powers included.
Polynomial trials and overlap
For constant-coefficient second-order relations, start with a polynomial trial of the same degree as the forcing. If is an auxiliary root of multiplicity , multiply the whole trial by .
Thus constant forcing uses , or when the multiplicity of root is respectively . Substitute the trial to determine its coefficients. Not in the formula booklet: learn it.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account