Points, Lines and Angles

Skew Lines and the Other Ways Two Lines Can Sit in Space

Sort any two lines in space into coincident, intersecting, parallel or skew, then measure the angle and shortest distance between skew ones.

Key takeaways

  • Two lines are coincident, intersecting, parallel or skew, and exactly one of these applies to any pair.
  • Skew lines are the only pair that does not fit in any common plane.
  • Every pair of skew lines has one common perpendicular segment, and its length is the shortest distance between the lines.
  • The angle between skew lines is found by sliding one of them, without turning it, until it meets the other.

Two lines in three-dimensional space can sit in exactly four ways: they can be the same line, cross at one point, run parallel, or be skew. Skew lines never meet and are not parallel, because no single plane holds them both. A road passing over a railway at an angle is the everyday picture.

On a flat sheet of paper the fourth case cannot happen. Two distinct lines in a plane either cross or are parallel. Skewness is something new that appears only when you have a third direction to move in.

Sorting the four cases

Ask two questions in order. First, do the lines share a plane? Second, if they do, how many points do they share?

Relationship Same plane? Shared points Directions
Coincident yes all of them the same
Parallel and distinct yes none the same
Intersecting yes exactly one different
Skew no none different

Two shared points would force the lines to be identical, since only one line passes through two points. And "no shared point" is not enough to call lines parallel in space. Parallel lines must also lie in one plane.

Four ways two lines can sit
Coincident One line under two names. Every point is shared. Parallel Same plane, same direction, never meet. Intersecting Same plane, different directions, one shared point. Skew No common plane, different directions, no shared point. Coincident One line under two names. Every point is shared. Parallel Same plane, same direction, never meet. Intersecting Same plane, different directions, one shared point. Skew No common plane, different directions, no shared point.

Finding all of them on a cube

A box or cube is the best training ground. Pick one edge of a cube and compare it with the other 11.

  • 3 edges are parallel to it.
  • 4 edges meet it, two at each end.
  • 4 edges are skew to it.

Since 3 + 4 + 4 = 11, every other edge is accounted for. Across the whole cube there are 66 pairs of edges. Of these, 18 are parallel pairs, 24 meet at a corner and 24 are skew. Each of the last three numbers comes from multiplying the per-edge count by 12 and halving, since each pair was seen from both sides.

Try it with a shoebox. Take the front bottom edge. The back right vertical edge does not touch it and points in a different direction, so the two are skew. The back top edge also does not touch it, but it points the same way, so those two are parallel. Notice that they lie in a common plane that slices diagonally through the box.

Parallel in space means more than never meeting

The definition of parallel lines has two requirements, and both matter. The lines must lie in one plane, and they must not meet. Drop the first requirement and every pair of skew lines would count as parallel, which would wreck most of the theorems you know.

One of those theorems does survive in space: two lines each parallel to a third line are parallel to each other. On the cube, all four edges running left to right are mutually parallel, even the two at diagonally opposite corners of the end face. No face of the cube contains that pair, but a diagonal slice through the box does.

Two parallel lines always determine exactly one plane. So do two intersecting lines. This gives you four standard ways to name a plane: three noncollinear points, a line and a point off it, two crossing lines, or two distinct parallel lines. Skew lines never appear on that list.

A line and a plane in space have their own three cases. The line may lie in the plane, cross it at one point, or be parallel to it and never touch. A line parallel to a plane is not parallel to every line in that plane. It is parallel to some of them and skew to the rest, just as a rail along a ceiling is skew to a floorboard running across the room.

How to prove two lines are skew

To prove lines are skew, you must rule out any common plane. A neat argument uses a plane that holds one of them.

Suppose line m lies in plane P, and line n passes through P at a single point Q that is not on m. Then m and n are skew. Here is why.

Suppose some plane R holds both m and n.         (assume the opposite)
R contains line m and the point Q, which is on n.
A line and a point off it lie in only one plane.
That plane is P, so R = P.
Then n lies in P, yet n meets P at only one point.   (contradiction)

With coordinates, take two points on each line and test whether the four points are coplanar. A nonzero scalar triple product means the lines are skew. That calculation is set out in testing points for coplanarity. If the four points are coplanar, compare directions to decide between parallel, intersecting and coincident.

The shortest distance between skew lines

For any pair of skew lines there is exactly one segment that has an end on each line and is perpendicular to both. This common perpendicular is the shortest segment joining the lines. Any other joining segment is longer, because it includes some sideways movement along the planes that contain the lines.

Picture two parallel planes, one holding each line. Such a pair of planes always exists for skew lines. The distance between the planes equals the distance between the lines.

If P and Q are points on the two lines and u and v are their direction vectors, the distance is the size of (Q − P) · (u × v) divided by the length of u × v. The cross product u × v points perpendicular to both lines, and the formula measures how much of the step from P to Q goes that way.

A worked example

Line 1 passes through P(1, 0, 0) with direction u = (1, 1, 0). Line 2 passes through Q(0, 0, 2) with direction v = (0, 1, 1).

u × v = (1·1 − 0·1,  0·0 − 1·1,  1·1 − 1·0) = (1, −1, 1)
Q − P = (−1, 0, 2)
(Q − P)·(u × v) = −1 + 0 + 2 = 1
length of u × v = √3
distance = 1/√3 ≈ 0.577

You can confirm this directly. General points are (1 + s, s, 0) and (0, t, 2 + t). The segment from the first to the second is D = (−1 − s, t − s, 2 + t). Demand that D be perpendicular to both directions.

D · u = −1 − 2s + t = 0
D · v = 2 − s + 2t = 0
solving:  s = −4/3,  t = −5/3
D = (1/3, −1/3, 1/3),  with length √3/3 ≈ 0.577

Both methods agree. For other distance problems of this family, see distances to lines, segments and planes.

The angle between lines that never meet

Skew lines have no crossing point, yet they still have an angle. Through any point on one line, draw a line parallel to the other. The angle between the two lines that now meet is the angle between the skew pair. It does not depend on which point you chose.

Take a cube of side 1. The diagonal of the bottom face from (0, 0, 0) to (1, 1, 0) and the diagonal of the top face from (1, 0, 1) to (0, 1, 1) are skew. Their directions are (1, 1, 0) and (−1, 1, 0). The dot product is −1 + 1 + 0 = 0, so they are at 90°. Their common perpendicular joins the centers of the two faces and has length 1.

Be careful with a familiar statement: "two lines perpendicular to the same line are parallel". It holds in a plane. In space it fails, since those two lines may be skew or may even meet. Rules about angles between flat surfaces are a related topic, treated in angles between planes.

Why drawings fool you

A picture of space on paper is a projection, a flattened view. In that view, skew lines usually appear to cross. The crossing exists only in the picture: the two points drawn on top of each other are at different depths.

Artists and technical drafters handle this by breaking the line that passes behind, or by dashing hidden edges. When you read a three-dimensional diagram, never accept a crossing as an intersection unless the text, the labels or a named face tells you so. Looking from a second viewpoint settles it, which is one reason technical drawings show several views, as in orthographic and isometric drawing.

Common mistakes

Calling any non-meeting pair parallel. Check for a shared plane or a shared direction before using the word.

Thinking skew is about segments. Two short edges might fail to touch while the lines containing them cross farther out. Extend them mentally first. Skewness is a property of the whole lines, and segments on skew lines are described the same way.

Assuming perpendicular means intersecting. In many texts two lines are called perpendicular only if they meet at 90°, and skew lines at 90° are called orthogonal. Other books use one word for both. Check the definition in use before you rely on it.

Measuring distance between convenient points. The distance between two lines is the shortest one. A segment from a corner to a corner is usually longer than the common perpendicular, unless it happens to meet both lines at right angles.

To test yourself, look around a room. The line where the floor meets the north wall and the line where the ceiling meets the east wall run in different directions and never touch. They are skew, and the vertical corner edge at the northeast of the room is their common perpendicular, so their distance equals the room's height.

Where skew lines turn up

Overpasses, crossing cables and pipes at different heights are all skew arrangements, and the common perpendicular tells a designer the closest approach. In a real structure, thickness, sag and movement matter too, so clearances are set by engineers and local codes.

Skew lines can even build curved surfaces. Join two parallel circular rings with straight rods, then give one ring a twist. The rods become mutually skew (if the twist is less than a half turn), and together they trace a waisted surface called a hyperboloid of one sheet. A flat idea, the straight line, ends up sweeping out a curve once it has room to be skew.

Written for 4Geometry with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 39 articles in Points, Lines and Angles →

Latest news on this topic