Statics › Section B · Forces and other vectors › Topic B.4

Unit vectors and forces along a line

In most 3D problems you know where a cable runs but not the angles it makes with the axes. Unit vectors turn the coordinates of two points into a direction, and multiplying that direction by the tension gives the force components in one clean step.

Direction without size

A unit vector is a vector with a magnitude of exactly 1 and no units. Because its size is fixed, it carries nothing but a direction. It is written with a hat over the symbol: \(\hat{\mathbf{u}}\) is a unit vector, and \(\hat{\mathbf{F}}\) is the unit vector pointing the same way as \(\mathbf{F}\). The idea is simple but it does a great deal of work in statics, because it separates the two pieces of information every vector holds: how big it is, and which way it points. The linear algebra topic "Inner product, length, and orthogonality" calls the same process normalising a vector.

The Cartesian unit vectors

The three most used unit vectors point along the positive axes: \(\mathbf{i}\) along x, \(\mathbf{j}\) along y and \(\mathbf{k}\) along z, which is why the topic "3D vectors and direction angles" writes vectors as \(F_x\mathbf{i} + F_y\mathbf{j} + F_z\mathbf{k}\). In a plane, a unit vector at angle \(\theta\) counterclockwise from the positive x axis is

\hat{\mathbf{u}} = \langle \cos\theta, \sin\theta \rangle

Its tip lies on the unit circle, and its length is 1 because \(\cos^2\theta + \sin^2\theta = 1\). If the angle is measured from the y axis instead, sine and cosine swap places.

Building and splitting a vector

Any vector is its magnitude times its unit vector, and any unit vector is a vector divided by its own magnitude:

\mathbf{F} = F\,\hat{\mathbf{F}} \qquad \hat{\mathbf{F}} = \frac{\mathbf{F}}{F}

Dividing a vector by its magnitude strips out the size and the units, leaving pure direction. Multiplying a unit vector by a scalar scales it: a unit vector pointing right times 250 N is a 250 N force to the right, while the same unit vector times \(-80\) N is an 80 N force to the left, because a negative scalar reverses the sense.

Worked example: a force along a line in a plane

A rope runs from a hook at the origin to a point (8, 15) m and pulls on the hook with 85 N. Find the force components. 1. The direction from hook to point is \(\langle 8, 15 \rangle\) m. 2. Its length is \(\sqrt{8^2 + 15^2} = 17\) m. 3. Unit vector: \(\hat{\mathbf{u}} = \langle \frac{8}{17}, \frac{15}{17} \rangle\). 4. Force: \(\mathbf{F} = 85\,\hat{\mathbf{u}} = \langle 40, 75 \rangle\) N. 5. Check: \(\sqrt{40^2 + 75^2} = 85\) N. No angle was ever needed; the geometry of the rope supplied the direction.

Position vectors between two points

The vector from point A to point B is found by subtracting coordinates, tip minus tail:

\mathbf{r}_{AB} = (x_B - x_A)\mathbf{i} + (y_B - y_A)\mathbf{j} + (z_B - z_A)\mathbf{k}

Each component is simply the change in that coordinate as you move from A to B, so you can also read the components straight off a dimensioned drawing. Its magnitude, \(|\mathbf{r}_{AB}|\), is the distance between the points. Order matters: \(\mathbf{r}_{BA} = -\mathbf{r}_{AB}\), so always subtract the coordinates of the start from those of the end.

A force along a line in four steps

When a force acts along a line through two known points A and B, as the pull of a straight cable does, find its components in four steps. 1. Write the position vector \(\mathbf{r}_{AB}\) from the coordinates. 2. Find its length, \(|\mathbf{r}_{AB}|\). 3. Divide to get the unit vector, \(\hat{\mathbf{u}}_{AB} = \mathbf{r}_{AB} / |\mathbf{r}_{AB}|\). 4. Multiply by the force magnitude: \(\mathbf{F} = F\,\hat{\mathbf{u}}_{AB}\). A cable always pulls a body towards the other end of the cable, so the force on the body at A points from A to B, while the force on the body at B points from B to A.

Worked example: a guy cable on a pole

A guy cable runs from the top of a pole, A = (0, 0, 8) m, to a ground anchor, B = (4, −8, 0) m, with a tension of 1.8 kN. Find the force the cable exerts on the pole. 1. The cable pulls the pole towards the anchor, so use A to B: \(\mathbf{r}_{AB} = \langle 4, -8, -8 \rangle\) m. 2. Length: \(\sqrt{16 + 64 + 64} = 12\) m. 3. Unit vector: \(\langle \frac{1}{3}, -\frac{2}{3}, -\frac{2}{3} \rangle\). 4. Force: \(1.8 \times\) that unit vector, so \(\mathbf{F} = \langle 0.6, -1.2, -1.2 \rangle\) kN. 5. Check: the signs match the position vector, and \(\sqrt{0.36 + 1.44 + 1.44} = 1.8\) kN. The force on the anchor is the negative of this.

Worked example: an awkward geometry

A 750 N force acts at A = (1.5, −2, 0.5) m along the line towards B = (−1, 2.5, 3.5) m. Find its components. 1. \(\mathbf{r}_{AB} = \langle -2.5, 4.5, 3.0 \rangle\) m. 2. Length:

|\mathbf{r}_{AB}| = \sqrt{6.25 + 20.25 + 9} = \sqrt{35.5} = 5.958\ \mathrm{m}

3. Divide (shown to four decimal places; carry full precision into step 4):

\hat{\mathbf{u}}_{AB} = \langle -0.4196, 0.7553, 0.5035 \rangle

4. Multiply by 750 N:

\mathbf{F} = \langle -314.7, 566.4, 377.6 \rangle\ \mathrm{N}

5. Check: every unit-vector component lies between \(-1\) and 1, the signs match \(\mathbf{r}_{AB}\), and the magnitude of \(\mathbf{F}\) works out to 750 N.

Unit vectors and direction cosines

Compare the unit vector's components with the direction cosines from the topic "3D vectors and direction angles": both are a component divided by the magnitude. So the direction cosines are the unit vector:

\hat{\mathbf{u}} = \cos\theta_x\,\mathbf{i} + \cos\theta_y\,\mathbf{j} + \cos\theta_z\,\mathbf{k}

and the identity \(\cos^2\theta_x + \cos^2\theta_y + \cos^2\theta_z = 1\) just says that its length is 1. For angles of 60°, 45° and 60°, the unit vector is \(\langle 0.5, 0.7071, 0.5 \rangle\). Two quick tests catch most slips: each component lies between \(-1\) and 1, and the squares add to 1.

Common mistakes to avoid

First, subtracting the coordinates the wrong way round, which reverses the force. Second, multiplying the position vector by the force without dividing by its length first, which gives components in N·m instead of N. Third, using the A-to-B direction for the force on the body at B, when a cable pulls each end towards the other. Fourth, rounding the unit vector to one or two decimal places before multiplying a large force. Fifth, forgetting that a unit vector has no units.

Key takeaways

A unit vector has magnitude 1, no units and a pure direction; \(\mathbf{i}\), \(\mathbf{j}\) and \(\mathbf{k}\) point along the axes. Any vector is \(F\,\hat{\mathbf{F}}\), and \(\hat{\mathbf{F}} = \mathbf{F} / F\). The position vector from A to B is B's coordinates minus A's. To find a force along a line, form \(\mathbf{r}_{AB}\), divide by its length and multiply by the force magnitude, choosing the direction in which the cable actually pulls. The components of a unit vector are the direction cosines, and their squares add to 1.

Flashcards

Flashcard

Unit vector û

A vector of magnitude 1 with no units: a pure direction

Written with a hat.

Test your understanding

Question 1 of 5

What is the unit vector in the direction of the force ⟨−6, 8⟩ N?

Question 2 of 5

What is the position vector from A = (2, −1, 4) m to B = (5, 3, 4) m?

Question 3 of 5

A cable from A = (0, 0, 12) m to B = (3, −4, 0) m has a tension of 650 N. What force does it exert on the body at A?

Question 4 of 5

Which of these could be a unit vector?

Question 5 of 5

A direction has angles θx = 90°, θy = 60° and θz = 30°. What is its unit vector?

← Previous topicNext topic →