$$(D^2 - 3D + 6D)y = \sin(e^{-x})$$ Solve by use of the method of variation of parameter. Is it even possible?
Divyank Gupta, AIR 21, 2024
Given $(D^2 - 3D + 2D)y = \sin(e^{-x})$
Finding CF
Consider $(D^2 - 3D + 2D)y = 0$ in [?] will be
then Auxilary equation $(m^2 - 3m + 2) = 0$
$\Rightarrow m = 1, 2$
So $CF = c_1 e^x + c_2 e^{2x}$
then solution would be of form $y = u f(x) + v g(x)$
Using method of Variation of Parameter
then $f(x) = \int -\frac{v R}{W}$ and $g(x) = \int \frac{u R}{W}$
Now, $W = \begin{vmatrix} u & v \\ u_1 & v_1 \end{vmatrix} = \begin{vmatrix} e^x & e^{2x} \\ e^x & 2e^{2x} \end{vmatrix}$
$W = e^{3x}$
Here $R = \sin(e^{-x})$
then $f(x) = \int -\dfrac{e^{2x}\cdot \sin(e^{-x})}{e^{3x}}\,dx$
$\Rightarrow f(x) = \int -e^{-x}\cdot\sin(e^{-x})\cdot dx$
put $e^{-x} = t \Rightarrow -e^{-x}dx = dt$
so $f(t) = \int \sin(t)\cdot dt$
$f(t) = -\cos t + C_3$
$f(x) = -\cos(e^{-x}) + C_3$
Similarly for $g(x)$
$g(x) = \int \dfrac{UR}{W} = \int \dfrac{e^{x}\sin(e^{-x})}{e^{3x}}\,dx$
$= \int e^{-2x}\sin(e^{-x})\cdot dx$
$= \int -t\cdot\sin t\,dt$
$= t\cos t - \int (-1)(-\cos t)\cdot dt$
$= t\cos t - \sin t + C_4$
so $g(x) = e^{-x}\cos(e^{-x}) - \sin(e^{-x}) + C_4$
so $y = u f(x) + v g(x)$
$\Rightarrow y = e^{x}\left[-\cos(e^{-x}) + C_3\right] + e^{2x}\left[e^{-x}\cos(e^{-x}) - \sin(e^{-x}) + C_4\right]$
$\Rightarrow y = -e^{x}\cos(e^{-x}) + e^{x}\cos(e^{-x}) - e^{2x}\sin(e^{-x}) + C_3 e^{x} + C_4 e^{2x}$
$\Rightarrow y = -e^{2x}\sin(e^{-x}) + C_3 e^{x} + C_4 e^{2x}$