Solve the following differential equation:
Previous Year Questions · Question 24 of 25
Solve the following differential equation: x² dy + (xy + y²) dx = 0
Solution:
Key idea: Every term of and has degree , so the equation is homogeneous. The substitution separates the variables, and partial fractions finish the integration.
Step 1 — Write the derivative.
We move the term to the right and divide by .
Step 2 — Substitute y = vx.
We put , so . The right side becomes after cancelling .
Step 3 — Separate the variables.
We divide by and by (taking and ).
Step 4 — Use partial fractions and integrate.
We split the left integrand into two simple fractions.
Both sides now integrate to logarithms.
We multiply by , combine the logarithms and remove them, renaming as .
Step 5 — Return to x and y.
We put ; the left side simplifies to .
We cross-multiply.
Note: The lines and were set aside when we divided by , and both satisfy the given equation. The first of these is included in the answer as the case of equal to zero; the second, , is a separate solution.
Therefore, the general solution is , where is an arbitrary constant.
