Canadian flagMath101 · Independent Ontario learning libraryCreated and edited by Kamran
Calculus IIIGrades 9–12University3 min read

Vectors in Three Dimensions

Three-dimensional vectors extend component methods into space using x-, y-, and z-directions.

Cheat sheet
Adding a $z$-component lets vectors describe displacement, force, and direction throughout space.

Coordinate space

A point in three-dimensional Cartesian space is $(x,y,z)$. The coordinate axes are mutually perpendicular, and coordinate planes include the $xy$-, $xz$-, and $yz$-planes.

A vector is written

$$ \vec v=\langle a,b,c\rangle=a\mathbf i+b\mathbf j+c\mathbf k. $$

Its components represent change in the $x$, $y$, and $z$ directions.

Magnitude

The magnitude of $\vec v=\langle a,b,c\rangle$ is

$$ \|\vec v\|=\sqrt{a^2+b^2+c^2}. $$

This extends the Pythagorean theorem: first combine two perpendicular components, then combine the result with the third.

Vector between two points

From $A(x_1,y_1,z_1)$ to $B(x_2,y_2,z_2)$,

$$ \overrightarrow{AB}=\langle x_2-x_1,y_2-y_1,z_2-z_1\rangle. $$

The distance between the points is $\|\overrightarrow{AB}\|$. Reversing the endpoints reverses every component but leaves distance unchanged.

Worked example

Vector operations

Add and subtract corresponding components:

$$ \langle a,b,c\rangle+\langle p,q,r\rangle =\langle a+p,b+q,c+r\rangle. $$

Scalar multiplication multiplies every component. These operations retain the same geometric meanings as in two dimensions.

Unit vectors and direction

For nonzero $\vec v$,

$$ \hat v=\frac{\vec v}{\|\vec v\|} $$

is a unit vector in the same direction. Multiplying a unit direction by a desired magnitude creates a vector with that direction and size.

This is useful for force and velocity vectors given by magnitude plus a line of action.

Direction angles

If $\alpha$, $\beta$, and $\gamma$ are the angles a nonzero vector makes with the positive $x$-, $y$-, and $z$-axes, then

$$ \cos\alpha=\frac a{\|\vec v\|},\quad \cos\beta=\frac b{\|\vec v\|},\quad \cos\gamma=\frac c{\|\vec v\|}. $$

The direction cosines satisfy

$$ \cos^2\alpha+\cos^2\beta+\cos^2\gamma=1. $$

Linear combinations and span

An expression $s\vec u+t\vec v$ is a linear combination. In space, two nonparallel vectors based at a common point span a plane, while three suitably independent vectors can span all of three-dimensional space.

This idea underlies parametric equations for lines and planes.

Coplanarity

Vectors are coplanar if they lie in or parallel to one common plane. The scalar triple product

$$ \vec a\cdot(\vec b\times\vec c) $$

equals zero precisely when three vectors are coplanar, assuming the operations are defined.

Applications

Three-dimensional vectors model aircraft motion, structures, forces, navigation, graphics, and geometry. A coordinate system and units must be stated; otherwise a correct component calculation may have unclear physical meaning.

Resultants are found by combining components, then reporting magnitude and direction.

Common mistakes

Dropping the $z$-component in magnitude. All three squared components contribute.

Using $A-B$ for $\overrightarrow{AB}$. Endpoint minus start point gives the direction.

Dividing by the squared magnitude for a unit vector. Divide by $\|\vec v\|$.

Treating direction angles as planar angles that sum to $90^\circ$. Their cosine squares, not the angles, obey the identity.

Mixing points and vectors. A point is a location; a vector is a displacement or direction.

Quick self-check

  • Are all three components included with correct signs?
  • Does endpoint subtraction match the requested direction?
  • Is magnitude a nonnegative square root?
  • Does a unit vector have magnitude $1$?
  • Do direction cosines match components divided by magnitude?
  • Are the geometric interpretation and units clear?
Check your understanding

Try it yourself

Hints are part of learning. Open one whenever it makes the next step feel possible.

1 practice question
Question 1Find a spatial displacement · Gentle

From A = (1, −2, 3) to B = (5, 1, −1), what are vector AB and its magnitude?

End of lesson

Nice work making it this far.

Understanding grows through return visits. Save this lesson, try the practice, or continue when you are ready.

Lesson complete

That one is yours now.

Vectors in Three Dimensions is saved to My Learning. Take the win—you earned it.

1Your Math101 collectionlesson completed
Search 464 published lessons, 123 answer guides, courses, and learning tools.
Your experience

Settings

Ontario math tutoringWork with KamranBook ↗