Escolar Documentos
Profissional Documentos
Cultura Documentos
Example.
1 1 0
Is 1 , − 1, 0 an orthogonal set?
0 0 1
Solution: Label the vectors u1, u2, and u3 respectively. Then
u1 ⋅ u 2 = 1(1) + 1(− 1) + 0(0) = 0
u1 ⋅ u 3 = 1(0) + 1(0) + 0(1) = 0
u 2 ⋅ u 3 = 1(0) + (− 1)(0 ) + 0(1) = 0
Since u1 ⋅ u 2 = u1 ⋅ u 3 = u 2 ⋅ u 3 = 0 , then {u1, u2, u3} is an orthogonal set.
1
Theorem 4
Suppose S={u1,u2,…,up} is an orthogonal set of nonzero vectors in Rⁿ and
W=span{u1,u2,…,up}
Then S is a linearly independent set and is therefore a basis for W.
Definition:
An orthogonal basis for a subspace W of Rⁿ is a basis for W that is also an
orthogonal set.
2
Orthonormal Sets
3
Suppose U=[ u1 u2 u3] where {u1,u2,u3} is an orthonormal set.
Theorem 6
An m×n matrix U has orthonormal columns if and only if UTU=I.
Theorem 7
Let U be an m×n matrix with orthonormal columns, and let x and y be in Rⁿ.
Then
a. Ux = x
b. (Ux)·(Uy)=x··y
c. (Ux)·(Uy)=0 if and only if x··y=0.
4
Using orthogonal basis to compute weights in linear combination
Theorem 5
Let {u1,u2,…,up} be an orthogonal basis for a subspace W of Rⁿ. Then each y in
W has a unique representation as a linear combination of u1,u2,…and up given by
y ⋅u j
y = c1u1 + c2u 2 + ... + c p u p where cj = ,… (j = 1,…,p)
u j ⋅u j
Proof: y ⋅ u i = (c1u1 + c2u 2 + ... + c p u p ) ⋅ u i
For i=1: y ⋅ u1 = (c1u1 + c2u 2 + ... + c p u p ) ⋅ u1
y ⋅ u1 = c1u1 ⋅ u1 + c2u 2 ⋅ u1 + ... + c p u p ⋅ u1
y ⋅ u1
⇒ y ⋅ u1 = c1u1 ⋅ u1 since u i ⋅ u j for i ≠ j ⇒ c1 =
u1 ⋅ u1
Similarly, c2 = (y ⋅ u 2 ) / (u 2 ⋅ u 2 ), ... , c p = (y ⋅ u p )/ (u p ⋅ u p )
7
Orthogonal Projection onto subspace W
We have already seen that if {u1,u2,…,up} is an orthogonal basis for W then each
vector y in W can be written as
y ⋅ u1 y ⋅ u2 y ⋅u p
y= u1 + u 2 + ... + up
u1 ⋅ u1 u2 ⋅ u2 up ⋅up
This is the projection of y onto W.
We can write y = yˆ + z z W
z W
The vector ŷ is called the orthogonal
projection of y onto W.
ŷ
0
9
Geometric Interpretation of Orthogonal Projections
û 2
ŷ 2
y ⋅ u1 y ⋅ u2
yˆ = yˆ 1 + yˆ 2 = u1 + u2
u1 ⋅ u1 u2 ⋅ u2
ŷ1
û1
10
Theorem 10
11
The Best Approximation Theorem
Let W be a subspace of Rn, y any vector in Rn, and ŷ the orthogonal projection
of y onto W. Then ŷ is the point in W closest to y, in the sense that
y − yˆ < y − v
for all v in W distinct from y.
z W
`
y =proj Wy
0
12
Outline of Proof:
13