Method of Undetermined Coefficients: y'' - 5y' + 6y = 3e^(3x) + 5x - 2

Kevin98

New member
Joined
Jul 1, 2017
Messages
2
I need to use the method of undetermined coefficients to solve the equation:

y'' - 5y' + 6y = 3e3x + 5x - 2

I'm having trouble with determining yp for the right side of the equation.

Current Work:
am2 + bm + c = 0
m2 - 5m + 6 = 0
(m-2)(m-3) = 0
m = 2,3
yh = C1e2x + C2e3x

yp = Ae3x + Bx + C
y'p = 3Ae3x + B
y''p = 9Ae3x

9Ae3x - 5(3Ae3x + B) + 6(Ae3x + Bx + C) = 3e3x + 5x - 2
9Ae3x - 15Ae3x - 5B + 6Ae3x + 6Bx + 6C = 3e3x + 5x - 2
9Ae3x - 15Ae3x + 6Ae3x = 0
0e3x = 0 ????
It doesn't seem like this step is correct.
 
y'' - 5y' + 6y = 3e3x + 5x - 2

I'm unsure of how to determine yp for the right side of the equation.

Current work:
am2 + bm + c = 0
m2 - 5m + 6 = 0
(m-2)(m-3) = 0
m = 2,3
yh = C1e2x + C2e3x

yp = Ae3x + Bx + C
y'p = 3Ae3x + B
y''p = 9Ae3x

9Ae3x - 5(3Ae3x + B) + 6(Ae3x + Bx + C) = 3e3x + 5x - 2
9Ae3x - 15Ae3x - 5B + 6Ae3x + 6Bx + 6C) = 3e3x + 5x - 2
9Ae3x - 15Ae3x + 6Ae3x = 0
0e3x = 0???
It seems like representing 3e3x as Ae3 is a mistake?
Since the homogeneous solution is also "forcing function" - the particular solution should be:

yp = A * x * e3x + Bx + C

Now try it...
 
Thanks for the help, I got to the correct final answer!

How did you know to use the general form of Axe3x? I was basing my decision on a video that explained the following:

Constant: A
Linear Polynomial: Ax + B
Quadratic: Ax2 + Bx + C
Cubic: Ax3 + Bx2 + Cx + D
sin (ax) or cos(ax): Acos(ax) + Bsin(ax)
eax: Aeax

Also, what would be the general form if the forcing function is 1 / (1+x2)? It doesn't seem to fall under any of the categories above.
 
Top