Professional Documents
Culture Documents
Lecture4 Length Angle
Lecture4 Length Angle
y
B
Fact: Vectors of the same length and direction are the same. So, every vector
can be thought of initiating from the origin.
2~u
4
~u
x
2
⇒ 12 + 22 = 5
√
⇒ length of ~u = ||~u|| = 5
√
c = 2 ⇒ ||2~u|| = |2| ||~u|| = 2 5
2 2 2
√ √
(length of 2u) = 2 + 4 = 20 ⇒ length of 2~u = ||2~u|| = 20 = 2 5
Definition: Vectors ~u and ~v are called parallel if one is a scalar multiple of the
other one. That is, there exists scalar c so that ~u = c~v.
In particular, if c > 0, then ~u and ~v have the same direction and if c < 0, then
~u and ~v have opposite directions.
0
Remark: length of the origin = is just zero, origin has no direction.
0
ca p p p
||c~v|| = = (ca ) + (cb ) = c a + c b = c2 · (a2 + b2)
2 2 2 2 2 2
cb
√ p
= c2 a2 + b2
√ √ √ √ √ √
Notice: xy = x y But x + y 6= x + y.
1
Note: Let ~v 6= 0 be a vector in Rn, then the vector ||v||~v has the same direction as ~v
but with a unit length.
1 1
Example: Let A = 2 and B = 1. Find a point between A and B with distance
3 1
√
3 from A.
a
~u C = b
c
B
~u
C
A 0
~ = 1
BA
2
~
Find the unit vector on BA
0
1 ~ 1
~ BA = 5 1
~u = ||BA|| √
0 1 1
2
C = √25 1 + 1 = √ + 1
5
2 1 4
√ +1
5
~u
x
a b
Suppose ~u = 1 ,~v = 1 . We would like to calculate β − α in terms of
a2 b2
a1, a2, b1, b2.
~v
a1 cos α
=
~u a2 sin α
O
1 1 a1
~u =
||u|| ||~u|| a2
1 1 b1
~v =
||v|| ||~v|| b2
1 1 1 1
cos(β − α) = a1 b1 + a2 b2
||u|| ||v|| ||u|| ||v||
1 1
⇒ cos(β − α) = (a1b1 + a2b2)
||u|| ||v||
a1 b1
a b
Definition: Let ~u = ..2 ,~v = ..2. Then
. .
an bn
1 −2
Example: Let ~u = ,~v = . Find the angle between ~u and ~v.
2 3
Solution: Let θ be the angle between ~u and ~v
So,
~u ·~v −2 + (2)(3)
cosθ = =√ √
||~u|| ||~v|| 1+4 4+9
4 −1
4
cosθ = √ √ ⇒ θ = cos √
5 13 65