MKMM 1213 Advanced Engineering Mathematics: Dr. Mohd Fairus Mohd Yasin Mohdfairus@fkm - Utm.my C24-309
MKMM 1213 Advanced Engineering Mathematics: Dr. Mohd Fairus Mohd Yasin Mohdfairus@fkm - Utm.my C24-309
7 Bibliography
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 3 / 57
Three Dimensional Coordinate Systems
The Cartesian Coordinate System
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 4 / 57
Three Dimensional Coordinate Systems
The Cartesian Coordinate System
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 5 / 57
Three Dimensional Coordinate Systems
Distance and Spheres in Space
The formula for the distance between two points in 2-D plane extends to points in
3-D space, Figure 3. Hence, the distance between P1 (x1 , y1 , z1 ) and P2 (x2 , y2 , z2 ) is
p
|P1 P2 | = (x2 − x1 )2 + (y2 − y1 )2 + (z2 − z1 )2 (1)
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 6 / 57
Three Dimensional Coordinate Systems
Distance and Spheres in Space
Eq. 1 can be used to write equation for a sphere in space, Figure 4. A point P(x, y, z)
lies on the sphere of radius a centered at P0 (x0 , y0 , z0 ) precisely when |P0 P| = a or
(x − x0 )2 + (y − y0 )2 + (z − z0 )2 = a2 (2)
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 7 / 57
Vectors
Component Form
⇀ ⇀ ⇀ ⇀
Figure 6: Equal vectors AB = CD = OP = EF.
⇀
Figure 5: The directed line segment AB is Vectors are used to represent things
called a vector. that have both magnitude and
direction in the plane or in space.
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 8 / 57
Vectors
Component Form
DEFINITION:
⇀
Let v = PQ; see Figure 7.
If v is a two-dimensional vector in the
plane equal to the vector with initial
point at the origin and terminal point
(v1 , v2 ), then the component form of v
is
⇀
v = hv1 , v2 i Figure 7: A vector v = PQ in standard
If v is a three-dimensional vector in the position has its initial point at the origin.
space equal to the vector with initial
point at the origin and terminal point
(v1 , v2 , v3 ), then the component form Note: The only vector with length 0 is the zero vector
of v is 0 = h0, 0i or 0 = h0, 0, 0i. This vector is also the only
vector with no specific direction.
v = hv1 , v2 , v3 i
⇀
The magnitude or length of vector v = PQ is the non-negative number:
q p
|v| = v21 + v22 + v23 = (x2 − x1 )2 + (y2 − y1 )2 + (z2 − z1 )2
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 9 / 57
Vectors
Vector Algebra Operations
Two principal operations involving vectors are vector addition and scalar
multiplication.
A scalar is simply a real number. Scalars can be positive, negative, or zero and are
used to scale a vector by multiplication.
DEFINITION:
Let u = hu1 , u2 , u3 i and v = hv1 , v2 , v3 i be vectors with k a scalar
Addition
u + v = hu1 + v1 , u2 + v2 , u3 + v3 i
Scalar multiplication
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 10 / 57
Vectors
Vector Algebra Operations
Figure 8: Vector addition (a) geometric interpretation, (b) the parallelogram law.
In Figure 8(a) the initial point The parallelogram law of vector addition is
of one vector is placed at the shown in Figure 8(b) where the sum, called
terminal point of the other. the resultant vector, is the diagonal of the
parallelogram.
In engineering, forces, velocities and accelerations add vectorially, e.g. the force
acting on a particle subject to two gravitational forces is obtained by adding the
two force vectors.
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 11 / 57
Vectors
Vector Algebra Operations
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 12 / 57
Vectors
Vector Algebra Operations
u − v = hu1 − v1 , u2 − v2 , u3 − v3 i
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 13 / 57
Vectors
Properties of Vector Operations
u+v=v+u (u + v) + w = u + (v + w)
u+0=u u + (−u) = 0
0u = 0 1u = u
a(bu) = (ab)u a(u + v) = au + av
(a + b)u = au + bu
When three or more space vectors lie in the same plane, we say they are coplanar
vectors. For example, the vectors u, v, and u + v are always coplanar.
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 14 / 57
Vectors
Unit Vectors
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 15 / 57
Vectors
Midpoint of a Line Segment
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 18 / 57
Vectors
Midpoint of a Line Segment: Centroid of a triangle
Hence
⇀ ⇀
⇀ 2OD + OC ⇀ a+b
OG = and OD =
3 2
Therefore
⇀
OG = 13 (a + b + c)
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 19 / 57
The Dot Product
Angle Between Vectors
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 20 / 57
The Dot Product
Angle Between Vectors
DEFINITION:
The dot product u · v (“u dot v”) of
vectors u = hu1 , u2 , u3 i and
v = hv1 , v2 , v3 i is the scalar
Figure 16: The angle between u and v.
u · v = u1 v1 + u2 v2 + u3 v3
Hence,
„ «
u·v
θ = cos−1
|u||v|
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 21 / 57
The Dot Product
Angle Between Vectors
|w|2 = . . .
and
|u|2 + |v|2 − |w|2 = . . . Figure 17: The parallelogram law of addition
of vectors gives w = u − v.
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 22 / 57
The Dot Product
Orthogonal Vectors
Two nonzero vectors u and v are The converse is also true. If u and v
perpendicular if the angle between are nonzero vectors with
them is π/2. For such vectors, we u · v = |u||v| cos θ = 0, then cos θ = 0
have u · v = 0 because cos π/2 = 0. and θ = cos−1 0 = π/2.
DEFINITION:
Vectors u and v are orthogonal if u · v = 0.
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 23 / 57
The Dot Product
Dot Product Properties and Vector Projections
The following “dot product” properties hold, if u, v, w are vectors and c is scalar:
u·v=v·u Property 1
(cu) · v = u · (cv) = c(u · w) Property 2
u · (v + w) = u · v + u · w Property 3
(u · u) = |u|2 Property 4
0·u =0 Property 5
Proof of Property 1
u · v = u1 v1 + u2 v2 + u3 v3 = v1 u1 + v2 u2 + v3 u3
= v·u
Proof of Property 3
u · (v + w)
= hu1 , u2 , u3 i · hv1 + w1 , v2 + w2 , v3 + w3 i
= u1 (v1 + w1 ) + u2 (v2 + w2 ) + u3 (v3 + w3 )
= u1 v1 + u1 w1 + u2 v2 + u2 w2 + u2 v3 + u3 w3
= (u1 v1 + u2 v2 + u3 v3 ) + (u1 w1 + u2 w2 + u3 w3 )
= u·v+u·w
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 24 / 57
The Dot Product
Dot Product Properties and Vector Projections
⇀
The notation for the vector projection
The vector projection of u = PQ onto
⇀ ⇀ of u onto v is
a nonzero vector v = PS, is vector PR,
determined by dropping a projv u
perpendicular from Q to line PS, see
Figure 18. If u represents a force, then projv u
represents the effective force in the
direction of v, see Figure 19.
Figure 18: The parallelogram law of Figure 19: The parallelogram law of addition
addition of vectors gives w = u − v. of vectors gives w = u − v.
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 25 / 57
The Dot Product
Dot Product Properties and Vector Projections
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 26 / 57
The Dot Product
Work
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 27 / 57
The Dot Product
Examples
Example 1: Example 2:
Find the angle θ in the triangle ABC Find the angle between u = i − 2j − 2k
determined by the vertices A = (0, 0), and v = 6i + 3j + 2k.
B = (3, 5), and C = (5, 2) (Figure 22). Example 3:
Find the vector projection of
u = 6i + 3j + 2k onto v = i − 2j − 2k,
and the scalar component of u in the
direction of v.
Example 4:
Determine if the following pairs of vector
are orthogonal:
(a) u = h3, −2i and v = h4, 6i,
Figure 22: Example 1. (b) u = 3i − 2j + k and v = 2j + 4k.
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 28 / 57
The Cross Product
The Cross Product of Two Vectors in Space
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 29 / 57
The Cross Product
Properties of the Cross Product
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 30 / 57
The Cross Product
Area of a Parallelogram
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 31 / 57
The Cross Product
Determinant Formula for u × v
Suppose that
u = u1 i + u2 j + u3 k and v = v1 i + v2 j + v3 k
The distributive laws and the rules for multiplying i, j, and k tell us that
u × v = (u1 i + u2 j + u3 k) × (v1 i + v2 j + v3 k)
= u1 v1 i × i + u1 v2 i × j + u1 v3 i × k
+ u2 v1 j × i + u2 v2 j × j + u2 v3 j × k
+ u3 v1 k × i + u3 v2 k × j + u3 v3 k × k
= (u2 v3 − u3 v2 )i − (u1 v3 − u3 v1 )j − (u1 v2 − u2 v1 )k
The component terms in the last line are terms in the expansion of a determinant
and, hence, we could calculate the cross product as a determinant
˛ ˛
˛ i j k ˛
˛ ˛
u × v = ˛˛ u1 u2 u3 ˛
˛
˛ v1 v2 v3 ˛
For ease in calculating the cross product using determinants, we usually write
vectors in the form v = v1 i + v2 j + v3 k rather than as ordered triples v = hv1 , v2 , v3 i.
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 32 / 57
The Cross Product
Torque
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 33 / 57
The Cross Product
Triple Scalar or Box Product
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 34 / 57
The Cross Product
Triple Scalar or Box Product
Hence
˛ ˛
˛ u1 u2 u3 ˛
˛ ˛
(u × v) · w = ˛˛ v1 v2 v3 ˛
˛ (3)
˛ w1 w2 w3 ˛
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 35 / 57
The Cross Product
Examples
Example 1: Example 2:
Find a vector perpendicular to the plane Find the area of the triangle with vertices
of P(1, −1, 0), Q(2, 1, −1), and P(1, −1, 0), Q(2, 1, −1), and R(−1, 1, 2)
R(−1, 1, 2) (Figure 28). (Figure 28).
Example 3:
Find a unit vector perpendicular to the
plane of P(1, −1, 0), Q(2, 1, −1), and
R(−1, 1, 2).
Example 4:
Find the volume of the box
(parallelepiped) determined by
u = i + 2j − k, v = −2i + 3k, and
Figure 28: Examples 1 & 2. w = 7j − 4k.
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 36 / 57
Lines and Planes in Space
Lines and Line Segments in Space
This section shows how to use scalar Suppose that L is a line in space
and vector products to write passing through a point P0 (x0 , y0 , z0
equations for lines, line segments, parallel to a vector
and planes in space.
v = v1 i + v2 j + v3 k
In a plane, a line is determined by a
point and the slope of the line. Then L is a set of points P(x, y, z) for
⇀
In space, a line is determined by a which P0 P is parallel to v, Figure 29.
point and a vector giving the line’s Thus,
direction.
⇀
P0 P = tv
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 37 / 57
Lines and Planes in Space
Lines and Line Segments in Space
⇀
The expanded form of P0 P = tv is
(x − x0 )i + (y − y0 )j + (z − z0 )k = t(v1 i + v2 j + v3 k)
and re-written as
xi + yj + zk = (x0 i + y0 j + z0 k) + t(v1 i + v2 j + v3 k) (4)
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 38 / 57
Lines and Planes in Space
Lines and Line Segments in Space
Example 1: Example 3:
Find parametric equations for the line Parametrize the line segment joining the
through (−2, 0, 4) parallel to points P(−3, 2, −3) and Q(1, −1, 4)
v = 2i + 4j − 2k (Figure 30). (Figure 31).
Example 2: Example 4:
Find parametric equations for the line A helicopter is to fly directly from a
through P(−3, 2, −3) and Q(1, −1, 4). helipad at the origin in the direction of
the point (1, 1, 1) at a speed of 60 m/s.
What is the position of the helicopter after
10 s?
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 39 / 57
Lines and Planes in Space
Distance from a Point to a Line in Space
Example 5:
Find the distance from the point
S(1, 1, 5) to the line
L : x = 1 + t, y = 3 − t, z = 2t.
⇀
PS × v
d= (7)
|v|
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 40 / 57
Lines and Planes in Space
Equation for a Plane in Space
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 41 / 57
Lines and Planes in Space
Equation for a Plane in Space
Example 6:
Find an equation for the plane through P0 (−3, 0, 7) perpendicular to
n = 5i + 5j − k.
Example 7:
Find an equation for the plane through A(0, 0, 1), B(2, 0, 0), and C(0, 3, 0).
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 42 / 57
Lines and Planes in Space
Lines of Intersection
Just as lines are parallel if and only if they have the same direction, two planes are
parallel if and only if their normals are parallel, or
n1 = kn2
for some scalar k. Two planes that are not parallel intersect in a line.
Example 8:
Find a vector parallel to the line of
intersection of the planes
3x − 6y − 2z = 15 and 2x + y − 2z = 5,
see Figure 34.
Example 9:
Find parametric equations for the line in
which the planes 3x − 6y − 2z = 15 and Figure 34: How line of intersection of
2x + y − 2z = 5 intersect. two planes is related to the planes’
normal vectors.
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 43 / 57
Lines and Planes in Space
Lines of Intersection
Sometimes we want to know where a line and a plane intersect. For example, if we
are looking at a flat plate and a line segment passes through it, we may be
interested in knowing what portion of the line segment is hidden from our view by
the plate. This application is used in computer graphics.
Example 10:
Find the point where the line
8
x= + 2t, y = −2t, z=1+t
3
intersects the plane 3x + 2y + 6z = 6.
Example 10a: Hidden lines in computer graphics
Your eye is at (4, 0, 0). You are looking at a triangular plate whose vertices are at
(1, 0, 1), (1, 1, 0), and (−2, 2, 2). The line segment from (1, 0, 0) to (0, 2, 2) passes
through the plate. What portion of the line segment is hidden from your view by
the plate?
(Hint: This is an exercise in finding intersections of lines and planes.)
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 44 / 57
Lines and Planes in Space
Distance from a Point to a Plane
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 45 / 57
Lines and Planes in Space
Angles Between Planes
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 46 / 57
Cylinders and Quadric Surfaces
Cylinders
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 47 / 57
Cylinders and Quadric Surfaces
Cylinders
Example 1:
Find an equation for the cylinder
made by the lines parallel to the
z-axis that pass through the parabola
y = x2 , z = 0 (Figure 38).
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 48 / 57
Cylinders and Quadric Surfaces
Quadric Surfaces
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 49 / 57
Cylinders and Quadric Surfaces
Quadric Surfaces: ellipsoid
x2 y2 z2
2
+ 2 + 2 =1
a b c
shown Figure 39 cuts the coordinate axes at (±a, 0, 0), (0, ±b, 0), and (0, 0, ±c). It
lies within the rectangular box defined by the inequalities |x| ≤ a, |y| ≤ b and
|z| ≤ c. The surface is symmetric with respect to each of the coordinate planes
because each variable in the defining equation is squared.
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 50 / 57
Cylinders and Quadric Surfaces
Quadric Surfaces: ellipsoid
The curves in which the three coordinate planes cut the surface are ellipses. For
example,
x2 y2
2
+ 2 = 1 when z = 0.
a b
The curve cut from the surface by the plane z = z0 , |z0 | < c, is the ellipse
x2 y2
+ 2 = 1 when z = 0.
a2 (1 − z0 /c) 2 b (1 − z0 /c)2
If any two of the semiaxes a, b, and c are equal, the surface is an ellipsoid of
revolution. If all three are equal, the surface is a sphere.
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 51 / 57
Cylinders and Quadric Surfaces
Quadric Surfaces: elliptical paraboloid & cone
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 52 / 57
Cylinders and Quadric Surfaces
Quadric Surfaces: hyperbolic paraboloid
y2 x2 z0
− =
b2 a2 c
with its focal axis parallel to the y-axis and its vertices on the parabola in Equation
(1).
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 54 / 57
Cylinders and Quadric Surfaces
Quadric Surfaces: hyperboloid of one sheet
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 55 / 57
Cylinders and Quadric Surfaces
Quadric Surfaces: hyperboloid of two sheets
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 56 / 57
Bibliography
noonedev.null MKMM 1213 Advanced Engineering Mathematics Vectors & Geometry of Spaces 57 / 57