Given this minimization problem:
$$ \text{minimize }\, \, x_1^2 + 2x_2^2 \\ \text{subject to } \, \, x_1 + x_2 = 3 $$
I wish to solve this using the penalty method, what I've done so far:
$$ \text{minimize} \, \, f(x) \\ \text{where} \, \, f(x) = x_1^2 + 2x_2^2 + \gamma(x_1 +x_2 -3)^2 $$
I try to find $x_1, x_2$ using First Order Necessary Condition:
$$ 2(1 + \gamma)x_1 + 2\gamma x_2 - 6\gamma = 0 \\ 2\gamma x_1 + 2(2+ \gamma)x_2 - 6\gamma = 0 \\ $$
What I do next is to use row reduction to solve this problem:
$$ \begin{bmatrix} 2(1+\gamma) & 2\gamma & | \, \, 6 \gamma \\ 2\gamma & 2(2+\gamma)& | \, \, 6 \gamma \end{bmatrix} \\ \downarrow \\ \begin{bmatrix} 1+\gamma & \gamma & | \, \, 3 \gamma \\ \gamma & 2+\gamma& | \, \, 3 \gamma \end{bmatrix} \\ $$
Dividing by $\gamma$ and letting $\gamma \rightarrow \infty$:
$$ \begin{bmatrix} 1 & 1 & | \, \, 3 \\ 1 & 1 & | \, \, 3 \end{bmatrix} \\ $$
Which does not give me an unique solution, according to the textbook the unique solution is to be
$$ x^* = \begin{bmatrix} 2 \\ 1 \end{bmatrix} $$
What am I doing wrong?
Thank you very much