I am solving a problem, which is
"Find the point of the paraboloid $P:=\{(x,y,z)\in\mathbb{R}^3 | x^2+y^2=z\}$ which is the nearest to the point $(1,1,\frac12)$."
I have already determined (using the Lagrange multipliers method) that $p=(2^{-\frac23},2^{-\frac23},2^{-\frac13})$ is a critical point of $f(x,y,z)=(x-1)^2+(y-1)^2+(z-\frac12)^2$ (which is the square of the distance function) with the restraint $g(x,y,z)=0$, where $g(x,y,z)=x^2+y^2-z$.
I need some help in order to prove that $p$ is the minimum of $f|_P$.
If possible, give me only a hint, as it is homework and I only want some idea to finish the problem by myself.
EDIT: As requested, I'm showing my calculations so far.
A critical point of $f|_P$ is, by the Lagrange multipliers method, one which satisfies $g(x,y,z)=0$ (that is, $x^2+y^2=z$) and $\nabla f(x,y,z)=\lambda \nabla g(x,y,z)$ for some $\lambda \in \mathbb{R}$.
We have $\nabla f(x,y,z)=(2x-2,2y-2,2z-1)$ and $\nabla g(x,y,z)= (2x,2y,-1)$, which yields the system $$(2x-2=\lambda 2x)\wedge(2y-2=\lambda 2y)\wedge(2z-1=-\lambda),$$ which is equivalent to $$(x=\tfrac{1}{1-\lambda})\wedge (y=\tfrac{1}{1-\lambda}) \wedge(z=\tfrac{1-\lambda}{2}).$$
So we get $x=y$ and $2x^2=z$ (because $x^2+y^2=z$), which gives $\frac{2}{(1-\lambda)^2}=\frac{1-\lambda}{2}$, that is, $\lambda = 1-2^\frac23$.
This gives us $x=y=2^{-\frac23}$ and $z=2^{-\frac13}$.