By the end of this chapter, you will be able to:
Mastering these skills will help you solve real-world engineering problems with confidence and accuracy, making your work reliable and effective in the trade.
Engineering mathematics is fundamental in mechatronics technology, enabling professionals to analyze and solve complex problems involving forces, motion, and electrical signals. Understanding vector and scalar quantities is essential for describing physical phenomena such as velocity, acceleration, and force in three-dimensional space. This chapter focuses on differentiating between vector and scalar quantities by examining their magnitude and direction, critical for precise calculations in mechatronic system design and analysis.
In mechatronics, distinguishing between vector and scalar quantities is vital because control systems, robotics, and sensor data often involve directions as well as magnitudes. Scalars simplify calculations when only magnitude matters, while vectors are indispensable when direction affects system behavior. Kenyan mechatronics professionals must accurately interpret these quantities for tasks such as robot arm movement, sensor signal processing, and machine calibration.
Magnitude is the size or quantity of a physical quantity without regard to its direction. Scalars have only magnitude, whereas vectors have magnitude combined with direction. In mechatronics, magnitude often represents quantities like speed, temperature, or voltage level, which are critical for system performance but do not require directional information.
The magnitude of a vector is its length in the coordinate system, calculated using the Pythagorean theorem in two or three dimensions.
$$ |\mathbf{A}| = \sqrt{A_x^2 + A_y^2 + A_z^2} $$
Example 1: A robotic arm moves horizontally with displacement components \(A_x = 3\,m\) and \(A_y = 4\,m\). Calculate the magnitude of the displacement vector.
Given: \(A_x = 3\,m\), \(A_y = 4\,m\), \(A_z = 0\,m\)
$$|\mathbf{A}| = \sqrt{3^2 + 4^2 + 0^2}$$
$$|\mathbf{A}| = \sqrt{9 + 16 + 0}$$
$$|\mathbf{A}| = \sqrt{25}$$
Answer: 5\,m
Example 2: A sensor records velocity components of \(V_x = 5\,m/s\), \(V_y = 12\,m/s\), and \(V_z = 0\,m/s\). Find the magnitude of the velocity vector.
Given: \(V_x = 5\,m/s\), \(V_y = 12\,m/s\), \(V_z = 0\,m/s\)
$$|\mathbf{V}| = \sqrt{5^2 + 12^2 + 0^2}$$
$$|\mathbf{V}| = \sqrt{25 + 144 + 0}$$
$$|\mathbf{V}| = \sqrt{169}$$
Answer: 13\,m/s
Example 3: An electric motor produces a force with components \(F_x = 6\,N\), \(F_y = 8\,N\), and \(F_z = 2\,N\). Determine the magnitude of the force vector.
Given: \(F_x = 6\,N\), \(F_y = 8\,N\), \(F_z = 2\,N\)
$$|\mathbf{F}| = \sqrt{6^2 + 8^2 + 2^2}$$
$$|\mathbf{F}| = \sqrt{36 + 64 + 4}$$
$$|\mathbf{F}| = \sqrt{104}$$
$$|\mathbf{F}| \approx 10.198\,N$$
Answer: 10.2\,N
Example 4: A drone experiences acceleration components \(a_x = 2\,m/s^2\), \(a_y = 3\,m/s^2\), and \(a_z = 6\,m/s^2\). Compute the magnitude of the acceleration vector.
Given: \(a_x = 2\,m/s^2\), \(a_y = 3\,m/s^2\), \(a_z = 6\,m/s^2\)
$$|\mathbf{a}| = \sqrt{2^2 + 3^2 + 6^2}$$
$$|\mathbf{a}| = \sqrt{4 + 9 + 36}$$
$$|\mathbf{a}| = \sqrt{49}$$
Answer: 7\,m/s^2
Example 5: A force sensor measures components \(F_x = -4\,N\), \(F_y = 3\,N\), \(F_z = -12\,N\). Find the magnitude of the force vector.
Given: \(F_x = -4\,N\), \(F_y = 3\,N\), \(F_z = -12\,N\)
$$|\mathbf{F}| = \sqrt{(-4)^2 + 3^2 + (-12)^2}$$
$$|\mathbf{F}| = \sqrt{16 + 9 + 144}$$
$$|\mathbf{F}| = \sqrt{169}$$
Answer: 13\,N
Direction is the orientation of a vector in space, describing where the quantity acts relative to a reference axis. Scalars do not have direction, which distinguishes them from vectors in mechatronics applications such as actuator movement or magnetic field orientation. Direction is commonly expressed using angles or unit vectors along coordinate axes.
The direction angles \(\alpha\), \(\beta\), and \(\gamma\) of a vector \(\mathbf{A}\) with components \(A_x\), \(A_y\), and \(A_z\) are found by:
$$ \cos \alpha = \frac{A_x}{|\mathbf{A}|}, \quad \cos \beta = \frac{A_y}{|\mathbf{A}|}, \quad \cos \gamma = \frac{A_z}{|\mathbf{A}|} $$
Example 1: A force vector has components \(F_x = 3\,N\), \(F_y = 4\,N\), \(F_z = 0\,N\). Find the direction cosines \(\cos \alpha\) and \(\cos \beta\).
Given: \(F_x = 3\,N\), \(F_y = 4\,N\), \(F_z = 0\,N\)
Calculate magnitude first:
$$|\mathbf{F}| = \sqrt{3^2 + 4^2 + 0^2} = 5\,N$$
Find direction cosines:
$$\cos \alpha = \frac{3}{5} = 0.6$$
$$\cos \beta = \frac{4}{5} = 0.8$$
Answer: \(\cos \alpha = 0.6\), \(\cos \beta = 0.8\)
Example 2: A velocity vector has components \(V_x = 6\,m/s\), \(V_y = 2\,m/s\), \(V_z = 3\,m/s\). Determine the direction cosines.
Given: \(V_x = 6\,m/s\), \(V_y = 2\,m/s\), \(V_z = 3\,m/s\)
Calculate magnitude:
$$|\mathbf{V}| = \sqrt{6^2 + 2^2 + 3^2} = \sqrt{36 + 4 + 9} = \sqrt{49} = 7\,m/s$$
Find direction cosines:
$$\cos \alpha = \frac{6}{7} \approx 0.857$$
$$\cos \beta = \frac{2}{7} \approx 0.286$$
$$\cos \gamma = \frac{3}{7} \approx 0.429$$
Answer: \(\cos \alpha = 0.857\), \(\cos \beta = 0.286\), \(\cos \gamma = 0.429\)
Example 3: A displacement vector has components \(D_x = -8\,m\), \(D_y = 15\,m\), \(D_z = 0\,m\). Find the direction cosines.
Given: \(D_x = -8\,m\), \(D_y = 15\,m\), \(D_z = 0\,m\)
Calculate magnitude:
$$|\mathbf{D}| = \sqrt{(-8)^2 + 15^2 + 0^2} = \sqrt{64 + 225} = \sqrt{289} = 17\,m$$
Find direction cosines:
$$\cos \alpha = \frac{-8}{17} \approx -0.471$$
$$\cos \beta = \frac{15}{17} \approx 0.882$$
Answer: \(\cos \alpha = -0.471\), \(\cos \beta = 0.882\)
Example 4: A magnetic field vector has components \(B_x = 0\,T\), \(B_y = 0\,T\), \(B_z = 9\,T\). Calculate the direction cosines.
Given: \(B_x = 0\,T\), \(B_y = 0\,T\), \(B_z = 9\,T\)
Calculate magnitude:
$$|\mathbf{B}| = \sqrt{0^2 + 0^2 + 9^2} = 9\,T$$
Find direction cosines:
$$\cos \alpha = \frac{0}{9} = 0$$
$$\cos \beta = \frac{0}{9} = 0$$
$$\cos \gamma = \frac{9}{9} = 1$$
Answer: \(\cos \alpha = 0\), \(\cos \beta = 0\), \(\cos \gamma = 1\)
Example 5: A force vector has components \(F_x = 1\,N\), \(F_y = 2\,N\), \(F_z = 2\,N\). Determine the angles \(\alpha\), \(\beta\), and \(\gamma\) between the vector and the coordinate axes.
Given: \(F_x = 1\,N\), \(F_y = 2\,N\), \(F_z = 2\,N\)
Calculate magnitude:
$$|\mathbf{F}| = \sqrt{1^2 + 2^2 + 2^2} = \sqrt{1 + 4 + 4} = \sqrt{9} = 3\,N$$
Find direction cosines:
$$\cos \alpha = \frac{1}{3} = 0.333$$
$$\cos \beta = \frac{2}{3} = 0.667$$
$$\cos \gamma = \frac{2}{3} = 0.667$$
Calculate angles:
$$\alpha = \cos^{-1}(0.333) \approx 70.53^\circ$$
$$\beta = \cos^{-1}(0.667) \approx 48.19^\circ$$
$$\gamma = \cos^{-1}(0.667) \approx 48.19^\circ$$
Answer: \(\alpha \approx 70.53^\circ\), \(\beta \approx 48.19^\circ\), \(\gamma \approx 48.19^\circ\)
Create a free account to open more of this chapter.
Free: practical guides, quick cards, workplace scenarios and more.
Create a free accountThis chapter began by differentiating between vector and scalar quantities, emphasizing that vectors possess both magnitude and direction, while scalars have magnitude only. The concept of direction was further detailed by distinguishing positive and negative directions in vector quantities. Next, various operations on vectors were explored, including addition and subtraction, which combine vectors geometrically, as well as the dot product and cross product, which produce scalar and vector results respectively. The chapter then covered the resolution of vectors, focusing on analysis techniques and graphical methods such as the triangle theorem and parallel theorem to break vectors into components. Finally, the polygon theorem was introduced, providing a method to determine the resultant of multiple vectors arranged sequentially. Together, these topics equip learners with fundamental tools to manipulate and understand vectors in engineering contexts.
The triangle theorem states that if two vectors are represented by two sides of a triangle taken in order, their resultant is represented by the third side taken in the opposite order. This is used to find the resultant of two vectors acting at a point.
Worked Example:
Two displacement vectors, \( \mathbf{P} = 8 \hat{i} \) m and \( \mathbf{Q} = 6 \hat{j} \) m, act successively on a mobile robot. Find the magnitude and direction of the resultant displacement vector.
Given:
\( \mathbf{P} = 8 \hat{i} \) m, \( \mathbf{Q} = 6 \hat{j} \) m
Resultant:
\( \mathbf{R} = \mathbf{P} + \mathbf{Q} = 8 \hat{i} + 6 \hat{j} \)
Magnitude:$$ |\mathbf{R}| = \sqrt{8^2 + 6^2} = \sqrt{64 + 36} = \sqrt{100} = 10\,\text{m} $$
Direction (from x-axis):$$ \theta = \tan^{-1}(\frac{6}{8}) = \tan^{-1}(0.75) = 36.87^\circ $$
Answer: Magnitude = \(10\,\text{m}\), direction = \(36.87^\circ\) above x-axis.
The parallel theorem states that when two vectors act in the same direction, their resultant is simply the sum of their magnitudes in that direction.
Worked Example:
Two forces, 15 N and 25 N, act in the same direction in a robotic gripper. Find the resultant force.
Given:
\( F_1 = 15 \) N, \( F_2 = 25 \) N
Resultant:$$ F_{\text{resultant}} = F_1 + F_2 = 15 + 25 = 40\,\text{N} $$
Answer: Resultant force = \(40\,\text{N}\) in the same direction.
A force vector in a robotic arm has a magnitude of 50 N acting along the positive x-axis. Find the magnitude and direction of this vector. (1 mark)
Two vectors representing velocities in a conveyor system are \(\mathbf{A} = 3 \hat{i} + 4 \hat{j}\) m/s and \(\mathbf{B} = 1 \hat{i} + 2 \hat{j}\) m/s. Find the resultant vector \(\mathbf{R} = \mathbf{A} + \mathbf{B}\) and its magnitude. (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.