Training Linear Algebra Systems and Row Reduction
2 / 5

Systems and Row Reduction

24 min Linear Algebra

Systems and Row Reduction

One of the most common problems in applied mathematics is solving a system of linear equations — finding the values of several unknowns that simultaneously satisfy several equations. These systems appear everywhere: balancing chemical equations, analyzing electrical circuits, fitting trend lines to data, and optimizing resource allocation. Linear algebra provides a systematic, algorithmic method for solving them, no matter how large or complex they become.

The key idea is to translate the system of equations into an augmented matrix, then use elementary row operations — swapping rows, scaling a row, and adding a multiple of one row to another — to transform the matrix into a simpler form from which the solution can be read directly. This process is called Gaussian elimination, and when carried to its simplest form the result is called reduced row-echelon form (RREF), where each leading entry is 1 and is the only nonzero entry in its column.

Not every system has a single unique solution. Some systems are inconsistent — the equations contradict each other — and this shows up in the row-reduced matrix as a row of the form $[0\;0\;|\;c]$ with $c \ne 0$. Other systems are dependent, meaning they have infinitely many solutions because at least one variable is free to take any value. Recognizing these special cases is just as important as finding the unique solution when it exists.

In this lesson you will practice setting up augmented matrices, performing row operations, identifying whether a system has one solution, no solution, or infinitely many, and reading the answer from the final reduced form. These skills are the computational backbone of linear algebra.

Elementary Row Operations
  1. Swap two rows.
  2. Multiply a row by a nonzero scalar.
  3. Add a multiple of one row to another.
Example 1

Solve $x+y=5$ and $x-y=1$.

  1. Augmented matrix:
  2. $$\left[\begin{array}{cc|c}1&1&5\\1&-1&1\end{array}\right].$$ Subtract row 2 from row 1 or solve directly to get $(x,y)=(3,2)$.
Reduced Row-Echelon Form

A matrix is in RREF when each leading entry is 1, leading 1s move right as you go down, and each leading 1 is the only nonzero entry in its column.

Example 2

Interpret $$\left[\begin{array}{cc|c}1&0&4\\0&1&-2\end{array}\right].$$

  1. $x=4$, $y=-2$.
Special Cases

A row like $[0\;0\;|\;5]$ means no solution. A row of all zeros can signal infinitely many solutions.

Interactive Explorer: 2×2 System Solver
System: 1x + 1y = 5 ; 1x + (−1)y = 1
Determinant: −2
Solution: (x, y) = (3, 2)

Practice Problems

1. Write the augmented matrix for $2x+y=7$, $x-y=1$.
2. Solve $x+y=6$, $x-y=2$.
3. What does a contradictory row look like?
4. What does a zero row suggest?
5. Interpret $$\left[\begin{array}{cc|c}1&0&-1\\0&1&3\end{array}\right].$$
Show Answer Key

1. $$\left[\begin{array}{cc|c}2&1&7\\1&-1&1\end{array}\right]$$

2. $(4,2)$

3. $[0\;0\;|\;c]$ with $c \ne 0$

4. Dependent equations or a free variable

5. $(x,y)=(-1,3)$