Family of circles passing through the origin with centre on y=x.
General equation of such a circle.
Centre at (a,a) (since it's on y=x). The circle passes through origin, so radius =a2+a2=a2.
Equation: (x−a)2+(y−a)2=2a2
x2−2ax+a2+y2−2ay+a2=2a2
x2+y2−2a(x+y)=0
So: a=2(x+y)x2+y2 ... (parameter to eliminate)
Differentiate.
2x+2yy′−2a(1+y′)=0
a=1+y′x+yy′
Equate both expressions for a.
2(x+y)x2+y2=1+y′x+yy′
(x2+y2)(1+y′)=2(x+y)(x+yy′)
Expand LHS: (x2+y2)+(x2+y2)y′
Expand RHS: 2(x2+xyy′+xy+y2y′)=2x2+2xyy′+2xy+2y2y′
Collecting terms:
(x2+y2)+(x2+y2)y′=2x2+2xy+(2xy+2y2)y′
Terms without y′: x2+y2−2x2−2xy=y2−x2−2xy
Terms with y′: (x2+y2−2xy−2y2)y′=(x2−y2−2xy)y′
(y2−x2−2xy)+(x2−y2−2xy)y′=0
(x2−y2+2xy)=(x2−y2−2xy)y′
Writing as: (x2−y2+2xy)dx=(x2−y2−2xy)dy
The correct answer is Option (1): (x2−y2+2xy)dx=(x2−y2−2xy)dy.