(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

Solve the difference equation

2. Relevant equations

y[n+2]-3y[n+1]+2y[n]==4n*2^n, n>=0

y0=0,y1=1

3. The attempt at a solution

1. Homogenous solution:

Characteristic equation => r^2-3r+2==0 <=> r1=1,r2=2 => yhn = C1*1^n+C2*2^n

2. Particular solution:

ypn = ?

I tried different things but everything comes out wrong.

I guess(what is the right word?) witha polynomial of the same degree as the right hand side of the equation how is it when 2^n is in both yhn and righthand side of the equation?

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Difference equation, ypn guess problem

**Physics Forums | Science Articles, Homework Help, Discussion**