So I have this linear equation system:
$inf \{3x_1 - x_2 - 2x_3 + x_4\}$
$x_1 + 4x_2 - x_3 - 3x_4 ≤ 3$
$-2x_1 + x_2 + 2x_3 - x_4 ≥ -1$
$5x_1 - 3x_2 + x_3 + 2x_4 ≤ 4$
$x_1 ≥ 0, x_2 ∈ R, x_3 ≤ 0, x_4 ∈ R$
And I have to bring it to its standard form.
I have done the following:
$x_1 + 4x_2 - x_3 - 3x_4 + x_5 = 3$
$-2x_1 + x_2 + 2x_3 - x_4 - x_6 = -1$
$5x_1 - 3x_2 + x_3 + 2x_4 + x_7 = 4$
$x_1 ≥ 0, x_2 ∈ R, x_3 ≤ 0, x_4 ∈ R, x_5 ≥ 0, x_6 ≥ 0, x_7 ≥ 0 $
Now, in class, the professor wrote the next thing, which I don't understand how he got to it:
$x_2 = x_8 - x_9;\space\space x_8 ≥ 0, x_9 ≥ 0;$
$x_3 = -x_{10};\space\space x_{10} ≥ 0$
$x_4 = x_{11} - x_{12};\space\space x_{11} ≥ 0,x_{12} ≥ 0;$
And then he substituted $x_2, x_3, x_4$ in the original equation system, therefore bringing it to its standard form. Can you please explain how he got $x_2, x_3$ and $x_4$ to equal that, and why did he choose only $x_2, x_3$ and $x_4$ out of all the variables ? Thank you.