↓ Slide 1

Example

Use EROs to find the intersection of the planes \begin{align*} 3x+4y+7z&=2\\x+3z&=0\\y-2z&=5\end{align*}

↓ Slide 2

Solution 1

\begin{align*} \def\go#1#2#3{\left[\begin{smallmatrix}#1\\#2\\#3\end{smallmatrix}\right]} \def\ar#1{\\\xrightarrow{#1}&} &\go{3&4&7&2}{1&0&3&0}{0&1&-2&5} \ar{\text{reorder rows}}\go{1&0&3&0}{0&1&-2&5}{3&4&7&2} \ar{R3\to R3-3R1}\go{1&0&3&0}{0&1&-2&5}{0&4&-2&2} \ar{R3\to R3-4R2}\go{1&0&3&0}{0&1&-2&5}{0&0&6&-18} \ar{R3\to \tfrac16 R3}\go{1&0&3&0}{0&1&-2&5}{0&0&1&-3} \end{align*}

$\go{1&0&3&0}{0&1&-2&5}{0&0&1&-3}$

↓ Slide 3

Solution 2

We start in the same way, but by performing more EROs we make the algebra at the end simpler.

\begin{align*} \def\go#1#2#3{\left[\begin{smallmatrix}#1\\#2\\#3\end{smallmatrix}\right]} \def\ar#1{\\\xrightarrow{#1}&} &\go{3&4&7&2}{1&0&3&0}{0&1&-2&5} \ar{\ldots \text{same EROs as above}\ldots}\go{1&0&3&0}{0&1&-2&5}{0&0&1&-3} \ar{R2\to R2+2R3}\go{1&0&3&0}{0&1&0&-1}{0&0&1&-3} \ar{R1\to R1-3R3}\go{1&0&0&9}{0&1&0&-1}{0&0&1&-3} \end{align*}

\[ \go{1&0&0&9}{0&1&0&-1}{0&0&1&-3}\]

↓ Slide 4

Discussion

Both solutions use EROs to transform the augmented matrix.

→ Slide 5

Row echelon form and reduced row echelon form

↓ Slide 6

Definition: zero row

A row of a matrix is a zero row if it contains only zeros. For example, $[0\ 0\ 0\ 0\ 0]$ is a zero row.

A row of a matrix is non-zero, or a non-zero row if contains at least one entry that is not $0$. For example $[0\ 0\ 3\ 0\ 0]$ is non-zero, and so is $[1\ 2\ 3\ 4\ -5]$.

↓ Slide 7

Definition: leading entry

The leading entry of a non-zero row of a matrix is the leftmost entry which is not $0$.

For example, the leading entry of the row $[0~0~0~6~2~0~3~1~0]$ is $6$.

↓ Slide 8

Row echelon form (REF)

A matrix is in row echelon form, or REF, if:

  1. the zero rows of the matrix (if any) are all at the bottom of the matrix; and
  2. in every non-zero row of the matrix, the leading entry is $1$; and
  3. as you go down the rows, the leading entries go to the right.
↓ Slide 9

Reduced row echelon form (RREF)

A matrix is in reduced row echelon form or RREF if it is in row echelon form (REF) and also has the property:

<html><ol start=“4”><li class=“level1”><div class=“li”></html> If a column contains the leading entry of a row, then every other entry in that column is $0$. <html></div></li></ol></html>

↓ Slide 10

Example

Use EROs to put $\go{1&2&3&4&5}{0&1&2&3&4}{0&0&1&2&3}$ into RREF. Solve the corresponding linear system.

↓ Slide 11

Solution

\begin{align*} &\go{1&2&3&4&5}{0&1&2&3&4}{0&0&1&2&3} \ar{R2\to R2-2R3}\go{1&2&3&4&5}{0&1&0&-1&-2}{0&0&1&2&3} \ar{R1\to R1-3R3}\go{1&2&0&-2&-4}{0&1&0&-1&-2}{0&0&1&2&3} \ar{R1\to R1-2R2}\go{1&0&0&0&0}{0&1&0&-1&-2}{0&0&1&2&3},\text{ in RREF} \end{align*}

\[ \go{1&0&0&0&0}{0&1&0&-1&-2}{0&0&1&2&3} \]

→ Slide 12

Solving a system in REF or RREF

Given an augmented matrix in REF (or RREF), each column except the last column corresponds to a variable. These come in two types:

  • leading variables are variables whose column contains the leading entry of some row;
  • free variables are all the other variables.

To solve the corresponding linear system:

  1. assign a free parameter ($r,s,t,\dots$) to each free variable
  2. starting at the bottom, write out each equation and rearrange for its leading variable
↓ Slide 13

Example

Solve the linear system for $\newcommand{\sm}{\left[\begin{smallmatrix}}\newcommand{\esm}{\end{smallmatrix}\right]} \sm 1&2&3&0&0&8\\0&0&1&1&1&5\\0&0&0&1&3&4\esm$.