Topper Copies

$x^2y_2 + xy_1 - y = x^2e^x$. Obtain linearly independent solution of homogenous part of above differential equation, and then find the general solution of the given differential equation by the method of variation of parameter.

Aakash Om Trivedi, AIR 73, 2025

Given ODE,

$y_2 + \frac{y_1}{x} - \frac{y}{x^2} = e^x$

(P under $\frac{y_1}{x}$, Q under $\frac{y}{x^2}$)

first find solution of homogenous part,

$\frac{d^2y}{dx^2} + \frac{1}{x}\frac{dy}{dx} - \frac{1}{x^2}y = 0$

$y = x$ satisfy

Now, let $u = x$, converting to, reduction of order method

$\frac{d^2v}{dx^2} + \left(P + \frac{2u'}{u}\right)v = \frac{R}{u}$

using this $P = \frac{1}{x}$ $u = x$ $u' = 1$

$R = 0$

$\frac{d^2v}{dx^2} + \frac{3v}{x} = 0$

$\left(D^2 + \frac{3}{x}\right)v = 0$

$B(x) = \int \frac{e^x \cdot x}{x\left(-\frac{1}{x^2}\right) - (1)\left(\frac{1}{x}\right)}$

$= \int \frac{e^x \cdot x^2}{-2} = -\frac{1}{2}\int e^x \cdot x^2$

$= -\frac{1}{2}\left[x^2 e^x - \int 2x e^x\right]$

$= -\frac{1}{2}\left[x^2 e^x - 2\left[x e^x - e^x\right]\right]$

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

$\therefore\ y_p = \frac{e^x}{2}(x) + \left(-\frac{1}{2}x^2 e^x + x e^x - [?]\right)\frac{1}{x}$

$= \frac{x e^x - e^x}{x} = e^x - \frac{e^x}{x}$

$\therefore y = y_c + y_p$

$= c_1 x + \frac{c_2}{x} + \frac{e^x \cdot x}{2} + \left(-\frac{1}{2}x^2 e^x + x e^x - [?]\right)\frac{1}{x}$

$= c_1 x + \frac{c_2}{x} + \left(\frac{e^x - e^x}{x}\right)$