Lecture09 Student
Lecture09 Student
Lecture09 Student
Example. The dot product (Euclidean inner product) of the n-vectors u and v defined by
hu, vi = u · v = u1 × v1 + u2 × v2 + . . . + un × vn is an inner product.
Proof. Skip.
Theorem 4.2.4. (Cauchy-Schwarz inequality) hu, vi2 ≤ hu, uihv, vi for all u, v ∈
Rn .
Proof. Skip.
Linear Algebra lecture 9−4
Definition. A function || · || from Rn to R is called a norm (length) provided that
(a) ||u|| ≥ 0 for all u ∈ Rn and ||u|| = 0 if and only if u = 0.
(b) ||cu|| = |c| ||u|| for all u ∈ Rn and c ∈ R.
(c) (triangular inequality) ||u + v|| ≤ ||u|| + ||v|| for all u, v ∈ Rn.
p
Example. The Euclidean norm (L2 norm) defined by ||u|| = ||u||2 = u21 + · · · + u2n is a
norm in Rn.
Proof. Skip.
Example. The taxicab norm or Manhattan norm (L1 norm) defined by ||u|| = ||u||1 =
|u1| + |u2| + · · · + |un| is a norm in Rn.
Proof. Skip.
Fact. (Parallelogram law) If || · || is a norm induced from an inner product h·, ·i, then
one has ||u + v||2 + ||u − v||2 = 2(||u||2 + ||v||2).
Proof. Skip.
Example. The taxicab metric (Manhattan distance, L1 distance) is d(u, v) = |u1 − v1| +
|u2 − v2| + · · · + |un − vn|.
Example. The Euclidean distance is induced by the Euclidean norm and the taxicab metric
is induced by the taxicab norm.
Proof. Skip.
u
Note. Given u 6= 0 ∈ Rn, ||u||
is the only unit vector parallel to u in the same direction.
Remark 4.3.ET4. The above conditions (a) and (b) is equivalent to the condition (ab)
L(cv + u) = cL(v) + L(u) for for all v, u ∈ Rn and c ∈ R
′
(or (ab ) L(cv + du) = cL(v) + dL(u) for for all v, u ∈ Rn and c, d ∈ R).
Proof. Skip.
Notation. In Rn, ei, for i = 1, . . . , n, denotes the vector that has ith component to be 1
and 0 otherwise.
2 v3
−3 1 0 0
(a) L 4 = L (−3) 0 + 4 1 + 2 0
2 0 0 1
1 0 0
= (−3)L 0 + 4L 1 + 2L 0
0 0 1
" # " # " # " #
2 3 −1 4
= (−3) +4 +2 = .
−1 1 2 11
Linear Algebra lecture 9−15
v1 1 0 0
(b) L v2 = L v1 0 + v2 1 + v3 0
v3 0 0 1
1 0 0
= v1L 0 + v2L 1 + v3L 0
0 0 1
" # " # " # " #
2 3 −1 2v1 + 3v2 − v3
= v1 + v2 + v3 =
−1 1 2 −v1 + v2 + 2v3
" # v1
2 3 −1
= v2 .
−1 1 2
v3
Proof. 1◦ ”existence”
Given any v ∈ Rn, note v = v1e1 + v2e2 + · · · + vnen .
Hence by linearity of L, we have L(v) = hL(v1e1 + v2e2 + · · · + vnein )
= v1L(e1) + v2L(e2) + · · · + vnL(en) = L(e1) L(e2) · · · L(en) v = Av,
h i
where A = L(e1) L(e2) · · · L(en) , whose size is m × n.
2◦ ”uniqueness”
Suppose we also have L(v) = Bv for all v ∈ Rn.
Then (A − B)v = 0m for all v ∈ Rn.
Particular, letting v = ei, i = 1, 2, . . . , n,
we obtain the ith column of A − B is (A − B)ei = 0m.
Hence A and B agree.
h i
Definition. The matrix A = L(e1) L(e2) · · · L(en) is called the standard matrix
representing L.