Equations (Rows):
3
Variables (Cols):
3
Coefficients A
× [x] =
Constants b
Advertisement Slot

Methods for Solving Linear Equation Systems

A system of linear equations with \(m\) equations and \(n\) unknowns can be written compactly in matrix-vector form:

Matrix Representation:

\(A \mathbf{x} = \mathbf{b}\)

The Three Solution Classifications

  1. Unique Solution: The rank of the coefficient matrix equals the rank of the augmented matrix equals the number of variables: \(\text{Rank}(A) = \text{Rank}([A \mid b]) = n\).
  2. Infinitely Many Solutions: The system is consistent (\(\text{Rank}(A) = \text{Rank}([A \mid b])\)), but \(\text{Rank} < n\). There are \(n - \text{Rank}\) free variables.
  3. No Solution (Inconsistent): The row reduction produces a row \([0 \dots 0 \mid c]\) with \(c \ne 0\). Geometrically, the geometric constraints do not intersect at any common point.

Solved Linear System Examples with Complete Working

Example 1: Unique Solution with Gaussian Elimination and Cramer's Rule

Solve the 3×3 system:

\(\begin{aligned} 2x + y - z &= 8 \\ -3x - y + 2z &= -11 \\ -2x + y + 2z &= -3 \end{aligned}\)

Step 1: Augmented Matrix Setup:

\([A \mid b] = \left[\begin{array}{ccc|c} 2 & 1 & -1 & 8 \\ -3 & -1 & 2 & -11 \\ -2 & 1 & 2 & -3 \end{array}\right]\)

Step 2: Gauss-Jordan Reduction to RREF:

\(\text{RREF}([A \mid b]) = \left[\begin{array}{ccc|c} 1 & 0 & 0 & 2 \\ 0 & 1 & 0 & 3 \\ 0 & 0 & 1 & -1 \end{array}\right]\)

Step 3: Verification via Cramer's Rule:

\(\det(A) = -1\). Then \(x = \frac{\det(A_1)}{\det(A)} = \frac{-2}{-1} = 2\), \(y = \frac{-3}{-1} = 3\), \(z = \frac{1}{-1} = -1\).

Result: Unique solution \((x, y, z) = (2, 3, -1)\).

Example 2: Inconsistent System (Contradiction)

Solve the 2×2 system:

\(\begin{aligned} x + 2y &= 4 \\ 2x + 4y &= 10 \end{aligned}\)

Augmented Matrix Operation: \(R_2 \leftarrow R_2 - 2R_1\):

\(\left[\begin{array}{cc|c} 1 & 2 & 4 \\ 0 & 0 & 2 \end{array}\right]\)

Row 2 translates to \(0x + 0y = 2 \implies 0 = 2\), which is a mathematical impossibility.

Conclusion: The system is inconsistent; no solution exists (parallel lines).

Study Gaussian Elimination

Learn how matrix inverses and linear systems are solved using the same elementary row operations.

Read our complete student guide: How to Find the Inverse of a Matrix →
Advertisement Slot

Frequently Asked Questions

1. Exactly one unique solution (consistent independent). 2. Infinitely many solutions (consistent dependent with free variables). 3. No solution at all (inconsistent, where parallel planes or lines never intersect).
Cramer's Rule can only be applied when the coefficient matrix A is square (same number of equations as unknowns) and has a non-zero determinant (det(A) != 0).
During row reduction of the augmented matrix [A | b], an inconsistent system produces a row of the form [0 0 ... 0 | c] where c != 0. Since 0 = c is impossible, no solution exists.
An augmented matrix [A | b] appends the column vector of constant values b to the right of the coefficients matrix A, allowing simultaneous row operations on both sides of the equations.