06.09.2021 Views

A First Course in Linear Algebra, 2017a

A First Course in Linear Algebra, 2017a

A First Course in Linear Algebra, 2017a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.2. LU Factorization 99<br />

2.2 LU Factorization<br />

An LU factorization of a matrix <strong>in</strong>volves writ<strong>in</strong>g the given matrix as the product of a lower triangular<br />

matrix L which has the ma<strong>in</strong> diagonal consist<strong>in</strong>g entirely of ones, and an upper triangular matrix U <strong>in</strong> the<br />

<strong>in</strong>dicated order. This is the version discussed here but it is sometimes the case that the L has numbers<br />

other than 1 down the ma<strong>in</strong> diagonal. It is still a useful concept. The L goes with “lower” and the U with<br />

“upper”.<br />

It turns out many matrices can be written <strong>in</strong> this way and when this is possible, people get excited<br />

about slick ways of solv<strong>in</strong>g the system of equations, AX = B. It is for this reason that you want to study<br />

the LU factorization. It allows you to work only with triangular matrices. It turns out that it takes about<br />

half as many operations to obta<strong>in</strong> an LU factorization as it does to f<strong>in</strong>d the row reduced echelon form.<br />

<strong>First</strong> it should be noted not all matrices have an LU factorization and so we will emphasize the techniques<br />

for achiev<strong>in</strong>g it rather than formal proofs.<br />

Example 2.66: A Matrix with NO LU factorization<br />

[ ]<br />

0 1<br />

Can you write <strong>in</strong> the form LU as just described?<br />

1 0<br />

Solution. To do so you would need<br />

[ ][ 1 0 a b<br />

x 1 0 c<br />

] [ a b<br />

=<br />

xa xb + c<br />

]<br />

=<br />

[ 0 1<br />

1 0<br />

]<br />

.<br />

Therefore, b = 1anda = 0. Also, from the bottom rows, xa = 1 which can’t happen and have a = 0.<br />

Therefore, you can’t write this matrix <strong>in</strong> the form LU .IthasnoLU factorization. This is what we mean<br />

above by say<strong>in</strong>g the method lacks generality.<br />

Nevertheless the method is often extremely useful, and we will describe below one the many methods<br />

used to produce an LU factorization when possible.<br />

♠<br />

2.2.1 F<strong>in</strong>d<strong>in</strong>g An LU Factorization By Inspection<br />

Which matrices have an LU factorization? It turns out it is those whose row-echelon form can be achieved<br />

without switch<strong>in</strong>g rows. In other words matrices which only <strong>in</strong>volve us<strong>in</strong>g row operations of type 2 or 3<br />

to obta<strong>in</strong> the row-echelon form.<br />

Example 2.67: An LU factorization<br />

⎡<br />

1 2 0<br />

⎤<br />

2<br />

F<strong>in</strong>d an LU factorization of A = ⎣ 1 3 2 1 ⎦.<br />

2 3 4 0

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

Saved successfully!

Ooh no, something went wrong!