Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Help with recursion equation

Name: Anonymous 2008-09-06 15:51

I'm having problems solving

x_(n+2) - 2*x_(n+1) + x_(n) = 6  ,  n=0,1,2,...

x_0 = 3
x_1 = 0

It's always ending up with fucking 0=6 when i'm trying find a
particular solution. I'd be grateful for help.

Name: Anonymous 2008-09-06 16:34

Can't be done. I'm black.

Name: Anonymous 2008-09-06 17:04

let x_n = p^n, solve for the general solution, if you can't do that bit, you shouldn't be trying this anyway.


then the particular solution is going to be of the form an^2 + bn +c

Solve the simultaneous eqn's that result.

Name: 4tran 2008-09-08 2:30

General solution?  Particular solution?  This isn't some Dif Eq.

This recurrence equation is a numerical approximation of the 2nd derivative of some function x.  This is a non zero constant, and is exact iff the function is a quadratic.  Thus, we already know it's 3n2 + bn + c.

x0 = 3 implies that c = 3.  Thus, 3n2 + bn + 3.

x1 = 0 then forces b = -6.

Thus, xn = 3n2 - 6n + 3.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List