I want to minimize the radius $r=\sqrt{x^2_1+x^2_2+\dotsb+x^2_N}$, with the constraint $g(r,\theta_1,\dotsc,\theta_{N-1})=0$. Here $g(r,\theta_1,\dotsc,\theta_{N-1})$ is a function defined in the $N$-sphere coordinate. This can be done by the Lagrange Multiplier method. The Lagrangian is constructed as follows $$ \mathcal{L}=r+\lambda g(r,\theta_1,\dotsc,\theta_{N-1}). $$ Then, a candidate for the minimal value of $r$ is obtained by solving the equations $\partial \mathcal{L}/\partial \lambda=g(r,\theta_1,\dotsc,\theta_{N-1})=0$ and $$ \frac{\partial\mathcal{L}}{\partial r}=1+\lambda \frac{\partial g}{\partial r}=0,\ \frac{\partial\mathcal{L}}{\partial \theta_j}=\lambda \frac{\partial g}{\partial \theta_j}=0,\ j=1,\dotsc,N-1. $$ Suppose I get a solution $(r_0,\theta_{1,0},\ldots,\theta_{N-1,0};\lambda_0)$ that satisfies the above equation. Now I can also solve the constraint $g(r,\theta_1,\dotsc,\theta_{N-1})=0$ which gives the implicit function $r=r(\theta_1,\theta_2,\dotsc,\theta_{N-1})$. I'm interested in the gradient and Hessian matrix of $r$ at $(\theta_{1,0},\dotsc,\theta_{N-1,0})$.
For the gradient, it is straightforward that $$ \frac{\partial r}{\partial \theta_j}\Bigr|_{\vec{\theta}=\vec{\theta}_0}=-\frac{\frac{\partial g}{\partial \theta_j}}{\frac{\partial g}{\partial r}}\Bigr|_{\vec{\theta}=\vec{\theta}_0,r=r_0}=0, $$ where I use the short notation $\vec{\theta}=(\theta_1,\dotsc,\theta_{N-1})$ and $\vec{\theta}_0=(\theta_{1,0},\dotsc,\theta_{N-1,0})$.
For the Hessian matrix defined by $$ H_{ij}=\frac{\partial^2 r}{\partial \theta_i \, \partial \theta_k} \Bigr|_{\vec{\theta}=\vec{\theta}_0}, $$ I wonder if the condition of $r_0$ being the minimal value impose any constraint on $H$, like what we encounter in the unconstrained case (where $H$ should be positive definite)?