$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.
Aryan Yadav, AIR 31, 2025
Homogeneous part is
$x^2 y_2 + x y_1 - y = 0$ (Cauchy-Euler)
Put [?] $x = e^z$
$\Rightarrow (D(D-1) + D - 1)y = 0$
$\Rightarrow (D^2 - 1)y = 0$
$\Rightarrow y_1 = c_1 e^z + c_2 e^{-z}$
$\Rightarrow y_1 = c_1 x + \frac{c_2}{x}$ - ①
Hence $x, \frac{1}{x}$ are linearly independent soln,
let soln be $y = ux + \frac{v}{x}$ - ②
$u, v$ being functions of $x$ such that
$u'x + \frac{v'}{x} = 0$ - ③
Take derivative of ② wrt $x$
$\Rightarrow y' = u - \frac{v}{x^2}$ - ④
Putting values into eq^n
$\Rightarrow$ [?]
$\Rightarrow x^2 u' - v' = x^2 e^x$
From ③ $\Rightarrow x^2 u' = -v'$
Hence $v' = \frac{-x^2 e^x}{2}$
Applying integration by parts
Put in ③
$\Rightarrow u' x^2 = \frac{x^2 e^x}{2} \Rightarrow u = \frac{e^x}{2}$ - ⑥
Put in [?], $y = e^x\left(\frac{x}{2} + 1 - \frac{x}{2} - \frac{1}{x}\right)$
$\Rightarrow y = e^x\left(1 - \frac{1}{x}\right)$
general sol^n is
$C_1, C_2$ are arbitrary constants