[Math] Shortest distance of the point $(0,c)$ from the parabola $y=x^2$

calculus

Shortest distance of the point $(0,c)$ from the parabola $y=x^2$ ? (Where $0\le c \le5$)

My approach: I wrote the distance formula by taking parametric coordinates as $(t,t^2)$ and then differentiated the equation.I got the extremum as $x=\sqrt (c)$,but that's the wrong answer? I can't figure out my mistake.

Please help!

Best Answer

Let $f(t):=(t-0)^2+(t^2-c)^2$. The necessary condition for the minimum of $f$ is $$ \frac{d}{dt}\left\{(t-0)^2+(t^2-c)^2\right\}=2t+4t(t^2-c)=0, $$

which yields

$$ t_1=0, t_{2,3}=\pm\sqrt{c-1/2}. $$

However, $t_{2,3}$ are real only for $c\ge1/2$. In addition, the second order condition shows that when $c\ge 1/2$, $f(t_1)$ is a local maximum. So, the minimum distance squared is $c^2$ when $c<1/2$ and $c-1/4$, otherwise.