3D geometry studies points, lines, and planes in space. For most student problems, the key ideas are simple: a line is given by a point and a direction, a plane is given by an equation or a normal vector, and direction cosines describe the line's orientation relative to the coordinate axes.
If a directed line makes angles , , and with the positive -, -, and -axes, its direction cosines are
and they satisfy
The quick picture is this: line means point plus direction, plane means a flat constraint, and direction cosines are the normalized form of that direction.
Equation of a line and a plane in 3D geometry
If a line passes through and has direction ratios , one convenient form is
where is a parameter.
If none of , , and is zero, you can also write the same line in symmetric form:
That form needs special care if one of the direction ratios is .
A plane is often written as
Here is a normal vector to the plane. It tells you which way the plane faces, not a direction that lies inside the plane.
Direction ratios vs. direction cosines
Direction ratios only describe a direction up to scale. For example, and point the same way.
To convert direction ratios into direction cosines, divide by the length of that direction vector:
This only makes sense when .
Worked example: find direction cosines and a line-plane intersection
Suppose a line passes through
and has direction ratios
Also suppose the plane is
First write the line in parametric form:
Now find the direction cosines. The length of the direction-ratio vector is
So the direction cosines are
You can check:
Now find where the line meets the plane. Substitute the line into :
So the intersection point is
This example connects the main ideas in one place. The point anchors the line, the direction ratios tell you how the line moves, the direction cosines give the same direction in unit form, and the plane equation lets you find the intersection point.
Common mistakes
Treating direction ratios as if they were normalized
The triples and point in the same direction, but only the second one is normalized. The identity applies to direction cosines, not to arbitrary direction ratios.
Using the symmetric form when a denominator is
If one direction ratio is , the symmetric form needs special handling. In that case, the parametric form is usually safer.
Confusing a plane's normal with a line's direction
In , the vector is perpendicular to the plane. It is not generally a direction vector lying in the plane.
Forgetting when a formula is allowed
The formulas for direction cosines from only work when the direction vector is nonzero. A zero vector does not define a line direction.
Where 3D geometry is used
You use this framework whenever position and orientation matter in space. In school math, it appears in coordinate geometry and vector problems. In applications, the same ideas appear in graphics, robotics, navigation, and mechanics when you need to describe motion, intersections, or orientation in three dimensions.
Try a similar problem
Keep the same line, but change the plane to
Find the new value of and the new intersection point. If you want to check your result after solving it yourself, try a similar 3D geometry problem in GPAI Solver.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →