Vectors

Vectors are used in engineering mechanics to represent quantities that have both a magnitude and a direction. Many engineering quantities, such as forces, displacements, velocities, and accelerations, will need to be represented as vectors for analysis. Vector quantities contrast with scalar values (such as mass, area, or speed) which have a magnitude but no direction.

A force as a vector
The force below is represented as a vector. It has both a magnitude and a direction.

When dealing with vectors in equations, engineers commonly denote something as a vector by putting an arrow over the variable. Variables without an arrow over top of them represent a scalar quantity, or simply the magnitude of that vector quantity.

Vector Quantity: \[\vec{F}\]
Scalar Quantity: \[F\]

In contrast with scalar quantities, we cannot add, subtract, multiply or divide them by simply adding, subtracting, multiplying or dividing the magnitudes. The directions will also play a critical role in solving equations that contain vector quantities.

Vector Representation:

To represent a vector quantity, we will generally have two options. These two options are:

A vector as a magnitude and direction and in component form
The drawing above shows a force as vector. On the left the vector is represented as a magnitude and a direction. On the right the same force is represented in terms of its x and y components.

The magnitude and direction form of vector quantities are often used at the start and end of a problem. This is because it is often easier to measure things like forces and velocities as a magnitude and direction at the start of a problem, and it is often easier to visualize the final result as a magnitude and direction at the end. Vectors represented as a magnitude and direction need to be shown visually through the use of an arrow, where the magnitude is the length of the arrow, and the direction is shown through the arrow head and an angle or angles relative to some known axes or other direction.

The component form of a vector is often used in middle of the problem because it is far easier to do math with vector quantities in component form. Vectors can be represented in component form in one of two ways. First we can use square brackets to indicate a vector, with the x, y, and possibly z components separated by commas. Alternatively, we can write out a vector in component form using the magnitudes in front of unit vectors to indicate directions (generally the i, j, and k unit vectors for the x, y , and z directions respectively). Neither of these component forms relies on a visual depiction of the vector as with the magnitude and direction form, though it is important to clearly identify the coordinate system in earlier diagrams.

With Brackets: \[\vec{F}=\left [ 3, 4, 5 \right ]\]
With Unit Vectors: \[\vec{F}=3\hat{i}+4\hat{j}+5\hat{k}\]

Converting Between Vector Representations in 2D

For our analysis, we will often find it advantageous to have the vectors in one form or the other, and will therefore need to convert the vector from a magnitude and direction to component form or vice versa. To do this we will use right triangles and trigonometry.

Going from a magnitude and direction to component form

To go from a magnitude and direction to component form we will first draw a right triangle with the hypotenuse being the original vector. The horizontal arm of the triangle will then be the x component of the vector while the vertical arm is the y component of the vector. If we know the angle of the vector with respect to either horizontal or vertical, we can use the sine and cosine relationship to find the x and y components.

Vector Magnitude and Direction to Component Form
Using sine and cosine relationships, we can find the x and y components of a vector.

It is important to remember that how we measure the angle will affect the sine and cosine relationships. Multiplying the magnitude by the sine will always give us the opposite leg and multiplying the magnitude by the cosine will always give us the adjacent leg.

Be careful with sine and cosines
Depending upon how we measure the angle, the sine/cosine may be either the x or y component. Remember the sine will give you the opposite leg while the cosine will give you the adjacent leg.

Going from component form to a magnitude and direction

To find the magnitude and the direction of a vector using components, we will use the same process in reverse. We will draw the components as the legs of a right triangle, where the hypotenuse of the triangle shows the magnitude and direction of the vector.

To find the magnitude of the vector we will use the Pythagorean Theorem, taking the square root of the sum of the squares of each component. To find the angle, we can easily use the inverse tangent function, relating the opposite and adjacent legs of our right triangle.

Converting a vector from components back into magnitude and direction form
We will use the Pythagorean Theorem and the inverse tangent function to convert the vector back into magnitude and direction form.

If we know the magnitude of the hypotenuse, we can also use the inverse sine and cosine functions in place of the inverse tangent function to find the angle. As with the previous conversion, it is important to clearly identify the opposite leg, the adjacent leg, and the hypotenuse in our diagrams and to think of these when applying the inverse trig functions.

Converting Between Vector Representations in 2D

In three dimensions, we will have either three components (x, y, and z) for component form or a magnitude and two angles for the direction in magnitude and direction form. To convert between forms we will need to draw in two sets of right triangles. The hypotenuse of the first triangle will be the original vector and one of the legs will be one of the three components. The other leg will then be the hypotenuse of the second triangle. The legs of this second triangle will then be the remaining two components as shown in the diagram below. Use sine and cosine relationships to find the magnitude of each component along the way. This general process of two consecutive right triangles will always hold true, but depending on angles that are given or chosen which components end up being which leg can vary. Carefully plotting everything out in a diagram is important for this reason.

Converting a 3D vector from a magnitude and direction to component form
For 3D vectors we will need to draw two right triangles to convert between forms.

To go from component form back to a magnitude and direction, we will use the 3D form of the Pythagorean Theorem (the magnitude will be the square root of the sum of the three components squared) and we can again use the inverse trig functions to find the angles. We simply need to work backwards through the two right triangles in our problem, so again it is important to carefully draw out your diagrams.

Alternative method for finding components of 3D vectors

Sometimes, as with the tension in a cable, the geometry of the cable is given in component form rather than as angles. In cases such as this we could use geometry to figure out the angles and then use those angles to figure out the components, but there is a mathematical shortcut that will allow us to solve for the components more quickly involving the ratio of lengths. Specifically, the ratios of the components of the cable length to the overall length of the cable will be the same as the ratio of the corresponding force components to the overall magnitude of the force.

To use this method we will first need to find the overall length of the cable (or other physical geometric feature) using the Pythagorean Theorem. Once we have that overall length, we find a ratio by taking the x component of the length divided by the overall length. To find the x component of the force, we simply multiply the overall magnitude of the force by this ratio of lengths (Lx/L). The process for the y and z components follows a similar path, except the ratios would include the y and z component lengths instead of the x component.

Alterentative method for finding the components of a 3D vector.
The alternative method of breaking a vector down into component form relies on the ratios of the cable components to the overall length of the cable.

Worked Problems:

Question 1:

Determine the x and y components of the vector shown below.

Problem 1 Diagram

Solution:



Question 2:

Determine the x and y components of the vector shown below.

Problem 2 Diagram

Solution:



Question 3:

The velocity vector of the hockey puck shown below is given in component form. Determine the magnitude and direction of the velocity with respect to the axes given.

Problem 3 Diagram

Solution:



Question 4:

Determine the x, y, and z components of the force vector shown below.

Problem 4 Diagram

Solution:



Question 5:

A cable as shown below is used to tether the top of a pole to a point on the ground. The cable has a tension force of 3 kN that acts along the direction of the cable as shown below. What are the x, y, and z components of the tension force acting on the top of the pole?

Problem 5 Diagram

Solution: