## Solution to Mathematics for Machine Learning Exercise 7.7

Consider the quadratic program illustrated in Figure 7.4, $$ \min _{\boldsymbol{x} \in \mathbb{R}^{2}}\quad \frac{1}{2}\left[\begin{array}{l} x_{1} \\ x_{2} \end{array}\right]^{\top}\left[\begin{array}{ll} 2 & 1 \\ 1 & 4 \end{array}\right]\left[\begin{array}{l} x_{1} \\ x_{2} \end{array}\right]+\left[\begin{array}{l}…