Angles and distances in space
The scalar (dot) product measures angles between lines and planes, and the normal vector, or the vector product, measures distances. Each calculation starts from a direction vector or a normal vector and ends in a short formula. In the IB exam these appear on their own in Paper 1 and combined in the longer Paper 2 problems.
Angle between two lines
Two lines that intersect form four angles, equal in pairs: one acute (or right) and one obtuse. The angle between the lines is always the acute one, that is, a value between and . If the lines are parallel, the angle is .
Two lines that pass each other without meeting (called skew lines) do not form an angle in the strict sense, but they are assigned the angle of their directions: the angle formed by two intersecting lines that have the same direction vectors.
A direction vector sets the direction of travel, and its opposite describes the same line. That is why, when applying the dot product, the absolute value is taken, which discards the obtuse angle.
This follows directly from the formula for the angle between vectors in the scalar (dot) product section, with the absolute value added. If you leave out the absolute value and the dot product is negative, you get the obtuse angle: .
Angle between two planes and between a line and a plane
A plane is oriented by its normal vector , the one perpendicular to it (in it is ; if you do not remember this, review the lines and planes section). Two intersecting planes form an angle equal to that of their normal vectors, because rotating a plane rotates its normal vector by the same angle.
For a line and a plane the situation changes. The angle between the line and the plane is the one formed by the line and its projection onto the plane (the line's "shadow"). If is the angle between the line and the plane, the angle between the line and the normal is , and since , the sine appears.
Special cases: if , the line is parallel to the plane (or lies in it) and ; if is proportional to , the line is perpendicular to the plane and .
Distance from a point to a line
The distance from a point to a line is the shortest distance from to a point on . It is reached at the point on the line such that is perpendicular to it. There are two methods, and it is worth mastering both.
This method also gives the foot , which is often asked for separately (for example, to find the reflection of in the line).
The reason: is the area of the parallelogram with sides and . Its base has length and its height is exactly the distance sought, so dividing the area by the base gives the height.
For two parallel lines, the distance between them is the distance from any point of one to the other. For a line parallel to a plane, it is the distance from any point of the line to the plane.
Distance from a point to a plane
The distance from to a plane is the length of the segment perpendicular to that starts at . If is its foot on the plane, .
To obtain a formula, take any point on the plane. The distance is the length of the projection of onto the direction of the normal (in the diagram, the dashed segment and the perpendicular ). That length is , and in the numerator, with on the plane, it becomes .
Notice that the plane is written with the constant term on the right-hand side, so the numerator subtracts . If the equation comes as , the numerator is .
The same idea gives the distance between two parallel planes (take a point on one and substitute it into the equation of the other).
Distance between two skew lines
If two lines and are neither parallel nor intersecting, the distance between them is measured along the common perpendicular: the only segment that joins the two lines and is perpendicular to both. Its direction is that of a vector perpendicular to and , that is, .
It is the projection of the vector (which joins the two lines) onto the direction of the common perpendicular. If , the lines are parallel and the formula does not work: use the distance from a point to a line. If the numerator is , the lines intersect.
It is the same calculation as the formula, but step by step, and it serves as a check.
Worked examples
Angles between lines and planes
Consider the lines and , and the planes and .
a) Find the angle between and .
b) Find the angle between and .
c) Find the angle between and .
Give each angle in degrees, to one decimal place.
Solution
a) The direction vectors are and , with and . The dot product is :
b) With , , and . Since this is a line and a plane, the sine is used:
c) With , , and :
Distances from a point: to a line and to a plane
Consider the point , the line and the plane .
a) Find the foot of the perpendicular from to the line .
b) Calculate the distance from to .
c) Calculate the distance from to the plane .
d) Find the point on closest to .
Solution
a) A general point on is . Then
and we impose with :
Therefore .
b) , so .
Check with the vector product: with , and , of magnitude . Dividing by gives .
c) With , :
d) The line through perpendicular to is . Substituting into the plane: , that is, and . The closest point is
Check: , and , which matches the distance in part c).
Two skew lines: common perpendicular and distance
Consider the lines and .
a) Show that the lines are skew, and find a vector perpendicular to both, with integer components with no common factor and a positive first component.
b) Find the angle between the two lines, in degrees.
c) Calculate the distance between and .
d) Find the Cartesian equation of the plane that contains and is parallel to , in the form with , and check the result of part c) using the distance from a point of to that plane.
Solution
a) The direction vectors and are not proportional, so the lines are not parallel. To see whether they intersect, different parameters are used:
The third equation gives , the first then gives , and the second becomes , which is false. The system has no solution: the lines do not intersect and, since they are not parallel, they are skew.
A vector perpendicular to both is
Changing the sign, the required condition is met: . Check: and .
b) , and :
c) With and , we have . Then
d) The plane passes through with normal vector : , that is,
The plane contains (it passes through and its normal is perpendicular to ) and is parallel to (its normal is perpendicular to ). The distance from to the plane is
the same as in part c).
In the exam: in a part that says "show that the lines are skew", you must prove both things, that they are not parallel and that the system has no solution; one alone is not enough. For the distance, write down which vector you use as the common perpendicular and which vector joins the points: the absolute value in the dot product is what stops a distance from coming out negative.
Common mistakes
Summary
- Angle between lines: ; between planes: the same with normal vectors. Always between and .
- Angle line–plane: (sine, not cosine).
- Point to line: foot of the perpendicular ( with ), or .
- Point to plane : . The foot is found with the line through with direction .
- Skew lines: , or the distance from to the plane that contains and is parallel to .
- Parallel lines or planes: distance from a point of one to the other; line parallel to a plane: distance from a point on the line to the plane.
Want to work on it together?
Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.
Message us on WhatsApp