19.03.2018 Views

linear-guest

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7.7 LU Redux 163<br />

so we would like to perform the row operations<br />

R 2 → R 2 − 1 3 R 1 and R 3 → R 3 − 2 3 R 1 .<br />

If we perform these row operations on M to produce<br />

⎛<br />

6 18<br />

⎞<br />

3<br />

U 1 = ⎝0 6 0⎠ ,<br />

0 3 1<br />

we need to multiply this on the left by a lower triangular matrix L 1 so that<br />

the product L 1 U 1 = M still. The above example shows how to do this: Set<br />

L 1 to be the lower triangular matrix whose first column is filled with minus<br />

the constants used to zero out the first column of M. Then<br />

⎛ ⎞<br />

1 0 0<br />

⎜ 1 ⎟<br />

L 1 = ⎝ 1 0<br />

3 ⎠ .<br />

2<br />

0 1<br />

3<br />

By construction L 1 U 1 = M, but you should compute this yourself as a double<br />

check.<br />

Now repeat the process by zeroing the second column of U 1 below the<br />

diagonal using the second row of U 1 using the row operation R 3 → R 3 − 1R 2 2<br />

to produce<br />

⎛ ⎞<br />

6 18 3<br />

U 2 = ⎝0 6 0⎠ .<br />

0 0 1<br />

The matrix that undoes this row operation is obtained in the same way we<br />

found L 1 above and is: ⎛<br />

1 0<br />

⎞<br />

0<br />

⎝0 1 0⎠ .<br />

0 1 2<br />

1<br />

Thus our answer for L 2 is the product of this matrix with L 1 , namely<br />

⎛ ⎞ ⎛ ⎞ ⎛ ⎞<br />

1 0 0 1 0 0 1 0 0<br />

⎜ 1 ⎟<br />

L 2 = ⎝ 1 0<br />

3 ⎠ ⎝0 1 0⎠ ⎜ 1 ⎟<br />

= ⎝ 1 0<br />

2<br />

0 1 0 1 3 ⎠ .<br />

1 2 1<br />

3 2 1<br />

3 2<br />

Notice that it is lower triangular because<br />

163

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!