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

Create successful ePaper yourself

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

4.11. Orthogonality and the Gram Schmidt Process 237<br />

Solution. <strong>First</strong> we exam<strong>in</strong>e the product AB.<br />

(AB)(B T A T )=A(BB T )A T = AA T = I<br />

S<strong>in</strong>ce AB is square, B T A T =(AB) T is the <strong>in</strong>verse of AB, soAB is <strong>in</strong>vertible, and (AB) −1 =(AB) T Therefore,<br />

AB is orthogonal.<br />

Next we show that A −1 = A T is also orthogonal.<br />

(A −1 ) −1 = A =(A T ) T =(A −1 ) T<br />

Therefore A −1 is also orthogonal.<br />

♠<br />

4.11.3 Gram-Schmidt Process<br />

The Gram-Schmidt process is an algorithm to transform a set of vectors <strong>in</strong>to an orthonormal set spann<strong>in</strong>g<br />

the same subspace, that is generat<strong>in</strong>g the same collection of l<strong>in</strong>ear comb<strong>in</strong>ations (see Def<strong>in</strong>ition 9.12).<br />

The goal of the Gram-Schmidt process is to take a l<strong>in</strong>early <strong>in</strong>dependent set of vectors and transform it<br />

<strong>in</strong>to an orthonormal set with the same span. The first objective is to construct an orthogonal set of vectors<br />

with the same span, s<strong>in</strong>ce from there an orthonormal set can be obta<strong>in</strong>ed by simply divid<strong>in</strong>g each vector<br />

by its length.<br />

Algorithm 4.135: Gram-Schmidt Process<br />

Let {⃗u 1 ,···,⃗u n } be a set of l<strong>in</strong>early <strong>in</strong>dependent vectors <strong>in</strong> R n .<br />

I: Construct a new set of vectors {⃗v 1 ,···,⃗v n } as follows:<br />

⃗v 1 =⃗u 1 ( ) ⃗u2 •⃗v 1<br />

⃗v 2 =⃗u 2 −<br />

‖⃗v 1 ‖ 2 ⃗v 1<br />

( ) ( )<br />

⃗u3 •⃗v 1 ⃗u3 •⃗v 2<br />

⃗v 3 =⃗u 3 −<br />

‖⃗v 1 ‖ 2 ⃗v 1 −<br />

‖⃗v 2 ‖ 2 ⃗v 2<br />

... ( ) ( ) ( )<br />

⃗un •⃗v 1 ⃗un •⃗v 2<br />

⃗un •⃗v n−1<br />

⃗v n =⃗u n −<br />

‖⃗v 1 ‖ 2 ⃗v 1 −<br />

‖⃗v 2 ‖ 2 ⃗v 2 −···−<br />

‖⃗v n−1 ‖ 2 ⃗v n−1<br />

II: Now let ⃗w i = ⃗v i<br />

for i = 1,···,n.<br />

‖⃗v i ‖<br />

Then<br />

1. {⃗v 1 ,···,⃗v n } is an orthogonal set.<br />

2. {⃗w 1 ,···,⃗w n } is an orthonormal set.<br />

3. span{⃗u 1 ,···,⃗u n } = span{⃗v 1 ,···,⃗v n } = span{⃗w 1 ,···,⃗w n }.<br />

Proof. The full proof of this algorithm is beyond this material, however here is an <strong>in</strong>dication of the arguments.

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

Saved successfully!

Ooh no, something went wrong!