


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



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.
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.
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 =
, u 2 =
, u 3 =
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.
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 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
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.