Sol. Let Q(x,y) be the point on curve y2=4x, which is nearest to the point P(2,1).
⇒(PQ)2=(x−2)2+(y−1)2 Let (PQ)2=S, then S=(4y2−2)2+(y−1)2

⇒∴yxdydSdydS=2=1dy2d2S=2(4y2−2)42y+2(y−1)=4y3−8=0=43y2>0
∴(1,2) will be at minimum distance from (2,1).