Solve the following differential equation: [x√x²+y²-y² ]dx+xy ,dy=0
Question 953 marksMedium
Solve the following differential equation:
[xx2+y2−y2]dx+xydy=0
Solution:
Concept: A first-order equation is homogeneous when dxdy can be written as a function of xy, so we put y=vx; then dxdy=v+xdxdv. We work on x>0, so that x2=x.
Step 1 — Make dxdy the subject.
We move the dx term to the right and divide by xydx.
dxdy=xyy2−xx2+y2
Step 2 — Write it in terms of v=xy.
We divide the top and bottom by x2. For x>0, xx2+y2 becomes 1+v2.
v+xdxdv=vv2−1+v2
xdxdv=vv2−1+v2−v2
xdxdv=−v1+v2
Step 3 — Separate the variables.
We multiply by 1+v2v and divide by x.
1+v2vdv=−xdx
Step 4 — Integrate.
With 1+v2=t the left side integrates to 1+v2. We write the constant as logc.
1+v2=−logx+logc
1+v2=logxc
Step 5 — Put back v=xy.
For x>0, 1+x2y2 equals xx2+y2, so we multiply by x.
xx2+y2=logxc
x2+y2=xlogxc
Therefore, the general solution is x2+y2=xlogxc, for x>0.