Академический Документы
Профессиональный Документы
Культура Документы
8.3.2
8.3.3
8.3.4
Solving LHSORRCCs
Lets start with the second order case before we generalize to higher orders. Definition: Given ak = Aak1 + Bak2, the characteristic equation of the recurrence relation is x2 = Ax + B, and the characteristic polynomial of the relation is x2 Ax B. Theorem: Given ak = Aak1 + Bak2, if s,t,C,D are non-zero real numbers, with s t, and s,t satisfy the characteristic equation of the relation, then its General Solution is an = C(sn)+ D(tn).
8.3.5
An Example
Let ak = 5ak1 6ak2. Find the general solution. The relation has characteristic equation: x2 = 5x 6, so x2 5x + 6 = 0 hence (x 2)(x 3) = 0 implying either (x 2) = 0 or (x 3) = 0 thus x = 2,3 General Solution is an = C(2n) + D(3n).
8.3.6
8.3.7
An Example
For the last example, we found the recurrence relation ak = 5ak1 6ak2 has general solution an = C(2n) + D(3n). Find the particular solution when a0 = 9 and a1 = 20. a0 = C(20)+ D(30) = C + D = 9 a1 = C(21)+ D(31) = 2C + 3D = 20, so 2C + 2D = 18 2C + 3D = 20, so D = 2 and C = 7. Therefore, the particular solution is: an = 7(2n) + 2(3n).
8.3.8
8.3.9
8.3.10
8.3.11
8.3.12
8.3.13
Summary
8.3.14
Our general technique for solving LHRRCCs is a two-step process. Step 1: Find the roots of the characteristic polynomial and use them to develop the general solution. How do I find roots of polynomials? Step 2: Use the initial conditions to make and solve a system of linear equations that determine the arbitrary constants in the general solution to get the particular solution. How do I solve systems of linear equations?
8.3.15
Board Example #1
Given the recurrence relation an = 4an1 3an2, find a999 when a0 = 5 and a1 = 7.
8.3.16
Board Example #2
Given the recurrence relation an = 4an1 4an2, find a999 when a0 = 5 and a1 = 7.
8.3.17
Board Example #3
What is the general solution for the LHRRCC whose characteristic polynomial is: (x + 5)6(x 3)4(x + 8)2
8.3.18
Board Example #4
Given the LHRRCC an = 2an1 + 5an2 6an3, find a999 when a0 = 17, a1 = 14, and a2 = 110.
Prove: If Aan + Ban1 + Can2 = 0, and s t satisfy Ax2 + Bx + C = 0, then ak = Msk + Ntk satisfies the relation. Proof: Let Aan + Ban1 + Can2 = 0, and s t satisfy Ax2 + Bx + C = 0. Thus: As2 + Bs + C = At2 + Bt + C = 0. Now, an = Msn + Ntn, an1 = Msn1 + Ntn1, and an2 = Msn2 + Ntn2 hence Aan + Ban1 + Can2 = A(Msn + Ntn) + B(Msn1 + Ntn1) + C(Msn2 + Ntn2) = M(Asn + Bsn1 + Csn2) + N(Atn + Btn1 + Ctn2) = Msn2(As2 + Bs + C) + Ntn2(At2 + Btn1 + C) = 0.QED
8.3.19
Prove: If Aan + Ban1 + Can2 = 0, and s is the only solution of Ax2 + Bx + C = 0, then ak = (P + Qk)sk satisfies the relation. Proof: Let Aan + Ban1 + Can2 = 0, and s be the only solution of Ax2 + Bx + C = 0, so As2 + Bs + C = 0. Now, an = (P + Qn)sn, an1 = [P + Q(n1)]sn1, and an2 = [P + Q(n2)]sn2 hence Aan + Ban1 + Can2 = A(P + Qn)sn + B[P + Q(n1)]sn1 + C[P + Q(n2)]sn2 = P(Asn + Bsn1 + Csn2) + Q[Ansn + B(n1)sn1 + C(n2)sn2]
8.3.20
Thus, Aan + Ban1 + Can2 = Psn2(As2 + Bs + C) + Q(Ansn + Bnsn1 Bsn1 + Cnsn2 2Csn2) = Qnsn2(As2 + Bs + C ) + Qsn2(Bs 2C) = Qsn2(Bs 2C) = 0????? However, since s is the only root of the characteristic polynomial, from the Quadratic Formula, we have that (B2 4AC) = 0 and s = B/2A. Thus (Bs 2C) = B(B/2A) 2C = B2/2A 2C(2A/2A) = (B2 4AC)/2A = 0. QED
8.3.21