Three Dimensional Geometry · Lesson 1 of 5
Directions and Coordinates in Space
“Use coordinate changes and vectors to describe the direction of a line in three dimensions.”
• Explain direction angles, direction cosines, and direction ratios of a directed line. • Normalize a nonzero direction vector and handle reversal of direction consistently. • Derive direction cosines from the coordinates of two distinct points. • Use proportional direction ratios to recognise collinear points.
From points to directions
A point tells us where something is, but a line also needs a direction. In a room, the same direction can be followed from the floor, a wall, or the ceiling. Vector algebra gives us a compact way to describe that direction independently of where the line is placed.
We use three mutually perpendicular coordinate axes, with unit vectors , , and pointing along their positive directions. A displacement changes the three coordinates by . Its components can therefore describe the direction of travel along a line. The chapter builds from this idea to line equations, angles, and distances.
Mathematical imagination works alongside reasoning. Picture a direction or a perpendicular connector before calculating it, then justify the relationship using coordinates and vectors. The diagrams support the calculations; they do not replace them.
Three angles for one directed line
First place the line through the origin and choose which way along it is positive. Imagine an arrow pointing from the origin in that direction. We compare this arrow with the positive direction of each coordinate axis, so even an angle greater than a right angle can carry useful information.
If the chosen direction makes angles with the positive -, -, and -axes, these are its direction angles. Their cosines , , and are its direction cosines. Each angle lies between and .
A positive direction cosine means that the arrow has a positive component along that axis. A negative one means that it points partly against the positive axis. A zero means there is no change in that coordinate: the direction is perpendicular to that axis. Thus direction cosines tell us more than three angle sizes; they also encode the signs of the motion.
Let a point on the chosen ray have coordinates and be a distance from the origin. Projection onto the axes gives , , and . Since , dividing by produces a restriction on the three direction cosines.
Problem
A line is directed at to the positive coordinate axes. Find its direction cosines.
- 1.Take the cosine of each stated angle: , , and .
- 2.Check the identity: .
- 3.The triple is . The zero first component means that travel along this line leaves the -coordinate unchanged.
Problem
Find the direction cosines of the positive coordinate axes.
- 1.The positive -axis makes angles with the three positive axes. Its direction cosines are .
- 2.The same reasoning gives for the positive -axis and for the positive -axis.
- 3.For a negative coordinate-axis direction, reverse the corresponding nonzero component. For example, the negative -axis has direction cosines .
If the original line does not pass through the origin, draw a parallel line through the origin and orient it the same way. Parallel arrows have the same direction angles. Moving a line without rotating it therefore preserves its direction cosines.
Reversing the arrow replaces each direction angle by its supplement. Since , the triple becomes . These describe opposite directions on the same undirected line. Changing just one nonzero sign usually gives a different line direction.
Direction ratios and unit length
Angles are not always the easiest starting point. Often we already know a vector parallel to the line. Any nonzero scalar multiple of that vector points along the same undirected line, so its components need not have unit length.
Any nonzero triple proportional to the direction-cosine triple is a set of direction ratios of the line. Direction ratios are also called direction numbers. The associated vector is parallel to the line.
Suppose . Substitute into the unit-length identity to get . Because is not the zero triple, its length is positive. Hence . The sign selects one of the two orientations.
For example, , , and are direction ratios for the same undirected direction. There are infinitely many such triples. They are proportional, but only the normalized triples are direction cosines. Proportionality is best written as one vector being a nonzero scalar multiple of another; this avoids dividing by a component that might be zero.
Problem
A line has direction ratios . Find its direction cosines in that orientation.
- 1.The length of the direction vector is .
- 2.Divide each component by . The required direction cosines are .
- 3.Their squares sum to . Reversing the orientation gives , with every sign reversed.
The vector has no direction and cannot be normalized. Individual direction ratios may be zero, but all three cannot be zero. Also, do not normalize by : a vector length uses the square root of the sum of squares.
Find a direction from two points
Two distinct points provide a natural arrow: travel from the first point to the second. Each coordinate difference records the displacement along one axis. Once we know the length of this displacement, we can normalize it exactly as before.
Let and . The vector has components . Projecting onto an axis gives, for example, the signed vertical component . In a right triangle, the corresponding cosine is that signed component divided by . The same argument works for the other two axes.
Problem
Find direction cosines from towards .
- 1.Subtract the coordinates of from those of : .
- 2.Its length is .
- 3.The direction cosines are . The line moves positively in and and negatively in in this orientation.
Proportional displacements and collinearity
When three points lie on a straight line, travelling between any two of them follows the same undirected direction. This suggests comparing displacement vectors. The shared point is essential: two separate parallel lines need not be the same line.
Problem
Show that , , and lie on one line.
- 1.Compute and .
- 2.Every component of is times the corresponding component of . Thus .
- 3.The two displacements are parallel and both lines contain . They therefore belong to the same line, proving collinearity. The negative factor says that the two chosen arrows point in opposite directions.
Problem
Can a line make an angle of with each positive coordinate axis?
- 1.Those angles would give direction cosines .
- 2.Their squared sum is , not . Therefore no such line exists.
- 3.For equal direction angles, write . Then , so . The two signs describe opposite orientations with equal angles to all three positive axes.
Check your understanding
Distinguish a direction from a location, and a proportional triple from a unit triple. In the questions below, every stated direction is a directed one unless an undirected line is mentioned.
Quiz
Which triple can be a set of direction cosines?
Direction ratios are . Which normalized triple has the same orientation?
What happens to direction cosines when a directed line is reversed?
For and , which is a direction vector from to ?
A line has . What follows?
For distinct , which observation proves collinearity?
Practice Problems
- Find direction cosines for direction angles .
- Find the possible direction cosines when a directed line makes equal angles with the three positive axes.
- Normalize the direction ratios , keeping their orientation.
- Prove that , , and are collinear.
- For , , and , find direction cosines along , , and .
- Find direction cosines from towards .
- Explain why and describe the same undirected direction.
- Can a line have direction cosines ? Can it have ? Justify both answers.
Take the cosines: . The squared sum is one.
Key Takeaways
• Direction cosines are the components of a unit direction vector, so . • Direction ratios are any nonzero proportional triple; normalization produces direction cosines. • Reversing orientation changes all three signs together. • Two distinct points give a direction by coordinate subtraction and a length by the distance formula. • Proportional displacements through a common point establish collinearity.
Previous
Start of chapter
Next · Lesson 2
Representing a Line in Space