Topper Copies

(i) Solve $(D^2 - 3D + 2)y = \cosh x$. (ii) Apply the method of variation of parameters to solve $(1-x)y_2 + xy_1 - y = (1-x)^2$.

Akshit Bhardwaj, AIR 12, 2025

i) $(D^2-3D+2)\,y = \frac{e^x + e^{-x}}{2}$ $(D-2)(D-1)\,y = \frac{e^x+e^{-x}}{2}$ $y_{CF} = c_1 e^{2x} + c_2 e^x$

$y_p = \frac{1}{(D-2)(D-1)}\frac{e^x}{2} + \frac{1}{(D-2)(D-1)}\frac{e^{-x}}{2}$

$= \frac{-1}{2(D-1)}e^x + \frac{1}{12}e^{-x}$ $\left[\because \frac{1}{F(D)}e^{ax} = \frac{1}{F(a)}e^{ax}\text{ if }F(D) \neq 0\right]$

$= \frac{-x e^x}{2} + \frac{e^{-x}}{12}$

$\Rightarrow y = c_1 e^{2x} + c_2 e^x - \frac{x e^x}{2} + \frac{e^{-x}}{12}$ is a solution

ii) $y_2 + \frac{x}{1-x}y_1 - \frac{1}{1-x}y = (1-x)$. considering homogenous part $y_2 + \frac{x}{1-x}y_1 - \frac{1}{1-x}y = 0$

On inspection $x$ is a solution Let $U = x$ $y = UV$ is a solution if $\frac{d^2 v}{dx^2} + \left(\frac{x}{1-x} + \frac{2U'}{U}\right)\frac{dv}{dx} = 0$ $\Rightarrow$ Let $\frac{dv}{dx} = z$ $\Rightarrow \frac{dz}{dx} + \frac{x}{1-x} z = 0$ $\Rightarrow \frac{dz}{z} = \frac{x}{x-1}\,dx$ $\log c + \log z = x + \log(x-1)$ $cz = e^x (x-1) + [?]$ $z = k_1 e^x (x-1) + [?]$ $\int dv = \int k_1 e^x (x-1)\,dx$ $= k_1 \left[ x e^x - \int e^x dx - \int e^x dx \right]$ $= k_1 (x e^x - 2e^x) + k_2$ $UV = k_2 x + k_1 e^x (x-2)$

$\Rightarrow U = x$ $V = e^x(x-2)$

For actual equation Let $y = Ax + Be^x(x-2)$ be solution

The by Variation of Parameters

Similarly