Question
Solve the following differential equation:
(x2 − y2) dx + 2xy dy = 0 given that y = 1 when x = 1
Solution
( x2 - y2 ) dx + 2xy dy = 0
It is a homogeneous differential equation.
Let y = vx ..........(2)
Substituting (2) and (3) in (1), we get:
Integrating both sides, we get:
It is given that when x = 1, y = 1
(1)2 + (2)2 = C(1)
C = 2
Thus, the required solution is y2 + x2 = 2x.