Solution of the reccurrence relation

  • Thread starter Thread starter romo84
  • Start date Start date
  • Tags Tags
    Relation
AI Thread Summary
The discussion focuses on solving the recurrence relation an=3an-1 - 3an-2 + an-3 with initial conditions a0=2, a1=2, and a2=8. Participants emphasize the need to find a closed form solution, suggesting the use of Z-transforms and characteristic equations. There is a correction regarding the initial condition a2, which should be 4 instead of 8. The conversation highlights the process of deriving the characteristic equation and its roots as essential steps. Ultimately, the goal is to arrive at a non-recursive formula for the sequence.
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:
romo84 said:
It is actually to be solved using "Linear homogeneous recurrence relations" using the characteristic equation. and a2 = 4, not 8.
What did you get for the characteristic equation and its roots?
 

Similar threads

Replies
4
Views
5K
Replies
6
Views
4K
Replies
6
Views
2K
Replies
7
Views
1K
Replies
2
Views
2K
Replies
4
Views
2K
Replies
7
Views
3K
Back
Top