Question:

The slope of a curve at any point \((x,y)\), other than origin, is \( y + \frac{y}{x} \). Then the equation of the curve is

Show Hint

Convert into separable form whenever possible—it simplifies solving differential equations quickly.
Updated On: May 8, 2026
  • \( y = Cxe^x \)
  • \( y = x(e^x + C) \)
  • \( xy = Ce^x \)
  • \( y + xe^x = C \)
  • \( (y-x)e^x = C \)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Concept: Given slope: \[ \frac{dy}{dx} = y + \frac{y}{x} \] This is a first-order linear differential equation

Step 1: Rewrite equation

\[ \frac{dy}{dx} = y\left(1 + \frac{1}{x}\right) \]

Step 2: Separate variables

\[ \frac{1}{y} dy = \left(1 + \frac{1}{x}\right) dx \]

Step 3: Integrate both sides

\[ \int \frac{1}{y}dy = \int \left(1 + \frac{1}{x}\right)dx \] \[ \ln|y| = x + \ln|x| + C \]

Step 4: Simplify

\[ \ln|y| - \ln|x| = x + C \] \[ \ln\left|\frac{y}{x}\right| = x + C \]

Step 5: Exponentiate

\[ \frac{y}{x} = Ce^x \] \[ y = xCe^x \] \[ xy = Ce^x \] Final Answer: \[ \boxed{xy = Ce^x} \]
Was this answer helpful?
0
0