Chapter3A Notes
Chapter3A Notes
International University
Lecture Notes/Slides for
What is Rn ?
Whereas two scalar quantities are equal if they are represented by the same value,
two vector quantities are equal if and only if they have the same magnitude and
direction.
R2 and R3
Vectors in R2 and R3 have convenient geometric representations as position
vectors of points in the 2-dimensional (Cartesian) plane and in 3-dimensional
space, respectively.
R3 c
R2
(a, b, c)
y
b (a, b)
0 b
0 a x y
x
a
The vector .
b a
The vector b .
c
Notation
If P is a point in Rn with coordinates (p1 , p2 , ..., pn ) we denote this by
P = (p1 , p2 , ..., pn ).
If P = (p1 , p2 , . . . , pn ) is a point in Rn , then
p1
−
→ p2
0P = .
..
pn
y
−→
B • AB is the geometric vector from A to B.
−→
• A is the tail of AB.
−→
• B is the tip of AB.
−→
• the magnitude of AB is its length, and is
−→
denoted ||AB||.
0 x
0 A x −→ −→
• AB = CD because the vectors have
the same length and direction.
C
The fact that the points A and B are different from the points C and D is not
important. For geometric vectors, the location of the vector in the plane (or in
3-dimensional space) is not important; the important properties are its length and
direction.
−
→
0P is the position vector for P = (1, 2),
−→ 1
and 0P = .
2
0 A x
−→ − → −→ 1
Since AB = 0P, it should be the case that AB = . This can be seen by
2
−→
moving AB so that its tail is at the origin.
Example
1 4
Let u~ = 2 and ~v = 5 . Then,
3 6
1 4 5
u~ + ~v = 2 + 5 = 7
3 6 9
Example
1
Let u~ = 2 and k = 4. Then,
3
1 4
k u~ = 4 2 = 8
3 12
1 0
Often, in R2 the notation ~i = , ~j = is used. Whereas in R3 the
0 1
1 0 0
~ ~
notation is i = 0 , j = 1 , k = 0
~
0 0 1
So we have
a
= a~i + b~j
b
and
a
b = a~i + b~j + c ~k
c
1 Vector Equality. The vectors have the same length and direction.
2 The zero vector, ~0 has length zero and no direction.
3 Addition. Let u~, ~v be vectors. Then u~ + ~v is the diagonal of the
parallelogram defined by u~ and ~v , and having the same tail as u~ and ~v .
u~ + ~v
u~
~v
Chapter 3A. Vector Spaces The Geometry of Vector Addition Page 16/70
Tip-to-Tail Method for Vector Addition
For points A, B and C ,
−→ −→ −→
AB + BC = AC .
C
−
→
AB
−→ −→
AC BC
−
→
BC B
−→
A AB
Chapter 3A. Vector Spaces The Geometry of Vector Addition Page 17/70
~v u~ − ~v −~v
u~
Chapter 3A. Vector Spaces The Geometry of Vector Addition Page 18/70
Coordinatizing Vectors – Part 2
Let A = (x1 , y1 , z1 ) and B = (x2 , y2 , z2 ) be two points in R3 .
B z
0 y
A
x
−
→ −→ − →
We see from the figure that 0A + AB = 0B, and hence
x2 x1 x2 − x1
−→ − → − →
AB = 0B − 0A = y2 − y1 = y2 − y1 .
z2 z1 z2 − z1
Chapter 3A. Vector Spaces The Geometry of Vector Addition Page 19/70
Length of a Vector, R2
x1 y
If ~x = ∈ R2 ,
x2 X = (x1 , x2 )
~
x
x
0
then the length of the vector ~x is the distance from the origin 0 to the point
X = (x1 , x2 ) given by d(0, X ).
x1
This extends clearly to ~x = x2 ∈ R3 .
x3
The length of ~x is the distance from the origin 0 to the point X = (x1 , x2 , x3 )
given by d(0, X ).
q
d(0, X ) = k~x k = x12 + x22 + x32 .
Suppose we want to find the distance between points other than the origin?
Length of a Vector, R3
Consider two arbitrary points in R3 , A = (x1 , y1 , z1 ) and B = (x2 , y2 , z2 ). Then
the distance between them is written d(A, B) and is given by the distance formula.
Distance Formula
p
d(A, B) = (x2 − x1 )2 + (y2 − y1 )2 + (z2 − z1 )2 .
Then the length of p~ is equal to the distance between the origin and P, which are
both equal to the distance between points A and B
p
p k = d(0, P) = d(A, B) = (x2 − x1 )2 + (y2 − y1 )2 + (z2 − z1 )2 .
k~
then q
k~x k = x12 + x22 + · · · + xn2 ,
which represents the distance from the origin to the point (x1 , x2 , . . . , xn ).
Properties of Distance
Let P and Q be two points in Rn , and d(P, Q) the distance between them. Then
the following properties hold.
1 The distance between P and Q is equal to the distance between Q and P,
i.e., d(P, Q) = d(Q, P).
2 d(P, Q) ≥ 0 with equality if and only if P = Q.
Example
−1, 3) and Q = (3, 1,√0), the distance between P and Q is
For P = (1,p
d(P, Q) = 22 + 22 + (−3)2 = 17.
p √ √
k~
qk = (3)2 + (−1)2 + (−2)2 = 9+1+4= 14,
and
p
k − 2~
qk = (−6)2 + 22 + 42
√
= 36 + 4 + 16
√ √
= 56 = 4 × 14
√
= 2 14 = 2k~q k.
Chapter 3A. Vector Spaces The Geometry of Scalar Multiplication Page 26/70
Problem
Let P = (1, −2, 1),Q = (−3, 0, 5), X = (2, −1, 5) and Y = (4, −2, 3) be points in
−→ −→ −→ −−→
R3 . Is PQ parallel to XY ? Is PX parallel to QY ?
Solution
−4 2
−→ −→ −→ −→
PQ = 2 , XY = −1 , and these vectors are parallel if PQ = k XY for
4 −2
some scalar k, i.e.,
−4 2 −4 2k
2 = k −1 or 2 = −k .
4 −2 4 −2k
This gives a system of three equations in one variable, which is consistent, and
−→ −→
has unique solution k = −2. Therefore, PQ is parallel to XY .
1 7
−→ −−→ −→ −−→
PX = 1 , QY = −2 , and these vectors are parallel if PX = `QY for
4 −2
−→ −−→
some scalar `. You will find that no such ` exists, so PX is not parallel to QY .
Chapter 3A. Vector Spaces The Geometry of Scalar Multiplication Page 27/70
Unit Vectors
Definition
A unit vector is a vector of length one.
Example
√2
1 0 0 2
0 , 1 , 0 , 0
√ , are examples of unit vectors.
0 0 1 2
2
Example
If ~v 6= ~0, then
1
~v
k~v k
is a unit vector in the same direction as ~v .
Example
If ~v and w
~ are nonzero that have
k~
vk
the same direction, then ~v = wk w ;
k~
~
k~
vk
opposite directions, then ~v = − k~
wk w .
~
u~ • ~v = x1 x2 + y1 y2 + z1 z2 ,
i.e., u~ • ~v is a scalar.
Problem
T T
Find u~ • ~v for u~ = 1 2 0 −1 , ~v = 0 1 2 3 .
Solution
Problem
1
3
Find the length of the vector u~ =
5 .
Solution
u k2 = u~ • u~.
By the properties of the dot product, k~
Theorem
The Cauchy-Schwarz Inequality is given as follows. For u~, ~v ∈ Rn ,
|~
u • ~v | ≤ k~
u kk~v k
Theorem
The Triangle Inequality is given as follows. For u~, ~v ∈ Rn ,
k~
u + ~v k ≤ k~
u k + k~v k
Let u~ and ~v be two vectors in Rn (n ≥ 2), positioned so they have the same tail.
Then there is a unique angle θ between u~ and ~v with 0 ≤ θ ≤ π. This angle θ is
called the included angle.
u~ θ
θ u~ ~v
~v
Theorem
Let u~ and ~v be nonzero vectors, and let θ denote the angle between u~ and ~v .
Then
u~ • ~v = k~
u k k~v k cos θ.
Chapter 3A. Vector Spaces The Geometric Significance of the Dot Product Page 35/70
Chapter 3A. Vector Spaces The Geometric Significance of the Dot Product Page 36/70
Included Angle
Problem
1 0
Find the angle between u~ = 0 and ~v = 1 .
−1 −1
Solution
√ √
u~ • ~v = 1, k~
uk = 2 and k~v k = 2.
Therefore,
u~ • ~v 1 1
cos θ = =√ √ = .
k~
u k k~v k 2 2 2
π
Since 0 ≤ θ ≤ π, θ = 3.
π
Therefore, the angle between u~ and ~v is 3.
Chapter 3A. Vector Spaces The Geometric Significance of the Dot Product Page 37/70
Problem
3 −2
Find the included angle for u~ = −6 and ~v = 1 .
−3 −1
Solution
√ √ √
u~ • ~v = − 9, k~
uk = 54 = 3 6, and k~v k = 6.
Let θ denote the included angle for u~ and ~v . Then
u~ • ~v −9 −9 1
cos θ = = √ √ = =− .
k~
u kk~v k 3 6× 6 18 2
2π
Since 0 ≤ θ ≤ π, the included angle is θ = 3 .
Chapter 3A. Vector Spaces The Geometric Significance of the Dot Product Page 38/70
Problem
7 1
Find the included angle for u~ = −1 and ~v = 4 .
3 −1
Solution
Let θ denote included angle.
u~ • ~v = 0.
π
Regardless of k~
u k and k~v k, cos θ = 0, and therefore the included angle is θ = 2.
Chapter 3A. Vector Spaces The Geometric Significance of the Dot Product Page 39/70
Orthogonal Vectors
Definition
Vectors u~ and ~v are orthogonal, also called perpendicular, if and only if u~ = ~0 or
~v = ~0 or θ = π2 .
Theorem
Nonzero vectors u~ and ~v are orthogonal if and only if u~ • ~v = 0.
Proof
We have u~ ⊥ ~v if and only if k~
u − ~v k = k~
u + ~v k (see the picture).
This is equivalent to
u − ~v ) • (~
(~ u − ~v ) = (~
u + ~v ) • (~
u + ~v )
Chapter 3A. Vector Spaces The Geometric Significance of the Dot Product Page 40/70
Problem
x −1 0
Find all vectors ~v = y orthogonal to both u~ = −3 and w
~ = 1
z 2 1
Solution
There are infinitely many such vectors.
Since ~v is orthogonal to both u~ and w
~,
~v • u~ = −x − 3y + 2z = 0
~v • w~ = y +z =0
Chapter 3A. Vector Spaces The Geometric Significance of the Dot Product Page 41/70
Solution (continued)
This is a homogeneous system of two linear equation in three variables.
−1 −3 2 0 1 0 −5 0
→ ··· →
0 1 1 0 0 1 1 0
5t
1 0 −5 0
implies that ~v = −t for t ∈ R.
0 1 1 0
t
5
Therefore, ~v = t −1 for all t ∈ R.
1
Chapter 3A. Vector Spaces The Geometric Significance of the Dot Product Page 42/70
Problem
Are A(4, −7, 9), B(6, 4, 4) and C (7, 10, −6) the vertices of a right angle triangle?
Solution
2 3 1
−→ −→ −→
AB = 11 , AC = 17 , BC = 6
−5 −15 −10
−→ −→
AB • AC = 6 + 187 + 75 6= 0.
−→ −→ −→ −→
BA • BC = (−AB) • BC = −2 − 66 − 50 6= 0.
−→ −→ −→ −→ −→ −→
CA • CB = (−AC ) • (−BC ) = AC • BC = 3 + 102 + 150 6= 0.
π
None of the angles is 2, and therefore the triangle is not a right angle triangle.
Chapter 3A. Vector Spaces The Geometric Significance of the Dot Product Page 43/70
Projections
Theorem
Given nonzero vectors ~v and u~ in Rn (for n = 2, 3...), there exist unique vectors
~v|| , ~v⊥ such that ~v can be written as a sum
~v = ~v|| + ~v⊥
~v ~v
~v⊥
u~ ~v||
~v|| is the projection of ~v onto u~, written ~v|| = proju~ ~v and ~v⊥ = ~v − ~v|| .
Projections
Theorem
Let ~v and u~ be vectors with u~ 6= ~0.
1 proj ~ ~
v •~
u
~ v = k~
u u k2 u
~
v •~
~ u
2 ~ v − k~uk2 u~ is orthogonal to u~.
Solution
3 15/11
~v • u~ 5
~v|| = proju~ ~v = u~ = 1 = 5/11 .
u k2
k~ 11
−1 −5/11
2 3 7 7/11
5 1
~v⊥ = ~v − ~v|| = −1 − 1 = −16 = −16/11 .
11 11
0 −1 5 5/11
Find the shortest distance from P to L, and find the point Q on L that is closest
to P.
Solution
Let P0 = (2, 1, 3) be a point on L,
P T
and let d~ = 3 −1 −2
u~ .
−−→ −−→ −→ −−→ −−→
Then P0 Q = projd~ P0 P, 0Q = 0P0 + P0 Q,
L
P0 and the shortest distance from P to L is
−→ −→ −−→ −−→
the length of QP, where QP = P0 P − P0 Q.
0 Q
−−→ ~ !
3 15
−−→ −−→ P0 P • d ~ 10 1
P0 Q = projd~ P0 P = d= −1 = −5 .
~ 2
kdk 14 7
−2 −10
Therefore,
2 15 29
−→ 1 1
OQ = 1 + −5 = 2 ,
7 7
3 −10 11
29 2 11
so Q = 7 , 7, 7 .
Solution (continued)
−→
Finally, the shortest distance from P(3, 2, −1) to L is the length of QP, where
1 15 −4
−→ −−→ −−→ 1 2
QP = P0 P − P0 Q = 1 − −5 = 6 .
7 7
−4 −10 −9
Given a point P0 and a nonzero vector n~, there is a unique plane containing P0
and orthogonal to n~.
~
n
P0
Definition
A nonzero vector n~ is a normal vector to a plane if and only if n~ • ~v = 0 for every
vector ~v in the plane, i.e., n~ is orthogonal to every vector in the plane.
Consider a plane containing a point P0 and orthogonal to vector n~, and let P be
−−→
an arbitrary point on this plane. Then n~ • P0 P = 0,
~
n
P0
or, equivalently,
−
→ −−→
n~ • (0P − 0P0 ) = 0,
and is called a vector equation of the plane. The vector equation can also be
written as
−
→ −−→
n~ • 0P = n~ • 0P0 .
Thus
ax + by + cz = ax0 + by0 + cz0 ,
where d = ax0 + by0 + cz0 is simply a scalar.
A scalar equation of the plane has the form
ax + by + cz = d, where a, b, c, d ∈ R.
Problem
Find an equation of the plane containing P0 (1, −1, 0) and orthogonal to
T
n~ = −3 5 2 .
Solution
A vector equation of this plane is
−3 x −1
5 • y + 1 = 0.
2 z
−3x + 5y + 2z = −8.
(wb example)
Solution
P = (2, 3, 0)
n~ Pick an arbitrary point P0 on the plane.
−→ −−→
Then QP = proj~n P0 P,
−→
kQPk is the shortest distance,
P0 Q −→ − → −→
and 0Q = 0P − QP.
5 2
−−→
n~ = 1 . Choose P0 = (0, 0, −1). Then P0 P = 3 .
1 1
Chapter 3A. Vector Spaces Shortest distance from a point to a plane Page 55/70
Solution (continued)
P = (2, 3, 0)
n~
2 5
−−→
P0 P = 3 and n~ = 1 .
1 1
P0 Q
−−→
5
!
−→ −−→ P0 P • n~ 14
QP = proj~n P0 P = n~ = 1 .
nk2
k~ 27
1
−→ 14
√ √
14 3
√
14 3
Since kQPk = 27 27 = 9 , the shortest distance from P to the plane is 9 .
Chapter 3A. Vector Spaces Shortest distance from a point to a plane Page 56/70
Solution (continued)
To find Q, we have
2 5 −16
−→ − → −→ 14 1
0Q = 0P − QP = 3 − 1 = 67 .
27 27
0 1 −14
Therefore Q = − 16 67 14
,
27 27 , − 27 .
Chapter 3A. Vector Spaces Shortest distance from a point to a plane Page 57/70
Definition
T T
Let u~ = u1 u2 u3 and ~v = v1 v2 v3 . Then
u2 v3 − u3 v2
u~ × ~v = −(u1 v3 − u3 v1 ) .
u1 v2 − u2 v1
~i ~j ~k
1 0 0
~ ~
u~ × ~v = u1 u2 u3 , where i = 0 , j = 1 , k = 0 .
~
v1 v2 v3 0 0 1
Solution
We will use the equation:
u2 v3 − u3 v2
u~ × ~v = −(u1 v3 − u3 v1 )
u1 v2 − u2 v1
Therefore,
(−1)(1) − (2)(−2) 3
u~ × ~v = −((1)(1) − (2)(3)) = 5
(1)(−2) − (−1)(3) 1
Theorem
~ be in R3 .
Let u~, ~v and w
1 u~ × ~v is a vector.
2 u~ × ~v is orthogonal to both u~ and ~v .
3 u~ × ~0 = ~0 and ~0 × u~ = ~0.
4 u~ × u~ = ~0.
5 u~ × ~v = −(~v × u~).
6 (k u~) × ~v = k(~
u × ~v ) = u~ × (k~v ) for any scalar k.
7 u~ × (~v + w
~ ) = u~ × ~v + u~ × w
~.
8 ~ ) × u~ = ~v × u~ + w
(~v + w ~ × u~.
Solution
~i −1 0 −5
u~ × ~v = ~j −3 1 = −5~i + ~j − ~k = 1 .
~k 2 1 −1
Problem
Let A = (1, −1, 2), B = (2, 0, −1) and C = (0, −2, 3) be points in R3 . These
points do no all lie on the same line (how can you tell?). Find an equation for the
plane containing A, B, and C .
(wb example)
Solution
~
n
−→ −→
C AB and AC lie in the plane, so
−→ −→
A ~ = AB × AC is a normal to the plane.
n
1 −1 −2
B −→ −→
AB = 1 , AC = −1 , and n ~ = 2 .
−3 1 0
−2 0
Therefore − 2x + 2y = 2 • −2 = −4
0 3
i.e. −2x + 2y = −4 is an equation of the plane.
Chapter 3A. Vector Spaces The Cross Product Page 62/70
Area and Volume
Proof.
x1 x2
Write u~ = y1 and ~v = y2 , and work out all the terms.
z1 z2
u~ • ~v = k~
u k k~v k cos θ,
we have
u × ~v k2
k~ = u k2 k~v k2 − (~
k~ u • ~v )2
= u k2 k~v k2 − k~
k~ u k2 k~v k2 cos2 θ
= u k2 k~v k2 (1 − cos2 θ)
k~
= u k2 k~v k2 sin2 θ.
k~
k~
u × ~v k = k~
u kk~v k sin θ.
Area of a Triangle
Problem
Find the area of the triangle having vertices A(3, −1, 2), B(1, 1, 0) and
C (1, 2, −1).
Solution
−→
The area of the triangle is half the area of the parallelogram defined by AB and
−→
AC .
−2 −2
−→ −→
AB = 2 and AC = 3 . Therefore
−2 −3
0
−→ −→
AB × AC = −2 ,
−2
−→ −→ √
so the area of the triangle is 12 kAB × AC k = 2.
Theorem
u1 v1 w1
If u~ = u2 , ~v = v2 , and w
~ = w2 . Then the box product is
u3 v3 w3
u1 v1 w1
u~ • (~v × w
~ ) = det u2
v2 w2 .
u3 v3 w3
Shorthand: u~ • (~v × w
~ ) = det u~ ~v ~
w .
Theorem
The order of the box product is defined as follows:
u × ~v ) • w
(~ ~ = u~ • (~v × w
~ ).
Theorem
The volume of the parallelepiped determined by the three vectors u~, ~v , and w
~ in
3
R is
|~
u • (~v × w
~ )|.
Problem
2
Find the volume of the parallelepiped determined by the vectors u~ = 1 ,
−1
1 2
~v = 0 , and w
~ = 1 .
2 1
Solution
The volume of the parallelepiped
is |~
u • (~v × w
~ )|.
Since u~ • (~v × w
~ ) = det u~ ~v w ~ , and
2 1 2
det 1 0 1 = −2,
−1 2 1