Solve Recurrence Relation w/ 3 Terms & Initial Conditions

In summary, to solve the given question, you need to find the characteristic equation and its roots. Then, use these roots to construct the 3-parameter general solution and use the given initial values to determine the parameters. The closed form will be a linear combination of the powers of the roots, and you can solve for the specific values of the parameters to obtain the final solution.
  • #1
yakin
42
0
How to solve this question. Please explain step by step.
 

Attachments

  • Capture.JPG
    Capture.JPG
    8.2 KB · Views: 79
Physics news on Phys.org
  • #2
Hello and welcome to MHB! :D

Can you identify the characteristic equation and its roots?
 
  • #3
This is all what is given. I have not solved a 3 degree recurrence relation before.
 
  • #4
From the linear homogeneous recurrence, you may obtain the characteristic equation:

\(\displaystyle r^3-2r^2-r+2=0\)

Now, you want to factor this to get its 3 roots. What do you find?
 
  • #5
I found
r=2
r=1
r=-1

But how did you find the characteristic polynomial equation. I tried, but i got stuck we replace a sub n -1 with r sub n-1. I didn't know what to do next? To get the complete characteristic polynomial.
 
  • #6
Essentially we want to find a solution of the form:

\(\displaystyle a_n=r^n\)

Substituting this solution into the recurrence, we obtain:

\(\displaystyle r^n=2r^{n-1}+r^{n-2}-2r^{n-3}\)

Now, dividing through by $r^{n-3}\ne0$ we obtain:

\(\displaystyle r^3=2r^3+r-2\)

And arranged in standard form, we have:

\(\displaystyle r^3-2r^3-r+2=0\)

Now that you have the characteristic roots, can you state the form of the general solution?
 
  • #7
Got it. Did the roots i find are correct?
 
  • #8
yakin said:
Got it. Did the roots i find are correct?

Yes, you have the correct roots. So, you want to use these roots to construct the 3-parameter general solution, and then use the given initial values to determine the parameters. You will get a 3X3 linear system of equations to solve.

I've got to run now, (so anyone else is free to jump into answer further questions if they want) but I will be back to check on your progress in roughly 2 hours. :D
 
  • #9
Whatever you explained so far i redid to get better hang of it. I am going to try to find the closed form, because that is what i need to find. I will post here, whatever i would get, please tell me if i got it correct or wrong, if wrong please explain then. Thanks a lot!
 
  • #10
I think I'm doing something wrong. not find correct values of alphas 1,2 and 3?
 

Attachments

  • 032014182417.jpg
    032014182417.jpg
    23.8 KB · Views: 65
Last edited:
  • #11
Try adding the first two equations together and the last two equations together to eliminate the third parameter and then you have a 2X2 system. The subtract one of these two equations from the other to eliminate one of the parameters and then you will be able to solve for the other, and then using that you will be able to determine the values of the other two...
 
  • #12
Ok i try that!
P.S: Oops i was doing it right the whole time, but just missed one thing when compared my answers with professors' answers. Thanks for reply though!
 
Last edited:
  • #13
Hello, yakin!

[tex]a_n \:=\:2a_{n-1} + a_{n-2} - 2a_{n-2}[/tex]
. . [tex]a_0 = 0,\;a_1 = 1,\;a_2 = 2[/tex]

You found the characteristic equation and its roots: .[tex]2,\,1,\,\text{-}1[/tex]
Good work!

The closed form will contain powers of these roots:
. . [tex]2^n,\;1^n,\; (\text{-}1)^n[/tex]

The closed form is a linear combination of these powers.
. . [tex]f(n) \;=\;a(2^n) + b(1^n) + c(\text{-}1)^n[/tex]
and we must determine [tex]a,b,c.[/tex]We know the first three terms of the sequence.

. . [tex]\begin{array}{cccccccc}f(0) = 0\!: & a + b + c &=& 0 & [1] \\ f(1) = 1\!: & 2a + b - c &=& 1 & [2] \\ f(2) = 2\!: & 4a + b + c &=& 2 & [3] \end{array}[/tex]

Solve the system: .[tex]a = \tfrac{2}{3},\;b = \text{-}\tfrac{1}{2},\;c = \text{-}\tfrac{1}{6}[/tex]Therefore: .[tex]f(n) \;=\;\tfrac{2}{3}(2^n) - \tfrac{1}{2}(1^n) - \tfrac{1}{6}(\text{-}1)^n[/tex]

. . . . . . . . [tex]f(n) \;=\;\tfrac{1}{6}\left[4\!\cdot\!2^n - 3 - (\text{-}1)^n\right] [/tex]

. . . . . . . . [tex]f(n) \;=\;\tfrac{1}{6}\left[2^{n+2} - 3 + (\text{-}1)^{n+1}\right] [/tex]
 

FAQ: Solve Recurrence Relation w/ 3 Terms & Initial Conditions

What is a recurrence relation with 3 terms and initial conditions?

A recurrence relation with 3 terms and initial conditions is a mathematical equation that defines a sequence of numbers in terms of previous terms in the sequence. It has 3 terms that depend on each other and initial conditions that determine the starting values of the sequence.

How do you solve a recurrence relation with 3 terms and initial conditions?

To solve a recurrence relation with 3 terms and initial conditions, you can use the method of substitution or the characteristic equation method. The method of substitution involves repeatedly replacing terms in the recurrence relation until you reach the initial conditions. The characteristic equation method involves finding the roots of the characteristic equation and using them to find the general solution to the recurrence relation.

What are initial conditions in a recurrence relation with 3 terms?

Initial conditions in a recurrence relation with 3 terms refer to the starting values of the sequence. These values are used to determine the specific solution to the recurrence relation. They are typically given in the form of initial terms, such as a0, a1, a2, etc.

Can a recurrence relation with 3 terms and initial conditions have multiple solutions?

Yes, a recurrence relation with 3 terms and initial conditions can have multiple solutions. This is because there can be different ways to define the sequence depending on the initial conditions given. However, there is always a unique solution that satisfies all the given conditions.

What is the purpose of solving a recurrence relation with 3 terms and initial conditions?

The purpose of solving a recurrence relation with 3 terms and initial conditions is to find a closed-form expression for the sequence of numbers. This allows for easier computation and prediction of future terms in the sequence. It also helps in understanding the underlying pattern and behavior of the sequence.

Similar threads

Replies
18
Views
2K
Replies
13
Views
1K
Replies
1
Views
1K
Replies
4
Views
2K
Replies
22
Views
4K
Replies
2
Views
1K
Replies
5
Views
3K
Replies
2
Views
970
Replies
5
Views
2K
Back
Top