Problem:
Suppose that a function $f \gt 0$ has the property $$ (f')^2=f-\frac{1}{f^2} $$ Find a formula for $f''$ in terms of $f$. Hint: Use Theorem 7.
Theorem 7:
Suppose that $f$ is continuous at $a$, and that $f'(x)$ exists for all $x$ in some interval containing $a$, except perhaps for $x=a$. Suppose, moreover, that $\lim_{x\to a}f'(x)$ exists. Then $f'(a)$ also exists, and $$ f'(a)=\lim_{x\to a}f'(x) $$
I think this problem assumes $f''$ exists everywhere. This is my work so far.
By Chain Rule, $2f'f''=f'+\frac{2f'}{f^3}$. Dividing by $f'$, we get $f''=1/2+1/f^3$, at all points $x$ where $f'(x)\neq 0.$ Since $(f')^2=\frac{f^3-1}{f^2}$, we have $f'(x)=0$ only for $f(x)=1$. So I need to compute $f''(x)$ for such $x$. Using the hint, I first guessed that Theorem $7$(applied to $f'$) implies that the formula holds in this case also, with $f''(x)=\lim_{y\to x}1/2+1/f^3(y)=\frac{1}{2}+1=\frac{3}{2}$.
However, upon close inspection, I realized that this may not be true, as for any neighborhood around such $x$, there may be another $x_0$ such that $f(x_0)=1$, and in such case I cannot compute the limit as above. How can I resolve this situation, or is the problem wrong? I would greatly appreciate any help.