Three ways in a plane, four in space
Two lines drawn in a flat plane either cross at one point, or are parallel and never meet, or are the same line. There is nothing else they can do.
In space there is a fourth possibility. A bridge and the road passing under it point in different directions, so they are not parallel, yet they never meet. Lines like these are called skew. Two edges of a box show it too: an edge along the top at the front and an edge along the floor at the side, running across it, are not parallel and do not touch.
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
Two lines in a plane: y = x + 1 and a second line whose gradient and intercept are the handles. With different gradients they always cross; with equal gradients they are parallel or the same line. In a plane, lines that never meet must be parallel; in space they need not be.
Set the two positions equal
Take and . If the lines meet, there is one point on both: some value of t on the first line and some value of s on the second give the same position.
Each line has its own parameter. The meeting point can be 2 steps along one line and −2 steps along the other, so using the same letter for both would wrongly force the two numbers to be equal.
Write both positions out and match them coordinate by coordinate: (1 + t, 2 + t, t) = (5 + s, 2 − s, 4 + s). That gives three equations: 1 + t = 5 + s from x, 2 + t = 2 − s from y, and t = 4 + s from z.
Two unknowns, three equations
There are only two unknowns, t and s, so two of the equations are enough to find them. The third is one more than needed, and it is the one that decides.
Rearrange the x and y equations: t − s = 4 and t + s = 0. Add them: 2t = 4, so t = 2. Then s = −t = −2.
The third equation is the test
Put t = 2 and s = −2 into the z equation, t = 4 + s: the left side is 2 and the right side is 4 − 2 = 2. It holds, so the lines really do meet.
Find the point from either line. On the first, t = 2 gives (1, 2, 0) + 2(1, 1, 1) = (3, 4, 2). On the second, s = −2 gives (5, 2, 4) − 2(1, −1, 1) = (3, 4, 2). Getting the same point from both is the check.
The two lines seen from above, on the floor’s x- and y-axes: runs along y = x + 1 and along y = 7 − x, and in this plan they cross at (3, 4). There is at height 2, with t = 2, and is at height 2, with s = −2, so the crossing is a real meeting point, (3, 4, 2).
When the test fails
Move the second line to , with the same direction. The equations are now 1 + t = 2 + s, 2 + t = 1 − s and t = 3 + s.
From the first two, t − s = 1 and t + s = −1, so t = 0 and s = −1. The third equation then needs 0 = 3 + (−1) = 2, which is false.
No pair of values satisfies all three equations, so no point is on both lines. Their directions (1, 1, 1) and (1, −1, 1) are not parallel, so the lines are skew.
The moved pair from above: along y = x + 1 and along y = 3 − x, crossing in the plan at (1, 2). There is at height 0, with t = 0, and is at height 2, with s = −1. One line passes 2 above the other, like a bridge over a road.
Check the directions first
If one direction is a multiple of the other, the lines point the same way: they are parallel, or they are the same line, and they cannot be skew. Directions (1, 1, 1) and (2, 2, 2) are like this.
To tell parallel lines from one line written twice, test whether a point of one lies on the other. The line (3, 4, 2) + s(2, 2, 2) starts at (3, 4, 2), which is on at t = 2, so it is written again. The line (3, 4, 5) + s(2, 2, 2) starts at (3, 4, 5): t = 2 fits its x and y, but has z = 2 there, not 5, so that line is parallel to and separate from it.
The three-equation test is for lines whose directions are not parallel. Then the result is one of two things: the third equation holds and the lines intersect, or it fails and they are skew.
Which two equations?
Any two of the three equations can be solved first, and the remaining one is the test. Pick the pair that is easiest to solve. If the pair you picked does not fix both unknowns, for instance because t and s cancel together, use a different pair.
For the first example, solving the y and z equations instead gives t + s = 0 and t − s = 4, the same t = 2 and s = −2, and the x equation then checks 1 + 2 = 5 − 2.
The usual mistakes
Stopping after two equations. Two equations in two unknowns nearly always have a solution; the third equation is what says whether the lines meet.
Calling lines parallel because they do not meet. In space, lines that never meet can point in different directions; those are skew. Parallel is decided by the directions alone.
Using one parameter for both lines. The meeting point is generally a different number of steps along each.
Giving a starting point as the meeting point. (1, 2, 0) is at t = 0 and (5, 2, 4) is at s = 0; the lines meet at t = 2 and s = −2, at (3, 4, 2).
Pipes in a factory
In the application below, three pipes run along straight lines. Setting the coordinates of two of them equal, two equations fix the parameters and the third decides: one pair of pipes passes without meeting, and the other meets at the point where the joint must go.
Worked example: Two Factory Pipes That Pass Without Meeting, and a Third That Joins One
Question In a factory, pipe A runs along the line r = 102 + λ120, pipe B along r = 040 + μ101, and pipe C along r = 201 + μ021, in meters. (a) Show that pipes A and B are skew. (b) Show that pipes A and C meet, and find the point where they must be joined.
1.No two directions are parallel: 120 has no multiple equal to 101 or to 021, because their zero components are in different places.
Three pipes, drawn over the factory floor. No direction vector is a multiple of another, so no two pipes are parallel. 2.If A and B met, then 1 + λ = μ, 2λ = 4 and 2 = μ. The second equation gives λ = 2 and the third gives μ = 2.
If A and B met: 1 + λ = μ, 2λ = 4 and 2 = μ, so λ = 2 and μ = 2. The board writes s and u for λ and μ. 3.(a) The first equation would then say 1 + 2 = 2, which is false. No values of λ and μ satisfy all three, so A and B never meet, and since they are not parallel they are skew. Check: where they cross as seen from above, at x = 3 and y = 4, pipe A is 2 m up and pipe B is 3 m up, so B passes 1 m above A.
(a) Then 1 + 2 = 2, which is false: A and B are not parallel and never meet, so they are skew. Seen from above they cross at (3, 4), where B is 1 m above A. 4.If A and C met, then 1 + λ = 2, 2λ = 2μ and 2 = 1 + μ. The first gives λ = 1, the third gives μ = 1, and the second agrees: 2 = 2.
If A and C met: 1 + λ = 2, 2λ = 2μ and 2 = 1 + μ give λ = μ = 1, and all three hold. 5.(b) All three equations hold, so A and C meet, at λ = 1 on A: (1 + 1, 2, 2) = (2, 2, 2). Check on C, with μ = 1: (2, 0 + 2, 1 + 1) = (2, 2, 2), the same point, where the joint must go.
(b) A and C meet at (2, 2, 2), where the joint must go.
Answer: (a) the directions are not parallel, and the three equations for a meeting point have no solution, so A and B are skew, with B passing 1 m above A; (b) A and C meet at (2, 2, 2)
Common mistakes
- Deciding that A and B meet because the second and third equations have solutions. Every pair of lines satisfies two of the three equations; it is the third that decides.
- Calling A and B parallel because they never meet. In a plane that would follow, but in space two lines that never meet can point in different directions: those lines are skew.
More planes and the vector product problems, worked step by step →