Xs4–Xs6 - Solving first order recurrences
Verify a solution, solve first order homogeneous recurrences and add a trial solution for constant, polynomial or exponential forcing. Keep the starting index and the initial condition visible.
Two checks, not one
Can a formula satisfy a recurrence perfectly and still be the wrong solution to the question?
Yes: it may describe a different starting value. A particular solution must pass both the recurrence check and every supplied condition.
You already know
The preceding lesson distinguished a general family from a particular sequence. To replace by in a formula, replace every occurrence, including exponents and polynomial terms.
Verification uses the given formula directly. Checking the first few generated terms is useful for spotting mistakes, but is not a substitute for an identity valid for every permitted .
Worked example 1: verify the rule and the start
Question. Verify that solves , , for .
Plan. Calculate the next term from the formula, compare it with the recurrence's right side, then check .
Why this step? The identity checks the rule at every step; the final line selects the correct member of the family.
Answer. The formula satisfies the recurrence and the initial condition, so it is the required solution.
Check. It gives , and the original rule gives .
Change only the initial condition to . The algebraic identity remains true, but its conclusion must change.
Worked example 2: a correct identity, a wrong solution
Question. Does solve , ?
Plan. Separate satisfaction of the recurrence from satisfaction of the new initial condition.
Why this step? The recurrence admits many sequences; satisfying it alone does not identify the sequence starting from .
Answer. No. It solves the recurrence but not this initial-value problem.
Check. The required first step would be , whereas the proposed formula gives .
The hook has its answer: an identity can be right while the selected sequence is wrong. Always state which requirement has failed.
Watch out
Wrong: “The recurrence identity works, so the verification is complete.” Right: check every condition too. A later condition such as must also be tested: the proposed gives .
This proposed formula has new coefficients. Decide whether it satisfies the whole initial-value problem.
A geometric family
With no added term, each step simply multiplies by the same coefficient. The general solution is the geometric family you already know.
First order homogeneous recurrence
For , the solution with starting value is
Equivalently, when starting at , . If , handle the starting term separately: all subsequent terms are zero.
Not in the formula booklet: learn it.
The exponent counts the number of steps after the starting term. A negative multiplier belongs inside brackets when raised to a power.
Worked example 3: starting at zero
Question. Solve , .
Plan. Write the geometric general solution, then determine its constant.
Why this step? The initial condition determines the coefficient, while the recurrence determines the ratio.
Answer. , for .
Check. , and .
Change only the multiplier to . The initial value stays .
Worked example 4: a negative ratio
Question. Solve , .
Plan. Preserve the sign of the multiplier in the powered base.
Why this step? Writing would make every term negative, rather than alternating the sign.
Answer. , for .
Check. The first three terms are , each obtained by multiplying its predecessor by .
Starting at shifts the exponent by one. Apply that change in the next question.
Watch out
Wrong: when . Right: use , because no multiplication step has occurred at the starting index.
State the exponent and index range explicitly.
Add one solution to the homogeneous family
For a non-homogeneous recurrence, find one trial solution for the added term, then add the homogeneous family. The difference between any two solutions satisfies the homogeneous recurrence because their added terms cancel.
Constant forcing
For , first try a constant trial solution . If ,
If , a constant cannot supply non-zero ; try , giving .
Not in the formula booklet: learn it.
Here a “trial solution” is one particular solution to the equation before initial conditions are applied. Adding the homogeneous family gives the general solution; applying the conditions selects the required particular sequence.
Worked example 5: a constant trial
Question. Solve , .
Plan. Combine the homogeneous family with a constant trial, then apply the condition to the complete expression.
Why this step? The initial condition applies to the sum, not just to its homogeneous component.
Answer. .
Check. The formula starts at and gives . Also the constant contribution has residual .
Change only the coefficient of from to . A constant is now already a homogeneous solution, so the first trial must change.
Worked example 6: when the constant trial overlaps
Question. Solve , .
Plan. Use the homogeneous constant and try for the added amount.
Why this step? A constant trial would give , so it could never produce the required .
Answer. .
Check. Consecutive terms differ by exactly , and .
This overlap is often called resonance. The practical response is to multiply the usual trial by until it is independent of the homogeneous family.
Watch out
Wrong: dividing by when . Right: test the trial in the recurrence; a constant gives zero residual, so use a linear trial for non-zero constant forcing.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account