Solve the Recurrence relation an-3an-1-4an-2=4*3n where a0=1,a1=2
The associated linear homogeneous equation is
The characteristic equation is
"(r+1)(r-4)=0"
"r_1=-1, r_2=4"
The solution is
Because "F(n)=4\\cdot3^n," a reasonable trial solution is
where "C" is a constant.
Substitute
"9C-9C-4C=36"
"C=-9"
Hence the particulr solution is
All solutions are of the form
where "\\alpha_1" and "\\alpha_2" are a constants.
"a_0=1, a_1=2"
"a_0=\\alpha_1(-1)^0+\\alpha_2(4)^0-9\\cdot3^0=1""a_1=\\alpha_1(-1)^1+\\alpha_2(4)^1-9\\cdot3^1=2""\\alpha_1+\\alpha_2=10"
"-\\alpha_1+4\\alpha_2=29"
"\\alpha_2=7.8"
"a_n=2.2(-1)^n+7.8(4)^n-9\\cdot3^n"
Comments
Leave a comment