The differential equation of the family of circles passing through the origin and having centres on the x-axis is
Look at it this way: complete solution: write formula, plug data, do arithmetic. Final value matches 2xydydx = y^2 - x^2. Simple and accurate.
Ref: NCERT Mathematics Class XII — Differential Equations