Consider the following function $$ f(x) = \frac{1}{2}x^{\text{T}}Qx + c^{\text{T}}x, $$ where $Q$ is a real symmetric positive definite $n \times n$ matrix and $c \in \mathbb{R}^{n}$. The ellipse contour of $f$ with level $a \in \mathbb{R}$ can be expressed as $$ E(a) := \{x \in \mathbb{R}^{n} \mid f(x) = a\}. $$ The center of $E(a)$ is given by $\hat{x} = -Q^{-1}c$. The function can be now rewritten as
$$ f(x) = \frac{1}{2}(x - \hat{x})^{\text{T}}Q(x - \hat{x}) - \frac{1}{2}c^{\text{T}}Q^{-1}c. $$
Denote by $S_{\text{ins}}$ the maximum inscribed sphere inside $E(a)$ and $S_{\text{circ}}$ the minimum circumscribed sphere containing $E(a)$. I want to determine the radii $r_{\text{ins}}$ and $r_{\text{circ}}$ of $S_{\text{ins}}$ and $S_{\text{circ}}$, respectively.
Suppose the eigenvalues of $Q$ are ranked in an ascending order, i.e., $$ 0 < \lambda_1 \leq \lambda_2 \leq \dots \leq \lambda_n. $$
In the paper, they said the radius are given by $$ r_{\text{ins}} = \sqrt{\frac{2(a-t)}{\lambda_n}} $$ and $$ r_{\text{circ}} = \sqrt{\frac{2(a-t)}{\lambda_1}}, $$ where $t = - \frac{1}{2}c^{\text{T}}Q^{-1}c$. But they give no proof. Can someone please explain why this is true? Here is the link of the paper: https://link.springer.com/article/10.1007/s10898-011-9713-2
If $u=x-\hat x$, then we must find maximum and minimum of the function $\sqrt{u^Tu}$, subject to the constraint $${1\over2}u^TQu=a-t.$$ If $\alpha$ is a Lagrange multiplier, we must then find the stationary points of $$ F(u)=u^Tu+{1\over2}\alpha u^TQu, $$ i.e. the values of $u$ which make the gradient of $F$ vanish: $$ {\partial F\over \partial u}=2u+\alpha Qu=0, $$ which is the same as $$ Qu=-{2\over\alpha}u. $$ Hence the stationary points are eigenvectors $u_i$ of $Q$ and $\alpha=-2/\lambda_i$. The norm of $u_i$ can be found from the constraint equation: inserting there $u=u_i$ we obtain $${1\over2}u_i^TQu_i=a-t, \quad\text{that is:}\quad u_i^Tu_i={2(a-t)\over\lambda_i}. $$ Maximum and minimum of $\sqrt{u^Tu}$ are then $$ \sqrt{2(a-t)\over\lambda_\min}\quad\text{and}\quad\sqrt{2(a-t)\over\lambda_\max}. $$