Docsity

Orthonormal Sets - Lecture Notes | MAT 343, Study notes of Linear Algebra

Toggle sidebar
bg1
5.5 c
2010 Stefania Tracogna, ASU 5.5
§5.5
Orthonormal Sets
Orthogonal Sets
Definition: A set {v1,v2,...vn}of non zero vectors form an orthogonal set if hvi,vji= 0 whenever
i6=j.
EXAMPLE:
{v1,v2,v3}={(1,−1,1,−1)T,(1,−1,−1,1)T,(1,1,1,1)T}form an orthonormal set since
vT
1v2=vT
1v3=vT
2v3= 0.
THEOREM 5.5.1 Orthogonal set of vectors are linearly independent.
Proof: Let v1,v2,...,vnbe an orthogonal set and let c1v1+c2v2+...cnvn=0.
Taking the inner product of the above expression with v1we obtain:
c1hv1,v1i+c2hv1,v2i+...+cnhv1,vni= 0.
It follows that c1||v1||2= 0 and therefore c1= 0.
Similarly for all the other ci’s which proves independence.
Orthonormal Sets
Definition: An orthonormal set of vectors is an orthogonal set of unit vectors.
Note that we can change any vector vinto a unit vector by dividing it by its norm: u=v
||v||.
EXAMPLE: We can change the set of vectors in the previous example into an orthonormal set by
dividing each vector by its norm. All three vectors have norm two, thus, the orthonormal set is given
by {(1/2,−1/2,1/2,−1/2)T,(1/2,−1/2,−1/2,1/2)T,(1/2,1/2,1/2,1/2)T}.
EXAMPLE: Show that, in C([−π, π]) with inner product
hf, gi=1
πZπ
−π
f(x)g(x)dx
the functions sinxand cos xform an orthonormal set.
Solution: hsin x, cos xi=1
πRπ
−πsin xcos x dx = 0 (note that sin xcos xis an odd function).
Also, ||sin x|||2=hsin x, sin xi=1
πRπ
−πsin2x dx =1
2πRπ
−π(1 −cos(2x)) dx =1
2πhx−sin(2x)
2iπ
−π=
1
2π(π−(−π)) = 1. Similarly for ||cos x||. Thus the two vectors are orthogonal and of norm one and
therefore orthonormal.
Let {u1,u2,...,un}be an orthonormal basis for an inner product space V.
THEOREM 5.5.2: If v=
n
X
i=1
ciui, then ci=hv,uii, i = 1,...,n.
Proof: hv,uji=Pn
i=1hciui,uji=Pn
i=1 cihui,uji=cihui,uii=ci
COROLLARY 5.5.3 If u=Pn
i=1 aiuiand v=Pn
i=1 biui, then
hu,vi=
n
X
i=1
aibi.
1
pf3
pf4

Partial preview of the text

Download Orthonormal Sets - Lecture Notes | MAT 343 and more Study notes Linear Algebra in PDF only on Docsity!

Orthonormal Sets

Orthogonal Sets

Definition: A set {v 1 , v 2 ,... vn} of non zero vectors form an orthogonal set if 〈vi, vj 〉 = 0 whenever i 6 = j.

EXAMPLE: {v 1 , v 2 , v 3 } = {(1, − 1 , 1 , −1)T^ , (1, − 1 , − 1 , 1)T^ , (1, 1 , 1 , 1)T^ } form an orthonormal set since vT 1 v 2 = vT 1 v 3 = vT 2 v 3 = 0.

THEOREM 5.5.1 Orthogonal set of vectors are linearly independent.

Proof: Let v 1 , v 2 ,... , vn be an orthogonal set and let c 1 v 1 + c 2 v 2 +... cnvn = 0. Taking the inner product of the above expression with v 1 we obtain: c 1 〈v 1 , v 1 〉 + c 2 〈v 1 , v 2 〉 +... + cn〈v 1 , vn〉 = 0. It follows that c 1 ||v 1 ||^2 = 0 and therefore c 1 = 0. Similarly for all the other ci’s which proves independence. 

Orthonormal Sets

Definition: An orthonormal set of vectors is an orthogonal set of unit vectors. Note that we can change any vector v into a unit vector by dividing it by its norm: u = (^) ||vv||.

EXAMPLE: We can change the set of vectors in the previous example into an orthonormal set by dividing each vector by its norm. All three vectors have norm two, thus, the orthonormal set is given by {(1/ 2 , − 1 / 2 , 1 / 2 , − 1 /2)T^ , (1/ 2 , − 1 / 2 , − 1 / 2 , 1 /2)T^ , (1/ 2 , 1 / 2 , 1 / 2 , 1 /2)T^ }.

EXAMPLE: Show that, in C([−π, π]) with inner product

〈f, g〉 =

π

∫ (^) π

−π

f (x)g(x) dx

the functions sin x and cos x form an orthonormal set.

Solution: 〈sin x, cos x〉 = (^1) π

∫ (^) π −π sin^ x^ cos^ x dx^ = 0 (note that sin^ x^ cos^ x^ is an odd function).

Also, || sin x|||^2 = 〈sin x, sin x〉 = (^) π^1

∫ (^) π −π sin

(^2) x dx = 1 2 π

∫ (^) π −π (1^ −^ cos(2x))^ dx^ =^

1 2 π

[

x − sin(2 2 x)

]π −π

1 2 π (π^ −^ (−π)) = 1.^ Similarly for^ ||^ cos^ x||.^ Thus the two vectors are orthogonal and of norm one and therefore orthonormal.

Let {u 1 , u 2 ,... , un} be an orthonormal basis for an inner product space V.

THEOREM 5.5.2: If v =

∑^ n

i=

ciui, then ci = 〈v, ui〉, i = 1,... , n.

Proof: 〈v, uj 〉 =

∑n i=1〈ciui,^ uj^ 〉^ =^

∑n i=1 ci〈ui,^ uj^ 〉^ =^ ci〈ui,^ ui〉^ =^ ci^ 

COROLLARY 5.5.3 If u =

∑n i=1 aiui^ and^ v^ =^

∑n i=1 biui, then

〈u, v〉 =

∑^ n

i=

aibi.

THEOREM 5.5.4 PARSEVAL’S FORMULA:

If v =

ciui, then ||v||^2 =

∑n i=1 c 2 i

Proof: ||v||^2 = 〈v, v〉 =

i,j cicj^ 〈ui,^ uj^ 〉^ =^

i c

2 i.^ 

EXAMPLE: The vectors u 1 =

)T

, u 2 =

)T

, u 3 =

)T

form an orthonormal basis in R^3. Let x = (1, 1 , 1)T^. Write x as a linear combination of u 1 , u 2 , u 3 using Theorem 5.5.2.

Solution: If x = c 1 u 1 + c 2 u 2 + c 3 u 3 , then by Theorem 5.5.2:

c 1 = 〈x, u 1 〉 = −

c 2 = 〈x, u 2 〉 =

c 3 = 〈x, u 3 〉 = 0

thus x = −

u 1 +

u 2.

EXAMPLE: The functions cos x and sin x form an orthonormal set in C([π, π]). If f (x) = 3 cos x + 2 sin x and g(x) = cos x − sin x,

(a) Use Corollary 5.5.3 to determine the value of 〈f, g〉 = (^1) π

∫ (^) π −π f^ (x)g(x)^ dx.

Solution: If we look at cos x and sin x as u 1 and u 2 , then f (x) = 3u 1 + 2u 2 , g(x) = 1u 1 − 1 u 2 and, by Corollary 5.5.3: 〈f, g〉 = 3 · 1 + 2(−1) = 1.

(b) Use Parseval’s formula to find ||f ||^2 and ||g||^2.

Solution: ||f ||^2 = 3^2 + 2^2 = 13 and ||g||^2 = 1^2 + (−1)^2 = 2.

Orthogonality and Least Squares

THEOREM 5.5.6: Let A be an m×n matrix. If the columns of A, a 1 , a 2 ,... , an, form an orthonormal set in Rm, then AT^ A = I and the least squares solution of Ax = b is

ˆx = AT^ b =

aT 1 b aT 1 b

... aTn b

The projection p = Aˆx = A(AT^ b) = (aT 1 b)a 1 + (aT 2 b)a 2 +... + (aTn b)an The matrix AAT^ is the projection matrix of any vector in Rm^ onto R(A).

Proof: The proof follows from section 5.3 as soon as we show that

AT^ A =

aT 1 aT 2

... aTn

[

a 1 a 2... an

]

aT 1 a 1 aT 1 a 2... aT 1 an aT 2 a 1 aT 2 a 2... aT 2 an .. .

aTn a 1 aTn a 2... aTn an

= I. 

EXAMPLE: Let A =

 ,^ and^ b^ =

 Find the least squares solution to the system

so that

p = 5

x −

· 1 = 5x +

f

p

The function p is such that the area between f and p in the interval [0, 1] is minimum.