Skip to content

Cartesian vectors in three dimensions

Write forces in space as Cartesian vectors from their direction angles or from two points on their line, and add them by components.

It opens on

A force makes 60° with the x axis and 45° with the y axis. Can its angle with the z axis be anything at all?

Why it matters

Cables, struts and guy wires in towers, cranes and roofs pull in space; every 3D statics problem starts by writing each force as i, j and k components.

Good to know first

  • Rectangular components and i, j notation
  • Pythagoras
  • inverse cosine

Step by step

  1. Direction cosines

    Write a 3D force from its size and coordinate direction angles, and use cos²α + cos²β + cos²γ = 1.

    The coordinate direction angles α, β and γ are the angles from the +x, +y and +z axes. Each component is F times the cosine, Fx = F cos α, Fy = F cos β and Fz = F cos γ.

    F = F(cos α i + cos β j + cos γ k)

    A common mix-up

    The three direction angles can be chosen freely, like the angles of a triangle.

    In fact: They are tied by cos²α + cos²β + cos²γ = 1.

  2. A force along a line

    Write a force directed along a line through two points as F = F u, with u = r/|r| from the position vector between them.

    The position vector from A to B is head minus tail, rAB = (4 − 0) i + (−6 − 0) j + (0 − 12) k = 4 i − 6 j − 12 k m.

    rAB = 4 i − 6 j − 12 k m

    A common mix-up

    The force is F times rAB.

    In fact: rAB has the cable's length, 14 m, in it; only the unit vector, of length 1, carries the direction.

  3. Adding forces in space

    Add forces in space by summing i, j and k components and interpret the resultant.

    Add component by component. R = (200 − 150) i + (−300 + 200) j + (−600 − 600) k = 50 i − 100 j − 1200 k N.

    R = 50 i − 100 j − 1200 k N

    A common mix-up

    Two cables that each pull with several hundred newtons sideways must pull the pole top hard sideways.

    In fact: Their horizontal parts point in nearly opposite directions and mostly cancel.

Try it

A 300 N force has α = 45° and β = 60°, and points upward. Write it in i, j, k.Answer

γ = 60°, F = 212.1 i + 150 j + 150 k N

Hint: Cos²γ = 1 − 0.5 − 0.25

A 500 N cable runs from (0, 0, 8) m to (6, 0, 0) m. Write its pull at the first point.Answer

r = 6 i − 8 k m, length 10 m, F = 300 i − 400 k N

Hint: a 6-8-10 triangle

What is the size of the force 100 i − 200 j + 200 k N?Answer

√(100² + 200² + 200²) = 300 N

Hint: Square, add, root

For α = 60° and β = 45°, what is cos²γ, and what does that say about the hook?Answer

1 − 0.25 − 0.5 = 0.25, so cos γ = ±0.5 and γ is 60° or 120°; it cannot be anything.

What is the cable's length, |rAB|?Answer

√(16 + 36 + 144) = √196 = 14 m.

Cartesian vectors in three dimensions

30 minutes every month. No card.