By the end of this chapter, you will be able to:
Mastering these skills will help you solve real-world engineering problems with precision and confidence.
Vectors are fundamental in automotive mechatronics for describing quantities that have both magnitude and direction, such as forces acting on vehicle components, velocities of moving parts, and orientations of sensors. Accurate manipulation and understanding of vectors in two and three dimensions enable technicians and engineers to analyze systems effectively, ensuring optimal design and troubleshooting of automotive systems. Mastery of vector theory also facilitates working with complex motions and forces encountered in vehicle dynamics, control systems, and robotics within the automotive sector.
Scalars are quantities fully described by a magnitude alone. Examples include temperature, mass, and time. Vectors, however, require both magnitude and direction for complete description. The vector is typically represented by an arrow; the length corresponds to magnitude, and the arrow points in the direction of the vector.
A vector in two dimensions can be represented as
$$\vec{A} = A_x \hat{i} + A_y \hat{j}$$
where \(A_x\) and \(A_y\) are the components along the x and y axes, respectively, and \(\hat{i}\), \(\hat{j}\) are the unit vectors in those directions.
In three dimensions, a vector is represented as
$$\vec{A} = A_x \hat{i} + A_y \hat{j} + A_z \hat{k}$$
where \(A_z\) and \(\hat{k}\) are the component and unit vector along the z-axis.
Example 1: A sensor in a vehicle detects a force of magnitude 50 N acting horizontally to the right. Represent this force as a vector in two dimensions.
Given: Magnitude \(F = 50\, N\), direction along positive x-axis.
$$\vec{F} = F_x \hat{i} + F_y \hat{j}$$
Since force acts along x-axis only, \(F_x = 50\, N\), \(F_y = 0\, N\).
Answer: \(\vec{F} = 50 \hat{i} + 0 \hat{j}\, N\)
Example 2: A robotic arm joint applies a force of 30 N at 60° above the horizontal in the xy-plane. Find the vector components.
Given: \(F = 30\, N\), \(\theta = 60^\circ\) from x-axis.
$$F_x = F \cos \theta$$
$$F_y = F \sin \theta$$
$$F_x = 30 \times \cos 60^\circ = 30 \times 0.5 = 15\, N$$
$$F_y = 30 \times \sin 60^\circ = 30 \times 0.866 = 25.98\, N$$
Answer: \(\vec{F} = 15 \hat{i} + 25.98 \hat{j}\, N\)
Example 3: An automotive sensor measures velocity vector of a drone in 3D space as 20 m/s east, 15 m/s north, and 10 m/s upward. Express the velocity vector.
Given: \(V_x = 20\, m/s\), \(V_y = 15\, m/s\), \(V_z = 10\, m/s\)
$$\vec{V} = 20 \hat{i} + 15 \hat{j} + 10 \hat{k}\, m/s$$
Answer: \(\vec{V} = 20 \hat{i} + 15 \hat{j} + 10 \hat{k}\, m/s\)
Example 4: Calculate the magnitude of vector \(\vec{A} = 3 \hat{i} + 4 \hat{j}\).
Given: Components \(A_x=3\), \(A_y=4\)
$$|\vec{A}| = \sqrt{A_x^2 + A_y^2}$$
$$|\vec{A}| = \sqrt{3^2 + 4^2} = \sqrt{9 + 16} = \sqrt{25} = 5$$
Answer: Magnitude \(= 5\) units
Example 5: Calculate the magnitude of vector \(\vec{B} = 2 \hat{i} + 3 \hat{j} + 6 \hat{k}\).
Given: \(B_x=2\), \(B_y=3\), \(B_z=6\)
$$|\vec{B}| = \sqrt{B_x^2 + B_y^2 + B_z^2}$$
$$|\vec{B}| = \sqrt{2^2 + 3^2 + 6^2} = \sqrt{4 + 9 + 36} = \sqrt{49} = 7$$
Answer: Magnitude \(= 7\) units
Vectors can be resolved into components along coordinate axes, which simplifies calculations such as addition and subtraction. Direction angles relate components to the vector's overall orientation.
In two dimensions, components are:
$$A_x = A \cos \theta$$
$$A_y = A \sin \theta$$
where \(\theta\) is the angle with the x-axis.
In three dimensions, direction cosines relate components to angles \(\alpha, \beta, \gamma\) with x, y, and z axes:
$$\cos \alpha = \frac{A_x}{A}, \quad \cos \beta = \frac{A_y}{A}, \quad \cos \gamma = \frac{A_z}{A}$$
with magnitude
$$A = \sqrt{A_x^2 + A_y^2 + A_z^2}$$
Example 1: Find components of a force 40 N acting at 30° to the x-axis in the xy-plane.
Given: \(F=40\, N\), \(\theta=30^\circ\)
$$F_x = F \cos \theta = 40 \times 0.866 = 34.64\, N$$
$$F_y = F \sin \theta = 40 \times 0.5 = 20\, N$$
Answer: \(F_x = 34.64\, N\), \(F_y = 20\, N\)
Example 2: A velocity vector in 3D has components \(V_x = 10\, m/s\), \(V_y = 10\, m/s\), \(V_z = 10\, m/s\). Find its magnitude and direction angles.
Given: \(V_x=10\), \(V_y=10\), \(V_z=10\)
Magnitude:
$$V = \sqrt{10^2 + 10^2 + 10^2} = \sqrt{300} = 17.32\, m/s$$
Direction cosines:
$$\cos \alpha = \frac{10}{17.32} = 0.577$$
$$\cos \beta = \frac{10}{17.32} = 0.577$$
$$\cos \gamma = \frac{10}{17.32} = 0.577$$
Direction angles:
$$\alpha = \cos^{-1}(0.577) = 54.74^\circ$$
$$\beta = 54.74^\circ, \quad \gamma = 54.74^\circ$$
Answer: Magnitude \(= 17.32\, m/s\), Angles \(= 54.74^\circ\) each
Example 3: An automotive sensor detects a force vector with components \(F_x = 25\, N\), \(F_y = 40\, N\). Determine the magnitude and direction angle relative to x-axis.
Given: \(F_x = 25\, N\), \(F_y = 40\, N\)
Magnitude:
$$F = \sqrt{25^2 + 40^2} = \sqrt{625 + 1600} = \sqrt{2225} = 47.17\, N$$
Direction angle:
$$\theta = \tan^{-1} \frac{F_y}{F_x} = \tan^{-1} \frac{40}{25} = \tan^{-1} 1.6 = 58^\circ$$
Answer: Magnitude \(= 47.17\, N\), Angle \(= 58^\circ\)
Example 4: Find the component of a 100 N force acting at 45° to the x-axis and 60° to the y-axis in the xy-plane.
Given: \(F=100\, N\), angles \(45^\circ, 60^\circ\)
Resolve:
$$F_x = F \cos 45^\circ = 100 \times 0.707 = 70.7\, N$$
$$F_y = F \cos 60^\circ = 100 \times 0.5 = 50\, N$$
Answer: \(F_x = 70.7\, N\), \(F_y = 50\, N\)
Example 5: A force vector in 3D has magnitude 150 N and direction angles \(\alpha = 60^\circ\), \(\beta = 45^\circ\), \(\gamma = 30^\circ\). Find the components.
Given: \(F=150\, N\), \(\alpha=60^\circ\), \(\beta=45^\circ\), \(\gamma=30^\circ\)
$$F_x = F \cos \alpha = 150 \times 0.5 = 75\, N$$
$$F_y = F \cos \beta = 150 \times 0.707 = 106.05\, N$$
$$F_z = F \cos \gamma = 150 \times 0.866 = 129.9\, N$$
Answer: \(F_x=75\, N\), \(F_y=106.05\, N\), \(F_z=129.9\, N\)
Adding or subtracting vectors involves combining their components. The resultant vector is found by summing or subtracting the respective components.
For vectors \(\vec{A} = A_x \hat{i} + A_y \hat{j} + A_z \hat{k}\) and \(\vec{B} = B_x \hat{i} + B_y \hat{j} + B_z \hat{k}\), the sum is
$$\vec{R} = \vec{A} + \vec{B} = (A_x + B_x) \hat{i} + (A_y + B_y) \hat{j} + (A_z + B_z) \hat{k}$$
Subtraction is similar:
$$\vec{D} = \vec{A} - \vec{B} = (A_x - B_x) \hat{i} + (A_y - B_y) \hat{j} + (A_z - B_z) \hat{k}$$
Example 1: Add two force vectors in 2D: \(\vec{A} = 20 \hat{i} + 10 \hat{j}\, N\) and \(\vec{B} = 5 \hat{i} + 15 \hat{j}\, N\).
Given:
\(\vec{A} = 20 \hat{i} + 10 \hat{j}\, N\)
\(\vec{B} = 5 \hat{i} + 15 \hat{j}\, N\)
Sum:
$$R_x = 20 + 5 = 25\, N$$
$$R_y = 10 + 15 = 25\, N$$
$$\vec{R} = 25 \hat{i} + 25 \hat{j}\, N$$
Answer: \(\vec{R} = 25 \hat{i} + 25 \hat{j}\, N\)
Example 2: Subtract vectors in 3D: \(\vec{A} = 10 \hat{i} + 20 \hat{j} + 30 \hat{k}\) and \(\vec{B} = 5 \hat{i} + 15 \hat{j} + 10 \hat{k}\).
Given:
\(\vec{A} = 10 \hat{i} + 20 \hat{j} + 30 \hat{k}\)
\(\vec{B} = 5 \hat{i} + 15 \hat{j} + 10 \hat{k}\)
Difference:
$$D_x = 10 - 5 = 5$$
$$D_y = 20 - 15 = 5$$
$$D_z = 30 - 10 = 20$$
$$\vec{D} = 5 \hat{i} + 5 \hat{j} + 20 \hat{k}$$
Answer: \(\vec{D} = 5 \hat{i} + 5 \hat{j} + 20 \hat{k}\)
Example 3: Add two vectors in 3D: \(\vec{A} = 3 \hat{i} + 4 \hat{j} + 5 \hat{k}\), \(\vec{B} = 6 \hat{i} + 2 \hat{j} + 1 \hat{k}\).
Given:
\(\vec{A} = 3 \hat{i} + 4 \hat{j} + 5 \hat{k}\)
\(\vec{B} = 6 \hat{i} + 2 \hat{j} + 1 \hat{k}\)
Sum:
$$R_x = 3 + 6 = 9$$
$$R_y = 4 + 2 = 6$$
$$R_z = 5 + 1 = 6$$
$$\vec{R} = 9 \hat{i} + 6 \hat{j} + 6 \hat{k}$$
Answer: \(\vec{R} = 9 \hat{i} + 6 \hat{j} + 6 \hat{k}\)
Example 4: Subtract vectors in 2D: \(\vec{A} = 50 \hat{i} + 30 \hat{j}\, N\), \(\vec{B} = 20 \hat{i} + 10 \hat{j}\, N\).
Given:
\(\vec{A} = 50 \hat{i} + 30 \hat{j}\, N\)
\(\vec{B} = 20 \hat{i} + 10 \hat{j}\, N\)
Difference:
$$D_x = 50 - 20 = 30\, N$$
$$D_y = 30 - 10 = 20\, N$$
$$\vec{D} = 30 \hat{i} + 20 \hat{j}\, N$$
Answer: \(\vec{D} = 30 \hat{i} + 20 \hat{j}\, N\)
Example 5: Calculate the resultant vector and its magnitude from forces \(\vec{A} = 10 \hat{i} + 0 \hat{j} + 0 \hat{k}\) and \(\vec{B} = 0 \hat{i} + 10 \hat{j} + 0 \hat{k}\).
Sum:
$$R_x = 10 + 0 = 10$$
$$R_y = 0 + 10 = 10$$
$$R_z = 0 + 0 = 0$$
Magnitude:
$$|\vec{R}| = \sqrt{10^2 + 10^2 + 0^2} = \sqrt{100 + 100} = \sqrt{200} = 14.14$$
Answer: \(\vec{R} = 10 \hat{i} + 10 \hat{j}\), Magnitude \(= 14.14\) units
Vector multiplication is essential in automotive mechatronics for calculating work done by forces and torque on components. The scalar (dot) product gives a scalar quantity representing the magnitude of projection of one vector onto another. The vector (cross) product results in a vector perpendicular to the plane containing the two vectors, representing quantities like torque or rotational forces.
The scalar (dot) product is defined as:
$$\vec{A} \cdot \vec{B} = |\vec{A}| |\vec{B}| \cos \theta = A_x B_x + A_y B_y + A_z B_z$$
The vector (cross) product is defined as:
$$\vec{A} \times \vec{B} = (A_y B_z - A_z B_y) \hat{i} - (A_x B_z - A_z B_x) \hat{j} + (A_x B_y - A_y B_x) \hat{k}$$
Example 1: Calculate the scalar product of \(\vec{A} = 3 \hat{i} + 4 \hat{j}\) and \(\vec{B} = 2 \hat{i} + 5 \hat{j}\).
Given:
\(\vec{A} = 3 \hat{i} + 4 \hat{j}\)
\(\vec{B} = 2 \hat{i} + 5 \hat{j}\)
Dot product:
$$\vec{A} \cdot \vec{B} = (3)(2) + (4)(5) = 6 + 20 = 26$$
Answer: \(\vec{A} \cdot \vec{B} = 26\)
Example 2: Find the scalar product of \(\vec{A} = 1 \hat{i} + 2 \hat{j} + 3 \hat{k}\) and \(\vec{B} = 4 \hat{i} + 5 \hat{j} + 6 \hat{k}\).
Given:
\(\vec{A} = 1 \hat{i} + 2 \hat{j} + 3 \hat{k}\)
\(\vec{B} = 4 \hat{i} + 5 \hat{j} + 6 \hat{k}\)
Dot product:
$$\vec{A} \cdot \vec{B} = (1)(4) + (2)(5) + (3)(6) = 4 + 10 + 18 = 32$$
Answer: \(\vec{A} \cdot \vec{B} = 32\)
Example 3: Calculate the vector product \(\vec{A} \times \vec{B}\) for \(\vec{A} = 2 \hat{i} + 3 \hat{j} + 4 \hat{k}\) and \(\vec{B} = 5 \hat{i} + 6 \hat{j} + 7 \hat{k}\).
Given:
\(\vec{A} = 2 \hat{i} + 3 \hat{j} + 4 \hat{k}\)
\(\vec{B} = 5 \hat{i} + 6 \hat{j} + 7 \hat{k}\)
Cross product components:
$$C_x = (3)(7) - (4)(6) = 21 - 24 = -3$$
$$C_y = (4)(5) - (2)(7) = 20 - 14 = 6$$
$$C_z = (2)(6) - (3)(5) = 12 - 15 = -3$$
$$\vec{C} = -3 \hat{i} - 6 \hat{j} - 3 \hat{k}$$
Note the sign correction for \(j\) component:
$$\vec{A} \times \vec{B} = -3 \hat{i} + 6 \hat{j} - 3 \hat{k}$$
Answer: \(\vec{A} \times \vec{B} = -3 \hat{i} + 6 \hat{j} - 3 \hat{k}\)
Example 4: Find the magnitude of the cross product of \(\vec{A} = 3 \hat{i} + 0 \hat{j} + 0 \hat{k}\) and \(\vec{B} = 0 \hat{i} + 4 \hat{j} + 0 \hat{k}\).
Given:
\(\vec{A} = 3 \hat{i}\)
\(\vec{B} = 4 \hat{j}\)
Cross product magnitude:
$$|\vec{A} \times \vec{B}| = |\vec{A}| |\vec{B}| \sin \theta$$
Since \(\vec{A}\) and \(\vec{B}\) are perpendicular, \(\theta = 90^\circ\), \(\sin 90^\circ = 1\).
$$|\vec{A}| = 3, \quad |\vec{B}| = 4$$
$$|\vec{A} \times \vec{B}| = 3 \times 4 \times 1 = 12$$
Answer: Magnitude \(= 12\)
Example 5: Calculate the scalar and vector products of \(\vec{A} = 1 \hat{i} + 2 \hat{j} + 3 \hat{k}\) and \(\vec{B} = 4 \hat{i} + 5 \hat{j} + 6 \hat{k}\).
Dot product:
$$\vec{A} \cdot \vec{B} = 1 \times 4 + 2 \times 5 + 3 \times 6 = 4 + 10 + 18 = 32$$
Cross product components:
$$C_x = (2)(6) - (3)(5) = 12 - 15 = -3$$
$$C_y = (3)(4) - (1)(6) = 12 - 6 = 6$$
$$C_z = (1)(5) - (2)(4) = 5 - 8 = -3$$
$$\vec{A} \times \vec{B} = -3 \hat{i} - 6 \hat{j} - 3 \hat{k}$$
Note the sign correction for \(j\) component:
$$\vec{A} \times \vec{B} = -3 \hat{i} + 6 \hat{j} - 3 \hat{k}$$
Answer: Dot product \(= 32\), Cross product \(= -3 \hat{i} + 6 \hat{j} - 3 \hat{k}\)
A force vector of magnitude 60 N acts at 45° to the horizontal. Find its components along the x and y axes. (5 marks)
A velocity vector in 3D is given by components \(V_x = 8\, m/s\), \(V_y = 15\, m/s\), and \(V_z = 20\, m/s\). Calculate the magnitude and direction angles with respect to the x, y, and z axes. (8 marks)
Two forces act on a car component: \(\vec{F_1} = 30 \hat{i} + 40 \hat{j}\, N\) and \(\vec{F_2} = 20 \hat{i} + 60 \hat{j}\, N\). Find the resultant force vector and its magnitude. (7 marks)
Calculate the scalar product of vectors \(\vec{A} = 5 \hat{i} + 3 \hat{j} + 2 \hat{k}\) and \(\vec{B} = 1 \hat{i} + 4 \hat{j} + 6 \hat{k}\). (5 marks)
Find the vector product \(\vec{A} \times \vec{B}\) for \(\vec{A} = 2 \hat{i} + 3 \hat{j} + 4 \hat{k}\) and \(\vec{B} = 1 \hat{i} + 0 \hat{j} + 5 \hat{k}\). (8 marks)
Create a free account to open more of this chapter.
Free: practical guides, quick cards, workplace scenarios and more.
Create a free accountThis chapter introduced the fundamental concepts of vectors and scalars in two and three dimensions, emphasizing their distinct properties and representations. It explored operations on vectors, including addition and subtraction, demonstrating how these combine vector quantities accurately in engineering contexts. The concept of position vectors was examined to describe the location of points relative to an origin, providing a basis for spatial analysis. Methods for resolving vectors into components were detailed, enabling the simplification of complex vector problems. The chapter also covered scalar and vector products, highlighting their calculation and significance in determining magnitudes and directions relevant to civil engineering applications. Throughout, practical problems illustrated how these vector operations are essential tools for analyzing forces, displacements, and other engineering quantities in two and three-dimensional spaces.
Given two vectors in two dimensions, \(\mathbf{A} = 3\hat{i} + 4\hat{j}\) and \(\mathbf{B} = 1\hat{i} + 2\hat{j}\), find the magnitude of \(\mathbf{A}\). (2 marks)
Calculate the vector sum \(\mathbf{A} + \mathbf{B}\) given \(\mathbf{A} = 2\hat{i} - 3\hat{j}\) and \(\mathbf{B} = -1\hat{i} + 5\hat{j}\). (2 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.