Solve Difference Equation: Find β for x_k=x_{k-1}+x_{k-2}

jameswill1am
Messages
10
Reaction score
0

Homework Statement



In analogy with differential equations, the difference equation

x_{k}=x_{k-1}+x_{k-2}

has two solutions x_{k}=\beta^{k} for some \beta\neq0. Determine the two possible values of \beta.

Homework Equations



x_{k}=x_{k-1}+x_{k-2}
x_{k}=\beta^{k}
\beta\neq0

The Attempt at a Solution



So I've read that for equation in the form a_{n}=Aa_{n-1}+Ba_{n-2} the roots are found from S^{2}-As-B=0 so applying that to x_{k}=x_{k-1}+x_{k-2} with A=1 and B=1 i get something like \beta^{2}-\beta-1=0 but I'm sure this is not correct.

I'm wondering if the clue is in the phrasing "in analogy with differential equations" or if I'm just miles off.

Here is the rest of the next question to sort of show you what we are going towards;

Any solution of the equation x_{k}=x_{k-1}+x_{k-2} can be written as x_{k}=\alpha_{1}\beta^{k}_{1}+\alpha_{2}\beta^{k}_{2} where \beta_{1} \beta_{2} were found by you in the previous step and \alpha_{1} and \alpha_{2} are determined by x_{0} and x_{1}. Using these facts, determine p_{k} and q_{k} as functions of k.

So from this i get the impression it doesn't want me to know x_{k}=\alpha_{1}\beta^{k}_{1}+\alpha_{2}\beta^{k}_{2} yet. So any help to nudge me in the right direction for finding \beta would be much appreciated.
 
Physics news on Phys.org
Hi jameswill1am! :smile:

Yes, basically you've got it right …

the method is the same as for the differential equation y'' = y' + y …

you find the roots ß1 and ß2 of the characteristic equation (x2 = x + 1), and then the general solution is any linear combination of solutions of an+1 = ßan, which of course is an = Cßn.

See the PF library on https://www.physicsforums.com/library.php?do=view_item&itemid=158" for more details.
 
Last edited by a moderator:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top