Lecture 16 Graphs and Matrices in Practice Eigenvalue and Eigenvector Shang-Hua Teng.
Lecture 2: Geometry vs Linear Algebra Points-Vectors and Distance-Norm Shang-Hua Teng.
-
date post
22-Dec-2015 -
Category
Documents
-
view
215 -
download
0
Transcript of Lecture 2: Geometry vs Linear Algebra Points-Vectors and Distance-Norm Shang-Hua Teng.
Algebra: Vector Operations
• Vector Addition
• Scalar Multiplication
22
11
2
1
2
1 then and wv
wvwv
w
ww
v
vv
2
1
2
1 and 3
33
v
vv
v
vv
Dot Product: Angle and Length
• Cosine Formula
cos
)cos(
sinsincoscoswv
)sin,(cos and )sin,(cos
| ||v||||w|
rr
rr
rwrv
wv
wv
wv
v
w
Vector Inequalities
• Triangle Inequality
• Schwarz Inequality
||w||||v||wv ||||
||v||||w||wv ||
|||||||||cos||| wv|v||||w||wv Proof:
Algebra: Vector Operations
• Vector Addition
• Scalar Multiplication
33
22
11
3
2
1
3
2
1
then and wv
wvwv
wvw
ww
wv
vv
v
3
2
1
3
2
1
and 3
33
3v
vv
vv
vv
v
Linear Combination
• Linear combination of v (line)
{cv : c is a real number}
• Linear combination of v and w (plane)
{cv + d w : c, d are real numbers}
• Linear combination of u, v and w (3 Space)
{bu +cv + d w : b, c, d are real numbers}
Norm and Distance• Norm of a vector:
• Distance
23
22
21|||| vvvv
y
x
z
),,( 321 vvvv
233
222
211
||||),dist(
wvwvwv
wvwv
Vector Inequalities
• Triangle Inequality
• Schwarz Inequality
||w||||v||wv ||||
||v||||w||wv ||
|||||||||cos||| wv|v||||w||wv Proof:
Dimensions
• One Dimensional Geometry
• Two Dimensional Geometry
• Three Dimensional Geometry
• High Dimensional Geometry
High Dimensional Geometry
• Vector Addition and Scalar Multiplication
• Dot-product
• Norm
• Cosine Formula
n
kkk wvwv
1
n
kkvvvv
1
2||||
cos| ||v||||w|wv
High Dimensional Linear Combination
• Linear combination of v1 (line)
{c v1 : c is a real number}
• Linear combination of v1 and v2 (plane)
{c1 v1 + c2 v2 : c1 ,c2 are real numbers}
• Linear combination of d vectors v1 , v2 ,…, vd
(d Space)
{c1v1 +c2v2+…+ cdvd : c1,c2 ,…,cd are real numbers}
High Dimensional Algebra and Geometry
• Triangle Inequality
• Schwarz Inequality
||w||||v||wv ||||
||v||||w||wv ||
Basic Notations
• Unit vector ||v||=1
• v/||v|| is a unit vector
• Row times a column vector = dot product
n
n
n
kkk
w
w
w
vvvwvwv
2
1
211