By the end of this chapter, you will be able to:
Mastering these skills will help you make smart, data-driven decisions that are essential in many engineering and technical fields.
Engineering professionals across all sectors in Kenya encounter situations involving quantities that have both magnitude and direction, such as forces, velocities, and displacements. Understanding vectors and scalars in two and three dimensions is fundamental for analyzing such quantities in practical contexts ranging from hospital equipment positioning to agricultural land surveying. This chapter introduces the mathematical treatment of vectors and scalars, enabling precise calculation and problem-solving in diverse professional environments.
Vectors combine magnitude and direction, while scalars have magnitude only. This distinction is crucial in various applications, such as calculating resultant forces on structures at a county government office or determining velocity and acceleration of goods transportation in a retail supply chain. We begin with the basics of vectors and scalars, progressing to vector operations in two and three dimensions.
Scalars are quantities described by magnitude alone, such as temperature, mass, or time, and are represented by real numbers. Vectors have both magnitude and direction, represented graphically by arrows and mathematically by ordered pairs or triplets.
A vector in two dimensions is denoted as \( \mathbf{A} = (A_x, A_y) \), and in three dimensions as \( \mathbf{A} = (A_x, A_y, A_z) \), where \(A_x, A_y, A_z\) are the components along the coordinate axes.
The magnitude \( |\mathbf{A}| \) of a vector is found by:
$$ |\mathbf{A}| = \sqrt{A_x^2 + A_y^2} \quad \text{(2D vector)} $$
$$ |\mathbf{A}| = \sqrt{A_x^2 + A_y^2 + A_z^2} \quad \text{(3D vector)} $$
Example 1: A hospital bed is moved along a corridor 3 m east and then 4 m north. Find the magnitude of the displacement vector.
Given: \( A_x = 3 \, m \), \( A_y = 4 \, m \)
$$ |\mathbf{A}| = \sqrt{3^2 + 4^2} $$
$$ = \sqrt{9 + 16} $$
$$ = \sqrt{25} $$
Answer: 5 m
Example 2: A drone used in agricultural monitoring moves 5 m north, 3 m east, and 2 m upward. Find the magnitude of the displacement vector.
Given: \( A_x = 3 \, m \), \( A_y = 5 \, m \), \( A_z = 2 \, m \)
$$ |\mathbf{A}| = \sqrt{3^2 + 5^2 + 2^2} $$
$$ = \sqrt{9 + 25 + 4} $$
$$ = \sqrt{38} $$
$$ = 6.16 \, m $$
Answer: 6.16 m
Example 3: A security camera at a county government office is mounted such that it faces a point 7 m east, 24 m north, and 10 m above its base. Calculate the direct distance from the camera to that point.
Given: \( A_x = 7 \, m \), \( A_y = 24 \, m \), \( A_z = 10 \, m \)
$$ |\mathbf{A}| = \sqrt{7^2 + 24^2 + 10^2} $$
$$ = \sqrt{49 + 576 + 100} $$
$$ = \sqrt{725} $$
$$ = 26.93 \, m $$
Answer: 26.93 m
Vectors add and subtract component-wise. This operation is essential in combining multiple forces or displacements in practical situations, such as computing net force on a structure or net movement of a vehicle.
For two vectors \( \mathbf{A} = (A_x, A_y, A_z) \) and \( \mathbf{B} = (B_x, B_y, B_z) \), addition is:
$$ \mathbf{R} = \mathbf{A} + \mathbf{B} = (A_x + B_x, \, A_y + B_y, \, A_z + B_z) $$
Subtraction is:
$$ \mathbf{D} = \mathbf{A} - \mathbf{B} = (A_x - B_x, \, A_y - B_y, \, A_z - B_z) $$
Example 1: At a retail warehouse, a forklift moves 8 m east then 6 m north. Another forklift moves 3 m east and 9 m south. Find the resultant displacement vector.
Given:
\( \mathbf{A} = (8, 6) \, m \), \( \mathbf{B} = (3, -9) \, m \)
$$ \mathbf{R} = (8 + 3, \, 6 + (-9)) = (11, -3) \, m $$
Magnitude:
$$ |\mathbf{R}| = \sqrt{11^2 + (-3)^2} = \sqrt{121 + 9} = \sqrt{130} = 11.40 \, m $$
Answer: Resultant displacement vector is (11, -3) m with magnitude 11.40 m
Example 2: A drone moves 10 m east, 4 m north, and 3 m up. Then it moves back 7 m west, 6 m south, and 2 m down. Find the net displacement.
Given:
\( \mathbf{A} = (10, 4, 3) \, m \), \( \mathbf{B} = (-7, -6, -2) \, m \)
$$ \mathbf{D} = (10 - (-7), \, 4 - (-6), \, 3 - (-2)) = (17, 10, 5) \, m $$
Magnitude:
$$ |\mathbf{D}| = \sqrt{17^2 + 10^2 + 5^2} = \sqrt{289 + 100 + 25} = \sqrt{414} = 20.35 \, m $$
Answer: Net displacement vector is (17, 10, 5) m with magnitude 20.35 m
Example 3: In a hospital, a patient is moved 5 m north, 12 m east, and 2 m downwards, then 8 m south, 4 m west, and 1 m upwards. Calculate the resultant displacement vector and magnitude.
Given:
\( \mathbf{A} = (12, 5, -2) \, m \), \( \mathbf{B} = (-4, -8, 1) \, m \)
$$ \mathbf{R} = (12 + (-4), \, 5 + (-8), \, -2 + 1) = (8, -3, -1) \, m $$
Magnitude:
$$ |\mathbf{R}| = \sqrt{8^2 + (-3)^2 + (-1)^2} = \sqrt{64 + 9 + 1} = \sqrt{74} = 8.60 \, m $$
Answer: Resultant displacement is (8, -3, -1) m with magnitude 8.60 m
Multiplying a vector by a scalar changes its magnitude but not its direction if the scalar is positive. If the scalar is negative, the vector reverses direction. Unit vectors have magnitude 1 and indicate direction only.
The unit vector \( \mathbf{\hat{A}} \) in the direction of \( \mathbf{A} \) is:
$$ \mathbf{\hat{A}} = \frac{\mathbf{A}}{|\mathbf{A}|} = ( \frac{A_x}{|\mathbf{A}|}, \frac{A_y}{|\mathbf{A}|}, \frac{A_z}{|\mathbf{A}|} ) $$
Example 1: A vehicle moves with velocity vector \( \mathbf{v} = (20, 15) \, km/h \). Find the velocity vector when speed doubles.
Given:
\( \mathbf{v} = (20, 15) \, km/h \), scalar \( k = 2 \)
$$ \mathbf{v'} = k \mathbf{v} = (2 \times 20, \, 2 \times 15) = (40, 30) \, km/h $$
Answer: Velocity vector after doubling speed is (40, 30) km/h
Example 2: Find the unit vector in the direction of \( \mathbf{A} = (3, 4, 12) \).
Given:
\( \mathbf{A} = (3, 4, 12) \)
Magnitude:
$$ |\mathbf{A}| = \sqrt{3^2 + 4^2 + 12^2} = \sqrt{9 + 16 + 144} = \sqrt{169} = 13 $$
Unit vector:
$$ \mathbf{\hat{A}} = ( \frac{3}{13}, \frac{4}{13}, \frac{12}{13} ) $$
Answer: Unit vector is (0.231, 0.308, 0.923)
Example 3: A wind force vector is \( \mathbf{F} = (-6, 8) \) kN. Find the vector after multiplying by scalar -3 and interpret the result.
Given:
\( \mathbf{F} = (-6, 8) \, kN \), \( k = -3 \)
$$ \mathbf{F'} = -3 \times (-6, 8) = (18, -24) \, kN $$
Answer: The vector after multiplication is (18, -24) kN, reversed in direction and tripled in magnitude
The dot product of vectors \( \mathbf{A} \) and \( \mathbf{B} \) measures their directional relationship and is defined as:
$$ \mathbf{A} \cdot \mathbf{B} = A_x B_x + A_y B_y + A_z B_z $$
It is related to the angle \( \theta \) between the vectors by:
$$ \mathbf{A} \cdot \mathbf{B} = |\mathbf{A}| \, |\mathbf{B}| \cos \theta $$
This relationship allows calculation of the angle between vectors.
Example 1: Find the dot product of vectors \( \mathbf{A} = (2, 3) \) and \( \mathbf{B} = (4, -1) \).
Given:
\( \mathbf{A} = (2, 3) \), \( \mathbf{B} = (4, -1) \)
$$ \mathbf{A} \cdot \mathbf{B} = (2)(4) + (3)(-1) = 8 - 3 = 5 $$
Answer: Dot product is 5
Example 2: Find the angle between vectors \( \mathbf{A} = (1, 2, 2) \) and \( \mathbf{B} = (2, 0, 1) \).
Given:
\( \mathbf{A} = (1, 2, 2) \), \( \mathbf{B} = (2, 0, 1) \)
Calculate dot product:
$$ \mathbf{A} \cdot \mathbf{B} = 1 \times 2 + 2 \times 0 + 2 \times 1 = 2 + 0 + 2 = 4 $$
Magnitudes:
$$ |\mathbf{A}| = \sqrt{1^2 + 2^2 + 2^2} = \sqrt{1 + 4 + 4} = \sqrt{9} = 3 $$
$$ |\mathbf{B}| = \sqrt{2^2 + 0^2 + 1^2} = \sqrt{4 + 0 + 1} = \sqrt{5} = 2.236 $$
Calculate angle:
$$ \cos \theta = \frac{\mathbf{A} \cdot \mathbf{B}}{|\mathbf{A}| \, |\mathbf{B}|} = \frac{4}{3 \times 2.236} = \frac{4}{6.708} = 0.596 $$
$$ \theta = \cos^{-1}(0.596) = 53.13^\circ $$
Answer: Angle between vectors is 53.13 degrees
Example 3: Two forces act on a point: \( \mathbf{F_1} = (5, 0, 3) \) kN and \( \mathbf{F_2} = (2, 4, 1) \) kN. Calculate the angle between the forces.
Given:
\( \mathbf{F_1} = (5, 0, 3) \), \( \mathbf{F_2} = (2, 4, 1) \)
Dot product:
$$ \mathbf{F_1} \cdot \mathbf{F_2} = 5 \times 2 + 0 \times 4 + 3 \times 1 = 10 + 0 + 3 = 13 $$
Magnitudes:
$$ |\mathbf{F_1}| = \sqrt{5^2 + 0^2 + 3^2} = \sqrt{25 + 0 + 9} = \sqrt{34} = 5.83 $$
$$ |\mathbf{F_2}| = \sqrt{2^2 + 4^2 + 1^2} = \sqrt{4 + 16 + 1} = \sqrt{21} = 4.58 $$
Calculate angle:
$$ \cos \theta = \frac{13}{5.83 \times 4.58} = \frac{13}{26.7} = 0.487 $$
$$ \theta = \cos^{-1}(0.487) = 61.0^\circ $$
Answer: Angle between forces is 61.0 degrees
Create a free account to open more of this chapter.
Free: practical guides, quick cards, workplace scenarios and more.
Create a free accountThis chapter covered the fundamental concepts of vectors and scalars in two and three dimensions, emphasizing their differences and applications in engineering contexts. It explained how to perform vector operations such as addition and subtraction, demonstrating how these combine or oppose directional quantities. The concept of position vectors was introduced to represent the location of points in space relative to an origin. The chapter then detailed the resolution of vectors into components, which is essential for analyzing forces and motions along specific directions. Finally, it explored scalar and vector products, showing how these operations yield magnitudes or new vectors that are critical in calculating work, torque, and areas in engineering problems. Through this progression, students gained a comprehensive understanding of vector mathematics necessary for practical engineering analysis.
A delivery truck at a county government office moves 3 km east and then 4 km north. Represent the displacement as a vector and find its magnitude. (2 marks)
A farm worker walks 5 km northeast and then 7 km southwest. Express these as vectors and find the resultant displacement vector. (3 marks)
At the start of this chapter we promised you would be able to:
Tick each one you can genuinely do.
So, are you there yet?
You're competent when you can confidently do 50% or more of what this chapter promised.
Sign in to record how you're doing.