How is this differential equation solved? I have a differential equation as follows:
$$ y \cdot y'' +(y')^2 +1=0.$$
I'm interested in how to solve it. So far I have found a few solutions like $y=\sqrt{r^2-(x-k)^2}$ and $y=x+k.$ [In these, $r$ and $k$ are real constants.]
It came up while looking at a property of surface area of revolutions which held for spheres and certain cones. I am wondering if a general soution can be found, and in particular whether only circles and certain lines are solutions.
Note: As user RadialArmSaw noted, $y=x+k$ is not a solution.

You can observe that
$(y^2)’’=(2yy’)’=2(yy’’+(y’)^2)$
Thus you get
$(y^2)’’=-2 $
$(y^2)’-(y^2)’(0)=-2x$
$y^2=y^2(0)+ (y^2)’(0)x-x^2$
Set $a= y^2(0)$, $b= (y^2)’(0)$, then
$y^2=a+bx-x^2$ so that all the possible solutions are of kind
$y=+/-\sqrt{a+bx-x^2}$ for every $a,b\neq 0$
The function it makes sense only for $ \frac{b-\sqrt{b^2+4a}}{2}\leq x\leq \frac{b+\sqrt{b^2+4a}}{2}$
and it’s the solution of your problem (I.e. the maximal definition domain of your solution is) for
$\frac{b-\sqrt{b^2+4a}}{2}< x< \frac{b+\sqrt{b^2+4a}}{2}$
Another way to see the solution is the following one:
The graph of $y$ is the circle (minus the two points $(\frac{b+/-\sqrt{b^2+4a}}{2} ,0)$ ) of center $(\frac{b}{2}, 0)$ and radius $R=\frac{1}{2}\sqrt{b^2+4a}$
$x^2+y^2-bx-a=0$
