Given
\begin{equation} X^TAX = \left({\begin{array}{cc} x_1 & x_2 \end{array}}\right) \left(\begin{array}{cc} 1.5 & 1\\ 1 & 2 \end{array}\right) \left(\begin{array}{c} x_1 \\ x_2 \end{array}\right) = \end{equation}
Find $x_1$ and $x_2$ ratios that will minimize $X^TAX$ subject to $x_1+x_2=1$
Guide:
The quesiton is equivalent to
$$\min 1.5x_1^2 + 2x_1x_2 + 2x_2^2$$
subject to $x_1+x_2=1$.
Once we perform a substitution, reduce the problem to a one dimensional quadratic optimization problem.
$$\min 1.5x_1^2 + 2x_1(1-x_1) + 2(1-x_1)^2$$