A critical point $c$ is defined as $f'(c) = 0$ or $f'(c) = $ undefined. This definition is taken from this video.
if $$f(x) = x-4\sqrt{x+1}$$ then $$f'(x) = 1 - \frac{2}{\sqrt{x+1}}$$
To find the critical points I set $f'(x) = 0$. According to khanacademy the only critical point is 3. But my answer was $-1$ because if you substitute that for $x$, then $\frac{2}{0}$ would be undefined... Why isn't $-1$ a critical point? I thought undefined was a critical point by definition?