1. The problem statement, all variables and given/known data The problem is: y" + 2y' - 3y = x^2*e^x 2. Relevant equations 3. 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).