Solve by the use of Laplace $$y''(t) + aty'(t) - 2ay(t) = 1,$$ $$y(0) = y'(0) = 0, a > 0$$
Divyank Gupta, AIR 21, 2024
Given $y''(t) + aty'(t) - 2ay(t) = 1$ ——①
WKt. $L(t \cdot f(t)) = -\frac{d}{ds} f(s)$
where $f(s) = L(f(t))$
and $L(y'') = s^2 y(s) - sy(0) - y'(0)$
Now taking Laplace on both sides of ① ,we get
$s^2 y(s) - sy(0) - y'(0) + a\frac{-d}{ds}\cdot(s\,y(s) - y(0)) - 2a\,y(s) = \frac{1}{s}$
$\Rightarrow -as\,y'(s) + y(s)\left[s^2 - a - 2a\right] = \frac{1}{s}$
$\Rightarrow -as\,y'(s) + y(s)\left[s^2 - 3a\right] = \frac{1}{s}$
$\Rightarrow y'(s) + y(s)\dfrac{[s^2-3a]}{[-as]} = \dfrac{-1}{a s^2}$
then IF $= \exp\left[\int \left(\dfrac{3}{s} - \dfrac{s}{a}\right) ds\right]$
$= s^3 \cdot e^{-s^2/a}$
so $y(s)\cdot s^3 e^{-\frac{s^2}{a}} = \int \dfrac{-1}{as^2}\cdot s^3\cdot e^{-s^2/a}$
$\Rightarrow y(s) = \dfrac{1}{2s^3} + \dfrac{c\, e^{s^2/a}}{s^3}$
But $\left[e^x = 1 + x + \dfrac{x^2}{2!} + \cdots\right]$
so $y(s) = \dfrac{1}{2s^3} + c\left[\dfrac{1}{s^3} + \dfrac{1}{as} + \dfrac{s}{2a^2} + \cdots\right]$
Taking Laplace Inverse
$y(t) = \dfrac{t^2}{2} + \dfrac{ct^2}{2} + \dfrac{c}{a}$
but $y(0)=0 \Rightarrow c=0$
so $\boxed{y(t) = \dfrac{t^2}{2}}$