Systems and Row Reduction
Systems and Row Reduction
Systems of linear equations can be organized into an augmented matrix and solved with row operations.
- 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)$