Is there a way to solve a general recurrence relation of the form
a(n)=a(n-1) * a(n-2)....
I mean I can use the matrix method to solve a relation of the form
F(n)=a1*F(n-1) + a2*F(n-2).......+ ak*F(n-k)
but what to do when there is a '*' sign instead of '+'
Use logarithms:
Take log of both sides:
Use the fact that
log(a * b) = log(a) + log(b)to split up the factors:Now, if you just say that
F(n) = log(a(n))then this equation looks just like your second equation. Use the matrix method to solve forlog(a(n)):Which leaves:
(Assuming you take natural logarithms)