Finding the General Term of First and Second Order Linear Recurrences
[I learned this here] https://zhuanlan.zhihu.com/p/104596563 Recently, things have been quite competitive. Although I've done this set of problems before, I didn't study them carefully. Then, to avoid awkwardly explaining the problems, I dragged GJY into researching this until two or three in the morning. Actually, if I had learned about characteristic roots, this problem would be easy to see, but I hadn't. After asking many experts, I finally found the direction of characteristic roots. Because it was really late, I had to shamefully log off. The next morning, after spending a dozen minutes reading, it suddenly became clear, and I was amazed at how simple it was (not really). The calculation process is very simple, but the construction is still difficult. Fortunately, this is a general solution, so I can just use it a few times and memorize it. Characteristic roots seem to be from linear algebra (really seems like it).
I learned this here Recently, things have been quite competitive. Although I've done this set of problems before, I didn't study them carefully. Then, to avoid awkwardly explaining the problems, I dragged GJY into researching this until two or three in the morning. Actually, if I had learned about characteristic roots, this problem would be easy to see, but I hadn't. After asking many experts, I finally found the direction of characteristic roots. Because it was really late, I had to shamefully log off. The next morning, after spending a dozen minutes reading, it suddenly became clear, and I was amazed at how simple it was (not really). The calculation process is very simple, but the construction is still difficult. Fortunately, this is a general solution, so I can just use it a few times and memorize it. Characteristic roots seem to be from linear algebra (really seems like it).
A little supplement written at the beginning: In this article, because geometric sequences are easier to find the th term, we hope to convert a recurrence into the form of a geometric sequence. Here, I will first give the recurrence and the geometric sequence, and then try to establish a connection between them (equivalence relations between variables).
1. First Order
Form:
When , this is an arithmetic sequence. When , consider constructing a geometric sequence (this is a general solution construction):
Here, each term is of the form , so this is a geometric sequence with common ratio .
We consider transforming into the form of , so that we can establish connections between the variables.
At this point, we can clearly see the form of in . Furthermore, we establish connections between the variables.
At this point, we have obtained all the constants for the geometric sequence , and we can find any term , and naturally any term .
So .
2. Second Order
This is a second-order linear recurrence. Why second-order? Probably because it uses two 's.
Similar to the first-order recurrence, we hope to construct a geometric sequence (again, this is a general solution construction):
Here, each term is of the form , very similar to the approach in .
Similarly, we try to transform it into the form of .
Then comparing and gives:
To solve for , we consider constructing a quadratic equation with roots . Using Vieta's formulas:
This equation is called the characteristic equation of the sequence, and are called the characteristic roots.
Since are the two roots of this equation, they are "symmetric", considering the symmetry of the function graph.
We return to equation . Because they are symmetric, we can obtain two geometric sequences:
The right-hand sides can be simplified:
To find , subtract them to eliminate on the left:
2.1 Example:
Now we know our goal is to find . Directly solving the characteristic equation gives:
Substitute into 🦁 (no, it's equation ):[^1]
[^1]: Recently changed markdown compiler, LaTeX seems broken.
Now it's fixed.
Comments
0No comments yet.