- #1
mathmari
Gold Member
MHB
- 5,049
- 7
Hey!
I want to solve the differential equation $y'''(x)-2y''(x)+y'(x)=e^x$.
I have done the following:
Consider the homogeneous equation $y'''(x)-2y''(x)+y'(x)$.
$k^3-2k^2+k=0 \Rightarrow k=0 \text{ single root } , k=1 \text{ double root } $
So, the solution of the homogeneous problem is $y_h(x)=c_1+c_2e^x+c_3xe^x$. Since $1$ is a root of the characteristic polynomial of multiplicity $2$, we consider that the partial solution is of the form $y_p=(Ax^2+Bx+C)e^{x}$.
Finding the derivatives $y'_p,y''_p,y'''_p$ and replacing it at the problem I get $A=\frac{1}{2}$.
Is this correct? (Wondering) Is then the general solution the following? (Wondering)
$$y(x)=y_h(x)+y_p(x) \\ =c_1+c_2e^x+c_3xe^x+\left (\frac{1}{2}x^2+Bx+C\right )e^{x} \\ =c_1+(c_2+C)e^x+(c_3+B)xe^x+\frac{1}{2}x^2e^x$$
I want to solve the differential equation $y'''(x)-2y''(x)+y'(x)=e^x$.
I have done the following:
Consider the homogeneous equation $y'''(x)-2y''(x)+y'(x)$.
$k^3-2k^2+k=0 \Rightarrow k=0 \text{ single root } , k=1 \text{ double root } $
So, the solution of the homogeneous problem is $y_h(x)=c_1+c_2e^x+c_3xe^x$. Since $1$ is a root of the characteristic polynomial of multiplicity $2$, we consider that the partial solution is of the form $y_p=(Ax^2+Bx+C)e^{x}$.
Finding the derivatives $y'_p,y''_p,y'''_p$ and replacing it at the problem I get $A=\frac{1}{2}$.
Is this correct? (Wondering) Is then the general solution the following? (Wondering)
$$y(x)=y_h(x)+y_p(x) \\ =c_1+c_2e^x+c_3xe^x+\left (\frac{1}{2}x^2+Bx+C\right )e^{x} \\ =c_1+(c_2+C)e^x+(c_3+B)xe^x+\frac{1}{2}x^2e^x$$