Join the Most Relevant JEE Main 2025 Test Series & get 99+ percentile! Join Now
Search any question & find its solution
Question: Answered & Verified by Expert
The solution of $x \frac{d y}{d x}=y+x e^{y / x}$ with $y(1)=0$ is
MathematicsDifferential EquationsAP EAMCETAP EAMCET 2014
Options:
  • A $e^{y / x}+\log x=1$
  • B $e^{-y / x}=\log x$
  • C $e^{-y / x}+2 \log x=1$
  • D $e^{-y / x}+\log x=1$
Solution:
2948 Upvotes Verified Answer
The correct answer is: $e^{-y / x}+\log x=1$
Given differential equation is
$$
\begin{gathered}
x \frac{d y}{d x}=y+x e^{y / x} \\
\frac{d y}{d x}=\frac{y}{x}+e^{y / x}
\end{gathered}
$$
It is a homogeneous differential equation.
$$
\begin{array}{llrl}
& \therefore \text { Put } y=v x \Rightarrow \frac{d y}{d x}=v+x \frac{d v}{d x} \\
& \therefore & v+x \frac{d v}{d x}=\frac{v x}{x}+e^{v x / x} \\
\Rightarrow & v+x \frac{d v}{d x} & =v+e^v \\
\Rightarrow & x \frac{d v}{d x} & =e^v
\end{array}
$$
$$
\Rightarrow \quad e^{-v} d v=\frac{1}{x} d x
$$
On integrating both sides, we get
$$
\begin{aligned}
-e^{-v} & =\log x+c \\
-e^{-y / x} & =\log x+c
\end{aligned}
$$
Given, $y(1)=0$
$$
\begin{array}{rlrl}
& \therefore & e^{-0 / 1} & =\log 1+c \\
& & -1 & =0+c \Rightarrow c=-1 \\
\therefore & -e^{-y / x} & =\log x-1] \\
\Rightarrow & & 1 & =\log x+e^{-y / x}
\end{array}
$$

Looking for more such questions to practice?

Download the MARKS App - The ultimate prep app for IIT JEE & NEET with chapter-wise PYQs, revision notes, formula sheets, custom tests & much more.