Professional Documents
Culture Documents
Linear Algebra Chapter 5 H
Linear Algebra Chapter 5 H
3 Orthogonality
4 Rank of a Matrix
Note.
h iT
If U is a subspace then the zero vector 0 = 0 0 · · · 0 ∈ U.
Note.
h iT
If U is a subspace then the zero vector 0 = 0 0 · · · 0 ∈ U.
In R2 , all subspaces of R2 is either zero vector, or lines pass the
origin, or R2 .
Note.
h iT
If U is a subspace then the zero vector 0 = 0 0 · · · 0 ∈ U.
In R2 , all subspaces of R2 is either zero vector, or lines pass the
origin, or R2 .
In R3 , all subspaces of R3 is either zero vector, or lines pass the
origin, or planes containing the origin, or R3 .
Note.
h iT
If U is a subspace then the zero vector 0 = 0 0 · · · 0 ∈ U.
In R2 , all subspaces of R2 is either zero vector, or lines pass the
origin, or R2 .
In R3 , all subspaces of R3 is either zero vector, or lines pass the
origin, or planes containing the origin, or R3 .
...
Note.
h iT
If U is a subspace then the zero vector 0 = 0 0 · · · 0 ∈ U.
In R2 , all subspaces of R2 is either zero vector, or lines pass the
origin, or R2 .
In R3 , all subspaces of R3 is either zero vector, or lines pass the
origin, or planes containing the origin, or R3 .
...
au = (ax1 , ay1 ) ∈ U1
au = (ax1 , ay1 ) ∈ U1
au = (ax1 , ay1 ) ∈ U1
au = (ax1 , ay1 ) ∈ U1
au = (ax1 , ay1 ) ∈ U1
A
Rn −→ Rm
x 7→ Ax
Definition
Null space of A:
A
Rn −→ Rm
x 7→ Ax
Definition
Null space of A:
h iT
null(A) = x = x1 x2 · · · xn ∈ R |Ax = 0 ⊆ Rn
n
A
Rn −→ Rm
x 7→ Ax
Definition
Null space of A:
h iT
null(A) = x = x1 x2 · · · xn ∈ R |Ax = 0 ⊆ Rn
n
A
Rn −→ Rm
x 7→ Ax
Definition
Null space of A:
h iT
null(A) = x = x1 x2 · · · xn ∈ R |Ax = 0 ⊆ Rn
n
A
Rn −→ Rm
x 7→ Ax
Definition
Null space of A:
h iT
null(A) = x = x1 x2 · · · xn ∈ R |Ax = 0 ⊆ Rn
n
im(A) = {Ax|x ∈ Rn } ⊆ Rm
A
Rn −→ Rm
x 7→ Ax
Definition
Null space of A:
h iT
null(A) = x = x1 x2 · · · xn ∈ R |Ax = 0 ⊆ Rn
n
im(A) = {Ax|x ∈ Rn } ⊆ Rm
is the set of all b ∈ Rm such that the system Ax = b has at least one
solution.
A
Rn −→ Rm
x 7→ Ax
Definition
Null space of A:
h iT
null(A) = x = x1 x2 · · · xn ∈ R |Ax = 0 ⊆ Rn
n
im(A) = {Ax|x ∈ Rn } ⊆ Rm
is the set of all b ∈ Rm such that the system Ax = b has at least one
solution.
A
Rn −→ Rm
x 7→ Ax
Definition
Null space of A:
h iT
null(A) = x = x1 x2 · · · xn ∈ R |Ax = 0 ⊆ Rn
n
im(A) = {Ax|x ∈ Rn } ⊆ Rm
is the set of all b ∈ Rm such that the system Ax = b has at least one
solution.
Example
The set
h iT
U={ x y z ∈ R3 | 2x + y − z = 0 and 3x − y + 5z = 0}
Example
The set
h iT
U={ x y z ∈ R3 | 2x + y − z = 0 and 3x − y + 5z = 0}
" #
2 1 −1
is a subspace of R3 . In fact, U = null(A), for A = .
3 −1 5
Example
The set
h iT
U={ x y z ∈ R3 | 2x + y − z = 0 and 3x − y + 5z = 0}
" #
2 1 −1
is a subspace of R3 . In fact, U = null(A), for A = .
3 −1 5
The set
h iT
V = 2x − y + z + t y − 3z − t x , y , z, t are real numbers
Example
The set
h iT
U={ x y z ∈ R3 | 2x + y − z = 0 and 3x − y + 5z = 0}
" #
2 1 −1
is a subspace of R3 . In fact, U = null(A), for A = .
3 −1 5
The set
h iT
V = 2x − y + z + t y − 3z − t x , y , z, t are real numbers is a
subspace of R2 .
Example
The set
h iT
U={ x y z ∈ R3 | 2x + y − z = 0 and 3x − y + 5z = 0}
" #
2 1 −1
is a subspace of R3 . In fact, U = null(A), for A = .
3 −1 5
The set
h iT
V = 2x − y + z + t y − 3z − t x , y , z, t are real numbers is a
" #
2 −1 1 1
subspace of R2 . In fact, V = im(B) with B = .
0 1 −3 −1
Example
The set
h iT
U={ x y z ∈ R3 | 2x + y − z = 0 and 3x − y + 5z = 0}
" #
2 1 −1
is a subspace of R3 . In fact, U = null(A), for A = .
3 −1 5
The set
h iT
V = 2x − y + z + t y − 3z − t x , y , z, t are real numbers is a
" #
2 −1 1 1
subspace of R2 . In fact, V = im(B) with B = .
0 1 −3 −1
Given vectors x 1 , x 2 , . . . , x k in Rn .
Definition
• A vector of the form
t1 x 1 + t2 x 2 + · · · + tk x k
Given vectors x 1 , x 2 , . . . , x k in Rn .
Definition
• A vector of the form
t1 x 1 + t2 x 2 + · · · + tk x k
Given vectors x 1 , x 2 , . . . , x k in Rn .
Definition
• A vector of the form
t1 x 1 + t2 x 2 + · · · + tk x k
Example
h iT h iT
Given two vectors u = −1 0 1 and v = 2 1 3 in R3 .
Example
h iT h iT
Given two vectors u = −1 0 1 and v = 2 1 3 in R3 . Then
−a + 2b
span{u, v} = {au + bv| a, b ∈ R} = b a, b ∈
R
a + 3b
Example
h iT h iT
Given two vectors u = −1 0 1 and v = 2 1 3 in R3 . Then
−a + 2b
span{u, v} = {au + bv| a, b ∈ R} = b a, b ∈
R
a + 3b
h iT
is a plane through the origin with a normal vector u × v = −1 5 −1 .
n
Chapter 5. The Vector Space R 11 / 46
Example
" #
1
Let x = ∈ R2 . Then
2
(" # )
t
span{x} = {tx|t ∈ R} = t∈R
2t
h iT
is the line through the origin with direction vector 1 2 in the plane R2 .
Example
h iT h iT
Given two vectors u = −1 0 1 and v = 2 1 3 in R3 . Then
−a + 2b
span{u, v} = {au + bv| a, b ∈ R} = b a, b ∈
R
a + 3b
h iT
is a plane through the origin with a normal vector u × v = −1 5 −1 .
n
Chapter 5. The Vector Space R 11 / 46
Example
Find all values of a so that the vector [5 3 a]T is in
span{[3 2 0]T , [1 0 3]T }.
Answer:
5 = 3s + t, 3 = 2s, a = 3t.
5 = 3s + t, 3 = 2s, a = 3t.
5 = 3s + t, 3 = 2s, a = 3t.
2s + t = 0, −s + t = −2, s + 3t = 4, s + 4t = 5
2s + t = 0, −s + t = −2, s + 3t = 4, s + 4t = 5
2a + b = 7, −a + b = −5, a + 3b = 1, a + 4b = 0
2s + t = 0, −s + t = −2, s + 3t = 4, s + 4t = 5
2a + b = 7, −a + b = −5, a + 3b = 1, a + 4b = 0
Example
If U = span{x, y} in Rn , show that U = span{x + y, x − y}.
Example
If U = span{x, y} in Rn , show that U = span{x + y, x − y}.
Answer:
Example
If U = span{x, y} in Rn , show that U = span{x + y, x − y}.
Answer: Since x + y and x − y are in span{x, y}, thus
span{x + y, x − y} ⊆ U.
Example
If U = span{x, y} in Rn , show that U = span{x + y, x − y}.
Answer: Since x + y and x − y are in span{x, y}, thus
span{x + y, x − y} ⊆ U.
Moreover, we have
1 1
x = (x + y) + (x − y)
2 2
1 1
y = (x + y) − (x − y).
2 2
Example
If U = span{x, y} in Rn , show that U = span{x + y, x − y}.
Answer: Since x + y and x − y are in span{x, y}, thus
span{x + y, x − y} ⊆ U.
Moreover, we have
1 1
x = (x + y) + (x − y)
2 2
1 1
y = (x + y) − (x − y).
2 2
These show that x, y ∈ span{x + y, x − y}. Hence
U ⊆ span{x + y, x − y}.
Chapter 5. The Vector Space Rn 15 / 46
Theorem
Let U = span{x 1 , x 2 , . . . , x k } in Rn . Then:
1. U is a subspace of Rn containing each x i .
2. If W is a subspace of Rn and each x i ∈ W , then U ⊆ W .
Example
If U = span{x, y} in Rn , show that U = span{x + y, x − y}.
Answer: Since x + y and x − y are in span{x, y}, thus
span{x + y, x − y} ⊆ U.
Moreover, we have
1 1
x = (x + y) + (x − y)
2 2
1 1
y = (x + y) − (x − y).
2 2
These show that x, y ∈ span{x + y, x − y}. Hence
U ⊆ span{x + y, x − y}.
Chapter 5. The Vector Space Rn 15 / 46
Example
n
It is easy to(see that " #)1 , e 2 , · · · , e n }. For example " #
" #R = span{e
1 0 x
R2 = span e 1 = , e2 = . Indeed, for any vector u = ∈ R2
0 1 y
can be written as u = x e 1 + y e 2 .
Example
(" # " #)
1 −1
Show that R2 = span , .
1 2
Example
(" # " #)
1 −1
Show that R2 = span , .
1 2
Answer:
Example
(" # " #)
1 −1
Show that R2 = span , .
1 2
" #
x
Answer: Any vector u = in R2 can be written as
y
" # " # " # " # " #
x 1 −1 2x + y 1 −x + y −1
u= =s +t = + ,
y 1 2 3 1 3 2
Example
(" # " #)
1 −1
Show that R2 = span , .
1 2
" #
x
Answer: Any vector u = in R2 can be written as
y
" # " # " # " # " #
x 1 −1 2x + y 1 −x + y −1
u= =s +t = + ,
y 1 2 3 1 3 2
(" # " #)
1 −1
this shows that u ∈ span , .
1 2
Example
(" # " #)
1 −1
Show that R2 = span , .
1 2
" #
x
Answer: Any vector u = in R2 can be written as
y
" # " # " # " # " #
x 1 −1 2x + y 1 −x + y −1
u= =s +t = + ,
y 1 2 3 1 3 2
(" # " #)
1 −1
this shows that u ∈ span , .
1 2
Example
(" # " #)
2 −1
The set , is linear independent
1 1
Example
(" # " #)
2 −1
The set , is linear independent since the homogeneous system
1 1
" # " # " # (
2 −1 0 2s − t = 0
s +t = ⇔
1 1 0 s +t =0
Example
(" # " #)
2 −1
The set , is linear independent since the homogeneous system
1 1
" # " # " # (
2 −1 0 2s − t = 0
s +t = ⇔
1 1 0 s +t =0
Example
(" # " #)
2 −1
The set , is linear independent since the homogeneous system
1 1
" # " # " # (
2 −1 0 2s − t = 0
s +t = ⇔
1 1 0 s +t =0
2u − v − w = 0.
2u − v − w = 0.
2u − v − w = 0.
2u − v − w = 0.
2u − v − w = 0.
2u − v − w = 0.
Definition
If U is a subspace of Rn , a set {x 1 , x 2 , . . . , x m } of vectors in U is called a
basis of U if it satisfies the following two conditions:
1. {x 1 , x 2 , . . . , x m } is linearly independent.
Definition
If U is a subspace of Rn , a set {x 1 , x 2 , . . . , x m } of vectors in U is called a
basis of U if it satisfies the following two conditions:
1. {x 1 , x 2 , . . . , x m } is linearly independent.
2. U = span{x 1 , x 2 , . . . , x m }.
Definition
If U is a subspace of Rn , a set {x 1 , x 2 , . . . , x m } of vectors in U is called a
basis of U if it satisfies the following two conditions:
1. {x 1 , x 2 , . . . , x m } is linearly independent.
2. U = span{x 1 , x 2 , . . . , x m }.
Theorem
If {x 1 , x 2 , . . . , x m } and {y 1 , y 2 , . . . , y k } are basis of U then m = k.
Definition
If U is a subspace of Rn , a set {x 1 , x 2 , . . . , x m } of vectors in U is called a
basis of U if it satisfies the following two conditions:
1. {x 1 , x 2 , . . . , x m } is linearly independent.
2. U = span{x 1 , x 2 , . . . , x m }.
Theorem
If {x 1 , x 2 , . . . , x m } and {y 1 , y 2 , . . . , y k } are basis of U then m = k.
Definition
If U is a subspace of Rn and {x 1 , x 2 , . . . , x m } is a basis of U, then the
number m is called the dimension of U, denoted dim(U) = m.
Definition
If U is a subspace of Rn , a set {x 1 , x 2 , . . . , x m } of vectors in U is called a
basis of U if it satisfies the following two conditions:
1. {x 1 , x 2 , . . . , x m } is linearly independent.
2. U = span{x 1 , x 2 , . . . , x m }.
Theorem
If {x 1 , x 2 , . . . , x m } and {y 1 , y 2 , . . . , y k } are basis of U then m = k.
Definition
If U is a subspace of Rn and {x 1 , x 2 , . . . , x m } is a basis of U, then the
number m is called the dimension of U, denoted dim(U) = m.
Definition
If U is a subspace of Rn , a set {x 1 , x 2 , . . . , x m } of vectors in U is called a
basis of U if it satisfies the following two conditions:
1. {x 1 , x 2 , . . . , x m } is linearly independent.
2. U = span{x 1 , x 2 , . . . , x m }.
Theorem
If {x 1 , x 2 , . . . , x m } and {y 1 , y 2 , . . . , y k } are basis of U then m = k.
Definition
If U is a subspace of Rn and {x 1 , x 2 , . . . , x m } is a basis of U, then the
number m is called the dimension of U, denoted dim(U) = m.
Answer:
Example
We can see that dim(Rn ) = n and {e 1 , e 2 , . . . , e n } is a basis of Rn .
Example
We can see that dim(Rn ) = n and {e 1 , e 2 , . . . , e n } is a basis of Rn .
Example
Find the dimension of the subspace U = span{[1, 2], [2, −1], [0, 3], [1, 4]}.
Example
Find the dimension of the subspace U = span{[1, 2], [2, −1], [0, 3], [1, 4]}.
Answer:
Example
Find the dimension of the subspace U = span{[1, 2], [2, −1], [0, 3], [1, 4]}.
Answer: We have
" # " #
1 2 0 1 −2R1 +R2 1 2 0 1
rank = rank =2.
2 −1 3 4 0 −5 3 2
Example
Find the dimension of the subspace U = span{[1, 2], [2, −1], [0, 3], [1, 4]}.
Answer: We have
" # " #
1 2 0 1 −2R1 +R2 1 2 0 1
rank = rank =2.
2 −1 3 4 0 −5 3 2
Hence dim(U) = 2 . We can choose basis {[1, 2], [2, −1]} for U. In fact,
U = R2 .
Example
Find the dimension of the subspace U = span{[1, 2], [2, −1], [0, 3], [1, 4]}.
Answer: We have
" # " #
1 2 0 1 −2R1 +R2 1 2 0 1
rank = rank =2.
2 −1 3 4 0 −5 3 2
Hence dim(U) = 2 . We can choose basis {[1, 2], [2, −1]} for U. In fact,
U = R2 .
Answer:
Moreover,
1 2 0 2 1 2 0 2
0 0 1 1 −2R1 +R3 0 0 1 1
rank = rank
2 4 0 2 0 0 0 0
0 0 −1 1 0 0 −1 1
1 2 0 2 1 2 0 2
0 0 1 1 0 0 1 1
R2 +R4 R ↔R
3 4
= rank = rank = 3. ⇒ dim(V ) = 3.
0 0 0 0 0 0 0 1
0 0 0 1 0 0 0 0
Moreover,
1 2 0 2 1 2 0 2
0 0 1 1 −2R1 +R3 0 0 1 1
rank = rank
2 4 0 2 0 0 0 0
0 0 −1 1 0 0 −1 1
1 2 0 2 1 2 0 2
0 0 1 1 0 0 1 1
R2 +R4 R ↔R
3 4
= rank = rank = 3. ⇒ dim(V ) = 3.
0 0 0 0 0 0 0 1
0 0 0 1 0 0 0 0
Example
Which of the following sets are bases of R3 ?
(i) {(1, 2, 1), (−1, 0, 3)}
(ii) {(−1, 4, 3), (1, 0, 2), (0, 1, −5)}
Example
Which of the following sets are bases of R3 ?
(i) {(1, 2, 1), (−1, 0, 3)}
(ii) {(−1, 4, 3), (1, 0, 2), (0, 1, −5)}
Answer:
Example
Which of the following sets are bases of R3 ?
(i) {(1, 2, 1), (−1, 0, 3)}
(ii) {(−1, 4, 3), (1, 0, 2), (0, 1, −5)}
Answer:
(i) No, since any basis of R3 must have exactly three vectors.
Example
Which of the following sets are bases of R3 ?
(i) {(1, 2, 1), (−1, 0, 3)}
(ii) {(−1, 4, 3), (1, 0, 2), (0, 1, −5)}
Answer:
(i) No, since any basis of R3 must have exactly three vectors.
(ii) Yes. We have
Example
Which of the following sets are bases of R3 ?
(i) {(1, 2, 1), (−1, 0, 3)}
(ii) {(−1, 4, 3), (1, 0, 2), (0, 1, −5)}
Answer:
(i) No, since any basis of R3 must have exactly three vectors.
(ii) Yes. We have
−1 1 0 −1 1 0 −1 1 0
3R1 +R3 −5/4R2 +R3
A= 4 0 1 → 0 4 1 → 0 1 1/4
4R1 +R2 1/4R2
3 2 −5 0 5 −5 0 0 −25/4
Example
Which of the following sets are bases of R3 ?
(i) {(1, 2, 1), (−1, 0, 3)}
(ii) {(−1, 4, 3), (1, 0, 2), (0, 1, −5)}
Answer:
(i) No, since any basis of R3 must have exactly three vectors.
(ii) Yes. We have
−1 1 0 −1 1 0 −1 1 0
3R1 +R3 −5/4R2 +R3
A= 4 0 1 → 0 4 1 → 0 1 1/4
4R1 +R2 1/4R2
3 2 −5 0 5 −5 0 0 −25/4
See that rank(A) = 3. Hence {(−1, 4, 3), (1, 0, 2), (0, 1, −5)} is
linearly independent.
Chapter 5. The Vector Space Rn 26 / 46
Theorem
Any set consist of n linearly independent vectors in Rn is a basis of Rn .
Example
Which of the following sets are bases of R3 ?
(i) {(1, 2, 1), (−1, 0, 3)}
(ii) {(−1, 4, 3), (1, 0, 2), (0, 1, −5)}
Answer:
(i) No, since any basis of R3 must have exactly three vectors.
(ii) Yes. We have
−1 1 0 −1 1 0 −1 1 0
3R1 +R3 −5/4R2 +R3
A= 4 0 1 → 0 4 1 → 0 1 1/4
4R1 +R2 1/4R2
3 2 −5 0 5 −5 0 0 −25/4
See that rank(A) = 3. Hence {(−1, 4, 3), (1, 0, 2), (0, 1, −5)} is
linearly independent.
Chapter 5. The Vector Space Rn 26 / 46
5.3 Orthogonality
Definition
The dot product of x and y is defined as follows:
x · y = x1 y1 + x2 y2 + · · · + xn yn .
Definition
The dot product of x and y is defined as follows:
x · y = x1 y1 + x2 y2 + · · · + xn yn .
The length of x is
√ q
∥x∥ = x ·x = x12 + x22 + · · · + xn2 .
Definition
The dot product of x and y is defined as follows:
x · y = x1 y1 + x2 y2 + · · · + xn yn .
The length of x is
√ q
∥x∥ = x ·x = x12 + x22 + · · · + xn2 .
Definition
The dot product of x and y is defined as follows:
x · y = x1 y1 + x2 y2 + · · · + xn yn .
The length of x is
√ q
∥x∥ = x ·x = x12 + x22 + · · · + xn2 .
Definition
The dot product of x and y is defined as follows:
x · y = x1 y1 + x2 y2 + · · · + xn yn .
The length of x is
√ q
∥x∥ = x ·x = x12 + x22 + · · · + xn2 .
Theorem
Let u, v and w be vectors in Rn .
1. u · v = v · u
Theorem
Let u, v and w be vectors in Rn .
1. u · v = v · u
2. u · 0 = 0 · u = 0
Theorem
Let u, v and w be vectors in Rn .
1. u · v = v · u
2. u · 0 = 0 · u = 0
3. u · u = ∥u∥2
Theorem
Let u, v and w be vectors in Rn .
1. u · v = v · u
2. u · 0 = 0 · u = 0
3. u · u = ∥u∥2
4. (au) · v = a(u · v) = u · (av) for any scalar a.
Theorem
Let u, v and w be vectors in Rn .
1. u · v = v · u
2. u · 0 = 0 · u = 0
3. u · u = ∥u∥2
4. (au) · v = a(u · v) = u · (av) for any scalar a.
5. u · (v ± w) = u · v ± u · w.
Theorem
Let u, v and w be vectors in Rn .
1. u · v = v · u
2. u · 0 = 0 · u = 0
3. u · u = ∥u∥2
4. (au) · v = a(u · v) = u · (av) for any scalar a.
5. u · (v ± w) = u · v ± u · w.
6. |u · v| ≤ ∥u∥ ∥v∥ (Cauchy inequality)
Theorem
Let u, v and w be vectors in Rn .
1. u · v = v · u
2. u · 0 = 0 · u = 0
3. u · u = ∥u∥2
4. (au) · v = a(u · v) = u · (av) for any scalar a.
5. u · (v ± w) = u · v ± u · w.
6. |u · v| ≤ ∥u∥ ∥v∥ (Cauchy inequality)
7. ∥u + v∥ ≤ ∥u∥ + ∥v∥ (Triangle inequality)
Theorem
Let u, v and w be vectors in Rn .
1. u · v = v · u
2. u · 0 = 0 · u = 0
3. u · u = ∥u∥2
4. (au) · v = a(u · v) = u · (av) for any scalar a.
5. u · (v ± w) = u · v ± u · w.
6. |u · v| ≤ ∥u∥ ∥v∥ (Cauchy inequality)
7. ∥u + v∥ ≤ ∥u∥ + ∥v∥ (Triangle inequality)
Theorem
Let u, v and w be vectors in Rn .
1. u · v = v · u
2. u · 0 = 0 · u = 0
3. u · u = ∥u∥2
4. (au) · v = a(u · v) = u · (av) for any scalar a.
5. u · (v ± w) = u · v ± u · w.
6. |u · v| ≤ ∥u∥ ∥v∥ (Cauchy inequality)
7. ∥u + v∥ ≤ ∥u∥ + ∥v∥ (Triangle inequality)
Example
The standard basis {e 1 , e 2 , · · · , e n } is an orthonormal set in Rn .
Example
The standard basis {e 1 , e 2 , · · · , e n } is an orthonormal set in Rn .
Example
(" # " #)
1 2
The set , is orthogonal in R2 ,
−2 1
Chapter 5. The Vector Space Rn 29 / 46
Orthogonal Sets
Definition
Two vectors x and y in Rn are orthogonal if x · y = 0.
A set {x 1 , x 2 , . . . , x k } of vectors in Rn is called an orthogonal set if
Example
The standard basis {e 1 , e 2 , · · · , e n } is an orthonormal set in Rn .
Example
(" # " #)
1 2
The set , is orthogonal in R2 , but not orthonormal.
−2 1
Chapter 5. The Vector Space Rn 29 / 46
Orthogonal Sets
Definition
Two vectors x and y in Rn are orthogonal if x · y = 0.
A set {x 1 , x 2 , . . . , x k } of vectors in Rn is called an orthogonal set if
Example
The standard basis {e 1 , e 2 , · · · , e n } is an orthonormal set in Rn .
Example
(" # " #)
1 2
The set , is orthogonal in R2 , but not orthonormal.
−2 1
Chapter 5. The Vector Space Rn 29 / 46
Example
Find
thenumber
c suchthat the set
1 1 2 a
2 −1 −1 b
u 1 = , u 2 = , u 3 = , u 4 = is orthogonal.
1 1 0 c
0 3 −1 1
Answer:
we get a = 1, b = 1, c = −3.
we get a = 1, b = 1, c = −3.
b 2 + b 2 + (−2b)2 = 6b 2 = 1
b 2 + b 2 + (−2b)2 = 6b 2 = 1
√ √
Hence b = 1/ 6 or b = −1/ 6.
b 2 + b 2 + (−2b)2 = 6b 2 = 1
√ √
Hence b = 1/ 6 or b = −1/ 6.
∥x 1 + x 2 + · · · + x k ∥2 = ∥x 1 ∥2 + ∥x 2 ∥2 + · · · + ∥x k ∥2 .
Theorem
Every orthogonal set in Rn is linearly independent.
∥x 1 + x 2 + · · · + x k ∥2 = ∥x 1 ∥2 + ∥x 2 ∥2 + · · · + ∥x k ∥2 .
Theorem
Every orthogonal set in Rn is linearly independent.
Example
Suppose that {u, v} is an orthogonal set and their length are 4 and 5
respectively. What is the length of u − 3v.
∥x 1 + x 2 + · · · + x k ∥2 = ∥x 1 ∥2 + ∥x 2 ∥2 + · · · + ∥x k ∥2 .
Theorem
Every orthogonal set in Rn is linearly independent.
Example
Suppose that {u, v} is an orthogonal set and their length are 4 and 5
respectively. What is the length of u − 3v.
Answer:
∥x 1 + x 2 + · · · + x k ∥2 = ∥x 1 ∥2 + ∥x 2 ∥2 + · · · + ∥x k ∥2 .
Theorem
Every orthogonal set in Rn is linearly independent.
Example
Suppose that {u, v} is an orthogonal set and their length are 4 and 5
respectively. What is the length of u − 3v.
Answer: By Pythagoras Theorem:
∥x 1 + x 2 + · · · + x k ∥2 = ∥x 1 ∥2 + ∥x 2 ∥2 + · · · + ∥x k ∥2 .
Theorem
Every orthogonal set in Rn is linearly independent.
Example
Suppose that {u, v} is an orthogonal set and their length are 4 and 5
respectively. What is the length of u − 3v.
Answer: By Pythagoras Theorem:
∥x 1 + x 2 + · · · + x k ∥2 = ∥x 1 ∥2 + ∥x 2 ∥2 + · · · + ∥x k ∥2 .
Theorem
Every orthogonal set in Rn is linearly independent.
Example
Suppose that {u, v} is an orthogonal set and their length are 4 and 5
respectively. What is the length of u − 3v.
Answer: By Pythagoras Theorem:
Answer:
Answer:
(i) False. Since if {u, v} then u · (u + v) = ∥u∥2 ̸= 0, for any u ̸= 0.
Answer:
(i) False. Since if {u, v} then u · (u + v) = ∥u∥2 ̸= 0, for any u ̸= 0.
" # " # " # " #
1 2 1 0
(ii) False. For example u = ,v = ,w = ,z = . Then
2 −1 0 1
{u, v} and {w, z} are both orthogonal
Answer:
(i) False. Since if {u, v} then u · (u + v) = ∥u∥2 ̸= 0, for any u ̸= 0.
" # " # " # " #
1 2 1 0
(ii) False. For example u = ,v = ,w = ,z = . Then
2 −1 0 1
{u, v} and {w, z} are both orthogonal but {u, v, w, z} is not
orthogonal.
Answer:
(i) False. Since if {u, v} then u · (u + v) = ∥u∥2 ̸= 0, for any u ̸= 0.
" # " # " # " #
1 2 1 0
(ii) False. For example u = ,v = ,w = ,z = . Then
2 −1 0 1
{u, v} and {w, z} are both orthogonal but {u, v, w, z} is not
orthogonal.
(iii) True. If {u, v} is orthonormal then u · v = 0 and ∥u∥ = ∥v∥ = 1.
Hence
Answer:
(i) False. Since if {u, v} then u · (u + v) = ∥u∥2 ̸= 0, for any u ̸= 0.
" # " # " # " #
1 2 1 0
(ii) False. For example u = ,v = ,w = ,z = . Then
2 −1 0 1
{u, v} and {w, z} are both orthogonal but {u, v, w, z} is not
orthogonal.
(iii) True. If {u, v} is orthonormal then u · v = 0 and ∥u∥ = ∥v∥ = 1.
Hence
(u + v) · (u − v) = u · u − u · v + v · u − v · v = ∥u∥2 − ∥v∥2 = 0.
Answer:
(i) False. Since if {u, v} then u · (u + v) = ∥u∥2 ̸= 0, for any u ̸= 0.
" # " # " # " #
1 2 1 0
(ii) False. For example u = ,v = ,w = ,z = . Then
2 −1 0 1
{u, v} and {w, z} are both orthogonal but {u, v, w, z} is not
orthogonal.
(iii) True. If {u, v} is orthonormal then u · v = 0 and ∥u∥ = ∥v∥ = 1.
Hence
(u + v) · (u − v) = u · u − u · v + v · u − v · v = ∥u∥2 − ∥v∥2 = 0.
Example
Let x = [a, b, c]. Let U be the subspace spanned by the orthogonal basis
{u = [1, 1, 1], v = [1, −1, 0], w = [1, 1, −2]}.
Find the coefficient of v when expressing x as a linear combination of
{u, v, w}.
Example
Let x = [a, b, c]. Let U be the subspace spanned by the orthogonal basis
{u = [1, 1, 1], v = [1, −1, 0], w = [1, 1, −2]}.
Find the coefficient of v when expressing x as a linear combination of
{u, v, w}.
Answer:
Example
Let x = [a, b, c]. Let U be the subspace spanned by the orthogonal basis
{u = [1, 1, 1], v = [1, −1, 0], w = [1, 1, −2]}.
Find the coefficient of v when expressing x as a linear combination of
{u, v, w}.
Answer: We can see {u, v, w} is an orthogonal basis of U. Hence the
coefficient of v when expressing x as a linear combination of {u, v, w} is
x ·v a−b
2 = 2
∥v∥
Example
Let x = [a, b, c]. Let U be the subspace spanned by the orthogonal basis
{u = [1, 1, 1], v = [1, −1, 0], w = [1, 1, −2]}.
Find the coefficient of v when expressing x as a linear combination of
{u, v, w}.
Answer: We can see {u, v, w} is an orthogonal basis of U. Hence the
coefficient of v when expressing x as a linear combination of {u, v, w} is
x ·v a−b
2 = 2
∥v∥
Example
Let x = [a, b, c]. Let U be the subspace spanned by the orthogonal basis
{u = [1, 1, 1], v = [1, −1, 0], w = [1, 1, −2]}.
Find the coefficient of v when expressing x as a linear combination of
{u, v, w}.
Answer: We can see {u, v, w} is an orthogonal basis of U. Hence the
coefficient of v when expressing x as a linear combination of {u, v, w} is
x ·v a−b
2 = 2
∥v∥
Answer:
Answer: We have
X ·u X ·v
X= 2u + v
∥u∥ ∥v∥2
28 −10
= u+ v
14 10
= 2u − v
Answer: We have
X ·u X ·v
X= 2u + v
∥u∥ ∥v∥2
28 −10
= u+ v
14 10
= 2u − v
Let A be m × n matrix.
Definition
The column space, col(A), of A is the subspace of Rm spanned by the
columns of A.
Let A be m × n matrix.
Definition
The column space, col(A), of A is the subspace of Rm spanned by the
columns of A.
The row space, row(A), of A is the subspace of Rn spanned by the
rows of A.
Let A be m × n matrix.
Definition
The column space, col(A), of A is the subspace of Rm spanned by the
columns of A.
The row space, row(A), of A is the subspace of Rn spanned by the
rows of A.
Let A be m × n matrix.
Definition
The column space, col(A), of A is the subspace of Rm spanned by the
columns of A.
The row space, row(A), of A is the subspace of Rn spanned by the
rows of A.
Theorem
If matrix R is a row-echelon form of A, then
1. The nonzero rows of R are a basis of row(A).
Theorem
If matrix R is a row-echelon form of A, then
1. The nonzero rows of R are a basis of row(A).
2. The columns of A corresponding to the columns of R that contain the
leading 1 are a basis of col(A).
Theorem
If matrix R is a row-echelon form of A, then
1. The nonzero rows of R are a basis of row(A).
2. The columns of A corresponding to the columns of R that contain the
leading 1 are a basis of col(A).
Theorem
If matrix R is a row-echelon form of A, then
1. The nonzero rows of R are a basis of row(A).
2. The columns of A corresponding to the columns of R that contain the
leading 1 are a basis of col(A).
Answer:
Answer: We have
−1 2 1 3 1 −2 −1 −3
2R1 +R2 −R2 +R3
A → 0 1 0 7 → 0 1 0 7
3R1 +R3 −R1
0 1 0 7 0 0 0 0
Answer: We have
−1 2 1 3 1 −2 −1 −3
2R1 +R2 −R2 +R3
A → 0 1 0 7 → 0 1 0 7
3R1 +R3 −R1
0 1 0 7 0 0 0 0
Answer: We have
−1 2 1 3 1 −2 −1 −3
2R1 +R2 −R2 +R3
A → 0 1 0 7 → 0 1 0 7
3R1 +R3 −R1
0 1 0 7 0 0 0 0
Answer:
" #!
1 −2 3 1
Answer: See that U = null .
3 −5 1 8
" #!
1 −2 3 1
Answer: See that U = null . We have
3 −5 1 8
" # " #
1 −2 3 1 −3R1 +R2 1 −2 3 1
rank = rank = 2.
3 −5 1 8 0 1 −8 5
" #!
1 −2 3 1
Answer: See that U = null . We have
3 −5 1 8
" # " #
1 −2 3 1 −3R1 +R2 1 −2 3 1
rank = rank = 2.
3 −5 1 8 0 1 −8 5
" #
1 −2 3 1
Hence dim(U) = 4 − rank = 4 − 2 = 2.
3 −5 1 8
" #!
1 −2 3 1
Answer: See that U = null . We have
3 −5 1 8
" # " #
1 −2 3 1 −3R1 +R2 1 −2 3 1
rank = rank = 2.
3 −5 1 8 0 1 −8 5
" #
1 −2 3 1
Hence dim(U) = 4 − rank = 4 − 2 = 2.
3 −5 1 8
Answer:
1 1 1 1
Answer: See that U = im 1 −2 = col 1 −2.
3 0 3 0
1 1 1 1
Answer: See that U = im 1 −2 = col 1 −2. We have
3 0 3 0
1 1 1 1 1 1
−R1 +R2 −1/3R2
dim(U) = rank 1 −2 = rank 0 −3 = rank 0 1 = 2.
−3R1 +R3 −R2 +R3
3 0 0 −3 0 0
1 1 1 1
Answer: See that U = im 1 −2 = col 1 −2. We have
3 0 3 0
1 1 1 1 1 1
−R1 +R2 −1/3R2
dim(U) = rank 1 −2 = rank 0 −3 = rank 0 1 = 2.
−3R1 +R3 −R2 +R3
3 0 0 −3 0 0
Answer:
Answer:
Answer:
(i) True. Since dim(Null(A)) = 350 − rank(A) = 4. Moreover,
rank(A) ≤ min{100, 350} = 100. Thus,
Answer:
(i) True. Since dim(Null(A)) = 350 − rank(A) = 4. Moreover,
rank(A) ≤ min{100, 350} = 100. Thus,
Answer:
(i) True. Since dim(Null(A)) = 350 − rank(A) = 4. Moreover,
rank(A) ≤ min{100, 350} = 100. Thus,