I have an optimization problem of this sort
$min_{(x_1, x_2) } 4x^2_1 + x^2_2$
subject to $x_1 -2x_2 + 5 = 0$
I am trying to solve for the optimal points using the first and second derivative tests by making $x_1$ function of $x_2$.
I have that $x_1 = 2x_2 +5$ and the minimization problem is of the form $17x_2^2 - 80x_2 +100$ From this point I'm guessing that first derivative of $17x_2^2 - 80x_2 +100$ =0. Hence $x_2 = 80/34$ I'm not sure if this is correct or how to do the second derivative test.
We have $x_1 = 2x_2\color{red}-5$
$$4(2x_2-5)^2+x_2^2=17x_2^2-80x_2+100$$
Setting the first derivative $34x_2-80=0$.
The second derivative is $17 > 0$, hence it is the minimum.