Chapter1 MI1026
Chapter1 MI1026
February 2024
Vectors-Geometry of Space 1 / 36
Contents
Contents
1 1.1. Vectors
1.1.1. Definitions and properties
1.1.2. The dot product
1.1.3. Cross product
Vectors-Geometry of Space 2 / 36
1.1. Vectors 1.1.1. Definitions and properties
A (geometric) vector ⃗v is a directed line segment connecting an initial point A with a terminal
−→
point B and we write ⃗v = AB.
−→ −→
Two vectors ⃗v = AB and u⃗ = CD are equal if they have the same length and same direction, in
which case we write ⃗v = u⃗.
−→
The zero vector ⃗0 = AA.
We can define the sum u⃗ + ⃗v , the difference u⃗ − ⃗v , of two vectors u⃗ and v .
If c ∈ R and ⃗v is a vector, we can define the scalar multiple c⃗v .
Vectors-Geometry of Space 3 / 36
1.1. Vectors 1.1.1. Definitions and properties
Components of a vector
Properties
Given A(x1 , y1 , z1 ) and B(x2 , y2 , z2 ), one has
−→
AB = ⟨x2 − x1 , y2 − y1 , z2 − z1 ⟩
Vectors-Geometry of Space 4 / 36
1.1. Vectors 1.1.1. Definitions and properties
Vector operations
Vector addition
If ⃗v = ⟨a1 , a2 , a3 ⟩ and u⃗ = ⟨b1 , b2 , b3 ⟩ then ⃗v + u⃗ = ⟨a1 + b1 , a2 + b2 , a3 + b3 ⟩.
Multiplication by a scalar
If ⃗v = ⟨a1 , a2 , a3 ⟩ and c ∈ R (a scalar) then c⃗v = ⟨ca1 , ca2 , ca3 ⟩.
Properties
For any vectors u⃗, ⃗v , and w
⃗ and scalars c and d, the following properties hold.
u⃗ + ⃗v = ⃗v + u⃗ u + ⃗v ) = c u⃗ + c⃗v
c(⃗
u⃗ + (⃗v + w⃗ ) = (⃗
u + ⃗v ) + w
⃗ (c + d)⃗v = c⃗v + d⃗v
⃗
⃗v + 0 = ⃗v (cd)⃗v = c(d⃗v )
⃗v + (−⃗v ) = ⃗0 1⃗v = ⃗v .
Vectors-Geometry of Space 5 / 36
1.1. Vectors 1.1.1. Definitions and properties
The vectors
⃗i = ⟨1, 0, 0⟩, ⃗j = ⟨0, 1, 0⟩, ⃗k = ⟨0, 0, 1⟩,
are called the standard basis vectors. They have length 1 and point in the directions of the positive x-,
y -, and z-axes.
Vectors-Geometry of Space 6 / 36
1.1. Vectors 1.1.1. Definitions and properties
Example
If u⃗ = ⟨1, 2, −2⟩ and ⃗v = ⟨−2, 1, 3, find |⃗
u | and the vectors u⃗ + ⃗v , u⃗ − ⃗v , 2⃗
u + 3⃗v , and the vector unit
vector in the direction of u⃗
p
u | = 12 + 22 + (−2)2 = 3.
|⃗
u⃗ + ⃗v = ⟨−1, 3, 1⟩.
u⃗ − ⃗v = ⟨3, 1, −5⟩.
u + 3⃗v = ⟨−4, 7, 5⟩.
2⃗
The unit vector with the same direction as u⃗ is
1 1 1 2 −2 1 2 2⃗
u⃗ = ⟨1, 2, −2⟩ = ⟨ , , ⟩ = ⃗i + ⃗j − k.
|⃗
u| 3 3 3 3 3 3 3
Vectors-Geometry of Space 7 / 36
1.1. Vectors 1.1.2. The dot product
Definition
For two vectors u⃗ = ⟨a1 , a2 , a3 ⟩ and ⃗v = ⟨b1 , b2 , b3 ⟩, the dot product of u⃗ and ⃗v is the number u⃗ · ⃗v
given by
u⃗ · ⃗v = a1 b1 + a2 b2 + a3 b3 .
Properties
If u⃗, ⃗v , w
⃗ are vectors and c is a scalar then
Vectors-Geometry of Space 8 / 36
1.1. Vectors 1.1.2. The dot product
Theorem
One has u⃗ · ⃗v = |u||v | cos θ.
Corollary
u⃗ · ⃗v
One has cos θ = .
|u||v |
Two nonzero vectors are orthogonal (or perpendicular) if the angle between them is π/2. By
convention, ⃗0 is orthogonal to any vector.
Vectors-Geometry of Space 9 / 36
1.1. Vectors 1.1.2. The dot product
Example
Let u⃗ = ⃗i + 2⃗j − 2⃗k and ⃗v = 4⃗i − 3⃗j.
Find u⃗ · ⃗v .
Find the angle θ between u⃗ and ⃗v .
⃗ = ⟨4, m, 1⟩ is orthogonal to u⃗.
Find a such that the vector w
u⃗ · ⃗v 2 2
cos θ = = =
|⃗u ||⃗v | 3·5 15
and θ = arccos(2/15).
⃗ and u⃗ are orthogona if and only if
w
0 = u⃗ · w
⃗ = 1(4) + 2m + (−2)1 = 2m + 2
Vectors-Geometry of Space 10 / 36
1.1. Vectors 1.1.2. The dot product
If ⃗v = ⟨a1 , a2 , a3 ⟩ then
a1 a2 a3
cos α = , cos β = , cos γ = ,
|v | |v | |v |
and cos2 α + cos2 β + cos2 γ = 1, and
Vectors-Geometry of Space 11 / 36
1.1. Vectors 1.1.2. The dot product
Projection
Let u⃗ and ⃗v are vector such that u ̸= ⃗0.
−→ −→
Suppose that u⃗ = OP and ⃗v = OQ.
Let R be the foot of the perpendicular from Q to the line containing OP.
−→
Then the vector OR is call the vector projection (or orthogonal projection) of ⃗v onto u⃗ and
denoted by proju⃗ (⃗v ).
One has
u⃗ · ⃗v u⃗ · ⃗v
Å ã Å ã
u⃗
proju⃗ (⃗v ) = u⃗ = .
u |2
|⃗ |⃗
u| |⃗
u|
The scalar projection of ⃗v on u⃗ (also called the component of ⃗v along u⃗) is denoted by compu⃗ (⃗v )
and it is defined by
u⃗ · ⃗v
compu⃗ (⃗v ) = .
|⃗
u|
Note that the scalar projection is the signed length of the vector projection and
u⃗
compu⃗ (⃗v ) = · ⃗v = |⃗v | cos θ,
|⃗
u|
where θ is the angle between u⃗ and ⃗v .
Vectors-Geometry of Space 12 / 36
1.1. Vectors 1.1.2. The dot product
Example
Find the scalar and vector projections of ⃗v = ⃗i − ⃗j + ⃗k onto u⃗ = ⃗i + ⃗j + ⃗k.
u |2 = 12 + 12 + 12 = 3.
|⃗
u⃗ · ⃗v = 1(1) + 1(−1) + 1(1) = 1.
The vector projection of ⃗v onto u⃗ is
u⃗ · ⃗v 1 ⃗ ⃗ ⃗
Å ã
proju⃗ (⃗v ) = u⃗ = (i + j + k)
u |2
|⃗ 3
The scalar projection of ⃗v onto u⃗ is
u⃗ · ⃗v 1
compu⃗ (⃗v ) = =√ .
|⃗
u| 3
Note that
2 4 2
⃗ := ⃗v − proju⃗ (⃗v ) = ⃗i − ⃗j + ⃗k
w
3 3 3
and
2 4 2
⃗ · u⃗ =
w − + = 0.
3 3 3
Hence w
⃗ is orthogonal to u⃗.
Vectors-Geometry of Space 13 / 36
1.1. Vectors 1.1.3. Cross product
Definition
For two vectors u⃗ = ⟨a1 , a2 , a3 ⟩ and ⃗v = ⟨b1 , b2 , b3 ⟩, the cross product of u⃗ and ⃗v is the vector
u⃗ × ⃗v = ⟨a2 b3 − a3 b2 , a3 b1 − a1 b3 , a1 b2 − a2 b1 ⟩.
One way to remember: If u⃗ = a1⃗i + a2⃗j + a3⃗j and ⃗v = b1⃗i + b2⃗j + b3⃗j then
⃗i ⃗j ⃗k
a a3 ⃗ a1 a3 ⃗ a1 a2 ⃗
u⃗ × ⃗v = 2 i− j+ k = a1 a2 a3 .
b2 b3 b1 b3 b1 b2
b1 b2 b3
Vectors-Geometry of Space 14 / 36
1.1. Vectors 1.1.3. Cross product
Example
If u⃗ = ⟨1, 1, −1⟩ and ⃗v = ⟨1, 2, 3⟩, find u⃗ × ⃗v .
One has
⃗i ⃗j ⃗k
u⃗ × ⃗v = 1 1 −1
1 2 3
1 −1 ⃗ 1 −1 ⃗ 1 1 ⃗
= i− j+ k
2 3 1 3 1 2
= 5⃗i − 4⃗j + ⃗k = ⟨5, −4, 1⟩.
Vectors-Geometry of Space 15 / 36
1.1. Vectors 1.1.3. Cross product
u⃗ × ⃗v = |⃗
u ||⃗v | sin(θ)
Corollary
The length of the cross product u⃗ × ⃗v is equal to the area of the parallelogram determined by u⃗
and ⃗v .
u⃗ × ⃗v = ⃗0 if and only if u⃗ and ⃗v are parallel, that is, one vector is a multiple of the other vector.
Remark: u⃗ × ⃗v is the vector that is perpendicular to both u⃗ and ⃗v , whose orientation is determined by
the right-hand rule and whose length is |⃗u ||⃗v | sin(θ).
Vectors-Geometry of Space 16 / 36
1.1. Vectors 1.1.3. Cross product
Example
Let P(−1, 3, 1), Q(0, 5, 2), R(4, 3, −1) be three point in the space.
Find a nonzero vector orthogonal to the plane passing through the points P, Q and R.
Find the area of the triangle PQR.
−→ −→
PQ = ⟨1, 2, 1⟩ and PR = ⟨5, 0, −2⟩.
One has
⃗i ⃗j ⃗k
−→ −→
PQ × PR = 1 2 1
5 0 −2
2
1 ⃗ 1 1 ⃗ 1 2 ⃗
= i− j+ k
−20 5 −2 5 0
= −4⃗i + 7⃗j − 10⃗k.
So the vector ⟨−4, 7, −10⟩ is orthogonal to the given plane. Any nonzero scalar multiple of this
vector, such as ⟨4, 7, −10⟩s, is also orthogonal to the plane.
The area of the parallelogram with adjacent sides PQ and PR is the length of the cross product:
−→ −→ » √
|PQ × PR| = 42 + (−7)2 + 102 = 165.
1√
The area of the triangle PQR is half the area of this parallelogram, that is 165.
2
Vectors-Geometry of Space 17 / 36
1.1. Vectors 1.1.3. Cross product
Properties
If u⃗, ⃗v , w
⃗ are vectors and c is a scalar then
u⃗ × ⃗v = −⃗v × u⃗ u + ⃗v ) × w
(⃗ ⃗ = u⃗ × w ⃗ + ⃗v × w
⃗
(c u⃗) × ⃗v = c(⃗
u × ⃗v ) = u⃗ × (c⃗v ) u × ⃗v )⃗
(⃗ u·w⃗ = u⃗ · (⃗v × w
⃗ ).
u⃗ × (⃗v + w
⃗ ) = u⃗ × ⃗v + u⃗ × w
⃗ u⃗ × (⃗v × w u·w
⃗ ) = (⃗ ⃗ )⃗v − (⃗
u · ⃗v )⃗
w
Vectors-Geometry of Space 18 / 36
1.1. Vectors 1.1.3. Cross product
Definition
u × ⃗v ) · w
The product (⃗ ⃗ is called the scalar triple product of vectors u⃗, ⃗v and w
⃗.
Proposition
If u⃗ = ⟨a1 , a2 , a3 ⟩, ⃗v = ⟨b1 , b2 , b3 ⟩ and w
⃗ = ⟨c1 , c2 , c3 ⟩ then
a1 a2 a3
u × ⃗v ) · w
(⃗ ⃗ = b1 b2 b3 .
c1 c2 c3
|(⃗
u × ⃗v ) · w
⃗ | (the absolute value) is the volume of the parallelepiped determined by the vectors u⃗, ⃗v
and w⃗.
u × ⃗v ) · w
(⃗ ⃗ = 0 if and only if u⃗, ⃗v and w
⃗ are coplanar (they lie in the same plane).
Example
Use the scalar triple product to verify that the vectors u⃗ = ⃗i + 5⃗j − 2⃗k, ⃗v = 3⃗i − ⃗j, and
⃗ = 5⃗i + 9⃗j − 4⃗k are coplanar.
w
Vectors-Geometry of Space 20 / 36
1.1. Vectors 1.1.3. Cross product
Example
Find the volume of the parallelepiped determined by the vectors u⃗ = ⃗i + ⃗j, ⃗v = ⃗j + ⃗k, and w
⃗ = ⃗i + ⃗j + ⃗k
Vectors-Geometry of Space 21 / 36
1.2. Equations of lines and planes 1.2.1. Equations of lines
A line in 3-space is determined when we know a point on the line and a nonzero vector parallel to the
line.
Let L be a line in space. Suppose P0 (x0 , y0 , z0 ) is a point on L and ⃗v = ⟨a, b, c⟩ is a nonzero vector
parallel to L.
−→ −−→
Let P(x, y , z) an arbitrary point on L. Let ⃗r = OP and r⃗0 = OP0 .
−−→
Then vector P0 P = ⃗r − ⃗r0 is parallel to ⃗v . Hence ⃗r − ⃗r0 = t⃗v , for some scalar t.
Thus we obtain a vector equation of L:
⃗r = ⃗r0 + t⃗v
Vectors-Geometry of Space 22 / 36
1.2. Equations of lines and planes 1.2.1. Equations of lines
Equations of lines
Writing ⃗r = ⟨x, y , z⟩, ⃗r0 = ⟨x0 , y0 , z0 ⟩, ⃗v = ⟨a, b, c⟩ and comparing corresponding compenents we
obtain parametric equations of L
x − x0 y − y0 z − z0
= =
a b c
y − y0 z − z0
x − x0 , =
b c
Vectors-Geometry of Space 23 / 36
1.2. Equations of lines and planes 1.2.1. Equations of lines
Example
Find a vector equation, parametric equations, symmetric equations for the line that passes through the
point (1, 2, 3) and is parallel to the vector ⃗v = ⟨−2, 1, 1⟩.
Vectors-Geometry of Space 24 / 36
1.2. Equations of lines and planes 1.2.2. Equations of planes
A plane in 3-space is determined when we know a point on the plane and a nonzero vector which is
orthogonal to the plane.
A nonzero vector which is ortthogonal to the plane is called a normal vector (to the plane)
Let P be a plane in space. Suppose P0 (x0 , y0 , z0 ) is a point on P and n⃗ = ⟨a, b, c⟩ is a normal
vector to P.
−→ −−→
Let P(x, y , z) an arbitrary point on P. Let ⃗r = OP and r⃗0 = OP0 .
−−→
Then vector P0 P = ⃗r − ⃗r0 is orthogonal to n⃗. Thus
n⃗ · (⃗r − ⃗r0 )
or
n⃗ · ⃗r = n⃗ · ⃗r0 .
Vectors-Geometry of Space 25 / 36
1.2. Equations of lines and planes 1.2.2. Equations of planes
Equations of planes
Writing ⃗r = ⟨x, y , z⟩, ⃗r0 = ⟨x0 , y0 , z0 ⟩, ⃗v = ⟨a, b, c⟩, the vector equation become
This is called the scalar equation of the plane (through P0 (x0 , y0 , z0 ) with normal vector
n⃗ = ⟨a, b, c⟩).
Note the above equation can be rewritten as
ax + by + cz + d = 0,
Vectors-Geometry of Space 26 / 36
1.2. Equations of lines and planes 1.2.2. Equations of planes
Example
Find an equation of the plane passing through the points P(−1, 3, 1), Q(0, 5, 2), R(4, 3, −1).
−→ −→
PQ = ⟨1, 2, 1⟩ and PR = ⟨5, 0, −2⟩.
One has
⃗i ⃗j ⃗k
−→ −→
PQ × PR = 1 2 1
5 0 −2
2
1 ⃗ 1 1 ⃗ 1 2 ⃗
= i− j+ k
−20 5 −2 5 0
= −4⃗i + 7⃗j − 10⃗k.
So the vector n⃗ = ⟨−4, 7, −10⟩ is orthogonal to the given plane. Hence n⃗ is a normal vector.
An equation of the plane is
Vectors-Geometry of Space 27 / 36
1.3. Cylinder and quadric surfaces 1.3.1. Cylinder surfaces
Definition
A cylinder is a surface that consists of all lines (called rulings) that are parallel to a given line and pass
through a given plane curve.
Example
The surface z = x 2 (the equation does not involve y ) is a cylinder.
Any vertical plane with equation y = k (parallel to the xz-plane) intersects the surface in a curve
with equation z = x 2 (and y = k).
The surface is formed by taking the parabola z = x 2 in the xz-plane and moving it in the direction
of the y -axis.
The surface is called a parabolic cylinder, made up of infinitely many shifted copies of the same
parabola.
The rulings are parallel to the y -axis and pass through the parabola z = x 2 in the xz-plane.
Vectors-Geometry of Space 28 / 36
1.3. Cylinder and quadric surfaces 1.3.1. Cylinder surfaces
Example
The surface x 2 + y 2 = 4 (the equation does not involve z) is a cylinder.
This is a circular cylinder. The rulings are parallel to the z-axis and pass through the circle x 2 + y 2 = 4
in the xy-plane
Vectors-Geometry of Space 29 / 36
1.3. Cylinder and quadric surfaces 1.3.2. Quadric surfaces
By translation and rotation it can be brought into one of the two standard forms
Ax 2 + By 2 + Cz 2 + J = 0 or Ax 2 + By 2 + Iz = 0
Vectors-Geometry of Space 30 / 36
1.3. Cylinder and quadric surfaces 1.3.2. Quadric surfaces
x2 y2 z2
Ellipsoid: + + = 1. If a = b = c then the ellipsoid is a sphere
a2 b2 c2
x2 y2 z2
Hyperboloid of one sheet: + − =1
a2 b2 c2
Vectors-Geometry of Space 31 / 36
1.3. Cylinder and quadric surfaces 1.3.2. Quadric surfaces
x2 y2 z2
Hyperboloid of two sheets: + − = −1
a2 b2 c2
x2 y2 z2
Cone: + − =0
a2 b2 c2
Vectors-Geometry of Space 32 / 36
1.3. Cylinder and quadric surfaces 1.3.2. Quadric surfaces
x2 y2
Elliptic paraboloid: z = 2
+ 2
a b
x2 y2
Hyperbolic paraboloid: z = 2
− 2
a b
Vectors-Geometry of Space 33 / 36
1.3. Cylinder and quadric surfaces 1.3.2. Quadric surfaces
Cylinders
x2 y2
Elliptic cylinder + = 1.
a2 b2
x2 y2
Hyperbolic cylinder 2 − 2 = 1.
a b
Parabolic cylinder x 2 = py .
Vectors-Geometry of Space 34 / 36
1.4. Cylindrical and spherical coordinates 1.4.1. Cylindrical coordinates
A point P(x, y , z) in the space can be represented by the ordered triple (r , θ, z), where r and θ are
polar coordinates of the projection of P onto the xy -plane.
We say that (r , θ, z) is the cylindrical coordinates of P. Note that r ≥ 0, z ∈ R and we usually
restrict θ to 0 ≤ θ < 2π or −π ≤ θ < π.
x = r cos θ, y = r sin θ, z =z
Vectors-Geometry of Space 35 / 36
1.4. Cylindrical and spherical coordinates 1.4.2. Spherical coordinates
A point P(x, y , z) in the space can be represented by the ordered triple (ρ, θ, ϕ), where ρ = |OP|, θ
is the same angle as in cylindrical coordinates, and ϕ is the angle between the positive z-axis and
the line segment OP.
We say that (r , θ, ϕ) is the spherical coordinates of P. Note that ρ ≥ 0, 0 ≤ ϕ ≤ π and we usually
restrict θ to 0 ≤ θ < 2π or −π ≤ θ < π.
Vectors-Geometry of Space 36 / 36