Solution
xdy+(y−x2y2)dx=0
Divide through by dx as follows
xdxdy+(y−x2y2)dxdx=dx0
We get
xdxdy+(y−x2y2)=0
xdxdy+y−x2y2=0
This is a first-order nonlinear differential equation
Let u=xy
Use product rule of differentiation to differentiate u=xy with respect to x
u=xy
dxdu=(dxd(x)).y+x.(dxd(y))
⟹dxdu=y+xdxdy
From dxdu=y+xdxdy ,We can get expression for dxdy
dxdu=y+xdxdy
xdxdy=dxdu−y
Now, divide through by x to get
dxdy=xdxdu−y=xdxdu−xy
From u=xy , y=xu
∴dxdy=xdxdu−xxu=xdxdu−x2u
Now, let's substitute dxdy and y to the differential equation
xdxdy+y−x2y2=0
x(xdxdu−x2u)+xu−x2(xu)2=0
dxdu−xu+xu−x2.x2u2=0
dxdu−u2=0
⟹dxdu=u2⟹u2du=dx
Take integral on both sides of u2du=dx
we have
∫u2du=∫dx⟹−u1=x+C⟹u=−x+C1
Recall y=xu⟹y=x−x+C1=−x+C1×x1=−x(x+C)1
∴ the general solution is thus y=−x(x+C)1
Comments