question · medium · updated 2026-11-24

Practice question: gaussian elimination, system of linear equations (gen-gaussian-elimination-002)

Question

Solve the system $x + y + z = 6$, $2x + 3y + z = 11$, $2x + y + 2z = 10$ by Gaussian elimination. What is the value of $z$?

Show the answer and the solution

Answer:

$R_2 \leftarrow R_2 - 2R_1$ gives $y - z = -1$. $R_3 \leftarrow R_3 - 2R_1$ gives $-y = -2$, so $y = 2$. Then $z = y + 1 = 3$ and $x = 6 - 2 - 3 = 1$. Check: $2x + 3y + z = 2 + 6 + 3 = 11$.

Common trap: The matrix has full rank 3, so the solution is unique; do not stop at a free variable.

topics