The indicated function y1(x) is a solution of the homogeneous equation. Use reduction of order to find a 2nd solution y2(x) of the homogeneous equation and a particular solution of the nonhomogeneous equation.
y" - 4y = 2; y1 = e^-2x
Ok, so....
P(x) = 0
y2 = e^-2x * S dx / e^-4x //Plugging into the formula, the numerator reduces to 1 and the bottom is e^-4x
y2 = e^-2x * (e^4x)/4 //After integration
y2 = (e^2x) / 4
yp = -1/2, by inspection.
However, this is wrong. The book tells me the answer is y2 = e^2x. My question is where does the 1/4 go?
y" - 4y = 2; y1 = e^-2x
Ok, so....
P(x) = 0
y2 = e^-2x * S dx / e^-4x //Plugging into the formula, the numerator reduces to 1 and the bottom is e^-4x
y2 = e^-2x * (e^4x)/4 //After integration
y2 = (e^2x) / 4
yp = -1/2, by inspection.
However, this is wrong. The book tells me the answer is y2 = e^2x. My question is where does the 1/4 go?