Solve 2x + y + z = 3, −2x − y − z = −3, 3x + y + z = 4

Worked out line by line the way a teacher would write it.

Answer

Solutioninfinitely many — the equations are dependent

Step-by-step solution

9 steps
  1. 1 The system, with the equations numbered
    \begin{aligned}2 x + y + z &= 3 & (1)\\ - 2 x - y - z &= -3 & (2)\\ 3 x + y + z &= 4 & (3)\end{aligned}
  2. 2 Write the augmented matrix (coefficients | constants)
    \left[\begin{array}{ccc|c} 2 & 1 & 1 & 3\\ -2 & -1 & -1 & -3\\ 3 & 1 & 1 & 4 \end{array}\right]
  3. 3 Divide row 1 by 2 so the pivot is 1
    \left[\begin{array}{ccc|c} 1 & \frac{1}{2} & \frac{1}{2} & \frac{3}{2}\\ -2 & -1 & -1 & -3\\ 3 & 1 & 1 & 4 \end{array}\right]
  4. 4 Row 2 ← Row 2 + 2 · Row 1
    \left[\begin{array}{ccc|c} 1 & \frac{1}{2} & \frac{1}{2} & \frac{3}{2}\\ 0 & 0 & 0 & 0\\ 3 & 1 & 1 & 4 \end{array}\right]
  5. 5 Row 3 ← Row 3 − 3 · Row 1
    \left[\begin{array}{ccc|c} 1 & \frac{1}{2} & \frac{1}{2} & \frac{3}{2}\\ 0 & 0 & 0 & 0\\ 0 & - \frac{1}{2} & - \frac{1}{2} & - \frac{1}{2} \end{array}\right]
  6. 6 Swap rows 3 and 2 to get a non-zero pivot
    \left[\begin{array}{ccc|c} 1 & \frac{1}{2} & \frac{1}{2} & \frac{3}{2}\\ 0 & - \frac{1}{2} & - \frac{1}{2} & - \frac{1}{2}\\ 0 & 0 & 0 & 0 \end{array}\right]
  7. 7 Divide row 2 by -1/2 so the pivot is 1
    \left[\begin{array}{ccc|c} 1 & \frac{1}{2} & \frac{1}{2} & \frac{3}{2}\\ 0 & 1 & 1 & 1\\ 0 & 0 & 0 & 0 \end{array}\right]
  8. 8 Row 1 ← Row 1 − 1/2 · Row 2
    \left[\begin{array}{ccc|c} 1 & 0 & 0 & 1\\ 0 & 1 & 1 & 1\\ 0 & 0 & 0 & 0 \end{array}\right]
  9. 9 Fewer pivots than unknowns: z can be anything
    x = 1,\quad y = 1 - z

    Infinitely many solutions, one for every value of the free variable(s).

Open this problem in the solver

Change a number or try your own problem: the solver works it out the same way, with a graph and hint mode.