Solveeit Logo

Question

Question: Find the general solution of $y''-y=2e^x-10\sin(x)$, using the method of undetermined coefficients....

Find the general solution of yy=2ex10sin(x)y''-y=2e^x-10\sin(x), using the method of undetermined coefficients.

Answer

The general solution is y(x)=c1ex+c2ex+xex+5sin(x)y(x) = c_1e^x + c_2e^{-x} + xe^x + 5\sin(x).

Explanation

Solution

  1. Complementary Solution (ycy_c): Solve the homogeneous equation yy=0y'' - y = 0. The characteristic equation is m21=0m^2 - 1 = 0, which has roots m=±1m = \pm 1. Therefore, the complementary solution is yc(x)=c1ex+c2exy_c(x) = c_1e^x + c_2e^{-x}.

  2. Particular Solution (ypy_p): We find a particular solution for each term on the right-hand side of the non-homogeneous equation yy=2ex10sin(x)y'' - y = 2e^x - 10\sin(x).

    • For 2ex2e^x: Since exe^x corresponds to a root of the characteristic equation (m=1m=1), we use the form yp1(x)=Axexy_{p1}(x) = Axe^x. Substituting this into the equation yields A=1A=1, so yp1(x)=xexy_{p1}(x) = xe^x.

    • For 10sin(x)-10\sin(x): Since ±i\pm i are not roots of the characteristic equation, we use the form yp2(x)=Bsin(x)+Ccos(x)y_{p2}(x) = B\sin(x) + C\cos(x). Substituting this into the equation yields B=5B=5 and C=0C=0, so yp2(x)=5sin(x)y_{p2}(x) = 5\sin(x).

    The particular solution is the sum of these: yp(x)=yp1(x)+yp2(x)=xex+5sin(x)y_p(x) = y_{p1}(x) + y_{p2}(x) = xe^x + 5\sin(x).

  3. General Solution: The general solution is the sum of the complementary and particular solutions: y(x)=yc(x)+yp(x)=c1ex+c2ex+xex+5sin(x)y(x) = y_c(x) + y_p(x) = c_1e^x + c_2e^{-x} + xe^x + 5\sin(x).