Trigonometry

Direction Cosines

A pupil compares an arrow with three coordinate axes.

Direction Cosines definition

Direction cosines are the cosines of the angles a nonzero three-dimensional vector makes with the positive coordinate axes.

In Spanish
cosenos directores
Topic
Vectors

Direction Cosines in a picture

Direction Cosines diagramNormalize the vector to get the three direction cosines.v = ⟨2, −2, 1⟩Find the magnitude‖v‖ = √(4 + 4 + 1) = 3Divide every component by 32/3, −2/3, 1/3The three direction cosines
Normalize the vector to get the three direction cosines.

How it works

For v = ⟨a, b, c⟩, its direction cosines are a/‖v‖, b/‖v‖, and c/‖v‖. They are the components of the unit vector in the direction of v. Their squares sum to one. A negative component gives a negative direction cosine, corresponding to an obtuse angle with that positive axis.

Worked examples

Find the direction cosines of ⟨1, 0, 0⟩.

1, 0, 0.

Can one direction cosine be negative?

Yes, when the vector makes an obtuse angle with the corresponding positive axis.

What is the sum of their squares?

1.

Common mistake

Direction cosines are numbers from −1 to 1. Apply inverse cosine to find the corresponding angles.

Quick check

What do you divide each component by?

Show answer

The vector’s magnitude.

Can the zero vector have direction cosines?

Show answer

No.

What direction cosine corresponds to a 90° angle?

Show answer

0.

Sources

Flashcard

Direction Cosines

Reveal the definition

Direction cosines are the cosines of the angles a nonzero three-dimensional vector makes with the positive coordinate axes.

Effortless Math. “Direction Cosines.” Math Dictionary.