Let P(x,y) be any point on the parabola and Q(0,c) be the given point. Then,
PQ2=x2+(y−c)2
⇒PQ2=x2+(x2−c)2⇒PQ2=x4+x2(1−2c)+c2
Clearly, PQ will be minimum when PQ2 is minimum.
Let z=PQ2. Then,
z=x4+x2(1−2c)+c2
dZdx=4x3+2x(1−2c) and
d2Zdx2=12x2+2(1−2c)
The critical numbers of Z are given by dZdx=0
⇒4x3+2x(1−2c)=0
⇒2x[2x2+(1−2c)]=0
⇒x=0,x=±α, where α=√2c−12
Now, at x=0,
d2Zdx2∣∣∣x=0=2(1−2c)>0 when 0<c<12
So, in this case i.e., when 0<c<12, x=0 gives the shortest distance and is equal to √c2=c
And at x=±α,
d2Zdx2∣∣∣x=±α=12(2c−12)+2(1−2c)=4(2c−1)>0 when c>12
So, in this case Z is minimum when c>12 and the minimum value of PQ is given by
PQ2=α2+(α2−c2)2
⇒PQ2=2c−12+(2c−12−c)2=4c−14
⇒PQ=√4c−12
Therefore, the shortest distance is c when 0<c<12 and √4c−12 when c>12