The Intersection of a Line and a Plane

Substitute the line, then solve for one t.

One point on both

A line in space is r = a + t d. Each value of the parameter t gives one point of the line. A plane is an equation, such as 2x + y + z = 12, that its points satisfy and other points do not.

Where the line meets the plane, there is a point that is on both: a point of the line whose coordinates satisfy the plane’s equation. So the question is which value of t gives such a point.

Take the line r = (1, 0, 2) + t(1, 1, 1) and the plane 2x + y + z = 12.

Substitute the line into the plane

Write the line one coordinate at a time: x = 1 + t, y = t and z = 2 + t.

Put these into the plane’s equation in place of x, y and z: 2(1 + t) + t + (2 + t) = 12. Multiply out the bracket and collect terms: 2 + 2t + t + 2 + t = 12, which is 4t + 4 = 12.

Three unknowns x, y and z have become one, t, so a single equation is enough to find it.

t4t + 412t = 2

The value of 2x + y + z at the point of the line with parameter t is 4t + 4: it starts at 4 when t = 0 and rises by 4 for each step along the line. It reaches the plane’s 12 once, at t = 2.

Solve, then put t back

Take 4 off both sides: 4t = 8. Divide by 4: t = 2.

t = 2 is not the answer yet; it only says how far along the line the meeting point is. Put it back into the line: r = (1, 0, 2) + 2(1, 1, 1) = (1, 0, 2) + (2, 2, 2) = (3, 2, 4).

Check by substituting the point into the plane: 2 × 3 + 2 + 4 = 6 + 2 + 4 = 12. The point (3, 2, 4) is on the line and on the plane.

A meeting behind the start

Take the line r = (2, 1, 0) + t(1, 2, 3) and the plane 2x + y + z = −2. Then x = 2 + t, y = 1 + 2t and z = 3t, and substituting gives 2(2 + t) + (1 + 2t) + 3t = −2, which is 5 + 7t = −2.

So 7t = −7 and t = −1. A negative t is fine: the meeting point is one step behind the starting point, at (2, 1, 0) − (1, 2, 3) = (1, −1, −3). Check: 2 × 1 + (−1) + (−3) = 2 − 1 − 3 = −2.

When the t terms cancel

Substituting r = a + t d into a plane r · n = k always gives a · n + t(d · n) = k. The number in front of t is d · n, the dot product of the line’s direction with the plane’s normal. In the first example, (1, 1, 1) · (2, 1, 1) = 4, which is the 4 in 4t + 4.

If d · n is not 0, there is exactly one t, and the line crosses the plane at one point. If d · n = 0, the direction is perpendicular to the normal, so the line runs parallel to the plane and the t terms cancel. What is left is a statement with no t in it, and it is either false for every t or true for every t.

The line r = (1, 0, 2) + t(1, −1, −1) has d · n = 2 − 1 − 1 = 0 with the plane 2x + y + z = 12. Substituting gives 2(1 + t) + (−t) + (2 − t) = 12, which is 4 + 0t = 12, or 0t = 8. No t makes 0 equal 8, so the line never meets the plane: it runs parallel to it and clear of it.

The line r = (3, 2, 4) + t(1, −1, −1) has the same direction and starts at a point of the plane. Substituting gives 2(3 + t) + (2 − t) + (4 − t) = 12, which is 12 + 0t = 12, or 0t = 0. Every t works, so every point of the line is on the plane: the line lies in it.

t412

Along the line r = (1, 0, 2) + t(1, −1, −1), the value of 2x + y + z stays at 4 for every t, because the t terms cancel. It never reaches the plane’s 12, so the line never meets the plane. Started at (3, 2, 4) instead, the value would sit at 12 all the way along.

y = x + 1(2, 3)y = 2x − 1x = 2, y = 3−4−4−2−22244

m₁ ≠ m₂: the two lines share exactly one point, and its coordinates are the one pair (x, y) that satisfies both equations

Make the gradients equal with different intercepts

The same three outcomes, one dimension down: two lines in a plane, y = x + 1 and a second line whose gradient m₂ and intercept c₂ are the handles. Different gradients give one crossing point. Make the gradients equal with a different intercept and the lines never meet; make the intercepts equal too and they share every point.

The usual mistakes

Dividing before subtracting. From 4t + 4 = 12, dividing 12 by 4 gives 3, which is wrong; take the 4 off first, then divide 8 by 4.

Stopping at 4t = 8. That is four times t; t itself is 2.

Giving t as the meeting point, or walking one stride instead of t strides. The point is a + t d with the t you found: two strides of (1, 1, 1) from (1, 0, 2).

Reading 0t = 8 as one meeting point. There is no t to solve for once the t terms have canceled; a false statement means no meeting at all, and a true one, such as 0t = 0, means the line lies in the plane.

A drone landing on a hillside

In the application below, the parameter is time: λ seconds after it starts, a drone is at a point of a straight line, and the hillside is a plane. Substituting the drone’s coordinates into the hillside’s equation gives the moment it lands, and putting that moment back gives where.

Worked example: A Drone Flying in a Straight Line down onto a Sloping Hillside

Question A hillside is modeled by the plane 2x − y + 2z = 10, in meters. A drone starts at P(2, 0, 7) and flies in a straight line with velocity 12−2 m/s, so that λ seconds after the start it is at r = 207 + λ12−2. (a) Find the point where the drone reaches the hillside. (b) How long is the flight, and how far does the drone fly?

  1. 1.Read the coordinates off the line: after λ seconds the drone is at x = 2 + λ, y = 2λ and z = 7 − 2λ.

    xyzhillside1 secondPr =207+ s12−2s seconds after the start
    xyzhillside1 secondPr =207+ s12−2s seconds after the start
    After λ seconds the drone is at x = 2 + λ, y = 2λ, z = 7 − 2λ. The arrow is one second of flight; the board writes s for λ.
  2. 2.The drone reaches the hillside when these coordinates satisfy the plane's equation: 2(2 + λ) − 2λ + 2(7 − 2λ) = 10.

    xyzhillside1 secondP2(2 + s) − 2s + 2(7 − 2s) = 10
    xyzhillside1 secondP2(2 + s) − 2s + 2(7 − 2s) = 10
    Where the path reaches the hillside, the coordinates satisfy 2x − y + 2z = 10: 2(2 + λ) − 2λ + 2(7 − 2λ) = 10.
  3. 3.Expand the brackets: 4 + 2λ − 2λ + 14 − 4λ = 10, so 18 − 4λ = 10, 4λ = 8 and λ = 2.

    xyzhillside1 secondP4 + 2s − 2s + 14 − 4s = 1018 − 4s = 10, so s = 2
    xyzhillside1 secondP4 + 2s − 2s + 14 − 4s = 1018 − 4s = 10, so s = 2
    18 − 4λ = 10, so λ = 2.
  4. 4.(a) At λ = 2 the drone is at (2 + 2, 2 × 2, 7 − 4) = (4, 4, 3). Check: 2 × 4 − 4 + 2 × 3 = 8 − 4 + 6 = 10, so the point is on the hillside.

    xyzhillside1 second(4, 4, 3)Pr =207+ 212−2=443check: 8 − 4 + 6 = 10
    xyzhillside1 second(4, 4, 3)Pr =207+ 212−2=443check: 8 − 4 + 6 = 10
    (a) At λ = 2 the drone reaches the hillside at (4, 4, 3), and 8 − 4 + 6 = 10 confirms the point is on it.
  5. 5.(b) The flight lasts 2 s. The drone's speed is the magnitude of its velocity, √12 + 22 + (−2)2 = √9 = 3 m/s, so it flies 3 × 2 = 6 m. Check: from P to (4, 4, 3) is 24−4, of length √4 + 16 + 16 = √36 = 6 m.

    xyzhillside6 m in 2 s(4, 4, 3)Pspeed =√9= 3 m/s2 s of flight: 3 × 2 = 6 m
    xyzhillside6 m in 2 s(4, 4, 3)Pspeed =√9= 3 m/s2 s of flight: 3 × 2 = 6 m
    (b) The flight lasts 2 s at √1 + 4 + 4 = 3 m/s, so the drone flies 6 m.

Answer: (a) (4, 4, 3); (b) the flight lasts 2 s and the drone flies 6 m

Common mistakes

  • Giving λ = 2 as the answer to (a). The value of λ only says WHEN the drone arrives; the landing point comes from putting λ = 2 back into the equation of the line.
  • Taking the distance flown to be 2 m because λ = 2. The direction vector has length 3, not 1, so each second of the flight covers 3 m.

More planes and the vector product problems, worked step by step →

Practice The Intersection of a Line and a Plane in the app