5.6 The Gram–Schmidt Orthogonalization Process

In this section, we learn a process for constructing an orthonormal basis for an n-dimensional inner product space V. The method involves using projections to transform an ordinary basis {x1,x2,,xn} into an orthonormal basis {u1,u2,,un}.

We will construct the ui’s so that

Span=(u1,,uk)=Span(x1,,xk)

for k=1,,n. To begin the process, let

u1=(1x1)x1 (1)

Span(u1)=Span(x1), since u1 is a unit vector in the direction of x1. Let p1 denote the projection of x2 onto Span(x1)=Span(u1); that is,

p1=x2,u1u1

By Theorem 5.5.7,

(x2p1)u1

Note that x2p10, since

x2p1=x2,u1x1x1+x2 (2)

and x1 and x2 are linearly independent. If we set

u2=1x2p1(x2p1) (3)

then u2 is a unit vector orthogonal ...

Get Linear Algebra with Applications, 10th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.