Formula
Projection of a segment on a line
Analytical Geometry • Three Dimensions • Direction Cosines and Ratios
Statement
The projection of the segment from to on a line with direction cosines is . The -axis has direction cosines , so the projection on it is ; likewise on the -axis and on the -axis.
How to use it
- 1The projection is the shadow of the segment on the line: the dot product of with a unit vector along the line.
- 2For an axis, just subtract that coordinate.
Worked example
Find the projection of the segment from to on the -axis.
Step-by-step
- 1
Why: Only the -coordinates change along the -axis.
Answer
Watch out
The projection on an axis is not the length of the segment, and not its projection on a coordinate plane.
Builds on
Also known as
projection on an axis, projection of a line segment, shadow of a segment on a line