7 Euclidean
7 Euclidean
HCMC — 2020.
3 ORTHOGONALITY
3 ORTHOGONALITY
4 MATL AB
→
−
WORK DONE BY A FORCE F
→
−
WORK DONE BY A FORCE F
→
− −
W = F .→
s = F.s. cos α
EXAMPLE 2.1
On Rn , dot product is standard inner product
n
x i y i = x.y T
P
(x, y) 7−→< x, y >=
i =1
where x = (x 1 , x 2 , . . . , x n ), y = (y 1 , y 2 , . . . , y n ).
EXAMPLE 2.2
On R2 we define the mapping (x, y) → 〈x, y〉 ∈ R as
below:
where x = (x 1 , x 2 ), y = (y 1 , y 2 ).
Explain why this mapping is inner product?
Find 〈x, y〉 where x = (1, 1), y = (2, −1).
DEFINITION 2.1
If V is a real inner product space, then the length of a vector
x ∈ V is denoted by ||x|| and is defined by
p
||x|| = 〈x, x〉 (1)
DEFINITION 2.1
If V is a real inner product space, then the length of a vector
x ∈ V is denoted by ||x|| and is defined by
p
||x|| = 〈x, x〉 (1)
DEFINITION 2.2
If V is a real inner product space, then the distance between two
vectors u, v ∈ V is denoted by d (u, v) and is defined by
p
d (u, v) = ||u − v|| = 〈u − v, u − v〉 (2)
EXAMPLE 2.3
On R2 the inner product is given
〈x, y〉 = 3x 1 y 1 + x 1 y 2 + x 2 y 1 + x 2 y 2
DEFINITION 2.3
The angle α between two vectors x, y ∈ V is defined by
〈x, y〉
cos α = , (0 É α É π)
||x||.||y||
DEFINITION 2.3
The angle α between two vectors x, y ∈ V is defined by
〈x, y〉
cos α = , (0 É α É π)
||x||.||y||
EXAMPLE 2.4
In R2 given two vectors x = (x 1 , x 2 ), y = (y 1 , y 2 ) with
inner product:
〈x, y〉 = 5x 1 y 1 + 6x 2 y 2 .
〈x, y〉 = x Ay T ,
EXAMPLE 2.5
On R3 the inner product is given
〈x, y〉 = x 1 y 1 + 2x 1 y 2 + 2x 2 y 1 + 5x 2 y 2 + 3x 3 y 3
ORTHOGONALITY
ORTHOGONALITY
DEFINITION 3.1
1
Two vectors x, y ∈ V in an inner product space V is
called orthogonal ⇔ 〈x, y〉 = 0. We denote it by
x ⊥ y.
ORTHOGONALITY
DEFINITION 3.1
1
Two vectors x, y ∈ V in an inner product space V is
called orthogonal ⇔ 〈x, y〉 = 0. We denote it by
x ⊥ y.
2
Vector x is orthogonal to the set M ⊂ V if x is
orthogonal to every vector in M . We denote it by
x ⊥ M.
EXAMPLE 3.1
On R2 the inner product is given
〈x, y〉 >= 2x 1 y 1 − x 1 y 2 − x 2 y 1 + x 2 y 2
EXAMPLE 3.1
On R2 the inner product is given
〈x, y〉 >= 2x 1 y 1 − x 1 y 2 − x 2 y 1 + x 2 y 2
Ans: m = 3
THEOREM 3.1
Vecto x is orthogonal to a subspace F if and only if x is
orthogonal with a basis of F
EXAMPLE 3.2
On R3 given the S.I.P and the subspace
½ ¯
¯ x 1 + 2x 2 − x 3 = 0
F = (x 1 , x 2 , x 3 ) ¯¯
2x 1 + 3x 2 + x 3 = 0
DEFINITION 3.2
1
A set ofn two or more o vectors in a real inner product
space x 1 , x 2 , . . . , x n is called orthogonal ⇔ all
pairs of distinct vectors in the set are orthogonal.
DEFINITION 3.2
1
A set ofn two or more o vectors in a real inner product
space x 1 , x 2 , . . . , x n is called orthogonal ⇔ all
pairs of distinct vectors in the set are orthogonal.
2
An orthogonal set in which each vector has norm 1
is said to be orthonormal
||x k || = 1, (k = 1, 2, . . . , n)
EXAMPLE 3.3
On R2 the
n standard innero product is given. Then the
set M = (1, −2), (2, 1) is orthogonal set.
EXAMPLE 3.3
On R2 the
n standard innero product is given. Then the
set M = (1, −2), (2, 1) is orthogonal set.
½µ ¶ µ ¶¾
1 2 2 1
N= p ,−p , p , p is the orthonormal set.
5 5 5 5
ORTHOGONAL COMPLEMENTS
DEFINITION 3.3
If F is a subspace of a real inner product space V, then
the set F ⊥ of all vectors in V that are orthogonal to F is
called the orthogonal complement of F.
ORTHOGONAL COMPLEMENTS
DEFINITION 3.3
If F is a subspace of a real inner product space V, then
the set F ⊥ of all vectors in V that are orthogonal to F is
called the orthogonal complement of F.
THEOREM 3.2
Let F be a subspace of a real inner product space V ,
then F ⊥ is a subspace of V , and:
FINDING F ⊥ OF A SUBSPACE F
1
Find a basis of F . Assume that basis of F contains
vectors {e 1 , e 2 , .., e m }
¯
¯ 〈e 1 , y〉 =0
¯
¯ 〈e , y〉 =0
¯ 2
2
F ⊥ = (y 1 , y 2 , ...y n ) ¯ .. ⇒ find the d i m
¯
¯ .
¯ 〈e n , y〉 =0
and a basis of this null space.
EXAMPLE 3.4
n o
Let F = (x 1 , x 2 , x 3 ) ∈ R3 : x 1 + x 2 + x 3 = 0 be the subspace
of R3 and given inner product
〈x, y〉 = x 1 y 1 + 2x 1 y 2 + 2x 2 y 1 + 5x 2 y 2 + 3x 3 y 3
EXAMPLE 3.5
In R3 given the inner product
x = (x 1 , x 2 , x 3 ), y = (y 1 , y 2 , y 3 ) as:
〈x, y〉 = 4x 1 y 1 + 5x 2 y 2 − x 2 y 3 − x 3 y 2 + 4x 3 y 3 ,
and subspace
F = span {(1, 2, 1), (2, −1, 4), (1, −3, 3), (5, 0, 9)}. Find dim of
F ⊥ and one its basis.
ORTHOGONAL PROJECTIONS
THEOREM 3.3
If F is a finite-dimensional subspace of an inner
product space V, then every vector x in V can be
expressed in exactly one way as
x = y + z,
where y ∈ F, z ∈ F ⊥ .
THEOREM 3.3
If F is a finite-dimensional subspace of an inner
product space V, then every vector x in V can be
expressed in exactly one way as
x = y + z,
where y ∈ F, z ∈ F ⊥ .
DEFINITION 3.4
Vector y is called the orthogonal projection of x on F .
We denote it by y = pr o j F x.
FIND y = PROJF x
1
Find a basis of F , let it be S = {e 1 , e 2 , ..., e m }.
FIND y = PROJF x
1
Find a basis of F , let it be S = {e 1 , e 2 , ..., e m }.
2
Since y ∈ F ⇒ y = λ1 e 1 + λ2 e 2 + ... + λm e m
FIND y = PROJF x
1
Find a basis of F , let it be S = {e 1 , e 2 , ..., e m }.
2
Since y ∈ F ⇒ y = λ1 e 1 + λ2 e 2 + ... + λm e m
3
x = y + z , then
x = λ1 e 1 + λ2 e 2 + ... + λm e m + z
FIND y = PROJF x
1
Find a basis of F , let it be S = {e 1 , e 2 , ..., e m }.
2
Since y ∈ F ⇒ y = λ1 e 1 + λ2 e 2 + ... + λm e m
3
x = y + z , then
x = λ1 e 1 + λ2 e 2 + ... + λm e m + z
〈x, e 1 〉 = 〈e 1 , e 1 〉λ1 + 〈e 2 , e 1 〉λ2 + ... + 〈e m , e 1 〉λm
〈x, e 〉 = 〈e , e 〉λ + 〈e , e 〉λ + ... + 〈e , e 〉λ
2 1 2 1 2 2 2 m 2 m
⇔ ..
.
〈x, e 〉 = 〈e , e 〉λ + 〈e , e 〉λ + ... + 〈e , e 〉λ
m 1 m 1 2 m 2 m m m
DEFINITION 3.5
The distance between a vector x and the subspace F is
defined by
EXAMPLE 3.6
On R3 given
n the dot product, o the subspace
F = span (1, 1, 1), (0, 1, 1) and the vector x = (1, 1, 2) are
given. Find the orthogonal projection pr F x of x on F .
EXAMPLE 3.6
On R3 given
n the dot product, o the subspace
F = span (1, 1, 1), (0, 1, 1) and the vector x = (1, 1, 2) are
given. Find the orthogonal projection pr F x of x on F .
EXAMPLE 3.7
In R3 given the inner product
x = (x 1 , x 2 , x 3 ), y = (y 1 , y 2 , y 3 ) as:
〈x, y〉 = 4x 1 y 1 + 5x 2 y 2 − x 2 y 3 − x 3 y 2 + 4x 3 y 3 ,
1
< x, y >= d ot (x, y)
2
||x|| = nor m(x)
3
d (x, y) = nor m(x − y)
4
cos α = d ot (x, y)/(nor m(x) ∗ nor m(y))
ORTHOGONAL COMPLEMENT
1
f 1 , f 2, . . . , fm : basis of F. A = [ f 1 ; f 2 ; . . . ; f m ]
f1
f
2
A= ⇒ Basis of F ⊥ : nul l (A,0 r 0 )
...
fm
2
If F is the solution subspace of homogeneous
system AX = 0 then the basis of F ⊥ consists of all
row vectors of matrix B
B = r r e f (A)
1
Projection f = λ(1) ∗ f 1 + λ(2) ∗ f 2 + . . . + λ(m) ∗ f m
2
Distance ||g || = ||x − f || = nor m(x − f )
INNER PRODUCT SPACES HCMC — 2020. 30 / 31
MatLab