There's an exercise in Differential Equations with Applications by George Simmons which asks to derive the differential equation satisfied by the family of circles in the plane whose centers lie on the line $ y = x $ and are tangent to the $ x $ and $ y $ axes.
I've derived the general equation for this one-parameter family, $ (x - c)^2 + (y - c)^2 = c^2 $, with parameter $ c $. Using implicit differentiation, the curves also satisfy $ (x - c) + (y - c) y' = 0 $, which solves for $ c $ in terms of the other variables as $$ c = \frac{x + y y'}{1 + y'}. $$
I've tried substituting $ c $ into the first equation but I am unable to simplify the result. I feel like there is some trick or algebraic manipulation I am forgetting to arrive to the answer.
The official answer in the back of the book is $$ (x - y)^2 (1 + y'^2) = (x + y y')^2. $$ Mathematica confirms this so it's probably not an error. Can anyone nudge me in the right direction?