Solution of the reccurrence relation

  • Thread starter Thread starter romo84
  • Start date Start date
  • Tags Tags
    Relation
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 2K views
romo84
Messages
8
Reaction score
0

Homework Statement


Find the solution of the recurrence relation an=3an-1 - 3an-2 + an-3 if a0=2, a1=2, and a2= 8.


Homework Equations





The Attempt at a Solution


I know that I need to express an in terms of an-1 but don't know how to conclude.
 
Physics news on Phys.org
romo84 said:
I know that I need to express an in terms of an-1 but don't know how to conclude.


Um an is already in terms of an-1 so what do you mean? What are you covering in class now that might make the solution clearer? Usually solving for a recurrence relation means finding the general (non-recursive) form. Is that what you're supposed to do here?
 
Yes, I am to find the non-recurrsive form (closed form).

Thank You!
 
These types of equations are solvable using the Z-transform which is the dicrete math version of the Laplace transform. Are you familiar with this approach?

The basic idea is to take the Z-transform of your difference equation, then solve, then take the inverse Z-transform.
 
Last edited:
It is actually to be solved using "Linear homogeneous recurrence relations" using the characteristic equation. and a2 = 4, not 8.
 
Last edited:
romo84 said:
It is actually to be solved using "Linear homogeneous recurrence relations" using the characteristic equation. and a2 = 4, not 8.

Oh, too bad they make you do it the hard way. A couple of turns of the Z-crank yield an=n2-n+2.

Anyway, having the answer will help you check that you have your method right.
 
Last edited: