Question #144858
Solve the following recurrence relation
a) an = 3an-1. n≥1
b) an = 5an-1 + 2 n≥1
c) an = 7an-1 + n n≥1
1
Expert's answer
2020-11-17T16:56:30-0500

a) an=3an1,n1a_n = 3a_{n-1}, n≥1


The characteristic equation is λ=3\lambda =3, and therefore the solution is an=C3na_n=C\cdot 3^n where C=a0.C=a_0.


b) an=5an1+2,n1a_n = 5a_{n-1} + 2, n≥1


The characteristic equation of an=5an1a_n = 5a_{n-1} is λ=5\lambda =5, and therefore the solution is an=C5n+bna_n=C\cdot 5^n+b_n where bn=bb_n = b is a solution of an=5an1+2a_n = 5a_{n-1} + 2. Therefore, b=5b+2b=5b+2 which is equivalent to b=12b=-\frac{1}{2} . So, an=C5n12.a_n=C\cdot 5^n-\frac{1}{2}. If n=0n=0 then a0=C12a_0=C-\frac{1}{2}, and thus C=a0+12.C=a_0+\frac{1}{2}. Consequently, the solution is an=(a0+12)5n12a_n=(a_0+\frac{1}{2})\cdot 5^n-\frac{1}{2}.


c) an=7an1+n,n1a_n = 7a_{n-1} + n, n≥1


The characteristic equation of an=7an1a_n = 7a_{n-1} is λ=7\lambda =7, and therefore the solution is an=C7n+bna_n=C\cdot 7^n+b_n where bn=an+bb_n = an+b is a solution of an=7an1+na_n = 7a_{n-1} + n. Therefore, an+b=7(a(n1)+b)+nan+b=7(a(n-1)+b)+n which is equivalent to (6a+1)n+6b7a=0(6a+1)n+6b-7a=0. So, 6a+1=06a+1=0 and 6b7a=06b-7a=0 which is equivalent to a=16a=-\frac{1}{6} and b=736.b=-\frac{7}{36}. Therefore, an=C7n16n736.a_n=C\cdot 7^n-\frac{1}{6}n-\frac{7}{36}. If n=0n=0 then a0=C736a_0=C-\frac{7}{36}, and thus C=a0+736.C=a_0+\frac{7}{36}. Consequently, the solution is an=(a0+736)7n16n736.a_n=(a_0+\frac{7}{36})\cdot 7^n-\frac{1}{6}n-\frac{7}{36}.



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS