Question:medium

Find the general solution of differential equation \( ydx + (x - y^2)dy = 0 \).

Show Hint

{Key Points:}
  • Recognize exact differentials: \( d(xy) = x\,dy + y\,dx \)
  • Rearrange equation to identify such forms
  • Integrate both sides after recognizing exact differential
Updated On: Mar 7, 2026
Show Solution

Solution and Explanation

Step 1: Rearranging the equation.
The given differential equation is:
\[ y \, dx + (x - y^2) \, dy = 0 \] We can rewrite this equation as: \[ y \, dx = -(x - y^2) \, dy \] Now, divide both sides by \( y(x - y^2) \) to separate the variables: \[ \frac{dx}{x - y^2} = -\frac{dy}{y} \] Step 2: Integration of both sides.
Now, we integrate both sides of the equation:
On the left-hand side, the integral is with respect to \(x\), and on the right-hand side, it is with respect to \(y\). Let's integrate: For the left-hand side: \[ \int \frac{dx}{x - y^2} = \ln|x - y^2| \] For the right-hand side: \[ \int -\frac{dy}{y} = -\ln|y| \] Step 3: Combining the results.
After integrating, we have: \[ \ln|x - y^2| = -\ln|y| + C \] where \(C\) is the constant of integration.
Exponentiating both sides to eliminate the logarithms, we get: \[ |x - y^2| = \frac{C}{|y|} \] Thus, the general solution to the differential equation is: \[ x - y^2 = \frac{C}{y} \] Final Answer: The general solution of the differential equation is \( x - y^2 = \frac{C}{y} \).

Was this answer helpful?
0