Solve first order difference equation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
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