How steep is a roof? At what angle does a laser beam hit a mirror? Each of these questions asks for an angle between lines and planes in 3-D. You already know how to find the angle between two vectors with the scalar (dot) product. This page shows which two vectors to use in each case, and why the answer is always given as an acute angle.
This page writes vectors as columns, as IB does. The Ontario vector pages on this site write the same vectors in square brackets, so 2−12 there is [2,−1,2].
Two lines r=a1+λb1 and r=a2+μb2 meet at the same angle as their direction vectors b1 and b2. But crossing lines make two angles, θ and 180∘−θ, and the angle between the lines is the acute one. Taking the absolute value of the scalar product gives it straight away:
cosθ=∣b1∣∣b2∣∣b1⋅b2∣
If you forget the absolute value and get an obtuse angle, subtract it from 180∘. The formula uses only directions, so it works for lines in 2-D or 3-D, and even for skew lines that never meet.
The position vectors a1 and a2 play no part. Don’t use them!
The angle between a line and a plane is the angle θ between the line and its projection onto the plane (its “shadow” when light shines straight down onto the plane). It runs from 0∘ (line parallel to the plane) to 90∘ (line perpendicular to the plane).
A plane has no single direction vector, but it does have a normal n. Let φ be the acute angle between the line’s direction b and n. In the figure, the normal is perpendicular to the projection, so
θ=90∘−φThe angle θ between the line and the plane and the angle φ between the line and the normal add to 90∘.
Since cosφ=sin(90∘−φ)=sinθ, you can go straight to θ with sine:
sinθ=∣b∣∣n∣∣b⋅n∣
Two special cases are worth spotting before you calculate:
b⋅n=0: the line is parallel to the plane (or lies in it), so θ=0∘.
b is a multiple of n: the line is perpendicular to the plane, so θ=90∘.
Two planes that meet do so along a line. Look along that line, so each plane appears as a line seen edge-on: each normal is perpendicular to its own plane, so the angle between the normals equals the angle between the planes. Again, use the acute one:
cosθ=∣n1∣∣n2∣∣n1⋅n2∣
For a plane ax+by+cz=d, read the normal off the coefficients: n=abc. For a plane in vector form r=a+λb+μc, find the normal with the vector product: n=b×c.
Using cosine for the angle between a line and a plane.∣b∣∣n∣∣b⋅n∣ is the cosine of the angle with the normal. Either take sin−1 of it, or take cos−1 and subtract from 90∘. In Example 2, cos−1(21)=60∘ is the angle with the normal, not the answer.
Giving the obtuse angle. The angle between two lines, or two planes, is the acute one. Use the absolute value of the scalar product, or subtract an obtuse answer from 180∘.
Using position vectors instead of direction vectors. The point a line passes through has nothing to do with its direction. Only b1 and b2 go into the formula, never a1 or a2.
Reading the wrong numbers from a Cartesian equation. For the line 2x−1=−1y+3=2z, the direction is the denominators 2−12, while (1,−3,0) is a point. For the plane x+2y−2z=4, the normal is the coefficients 12−2, and a missing variable means a component of 0.
Using a direction vector of a plane as if it were the normal. For a plane in the form r=a+λb+μc, the vectors b and c lie in the plane. Find n=b×c first.
Calculator in radians. If cos−1(94) comes out as 1.11, your calculator is in radian mode. That’s correct in radians, but give degrees unless the question asks otherwise.
2. (Warm-up) Without finding any inverse cosines, decide whether each line is parallel or perpendicular to the plane x−2y+3z=1, and state the angle between them.
(a) A line with direction 2−46.
(b) A line with direction 121.
Solution
The normal is n=1−23.
(a) 2−46=2n, so the line is parallel to the normal, which means it is perpendicular to the plane: the angle is 90∘.
(b) 121⋅n=1−4+3=0, so the line is perpendicular to the normal, which means it is parallel to the plane (or lies in it): the angle is 0∘.
3. (Core) Line L1 passes through A(1,2,3) and B(3,3,5). Line L2 passes through C(0,1,−1) and D(4,−1,3). Find the acute angle between the lines.
Solution
Direction vectors: AB=212 and CD=4−24, which is 22−12. A multiple doesn’t change the direction, so use 2−12:
cosθ=3×3∣4−1+4∣=97⇒θ≈38.9∘ (3 s.f.)
4. (Core) A ski lift cable follows the line r=201+t304, where z is the height. Find the angle the cable makes with the horizontal plane z=0.
Solution
The plane z=0 has normal n=001, and b=304 has magnitude 5.
sinθ=5×1∣4∣=0.8⇒θ≈53.1∘ (3 s.f.)
Check: the cable rises 4 for every 3 across, and tan−1(34)≈53.1∘. ✓
5. (Core) Find the acute angle between the planes 2x+y−z=3 and x−y+2z=0.
Solution
n1=21−1 and n2=1−12, each with magnitude 6.
6. (Core) A flat roof panel contains the points (0,0,3), (8,0,3) and (0,4,6), in metres, where z is the height above the floor z=0. Find the angle between the roof panel and the floor.
Solution
Two vectors in the roof: 800 and 043. A normal is
Use n1=0−34 (magnitude 5) and the floor’s normal n2=001:
cosθ=5×1∣4∣=0.8⇒θ≈36.9∘ (3 s.f.)
Check: the roof rises 3 m over a horizontal run of 4 m, and tan−1(43)≈36.9∘. ✓
7. (Core) A line has direction 1k2, and Π is the plane 3x−y+z=4.
(a) Find the value of k for which the line is parallel to Π.
(b) Show that there is no value of k for which the line is perpendicular to Π.
Solution
The normal is n=3−11.
(a) Parallel to the plane means perpendicular to the normal: 3−k+2=0, so k=5.
(b) Perpendicular to the plane means 1k2=c3−11 for some c. The first component gives c=31, but the third gives c=2. These contradict each other, so no value of k works.
8. (Challenge) The line through the origin with direction 11p makes an angle of 45∘ with the plane z=0. Find the possible values of p.
Solution
With n=001:
sin45∘=2+p2∣p∣
Square both sides, using sin245∘=21:
212+p2p2=2+p2p2=2p2=2
So p=2 or p=−2. (One line points upward and one downward; both make 45∘ with the plane.)
Check: 42=22=sin45∘. ✓
9. (Challenge) The planes x+y+z=1 and x−y=0 meet in a line L. Find the angle between L and the plane 2x+y+z=7.
Solution
L lies in both planes, so it is perpendicular to both normals. Its direction is their vector product: