Orthogonality
Orthogonality
Orthogonality
1 The scalar product in Rn
The product xTy is called the scalar product of x and y.
In particular, if x=(x1, …, xn)T and y=(y1, …,yn)T, then
xTy=x1y1+x2y2+‥‥+xnyn
Definition
Let x and y be vectors in either R2 or R3. The distance
between x and y is defined to be the number ‖x-y‖.
Example If x=(3, 4)T and y=(-1, 7)T, then the distance
between x and y is given by
‖y-x‖= 5
Theorem 5.1.1 If x and y are two nonzero vectors in either
R2 or R3 and θ is the angle between them, then
(1) xTy=‖x‖‖y‖cosθ
x
z=x-p
y
p=αu
θ
u
x y cos xT y
x cos
y y
The scalar is called the scalar projection of x and y, and
the vector p is called the vector projection of x and y.
Scalar projection of x onto y:
T
x y
y
Vector projection of x onto y:
1 xT y
p u y T y
y y y
Example The point Q is the point on the line y 1 x that is
3
closet to the point (1, 4). Determine the coordinates of Q.
(1, 4)
1
y x
v 3
w
Q
Orthogonality in Rn
Remarks
1. If X and Y are orthogonal subspaces of Rn, then X∩Y={0}.
2. If Y is a subspace of Rn, then Y⊥ is also a subspace of Rn.
Fundamental Subspaces
Theorem 5.2.1 ( Fundamental Subspaces Theorem)
If A is an m×n matrix, then N(A)=R(AT) ⊥ and N(AT)=R(A) ⊥.
1 1 2
Example Let A 0 1 1
1 3 4
scalars α and β.
The Vector Space Rm×n
m n
A, B aijbij
i 1 j 1
Basic Properties of Inner product Spaces
uv u v
2 2 2
1 1 1 1
Example If A 1 2 and B 3 0
3 3 3 4
then A, B 6
A 5
B 6
Definition
If u and v are vectors in an inner product space V and v≠0,
then the scalar projection of u onto v is given by
u,v
v
1 u, v
p v v
v v, v
Theorem 5.4.2 ( The Cauchy- Schwarz Inequality)
If u and v are any two vectors in an inner product space V, then
u, v u v
Example The set {(1, 1, 1)T, (2, 1, -3)T, (4, -5, 1)T} is an
orthogonal set in R3.
n
u, v ai bi
i 1
n
v ci2
2
i 1
Orthogonal Matrices
Definition
An n×n matrix Q is said to be an orthogonal matrix if the
column vectors of Q form an orthonormal set in Rn.
QTQ=I.
cos sin
Example For any fixed , the matrix Q
sin cos
is orthogonal.
Properties of Orthogonal Matrices
If Q is an n×n orthogonal matrix, then
(a) The column vectors of Q form an orthonormal basis for Rn.
(b) QTQ=I
(c) QT=Q-1
(d) det(Q)=1 or -1
(e) The thanspose of an orthogonal matrix is an orthogonal
matrix.
(f) The product of two orthogonal matrices is also an orthogonal
matrix.
6 The Gram-Schmidt Orthogonalization
Process
Let {x1, x2, …, xn} be a basis for the inner product space V. Let
1
u1 x1
x1