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

3D vectors and direction angles

Guy wires, crane jibs and roof bracing rarely lie in a single plane. To handle them you need a third axis, a standard way to orient it, and ways to describe a direction in space when one angle is no longer enough.

Into the third dimension

In a plane, one angle fixes a direction. In space it does not: a cable can lean towards the north and towards the east at the same time. Three-dimensional problems can describe directions in several ways, with rectangular components, direction cosine angles, spherical coordinates or cylindrical coordinates, and you will often need to convert between them. Almost every calculation, however, ends up needing rectangular components, so the other forms are mainly routes to and from those. A careful sketch with the axes clearly drawn is worth more in 3D than anywhere else in the course.

Right-handed axes

Add a z axis perpendicular to the x-y plane. Which way it points is not a free choice when moments are involved: engineering and mathematics use a right-handed system. Hold your right hand with the thumb, index finger and middle finger at right angles to one another. If the thumb points along x and the index finger along y, the middle finger points along z. For a quick check of a drawing, sweep the fingers of your right hand from x towards y; your thumb should point along z. The topic "Cross products" relies on this convention, so a left-handed set would flip the sign of every moment.

Rectangular components in 3D

Points become ordered triples, \(P = (x, y, z)\), and vectors gain a third component:

\mathbf{F} = \langle F_x, F_y, F_z \rangle = F_x\mathbf{i} + F_y\mathbf{j} + F_z\mathbf{k}

where \(\mathbf{k}\) is the unit vector along z. The three components are mutually perpendicular, so Pythagoras applies twice and gives the magnitude:

F = \sqrt{F_x^2 + F_y^2 + F_z^2}

Once a force is in this form, adding, comparing and balancing it are all component-by-component arithmetic.

Direction cosine angles

One way to describe a 3D direction uses three angles, \(\theta_x\), \(\theta_y\) and \(\theta_z\), measured from the positive x, y and z axes to the vector. Each comes from a right triangle with the vector as hypotenuse and one component as the adjacent side:

\cos\theta_x = \frac{F_x}{F} \quad \cos\theta_y = \frac{F_y}{F} \quad \cos\theta_z = \frac{F_z}{F}

These cosines are the direction cosines. Each lies between \(-1\) and 1, so each angle lies between 0° and 180°, and an angle above 90° means a negative component. Squaring and adding gives the key identity:

\cos^2\theta_x + \cos^2\theta_y + \cos^2\theta_z = 1

Worked example: a force on an anchor bolt

A cable pulls on an anchor bolt at the origin with \(\mathbf{F} = \langle 50, -200, 400 \rangle\) N. Find its magnitude and direction angles. 1. Magnitude:

F = \sqrt{50^2 + 200^2 + 400^2} = \sqrt{202{,}500} = 450\ \mathrm{N}

2. Direction cosines: \(\frac{50}{450} = 0.1111\), \(\frac{-200}{450} = -0.4444\) and \(\frac{400}{450} = 0.8889\). 3. Angles: \(\theta_x = 83.6^\circ\), \(\theta_y = 116.4^\circ\) and \(\theta_z = 27.3^\circ\). 4. Check: \(\theta_y\) exceeds 90° because \(F_y\) is negative, and the squared cosines, \(\frac{1 + 16 + 64}{81}\), add to exactly 1.

Worked example: finding the third angle

A 600 N strut force makes angles of 60° with the x axis and 45° with the y axis, and it points upwards. Find \(\theta_z\) and the components. 1. Identity:

\cos^2\theta_z = 1 - \cos^2 60^\circ - \cos^2 45^\circ = 1 - 0.25 - 0.5 = 0.25

2. So \(\cos\theta_z = \pm 0.5\), giving 60° or 120°. 3. The force points up, so \(F_z > 0\) and \(\theta_z = 60^\circ\). 4. Components: \(F_x = 600\cos 60^\circ = 300\) N, \(F_y = 600\cos 45^\circ = 424.3\) N and \(F_z = 300\) N. Two angles fix the third only up to this choice of sign, so the problem must say which way the force points.

Spherical coordinates

Spherical coordinates give a magnitude and two angles: the azimuth \(\theta\), measured counterclockwise in the x-y plane from the positive x axis to the shadow of the vector on that plane, and the polar angle \(\phi\), measured down from the positive z axis to the vector. The polar angle is the same as \(\theta_z\). Project first onto the z axis and the x-y plane, then split the in-plane part:

F_z = F\cos\phi \qquad F_{xy} = F\sin\phi
F_x = F\sin\phi\cos\theta \qquad F_y = F\sin\phi\sin\theta

Note that the azimuth is not the direction angle \(\theta_x\): one is measured within the plane, the other directly to the vector in space.

Worked example: a guy-wire force

The pull of a guy wire on a mast top is 2.4 kN, with azimuth \(\theta = 30^\circ\) and polar angle \(\phi = 50^\circ\). Find the rectangular components. 1. Vertical part: \(F_z = 2.4\cos 50^\circ = 1.543\) kN. 2. In-plane part: \(F_{xy} = 2.4\sin 50^\circ = 1.839\) kN. 3. Split it: \(F_x = 1.839\cos 30^\circ = 1.592\) kN and \(F_y = 1.839\sin 30^\circ = 0.919\) kN. 4. Result: \(\mathbf{F} = \langle 1.592, 0.919, 1.543 \rangle\) kN. 5. Check: the magnitude \(\sqrt{F_x^2 + F_y^2 + F_z^2}\) comes back as 2.40 kN.

Cylindrical coordinates

Cylindrical coordinates extend polar form by adding height. They give \(r\), the size of the part of the vector in the x-y plane; the same azimuth \(\theta\) as spherical coordinates; and \(z\), the vertical component. They are used less often in statics but suit round geometry such as tanks and shafts. For the anchor-bolt force \(\langle 50, -200, 400 \rangle\) N, \(r = \sqrt{50^2 + 200^2} = 206.2\) N, \(\theta = \tan^{-1}(-200/50) = -76.0^\circ\) (a fourth-quadrant angle, so no correction is needed) and \(z = 400\) N. In spherical form the same force is 450 N with \(\theta = -76.0^\circ\) and \(\phi = 27.3^\circ\).

Common mistakes to avoid

First, drawing a left-handed set of axes, which later reverses every cross product. Second, taking direction angles from the negative end of an axis, or reporting one larger than 180°. Third, assuming two direction angles fix the third without checking its sign. Fourth, confusing the azimuth \(\theta\) with the direction angle \(\theta_x\). Fifth, treating the cylindrical \(r\) as the full magnitude: it is only the in-plane part.

Key takeaways

Statics uses right-handed x, y and z axes. A 3D vector is \(F_x\mathbf{i} + F_y\mathbf{j} + F_z\mathbf{k}\), with magnitude \(\sqrt{F_x^2 + F_y^2 + F_z^2}\). Direction angles are measured from the positive axes, lie between 0° and 180°, and their cosines are the components divided by the magnitude; the squared cosines add to 1. Spherical form uses a magnitude, an azimuth in the x-y plane and a polar angle from +z; cylindrical form uses the in-plane size, the azimuth and the z component.

Flashcards

Flashcard

Right-handed axes

Thumb x, index finger y, middle finger z

Needed for cross products and moments.

Test your understanding

Question 1 of 5

What is the magnitude of the force ⟨12, −4, 3⟩ kN?

Question 2 of 5

For the force ⟨12, −4, 3⟩ kN, what is the direction angle θy?

Question 3 of 5

A force makes angles θx = 45° and θy = 60° with the axes, and its z component is negative. What is θz?

Question 4 of 5

Which set of direction angles (θx, θy, θz) could belong to a real vector?

Question 5 of 5

A 100 N force has polar angle φ = 60° from +z and azimuth θ = 90°. What are its rectangular components?

← Previous topicNext topic →