Systems and Row Reduction
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.
- Swap two rows.
- Multiply a row by a nonzero scalar.
- Add a multiple of one row to another.
Solve $x+y=5$ and $x-y=1$.
- Augmented matrix:
- $$\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)$.
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.
Interpret $$\left[\begin{array}{cc|c}1&0&4\\0&1&-2\end{array}\right].$$
- $x=4$, $y=-2$.
A row like $[0\;0\;|\;5]$ means no solution. A row of all zeros can signal infinitely many solutions.
Practice Problems
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)$