Professional Documents
Culture Documents
Week 1
The magnitude of AB is the length of the arrow and we write kABk. We often use the lower case
letters ~u, ~v , w
~ to refer to vectors and k, l and m to denote scalars.
We can think of vectors as a new number system and we can do many familiar operations with
vectors.
Equality of Vectors
Two vectors ~u and ~v are equal if they have the same magnitude and direction.
Note: ~u + ~v = ~v + ~u
Zero Vector
A vector of magnitude 0 is called the zero vector and is denoted by ~0.
Note: For any vector ~v , we have ~v + ~0 = ~v .
Negative Vector
The vector ~v has the same length as ~v but is oppositely directed.
Note: ~v + (~v ) = ~0
Scalar Multiplication
If a 6= 0 is a real number (scalar) and ~v 6= ~0:
1. The magnitude of a~v is ka~v k = |a|k~v k.
2. The direction of a~v is the same as ~v if a > 0 and opposite to ~v if a < 0.
Note: All scalar multiples of a vector are parallel. If k~v = ~0 then either k = 0 or ~v = ~0.
Unit Vectors
A vector ~u is called a unit vector if k~uk = 1.
1
~u is a unit vector.
Note: If ~u 6= ~0, then
k~uk
Note: ~u ~v = ~u + (~v )
2
Vectors in R2 and R3
Since we can position a vector anywhere, it can be helpful to place a vector on a coordinate grid with
the initial point at the origin. Then we will refer to the vector by the coordinates of its terminal
point.
7
1
Suppose ~u =
and ~v =
in R2 , find and check geometrically:
6
2
(a) ~u + ~v
(b) 2~u
(c) k~u ~v k
(d) k~uk
Suppose a vector is not positioned at the origin but we are given its initial point P (x1 , y1 ) and
terminal point
Q(x2 , y2 ).
x x1
Then P Q = 2
= [x2 x1 y2 y1 ]T .
y2 y1
Example 2:
Find the midpoint between the points P1 (3, 4) and P2 (9, 7).
Lines
Lines in R3 are determined by a point P0 (x0 , y0 , z0 ) and a direction vector d~ = [a b c]T .
~
We can think of the line l as all the points P (x, y, z) for which P0 P is parallel to d.
~ where t R
P0 P = td,
x x0
ta
~
y
and td = tb .
Now P0 P =
0
tc
z z0
x x0
a
So we have y y0 = t b .
z z0
c
Equating components, we get the parametric equations of a line
x = x0 + ta
y = y0 + tb
z = z0 + tc
through the point (x0 , y0 , z0 ) and in the direction of the vector d~ = [a b c]T .
We can also write these equations in vector form as
x
x0
a
y = y0 + t b
z
zo
c
Example 3:
(a) Find the parametric equations for the line passing through the points P1 (2, 4, 1) and P2 (5, 0, 7).
(b) Where does this line intersect the xy-plane?
Dot Product:
If ~u = [u1 u2 u3 ]T and ~v = [v1 v2 v3 ]T , then their dot product ~u ~v is a scalar defined by
~u ~v = u1 v1 + u2 v2 + u3 v3
Example 1:
If ~u = [2 1 3]T and ~v = [1 4 1]T , find ~u ~v .
Proof:
Fact:
If ~u ~v = 0, then ~u and ~v are orthogonal.
Proof:
Example 3:
Show that the points P (3, 1, 1), Q(4, 1, 4) and R(6, 0, 4) are the vertices of a right triangle.
Projections
It is sometimes of interest to decompose a vector ~u into a sum of two vectors; one parallel to some
~ The projection of ~u on d~ is denoted proj ~~u.
vector d~ and one perpendicular to d.
d
Theorem 3:
~u d~ ~
d.
Let ~u and d~ =
6 ~0 be two vectors. Then projd~~u =
~ 2
kdk
Proof:
Example 4:
Find the projection of ~u = [2 1 3]T on d~ = [4 1 2]T and express ~u = w
~1 + w
~ 2 , where w
~ 1 is parallel
~
~
to d and w
~ 2 is perpendicular to d.
Example 5:
Find the shortest distance from the point P (1, 3, 2) to the line through R(2, 0, 1) with direction
vector d~ = [1 1 0]T .
Planes
We can specify a line by its slope (direction) and a point. We specify a plane by its inclination and
a point. We can describe the inclination of the plane by a non-zero vector called the normal vector
~n that is perpendicular to every vector in the plane. (In this case we say ~n is perpendicular to the
plane.)
Suppose we want to find the equation of the plane passing through the point P0 (x0 , y0 , z0 ) and
having ~n = [a b c]T as a normal. We can think of the plane as all the points P (x, y, z) so that P0 P
is orthogonal to ~n.
x x0 y y0
P P ~n = 0
T 0
z z0 [a b c]T = 0