maths.free › Combinatorics & Graph Theory › Recurrence Equations › Linear Recurrence Equations
Linear Recurrence Equations
What do all of the examples of the previous section have in common?
Linear Recurrence Equations
What do all of the examples of the previous section have in common? The end result that we were able to achieve is a linear recurrence, which tells us how we can compute the \(n^\text{th}\) term of a sequence given some number of previous values (and perhaps also depending nonrecursively on \(n\) as well, as in the last example). More precisely a recurrence equation is said to be linear when it has the following form \[\begin{aligned}\end{aligned}\] where \(k\ge1\) is an integer, \(c_0,c_1,\dots,c_k\) are constants with \(c_0,c_k\neq0\), and \(g:\ints\rightarrow\reals\) is a function. (What we have just defined may more properly be called a linear recurrence equation with constant coefficients, since we require the \(c_i\) to be constants and prohibit them from depending on \(n\). We will avoid this additional descriptor, instead choosing to speak of linear recurrence equations with nonconstant coefficients in case we allow the \(c_i\) to be functions of \(n\).) A linear equation is homogeneous if the function \(g(n)\) on the right hand side is the zero function. For example, the Fibonacci sequence satisfies the homogeneous linear recurrence equation \[\begin{aligned}\end{aligned}\] Note that in this example, \(k=2\), \(c_0=1\) and \(c_k=-1\).
As a second example, the sequence in satisfies the homogeneous linear recurrence equation \[\begin{aligned}\end{aligned}\] Again, \(k=2\) with \(c_0=c_k=1\).
On the other hand, the sequence \(r_n\) defined in satisfies the nonhomogeneous linear recurrence equation \[\begin{aligned}\end{aligned}\] In this case, \(k=1\), \(c_0=1\) and \(c_k=-1\) .
Our immediate goal is to develop techniques for solving linear recurrence equations of both homogeneous and nonhomogeneous types. We will be able to fully resolve the question of solving homogeneous linear recurrence equations and discuss a sort of guess-and-test method that can be used to tackle the more tricky nonhomogeneous type.
ตอนนี้คุณ ไม่มีเครื่องคิดเลขที่จะคำนวณคำถามนี้ได้ แต่บางส่วนของคำถามนี้สามารถคำนวณได้ ลองใช้ตัวอย่างด้านล่างนี้ หรือพิมพ์คำถามของคุณเอง
ฝึก (1)
ลองใช้กระดาษพิมพ์คำตอบก่อน แสดงคำตอบเพื่อตรวจสอบ คำตอบที่ตรวจสอบแล้วสามารถเปิดใช้ได้ในตัวแก้ไขทุกขั้นตอน
-
Match each recurrence equation below with the correct classification.
สัญลักษณ์ที่ใช้ที่นี่
คลิกสัญลักษณ์ใดก็ได้ เพื่อดูคำอธิบาย รูปภาพ และความหมายของตัวอักษร
คำถามที่คนถาม
Permutation or combination?
Ask whether order matters. A lock code is a permutation (order matters); a hand of cards is a combination (it does not).
What is a graph in this sense?
Dots (vertices) joined by lines (edges), not a plot. Road maps, social networks and molecules are graphs; questions like "is there a route" and "how few colours" are graph theory.
ส่วนหนึ่งของหน้านี้ถูกปรับแต่งจาก Keller & Trotter, Applied Combinatorics (CC BY-SA 4.0). คำอธิบายที่อธิบายใหม่ ความผิดพลาดเป็นของเรา
เพิ่มเติมใน Combinatorics & Graph Theory
The counting principlesPigeonhole principle and inclusion, exclusionBinomial coefficients and Pascal's triangleRecurrences and generating functionsGraphs: vertices, edges, degreesPaths, cycles, trees, Euler and HamiltonColouring and planar graphs