Linear recurrences aₙ₊₁=paₙ+q
构造等比数列求 aₙ₊₁=paₙ+q 的通项
How do you solve a linear recurrence aₙ₊₁ = paₙ + q?
Shift the sequence by a constant to turn the recurrence into a geometric one; then solve for the original terms.
Sign in to read the whole lesson, with 7 exercises
Sign in / Sign upMastery goals
- Can transform aₙ₊₁ = paₙ + q (p ≠ 1) into a geometric sequence aₙ₊₁ + λ = p(aₙ + λ) and find aₙ
- Can handle the case p = 1 as an arithmetic sequence
- Can extend the method to aₙ₊₁ = paₙ + f(n) for simple f
Example 12
At the start of this year a ranch has head of cattle. The herd is expected to grow naturally by a year, and head are sold at the end of each year. Let the planned numbers of cattle at the start of each year, starting this year, be , , , ….
(1) Write a recurrence relation between and .
(2) Write the recurrence in (1) in the form , where and are constants.
(3) Find (to the nearest ).
Analysis: (1) Use "the herd grows naturally by a year" and " head are sold at the end of each year" to relate and . (2) This uses the method of undetermined coefficients: turn the form back into a recurrence like the one in (1) and compare coefficients to get a system of equations. (3) The answer follows from the result of (2).
Solution: (1) From the conditions, and
(2) Rewrite as
Comparing the coefficients of ① and ②,
Solving this system,
So the recurrence in (1) can be written as
(3) By (2), is a geometric sequence with first term and common ratio , so
So
Using the recurrence and a spreadsheet, the result of (3) can also be found quickly. Start from , work out the years one after another with , and keep a running total (to ):
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | |
|---|---|---|---|---|---|---|---|---|---|---|
| 1200.00 | 1196.00 | 1191.68 | 1187.01 | 1181.98 | 1176.53 | 1170.66 | 1164.31 | 1157.45 | 1150.05 | |
| 1200.00 | 2396.00 | 3587.68 | 4774.69 | 5956.67 | 7133.20 | 8303.86 | 9468.17 | 10625.62 | 11775.67 |
Related points
All points in this topicCite this page: Linear recurrences aₙ₊₁=paₙ+q · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP000782