19.03.2018 Views

linear-guest

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

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

264 Orthonormal Bases and Complements<br />

14.4.1 The Gram-Schmidt Procedure<br />

In fact, given an ordered set (v 1 , v 2 , . . .) of <strong>linear</strong>ly independent vectors, we<br />

can define an orthogonal basis for span{v 1 , v 2 , . . .} consisting of the vectors<br />

v ⊥ 1 := v 1<br />

v ⊥ 2 := v 2 − v⊥ 1 · v 2<br />

v ⊥ 1 · v ⊥ 1<br />

v ⊥ 1<br />

v ⊥ 3 := v 3 − v⊥ 1 · v 3<br />

v ⊥ 1 · v ⊥ 1<br />

.<br />

v ⊥ i := v i − v⊥ 1 · v i<br />

v ⊥ 1 · v ⊥ 1<br />

.<br />

v ⊥ 1 − v⊥ 2 · v 3<br />

v ⊥ 2 · v ⊥ 2<br />

v ⊥ 1 − v⊥ 2 · v i<br />

v ⊥ 2 · v ⊥ 2<br />

v ⊥ 2<br />

v2 ⊥ − · · · −<br />

v⊥ i−1 · v i<br />

vi−1 ⊥ · v⊥ i−1<br />

v ⊥ i−1<br />

Notice that each v ⊥ i here depends on v ⊥ j for every j < i. This allows us to<br />

inductively/algorithmically build up a <strong>linear</strong>ly independent, orthogonal set<br />

of vectors {v ⊥ 1 , v ⊥ 2 , . . .} such that span{v ⊥ 1 , v ⊥ 2 , . . .} = span{v 1 , v 2 , . . .}. That<br />

is, an orthogonal basis for the latter vector space.<br />

Note that the set of vectors you start out with needs to be ordered to<br />

uniquely specify the algorithm; changing the order of the vectors will give a<br />

different orthogonal basis. You might need to be the one to put an order on<br />

the initial set of vectors.<br />

This algorithm is called the Gram–Schmidt orthogonalization procedure–Gram<br />

worked at a Danish insurance company over one hundred years<br />

ago, Schmidt was a student of Hilbert (the famous German mathmatician).<br />

Example 135 We’ll obtain ⎧an⎛<br />

orthogonal ⎞ ⎛ ⎞ basis ⎛ ⎞for ⎫ R 3 by appling Gram-Schmidt to<br />

⎨ 1 1 3 ⎬<br />

the <strong>linear</strong>ly independent set ⎝1⎠ , ⎝1⎠ , ⎝1⎠<br />

⎩<br />

⎭ .<br />

1 0 1<br />

Because he Gram-Schmidt algorithm uses the first vector from the ordered set the<br />

largest number of times, we will choose the vector with the most zeros to be the first<br />

in hopes of simplifying computations; we choose to order the set as<br />

⎛⎛<br />

⎞ ⎛ ⎞ ⎛ ⎞⎞<br />

1 1 3<br />

(v 1 , v 2 , v 3 ) := ⎝⎝1⎠ , ⎝1⎠ , ⎝1⎠⎠ .<br />

0 1 1<br />

264

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

Saved successfully!

Ooh no, something went wrong!