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
If $c$ is any arbitrary constant, then the general solution of the differential equation $y d x-x d y=x y d x$ is given by
MathematicsDifferential EquationsJEE Main
Options:
  • A $y=c x e^{-x}$
  • B $x=c y e^{-x}$
  • C $y+e^x=c x$
  • D None of these
Solution:
2625 Upvotes Verified Answer
The correct answer is: $y=c x e^{-x}$
Given $y d x-x d y=x y d x$
$\Rightarrow \frac{y d x-x d y}{x y}=d x \Rightarrow d\left[\ln \left(\frac{x}{y}\right)\right]=d x$
Integrating both sides, we get $\ln \frac{x}{y}+\ln c=x$
$y e^x=c x$.

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.