Let $x=x(y)$ be the solution of the differential equation $y^2 \mathrm{~d} x+\left(x-\frac{1}{y}\right)…
- $\frac{1}{2}+\mathrm{e}$
- $3+e$
- $3-e$
- $\frac{3}{2}+e$
Solution
& y^2 d x+\left(x-\frac{1}{y}\right) d y=0 \\ & y^2 d x=\left(\frac{1}{y}-x\right) d y \\ & \Rightarrow y^2 \frac{d x}{d y}=\frac{1}{y}-x \\ & \Rightarrow \frac{d x}{d y}+\frac{x}{y^2}=\frac{1}{y^3} \\ & \text { I.F. }=e^{\int \frac{1}{y^2} d y}=e^{\frac{-1}{y}}
\end{aligned}$
$\therefore$ Solution is
$x e^{\frac{-1}{y}}=\int e^{-\frac{1}{y}} \times \frac{1}{y^3} d y+C$
Let $\frac{-1}{y}=t$
$\begin{aligned}
& \Rightarrow \frac{1}{y^2} d y=d t \\ & \Rightarrow x e^{-\frac{1}{y}}=-\int e^t t d t+C \\ & \Rightarrow x e^{-\frac{1}{y}}=-e^t(t-1)+C \\ & \Rightarrow x e^{-\frac{1}{y}}=-e^{\frac{-1}{y}}\left(\frac{-1}{y}-1\right)+C
\end{aligned}$
$x(1)=1$
$\Rightarrow e^{-1}=-e^{-1}(-2)+C$
$\Rightarrow C=-e^{-1}$
$\Rightarrow x=\frac{1}{y}+1-e^{-1+\frac{1}{y}}$
$x\left(\frac{1}{2}\right)=3-e$
Asked in: JEE Main 2025 (22 Jan Shift 1)