Center of the circle lie on y-axis:
Let the center be (0,k)
Let the radius of the circle be r
Equation of the circle is
(x−0)2+(y−k)2=r2 ...(1)
As the circle passing through origin,
so putting (0,0) in (1), we get
⇒(0−0)2+(0−k)2=r2
⇒r2=k2
Therefore, the equation of circle becomes
x2+(y−k)2=k2
⇒x2+y2−2ky=0
Differentiating w.r.t. x, we get
2x+2ydydx−2kdydx=0
⇒x+ydydx=kdydx
⇒xdxdy+y=k
Putting the value of k in equation (2), we get
x2+y2−2(xdxdy+y)y=0
⇒x2+y2−2xydxdy−2y2=0
⇒x2−y2−2xydxdy=0
⇒(x2−y2)dydx−2xy=0
Hence, the required differential equation is
(x2−y2)dydx−2xy=0