Undetermined Coefficient with repeated roots

  • Thread starter Thread starter Ian88
  • Start date Start date
  • Tags Tags
    Coefficient Roots
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 4K views
Ian88
Messages
2
Reaction score
0

Homework Statement



The problem is: y" + 2y' - 3y = x^2*e^x

Homework Equations





The Attempt at a Solution



I know the roots are y1 = -3 and y2 = 1, becoming e^x.

I'm not sure how to set my yp up though with the repeating e^x.

My ideas are yp = x * (x^2*A*e^x) or x * (Ax^2 + Bx + C)e^x.

I was also curious on the setup of a problem where yp = P(x)*e^ax* cos(bx).
 
Physics news on Phys.org
since '1' is a root, the PI for ex is xex, and PI for x2 is Ax2+Bx+C, so put those 2 together

yp=xex(Ax2+Bx+C)