Problem:
Suppose $A, B \in \mathbb{R}^{n \times n}$. Formulate a condition for vectors $\vec{x} \in \mathbb{R}^n$ to be critical points of $\|A\vec{x}\|_2$ subject to $\|B\vec{x}\|_2 = 1$. Also, give an alternative expression for the value of $\|A\vec{x}\|_2$ at these critical points, in terms of a Lagrange multiplier for this optimization problem.
Thoughts:
Set up Lagrange: $$\Lambda(\vec{x},\lambda) = \|A\vec{x}\|_2 - \lambda(\|B\vec{x}\|_2 -1)$$ Take the partial of $x_i$ $$\frac{\delta\Lambda}{\delta x_i} \Lambda= \frac{\sum_jA_{ji}x_i}{\|A\vec{x}\|_2} - \lambda\frac{\sum_jB_{ji}x_i}{\|B\vec{x}\|_2}$$
Assuming I did the differentiation correctly, which I'm not sure about.
Also:
$$\frac{\delta\Lambda}{\delta \lambda} \Lambda \implies \|B\vec{x}\|_2 = 1$$
But I'm not sure what to do at this point.
We have
$$\begin{array}{ll} \text{extremize} & \| \mathrm A \mathrm x \|_2\\ \text{subject to} & \| \mathrm B \mathrm x \|_2 = 1\end{array}$$
Let $\mathrm y := \mathrm B \mathrm x$. Assuming that $\mathrm B$ is invertible, then we have an optimization problem in $\mathrm y \in \mathbb R^n$
$$\begin{array}{ll} \text{extremize} & \| \mathrm A \mathrm B^{-1} \mathrm y \|_2\\ \text{subject to} & \| \mathrm y \|_2 = 1\end{array}$$
The maximum is
$$\| \mathrm A \mathrm B^{-1} \mathrm y \|_2 \leq \| \mathrm A \mathrm B^{-1} \|_2 \underbrace{\| \mathrm y \|_2}_{=1} = \| \mathrm A \mathrm B^{-1} \|_2 = \sqrt{\lambda_{\max} (\mathrm B^{-T} \mathrm A^T \mathrm A \mathrm B^{-1})}$$
The maximizer, $\mathrm y_{\max}$, is found at the intersection of the eigenspace associated with the maximum eigenvalue of $\mathrm B^{-T} \mathrm A^T \mathrm A \mathrm B^{-1}$ with the unit Euclidean sphere. Note that $\mathrm x_{\max} = \mathrm B^{-1} \mathrm y_{\max}$.
The minimum and the minimizer are now easy to find.