Form the differential equations of the family of circles touching two given parallel lines $y=\pm a$
My Attempt:
Let the family of circles be $(x-h)^2+y^2=a^2$, with $(h,0)$ being the centre and $a$ being the radius.
Differentiating w.r.t. x, we get,
$$2(x-h)+2yy'=0\\ \implies yy'+x=h$$
Differentiating again, I get,
$$yy''+(y')^2+1=0$$
But the answer given is
$$y^2(1+(y')^2)=a^2$$
Best Answer
Your equation, the solution of which depends on two arbitrary constants, cannot be an acceptable differential equation defining the family (one of the constants being $a$, that is determined, and the other $h$). We can use the equation for the family to get rid of the constant.
$$(x-h)^2+y^2=a^2$$
$$2(x-h)+2yy'=0\\ \implies (x-h)^2=y^2(y')^2$$
But $(x-h)^2=a^2-y^2$
$$\dfrac{a^2-y^2}{y^2}=(y')^2$$
$$\dfrac{a^2}{y^2}-1=(y')^2$$
Finally $$a^2=y^2(1+(y')^2)$$