A drone flying in a straight line at constant velocity is at a known point at every moment. A flat roof has a tilt you can describe with a single arrow sticking straight out of it. Those two pictures, a point moving along a direction and a surface fixed by a perpendicular, give every equation for lines and planes in space. Once you have them, questions like where a line hits a wall or how far a point is from a floor become short dot and cross product calculations.
Key terms
Vector and parametric equations of a line
Definition Let be a point with position vector and let be a nonzero vector. The line through parallel to is the set of points with position vector
In components this is the parametric form
The vector is a direction vector. Any nonzero multiple of and any other point of the line describe the same line, so a line has many equations.
In plain words Start at a point and walk in a fixed direction. The parameter says how many copies of you have walked, forward or backward.
Example The line through and has direction , so
At you are at , at you reach , and gives the midpoint .
Symmetric equations and zero components
Definition If , and are all nonzero, solving each parametric equation for gives the symmetric equations
If one component is zero, that fraction is not allowed. For example, if while , the line is
If two components are zero, say , the line is , with arbitrary.
In plain words A zero component means that coordinate never changes along the line. Write it as a fixed value instead of dividing by zero.
Example The line through with direction has parametric form , , . Its symmetric form is
The whole line lies in the plane , and that equation stays true for every .
Planes and their normal vectors
Definition Let have position vector and let be a nonzero vector. The plane through with normal vector is the set of points with position vector such that , that is
This can be written with . Conversely, every equation with not all zero is a plane with normal . Through three points that are not on one line there is exactly one plane, and is a normal to it.
In plain words A plane is everything you can reach from one point by moving at right angles to the normal. The coefficients of , and are that normal, read off directly.
Example Take , and . Then and , and
The plane is , or . As a check, gives and gives .
Angles between lines and planes
Definition The angle between two lines with direction vectors and is the angle in with
The angle between two planes is the angle between their normals, given by the same formula with . The planes are parallel or equal exactly when their normals are parallel. The angle between a line with direction and a plane with normal is , where in is the angle between the line and the normal line. So lies in , it is when the line is parallel to the plane and when the line is perpendicular to it, and
In plain words Every angle here comes from a dot product. The absolute value picks the acute angle, since flipping a direction vector or normal should not change the answer. For a line and a plane you get the sine, because the normal is at a right angle to the plane.
Example The planes and have normals with dot product and lengths and , so
For a line and a plane, take the direction and the plane . The dot product is and both lengths are , so and the line meets the plane at , or .
Intersections
Definition To intersect the line with the plane , substitute to get . If there is exactly one intersection point, at
If the line is parallel to the plane. It lies in the plane when and misses it otherwise. Two planes with nonparallel normals meet in a line with direction . Two planes with parallel normals are either the same plane or do not meet.
In plain words Plug the line into the plane and solve for . For two planes, the line they share runs at right angles to both normals, which is what the cross product gives.
Example The line , , meets where , so and the point is . Check that . For the two planes of the previous example,
Setting gives and , so lies on both. The line of intersection is , and substituting shows it satisfies both equations for every .
Skew lines
Definition Two lines in space are skew if they are not parallel and do not intersect. For the lines and this happens exactly when
Their distance, the length of the shortest segment joining them, is
When the cross product is nonzero but the triple product is zero, the lines lie in one plane and intersect. Skew lines do not exist in the plane, where nonparallel lines always meet.
In plain words Think of a road on a bridge and a road passing underneath at an angle. They point different ways and never touch.
Example Take , and , . Matching and forces and , but then the values are and , so the lines do not meet. The cross product is nonzero, so they are skew, and
Distance from a point to a plane
Definition The distance from the point to the plane , where are not all zero, is
It is the length of the projection of onto the normal, for any point of the plane. The distance between parallel planes and is .
In plain words Plug the point into the plane’s equation and see how far it misses. Dividing by the length of the normal turns that miss into an actual distance.
Example From to the plane ,
Check yourself
- Find the line through perpendicular to the plane , the point where it meets the plane, and the distance from to the plane.
Show the answer
The normal is a direction, so the line is , , . Substituting gives , so and the point is . The distance formula gives
which matches the length of the step along the normal.
- Write symmetric equations for the line through and .
Show the answer
The direction is . The first component is zero, so stays fixed and the equations are and .
- Do the lines and intersect? If not, find their distance.
Show the answer
Matching gives , then gives , but gives . They do not meet, and the directions are not parallel, so the lines are skew. With and , the distance is .