Discrete Mathematics
WEN-CHING LIEN Department of Mathematics National Cheng Kung University
2008
10.2: The 2nd-order linear homogeneous recurrence relation with constant coefficiens
Definition
Let k ∈Z+and C0,C1, ...,Ck be real numbers. If{an}is a discrete function, then
C0an+C1an−1+C2an−2+ · · · +Ckan−k =f(n), n ≥k, is a linear recurrence relation with constant coefficiens of order k. When f(n) =0 for all n≥0, the relation is called homogeneous; otherwise, it is called nonhomogeneous.
Consider the homogeneous relation of order 2:
C0an+C1an−1+C2an−2=0, n≥2.
Definition
The quadratic equation
C0r2+C1r +C2=0 is called the characteristic equation.
Let r1,r2denote the (characteristic) roots of the equation.
Consider the homogeneous relation of order 2:
C0an+C1an−1+C2an−2=0, n≥2.
Definition
The quadratic equation
C0r2+C1r +C2=0 is called the characteristic equation.
Let r1,r2denote the (characteristic) roots of the equation.
Consider the homogeneous relation of order 2:
C0an+C1an−1+C2an−2=0, n≥2.
Definition
The quadratic equation
C0r2+C1r +C2=0 is called the characteristic equation.
Let r1,r2denote the (characteristic) roots of the equation.
Case A: r1and r2are distinct real roots.
an=c1r1n+c2r2n.
Example (the Fibonacci relation) Solve the recurrence relation
Fn+2=Fn+1+Fn, n≥0, and F0=0, F1=1.
Case A: r1and r2are distinct real roots.
an=c1r1n+c2r2n.
Example (the Fibonacci relation) Solve the recurrence relation
Fn+2=Fn+1+Fn, n≥0, and F0=0, F1=1.
Case A: r1and r2are distinct real roots.
an=c1r1n+c2r2n.
Example (the Fibonacci relation) Solve the recurrence relation
Fn+2=Fn+1+Fn, n≥0, and F0=0, F1=1.
Case B: r1 and r2are complex roots.
Example
Solve the recurrence relation an=2(an−1−an−2), where n ≥2 and a0=1, a1=2.
Case B: r1 and r2are complex roots.
Example
Solve the recurrence relation an=2(an−1−an−2), where n ≥2 and a0=1, a1=2.
Example
Let b ∈R+, and Dn denote the n×n determinant given by
b b 0 0 0 ... 0 0 0 0 0 b b b 0 0 ... 0 0 0 0 0 0 0 b b b ... 0 0 0 0 0 . . . ... . . . 0 0 0 0 0 ... b b b 0 0 0 0 0 0 0 ... 0 b b b 0 0 0 0 0 0 ... 0 0 b b b 0 0 0 0 0 ... 0 0 0 b b
Find the value of Dn as a function of n.
Case C: Repeated real roots.
Example
Solve the recurrence relation an+2=4an+1−4an, where n≥0 and a0=1, a1=3.
Theorem
Consider the homogeneous relation of order 2:
C0an+C1an−1+C2an−2=0, n≥2.
Let r denote the characteristic root of multiplicity 2, then the general solution has the form
(A0+A1n)rn where A0and A1are arbitrary constants.