Question:

Solution of the differential equation \( xy \frac{dy}{dx} = 1 + x + y + xy \) is

Show Hint

To solve such differential equations, express the equation in terms of a separable form and integrate both sides.
Updated On: May 6, 2025
  • \( \log(x(1+y)) = c \)
  • \( (y - x) \log(x(1 + y)) = c \)
  • \( (y + x) \log(x) = c \)
  • \( \log(x(1 + y)) = c \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

We are given the differential equation:

\[ xy \frac{dy}{dx} = 1 + x + y + xy \]

Rearranging the terms to separate variables:

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

Now, simplifying the equation:

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

We can factor out \( (1 + x) \) from the numerator:

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

Separating the variables \( x \) and \( y \), we get:

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

Integrating both sides, we get the solution:

\[ \log(x(1 + y)) = c \]

This matches option (A).

Was this answer helpful?
0
0