Linear AlgebraCramer's Rule

Solve the 3x3 system x + y + z = 6; 2 x - y + 3 z = 9; x + 2 y - z = 2 using Cramer's rule

Homework Question

Use Cramer's rule to solve the system x+y+z=6,  2x−y+3z=9,  x+2y−z=2x + y + z = 6,\; 2 x - y + 3 z = 9,\; x + 2 y - z = 2.

Verified Final Answer
x=1,  y=2,  z=3x = 1,\; y = 2,\; z = 3

Key Formula & Principle

xi=det⁡(Ai)det⁡(A)x_i = \frac{\det(A_i)}{\det(A)} where AiA_i has column ii replaced by b\mathbf{b}

Step-by-Step Solution

  1. 1
    Coefficient matrix A=[1112−1312−1]A = \begin{bmatrix}1 & 1 & 1\\2 & -1 & 3\\1 & 2 & -1\end{bmatrix} with det⁡(A)=5≠0\det(A) = 5 \neq 0.
  2. 2
    Replace column 11 with b\mathbf{b}: det⁡(A1)=5\det(A_1) = 5, so x=55=1x = \frac{5}{5} = 1.
  3. 3
    Replace column 22 with b\mathbf{b}: det⁡(A2)=10\det(A_2) = 10, so y=105=2y = \frac{10}{5} = 2.
  4. 4
    Replace column 33 with b\mathbf{b}: det⁡(A3)=15\det(A_3) = 15, so z=155=3z = \frac{15}{5} = 3.
  5. 5
    Check by substituting the values back into every equation.
Interactive Homework Customizer

Have this WebAssign / Canvas problem with different numbers?

Replace the numbers or functions below to match your exact assignment version, then generate a custom step-by-step derivation.

View all Linear Algebra →