8.01f - Solving first-order recurrence relations
Solve first-order linear recurrence systems with constant coefficients, turning an update rule into a closed form. You will use an auxiliary equation and a complementary function, add a particular solution for polynomial or exponential forcing, and adapt a trial when it overlaps the complementary function.
The auxiliary equation and complementary function
A machine starts with units and updates its total by “double it, then add ” on update . What is the total after updates, and why does a factor of appear in its closed form? The extra input grows by the same factor as the machine's existing total. That coincidence is the key to the final part.
Begin with no extra input. If , each update triples every difference between two possible solutions. Exponential terms are therefore the natural building blocks.
You already know
A recurrence system includes an initial condition and an index range. A general solution contains an arbitrary constant; an initial condition selects one particular sequence. A power tends to when , including negative .
“Linear” means that the sequence terms occur only to the first power and are not multiplied together. Thus is linear, but is not. “Constant coefficients” refers to the coefficients of the sequence terms, not the added function of .
Homogeneous relation and complementary function
For , the associated homogeneous relation is . Its general solution is the complementary function. Substitution of gives the auxiliary equation . For , its solution is , with arbitrary constant .
The trial works because advancing multiplies by . The auxiliary equation and complementary-function result are not in the formula booklet: learn them.
Worked example 1: a positive auxiliary root
Question. Solve for , given .
Plan. Find the auxiliary root, write the complementary function and apply the initial condition.
Why this step? One initial condition fixes the single arbitrary constant in a first-order system.
Answer. , for .
Check. , and .
The next example changes only the sign of the multiplier. The auxiliary root carries that sign into every power.
Worked example 2: a negative auxiliary root
Question. Solve for , given .
Plan. Repeat the auxiliary-equation method, retaining the negative base.
Why this step? Writing makes the sign alternate; would stay negative.
Answer. , for .
Check. The first terms are , each obtained by multiplying by .
If , handle the degenerate system directly: , so for , with supplied separately. There is no need to assign a value to .
Watch out
Wrong: use for a multiplier of . Right: the auxiliary root is , giving . A sign lost in the complementary function changes every other term.
The next question varies the multiplier and the initial condition while keeping the same structure.
Polynomial particular solutions
An added function of requires one solution that matches that input, as well as the homogeneous part.
Suppose satisfies . If , substitution gives
Conversely, subtracting from any solution leaves a homogeneous solution. This explains why adding the two pieces gives the general solution.
Complementary function plus particular solution
For , a general solution of is
where is any one particular solution. An initial condition fixes . The phrase “particular solution” here means one solution of the non-homogeneous relation; the final solution satisfying the initial condition is the particular solution of the full recurrence system.
Not in the formula booklet: learn it.
When and is a polynomial of degree , try a polynomial of degree , including every lower power and the constant term. Substitution produces polynomial identities, so compare coefficients. For a constant input use a constant trial; for a linear input use ; for a quadratic input use . This trial rule is not in the formula booklet: learn it.
Worked example 3: a linear input
Question. Solve , , given .
Plan. Add a linear particular solution to the complementary function .
Try . Then
Thus
Why this step? Even though the forcing is linear, its constant term and the index shift require both coefficients in the trial.
Answer. .
Check. ; the recurrence gives . The trial itself satisfies .
The next example changes only the degree of the polynomial input. A quadratic trial needs its linear and constant terms even though the input has no linear term.
Worked example 4: a quadratic input
Question. Solve , , given .
Plan. Use , compare coefficients, then impose the initial condition.
Why this step? Advancing a square generates a linear term; omitting would make it impossible to cancel that term.
Answer. .
Check. , ; the updates give , then .
A higher-degree polynomial follows the same coefficient comparison. If several forcing terms are added, particular solutions can be added too, because the recurrence is linear.
Watch out
Wrong: for input , try only . Right: include as well. Missing powers in the input do not imply missing powers in its particular solution.
A constant input is the shortest polynomial case: put into the relation and solve .
Exponential particular solutions
For an input , use the same exponential base in the trial, provided it differs from the auxiliary root.
Substituting gives
so the required coefficient is determined by .
An exponential trial
For , with and , a particular solution is
Not in the formula booklet: learn the substitution.
If , the coefficient equation becomes , signalling that this trial has failed. The final part repairs it.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account