Question
Question: Solve the differential equation: \(\left( {x{y^2} + x} \right)dx + \left( {{x^2}y + y} \right)dy =...
Solve the differential equation:
(xy2+x)dx+(x2y+y)dy=0.
Solution
Hint: Separate the terms with x variable on one side and terms with y variable on other side. And then solve the equation integrating both sides.
The given differential equation is (xy2+x)dx+(x2y+y)dy=0. This can be simplified as:
⇒x(y2+1)dx=−y(x2+1)dy, ⇒(x2+1)xdx=−(y2+1)ydy, ⇒(x2+1)2xdx=−(y2+1)2ydyIntegrating both sides, we’ll get:
⇒∫(x2+1)2xdx=−∫(y2+1)2ydy,
We know that ∫(x2+1)2xdx=logx2+1+C, Using this in the above equation, we’ll get:
Thus the solution of the differential equation is (x2+1)(y2+1)=±eC
Note: The method used in solving the above differential equation is called variable separation method i.e. keeping the terms containing the same variable on one side and terms having other variables on the other side. And then integrating on both the sides.