Week 2 2
Week 2 2
Week 2, Tuesday
2 Vectors
Definition
Euclidean n-Space is a generalization of the three-dimensional Euclidean
space to an arbitrary number of dimensions n. It is denoted by Rn .
Definition
Euclidean n-Space is a generalization of the three-dimensional Euclidean
space to an arbitrary number of dimensions n. It is denoted by Rn .
Definition
Euclidean n-Space is a generalization of the three-dimensional Euclidean
space to an arbitrary number of dimensions n. It is denoted by Rn .
Plane (R2 ):
Lines, circles, parabolas, etc.
Plane (R2 ):
Lines, circles, parabolas, etc.
3-Space (R3 ):
Planes, spheres, cylinders, cones, etc.
Plane (R2 ):
Lines, circles, parabolas, etc.
3-Space (R3 ):
Planes, spheres, cylinders, cones, etc.
n-Space (Rn ):
Hyperplanes, hyperspheres, and higher-dimensional analogs.
Plane (R2 ):
Lines, circles, parabolas, etc.
3-Space (R3 ):
Planes, spheres, cylinders, cones, etc.
n-Space (Rn ):
Hyperplanes, hyperspheres, and higher-dimensional analogs.
Interactive Activity:
a. Identify the type of set described by x 2 + y 2 = 25 in R2 .
b. Describe the set x + y + z = 10 in R3 .
Problem:
a. What type of set is described by x 2 + y 2 = 25 in R2 ?
b. Describe the set x + y + z = 10 in R3 .
Problem:
a. What type of set is described by x 2 + y 2 = 25 in R2 ?
b. Describe the set x + y + z = 10 in R3 .
Solution:
a. A **circle** with radius 5 centered at the origin.
b. A **plane** in three-dimensional space.
u + v = (u1 + v1 , u2 + v2 , . . . , un + vn )
u + v = (u1 + v1 , u2 + v2 , . . . , un + vn )
Example:
u = (1, 2, 3), v = (4, 5, 6)
u + v = (1 + 4, 2 + 5, 3 + 6) = (5, 7, 9)
u + v = (u1 + v1 , u2 + v2 , . . . , un + vn )
Example:
u = (1, 2, 3), v = (4, 5, 6)
u + v = (1 + 4, 2 + 5, 3 + 6) = (5, 7, 9)
Geometric Interpretation:
y
v
Dr. John Ogbemhe Dr. P.S. Olayiwola Dr. O.A. Vectors
George and
(Department
CoordinateofGeometry
Systems Engineering University
November of 12,
Lagos)
2024 6 / 23
Definition: Scalar Multiplication
Example:
u = (2, −1, 3), c=4
4u = (4 · 2, 4 · (−1), 4 · 3) = (8, −4, 12)
Example:
u = (2, −1, 3), c=4
4u = (4 · 2, 4 · (−1), 4 · 3) = (8, −4, 12)
Geometric Interpretation:
Example:
v = (3, −2, 5)
Example:
v = (3, −2, 5)
Graphical Representation:
y
x
z
Dr. John Ogbemhe Dr. P.S. Olayiwola Dr. O.A. Vectors
George and
(Department
CoordinateofGeometry
Systems Engineering University
November of 12,
Lagos)
2024 8 / 23
Vectors in 3-Space
Definition
A vector in 3-space is an ordered triplet v = (vx , vy , vz ) representing
magnitude and direction along the x, y , and z axes.
Example:
v = (3, −2, 5)
Graphical Representation:
y
x
z
Dr. John Ogbemhe Dr. P.S. Olayiwola Dr. O.A. Vectors
George and
(Department
CoordinateofGeometry
Systems Engineering University
November of 12,
Lagos)
2024 8 / 23
Interactive Activity 2: Vector Operations
Problem:
a. Plot the vector u = (2, 1, −3) in 3-space.
b. Find u + v where v = (1, −1, 4).
x
Dr. John Ogbemhe Dr. P.S. Olayiwola Dr. O.A. Vectors
George and
(Department
CoordinateofGeometry
Systems Engineering University
November of 12,
Lagos)
2024 9 / 23
Interactive Activity 2: Vector Operations
Problem:
a. Plot the vector u = (2, 1, −3) in 3-space.
b. Find u + v where v = (1, −1, 4).
Solution:
a. Plotting u:
y
x
Dr. John Ogbemhe Dr. P.S. Olayiwola Dr. O.A. Vectors
George and
(Department
CoordinateofGeometry
Systems Engineering University
November of 12,
Lagos)
2024 9 / 23
Hanging Cables and Chains
Catenary Curve:
Describes the shape of a hanging cable or chain under its own
weight.
Equation: y = a cosh xa , where a is a constant.
Catenary Curve:
Describes the shape of a hanging cable or chain under its own
weight.
Equation: y = a cosh xa , where a is a constant.
Application:
Engineering structures like suspension bridges.
Catenary Curve:
Describes the shape of a hanging cable or chain under its own
weight.
Equation: y = a cosh xa , where a is a constant.
Application:
Engineering structures like suspension bridges.
Interactive Question:
How does changing the constant a affect the shape of the
catenary?
Example:
u = (1, 3, −5), v = (4, −2, −1)
u · v = (1)(4) + (3)(−2) + (−5)(−1) = 4 − 6 + 5 = 3
Example:
u = (1, 3, −5), v = (4, −2, −1)
u · v = (1)(4) + (3)(−2) + (−5)(−1) = 4 − 6 + 5 = 3
Definition: Scalar and Vector Projections
Example:
u = (1, 3, −5), v = (4, −2, −1)
u · v = (1)(4) + (3)(−2) + (−5)(−1) = 4 − 6 + 5 = 3
Definition: Scalar and Vector Projections
Definition
Scalar Projection of u onto v:
u·v
compv u =
|v|
Example:
u = (1, 3, −5), v = (4, −2, −1)
u · v = (1)(4) + (3)(−2) + (−5)(−1) = 4 − 6 + 5 = 3
Definition: Scalar and Vector Projections
Definition
Scalar Projection of u onto v:
u·v
compv u =
|v|
Definition
Dr. John Ogbemhe Dr. P.S. Olayiwola Dr. O.A. Vectors
George and
(Department
CoordinateofGeometry
Systems Engineering University
November of 12,
Lagos)
2024 11 / 23
The Dot Product and Projections
Definition: The Dot Product of Two Vectors
Definition
The dot product of two vectors u = (ux , uy , uz ) and v = (vx , vy , vz ) is
defined as:
u · v = ux vx + uy vy + uz vz
Example:
u = (1, 3, −5), v = (4, −2, −1)
u · v = (1)(4) + (3)(−2) + (−5)(−1) = 4 − 6 + 5 = 3
Definition: Scalar and Vector Projections
Definition
Scalar Projection of u onto v:
u·v
compv u =
|v|
Definition
Dr. John Ogbemhe Dr. P.S. Olayiwola Dr. O.A. Vectors
George and
(Department
CoordinateofGeometry
Systems Engineering University
November of 12,
Lagos)
2024 11 / 23
Vectors in n-Space
Definition
A vector in n-space is an ordered n-tuple v = (v1 , v2 , . . . , vn )
representing magnitude and direction along each of the n axes.
Definition
A vector in n-space is an ordered n-tuple v = (v1 , v2 , . . . , vn )
representing magnitude and direction along each of the n axes.
Properties:
Can perform vector addition and scalar multiplication.
Dot product and cross product (only in 3-space).
Basis vectors in n-space.
Definition
A vector in n-space is an ordered n-tuple v = (v1 , v2 , . . . , vn )
representing magnitude and direction along each of the n axes.
Properties:
Can perform vector addition and scalar multiplication.
Dot product and cross product (only in 3-space).
Basis vectors in n-space.
Example in 4-Space:
v = (1, 2, 3, 4)
Definition
A vector in n-space is an ordered n-tuple v = (v1 , v2 , . . . , vn )
representing magnitude and direction along each of the n axes.
Properties:
Can perform vector addition and scalar multiplication.
Dot product and cross product (only in 3-space).
Basis vectors in n-space.
Example in 4-Space:
v = (1, 2, 3, 4)
Interactive Activity:
a. Define a vector in 4-space and perform scalar multiplication.
b. Compute the dot product of two vectors in 4-space.
i j k
u × v = ux uy uz
vx vy vz
i j k
u × v = ux uy uz
vx vy vz
Example:
u = (1, 0, 0), v = (0, 1, 0)
u × v = (0, 0, 1)
i j k
u × v = ux uy uz
vx vy vz
Example:
u = (1, 0, 0), v = (0, 1, 0)
u × v = (0, 0, 1)
Graphical Representation:
j
u × v = (uy vz − uz vy , uz vx − ux vz , ux vy − uy vx )
u × v = (uy vz − uz vy , uz vx − ux vz , ux vy − uy vx )
Example:
u = (2, 3, 4), v = (5, 6, 7)
u × v = (3 · 7 − 4 · 6, 4 · 5 − 2 · 7, 2 · 6 − 3 · 5)
u × v = (21 − 24, 20 − 14, 12 − 15) = (−3, 6, −3)
u × v = (uy vz − uz vy , uz vx − ux vz , ux vy − uy vx )
Example:
u = (2, 3, 4), v = (5, 6, 7)
u × v = (3 · 7 − 4 · 6, 4 · 5 − 2 · 7, 2 · 6 − 3 · 5)
u × v = (21 − 24, 20 − 14, 12 − 15) = (−3, 6, −3)
Graphical Interpretation:
Scalar Multiplication:
(cu) × v = c(u × v) = u × (cv)
Scalar Multiplication:
(cu) × v = c(u × v) = u × (cv)
Zero Vector:
u×u=0
Scalar Multiplication:
(cu) × v = c(u × v) = u × (cv)
Zero Vector:
u×u=0
Interactive Question:
If u × v = 0, what can be inferred about u and v?
Scalar Multiplication:
(cu) × v = c(u × v) = u × (cv)
Zero Vector:
u×u=0
Interactive Question:
If u × v = 0, what can be inferred about u and v?
Answer:
Dr. John Ogbemhe Dr. P.S. Olayiwola Dr. O.A. Vectors
George and
(Department
CoordinateofGeometry
Systems Engineering University
November of 12,
Lagos)
2024 15 / 23
Determinants
Example:
a b
A= ⇒ det(A) = ad − bc
c d
Example:
a b
A= ⇒ det(A) = ad − bc
c d
3x3 Matrix Determinant:
a b c
B = d e f ⇒ det(B) = a(ei − fh) − b(di − fg ) + c(dh − eg )
g h i
Example:
a b
A= ⇒ det(A) = ad − bc
c d
3x3 Matrix Determinant:
a b c
B = d e f ⇒ det(B) = a(ei − fh) − b(di − fg ) + c(dh − eg )
g h i
Geometric Interpretation:
Represents the scaling factor of the linear transformation described by
the matrix.
In 3-space, the absolute value of the determinant gives the volume
scaling.
Dr. John Ogbemhe Dr. P.S. Olayiwola Dr. O.A. Vectors
George and
(Department
CoordinateofGeometry
Systems Engineering University
November of 12,
Lagos)
2024 16 / 23
Properties of Determinants
Invertible Matrix:
1
det(A−1 ) =
det(A)
Matrix A is invertible iff det(A) ̸= 0
Invertible Matrix:
1
det(A−1 ) =
det(A)
Matrix A is invertible iff det(A) ̸= 0
Row Operations:
Swapping two rows changes the sign of the determinant.
Multiplying a row by a scalar multiplies the determinant by that
scalar.
Adding a multiple of one row to another row does not change
the determinant.
Invertible Matrix:
1
det(A−1 ) =
det(A)
Matrix A is invertible iff det(A) ̸= 0
Row Operations:
Swapping two rows changes the sign of the determinant.
Multiplying a row by a scalar multiplies the determinant by that
scalar.
Adding a multiple of one row to another row does not change
the determinant.
Interactive Question:
If det(A) = 0, what can be said about matrix A?
Dr. John Ogbemhe Dr. P.S. Olayiwola Dr. O.A. Vectors
George and
(Department
CoordinateofGeometry
Systems Engineering University
November of 12,
Lagos)
2024 17 / 23
Properties of Determinants
Multiplicative:
det(AB) = det(A) det(B)
Invertible Matrix:
1
det(A−1 ) =
det(A)
Matrix A is invertible iff det(A) ̸= 0
Row Operations:
Swapping two rows changes the sign of the determinant.
Multiplying a row by a scalar multiplies the determinant by that
scalar.
Adding a multiple of one row to another row does not change
the determinant.
Interactive Question:
If det(A) = 0, what can be said about matrix A?
Dr. John Ogbemhe Dr. P.S. Olayiwola Dr. O.A. Vectors
George and
(Department
CoordinateofGeometry
Systems Engineering University
November of 12,
Lagos)
2024 17 / 23
The Cross Product as a Determinant
Example:
u = (1, 2, 3), v = (4, 5, 6)
i j k
u × v = 1 2 3 = i(2 · 6 − 3 · 5) − j(1 · 6 − 3 · 4) + k(1 · 5 − 2 · 4)
4 5 6
= i(12 − 15) − j(6 − 12) + k(5 − 8) = −3i + 6j − 3k = (−3, 6, −3)
Example:
u = (1, 2, 3), v = (4, 5, 6)
i j k
u × v = 1 2 3 = i(2 · 6 − 3 · 5) − j(1 · 6 − 3 · 4) + k(1 · 5 − 2 · 4)
4 5 6
= i(12 − 15) − j(6 − 12) + k(5 − 8) = −3i + 6j − 3k = (−3, 6, −3)
Geometric Interpretation:
The cross product vector is orthogonal to both u and v.
Its magnitude equals the area of the parallelogram spanned by u and
v.
Dr. John Ogbemhe Dr. P.S. Olayiwola Dr. O.A. Vectors
George and
(Department
CoordinateofGeometry
Systems Engineering University
November of 12,
Lagos)
2024 18 / 23
Definition: Scalar Triple Product
u · (v × w)
u · (v × w)
Example:
u = (1, 0, 0), v = (0, 1, 0), w = (0, 0, 1)
u · (v × w) = (1, 0, 0) · (0, 0, 1) = 0 + 0 + 0 = 0
u · (v × w)
Example:
u = (1, 0, 0), v = (0, 1, 0), w = (0, 0, 1)
u · (v × w) = (1, 0, 0) · (0, 0, 1) = 0 + 0 + 0 = 0
Note: In this example, vectors are orthogonal and form a unit cube, so
the scalar triple product should be 1. Re-examining:
v × w = (1, 0, 0)
u · (1, 0, 0) = 1
u · (v × w)
Example:
u = (1, 0, 0), v = (0, 1, 0), w = (0, 0, 1)
u · (v × w) = (1, 0, 0) · (0, 0, 1) = 0 + 0 + 0 = 0
Note: In this example, vectors are orthogonal and form a unit cube, so
the scalar triple product should be 1. Re-examining:
v × w = (1, 0, 0)
u · (1, 0, 0) = 1
Correct Scalar Triple Product: 1
Dr. John Ogbemhe Dr. P.S. Olayiwola Dr. O.A. Vectors
George and
(Department
CoordinateofGeometry
Systems Engineering University
November of 12,
Lagos)
2024 19 / 23
Applications of Cross Products
Graphical Representation:
Graphical Representation:
Graphical Representation: