Solve first order difference equation

toofle
Messages
20
Reaction score
0

Homework Statement


Solve the first order difference equation.

Homework Equations


x[n] - x[n-1] = n(n+1)/2
x[1] = 1



The Attempt at a Solution


Homogenous solution:
Characteristic equation:
r - 1 = 0 <=> r = 1
=> yhn = C * 1^n = C

Particular solution:
ypn = ?
I'm supposed to do some intelligent guess here. n(n+1)/2 is a polynomial of degree 2 and doesn't exist in yhn so i should be something like An(n+1) or An^2+Bn but Ican't get anything to work.
 
Physics news on Phys.org
I would guess a polynomial of order 1 degree higher than n(n+1)/2. Say An^3+Bn^2+Cn.
 
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