PrepShorts · Study sheet · Class 12 Mathematics · Chapter 11, Three Dimensional GeometryPrepShorts

Chapter 11 · Three Dimensional Geometry

Skew lines, what shortest distance can mean when two lines never meet, and computing it in both the skew and parallel cases

Two lines at once29 min

This video could not be loaded. Reload the page to try again.

Sign in with Google

29 min.

The idea

The plane gives students an exhaustive dichotomy — two lines either meet or run parallel — and space quietly breaks it. §11.5 handles the break well, disposing of the two familiar cases in a sentence each before naming the third, so the new case arrives defined by what it is not. What the chapter does not do is defend either of the two assertions its computation will rest on: that a smallest join exists among infinitely many candidates, and that the segment realising it must be square to both lines. The second has a one-line argument. The formula's own payoff is then a cancellation worth more than the formula it produces: pick any point on one line and any point on the other, join them, project that join onto the common perpendicular direction, and the arbitrary length cancels top and bottom along with the unknown distance itself. That is why the two anchors printed in a question may simply be used, and a student who misses it believes the computation needs the two feet of the perpendicular, which are not given and are harder to find than the answer. What follows is bookkeeping: the Cartesian determinant is that same number written in components, and the parallel case needs a formula of its own for the concrete reason that crossing two parallel directions gives zero — a reason the chapter never states, since it simply opens a new subsection. Two things must be said. The chapter's own displayed result on Part II p. 387 prints a cross between the two anchor vectors where a minus belongs, and its own derivation opposite, its own Example 9 and its own Summary all disagree with it. And no still image can be honest here: four points, two on each of two skew lines, cannot be coplanar, so Fig 11.6 draws them as a flat quadrilateral and misrepresents the very configuration it is illustrating. A step-by-step treatment that rotates the figure until the depth reads is the single most valuable thing this topic can add to the page.

What you should be able to do

  • Sort two lines in space into the three cases the chapter names, and say which distance each case yields
  • State what makes a pair of lines skew, in the chapter's own two-part form
  • Explain why the skew case cannot occur between two lines in a plane
  • Identify a skew pair on a concrete solid, and check both halves of the definition on it
  • Say precisely what is being minimised when a shortest distance is sought
  • Argue why the segment realising that minimum must be at right angles to both lines
  • Read the chapter's skew-lines figure critically, knowing what a flat drawing cannot show
  • Build the unit vector along the common perpendicular from the two direction vectors
  • Follow the chapter's derivation, identifying the step where the unknown connecting segment cancels out
  • State the vector formula for the skew case and read it as a projection
  • Identify the printed error in the chapter's own displayed result for the skew case, and say how it should read
  • Recognise the numerator as a scalar triple product, and read the Cartesian version as the same thing written as a determinant
  • Say why the parallel case cannot use that formula, and derive the one it needs
  • Work a skew pair end to end from two vector equations
  • Work a parallel pair end to end, including the check that the two lines really are parallel
  • Distinguish the three cases before starting any computation, and say which formula each case will need
  • Interpret a computed distance of zero
  • Locate the one place in the chapter where the angle between two skew lines is defined

Words to know

TermDefinition in one lineFirst introduced
skew linesa pair of lines in space that neither run parallel nor ever meetprinted in this chapter (§11.5, Part II p. 385)
non coplanarnot lying in any one common plane, the chapter's own two-word description of a skew pairprinted in this chapter, unhyphenated (§11.5, Part II p. 385)
coplanarlying in one common plane, which the chapter asserts of a parallel pairprinted in this chapter (§11.5.2, Part II p. 387)
intersectto meet at a pointprinted in this chapter (§11.5, Part II p. 385)
parallelrunning in the same direction and never meetingprinted in this chapter (§11.5, Part II p. 385)
shortest distancethe smallest length among all segments joining a point of one line to a point of the otherprinted in this chapter as a section heading and in the sentence defining it (§11.5, Part II pp. 385–386)
perpendicular distancethe distance measured along a segment at right angles to a lineprinted in this chapter (§11.5, Part II p. 385)
common perpendicularthe one line meeting both skew lines at right anglesan added compound; the chapter describes the object and never gives it this name
transversalany line cutting across two othersan added vocabulary, not printed anywhere in this chapter
trichotomythe three-way split of cases the section opens withan added label for the structure; the chapter sets out the three cases and does not name the split
unit vectora vector of length one, here pointing along the common perpendicularprinted in this chapter (§11.5.1, Part II p. 386; §11.5.2, Part II p. 387)
projectionthe shadow one vector casts along another directionprinted in this chapter (§11.5.1, Part II p. 386)
magnitudethe length of a vector, written between barsprinted in this chapter (§11.5.1, Part II p. 386)
cross productthe product of two vectors returning a vector at right angles to bothan added name for it here; this chapter uses the operation repeatedly and never names it in words
scalar triple productthe number obtained by dotting one vector into the cross product of two othersan added name; this chapter builds the expression twice and never names it
foot of the perpendicularthe point where a perpendicular from elsewhere meets a lineprinted in this chapter (§11.5.2, Part II p. 387)

Where people slip up

  • "Two lines that do not meet are parallel." True in a plane, false in space, and this is the entire content of the section. A student carrying the plane intuition forward has no room in their head for the third case, and will try to apply the parallel formula to a skew pair.
  • "Skew means slanted." It means neither parallel nor meeting. The word carries an everyday sense that has nothing to do with the definition, and students who guess from the word alone guess wrong.
  • "Checking that two lines are not parallel is enough to call them skew." Both halves are needed. Two non-parallel lines in space may perfectly well meet, and then the distance is zero rather than something to compute.
  • "The shortest distance is between the two nearest labelled points." It is between two points that generally carry no label at all and are not given in the question. The minimum is over every pair of points on the two infinite lines.
  • "The joining segment only has to be square to one of the lines." Square to one gives the shortest join from a fixed point to that line, not the shortest join between the two lines. Both conditions are needed, and the sliding argument shows why.
  • "The figure shows the four points lying in one plane, so they do." They cannot, and the drawing is a flattened projection. This is worth stating once, out loud, because every printed figure of a skew pair has the same problem and students quietly conclude the definition is inconsistent.
  • "The two points in the formula have to be the feet of the common perpendicular." They can be any point on each line, which is exactly what the cancellation in the derivation buys. Believing otherwise leaves a student unable to start, because the feet are not given and finding them is harder than the original question.
  • "The numerator is a length, so it cannot be negative." It is a number that can come out either sign, which is why the chapter wraps the whole quotient in modulus bars. Every one of the exercise items above has a negative numerator except two, and the sign is discarded at the end.
  • "Parallel and skew use the same formula." They do not, for the good reason that a skew pair has one distinguished common perpendicular while a parallel pair has infinitely many, all of the same length — and mechanically, because the skew formula divides by zero when the two directions are parallel. That division is why §11.5.2 exists, and the chapter opens it without saying so.
  • "The Cartesian formula is a second result to memorise." It is the vector formula written in components: the determinant is the triple product and the square root is the length of the cross product. One result, two dresses.
  • "A distance of zero means I made a mistake." It means the two lines meet. The formula classifies and measures in one step, which the chapter does not point out.
  • "Parallel lines are obvious from the equations." Only when the two direction vectors are written identically, as in Example 10. If one is a multiple of the other the pair is still parallel and the skew formula still fails, so the check has to be for proportionality, not for equality.
  • "The order of the two lines matters." Swapping them reverses the sign of both the cross product and the anchor gap, so the numerator changes sign twice and the answer is unchanged. Worth ten seconds, because students who get a different sign from a friend assume one of them is wrong.
  • "The printed formula on the page is the one to use." Not on Part II p. 387. Use the Summary's version, or the derivation on the facing page, both of which carry a difference where Part II p. 387 prints a cross.
  • "The angle between skew lines is undefined." It is defined, by the same translate-to-a-common-point construction the previous topic used — but the chapter says so only in its Summary.
Transcript4,119 words

In the plane, two lines either cross or run parallel. There is no third option, and that is such a reliable fact that almost nobody notices it is a fact about the plane rather than about lines. In space it is false. Two lines in space can cross. Two lines in space can run parallel. And two lines in space can do neither — pass each other at different heights, never meeting, never parallel.

Each case answers the question how far apart are they differently. If they cross, the answer is nothing at all. If they run parallel, the answer is the length of a perpendicular dropped from any point of one onto the other, and any point will do. The third case is the one this topic is about, and it is the one with no answer you can write down without doing some work.

The third case has a name. Two lines that neither meet nor run parallel are called skew. There is a second way to say the same thing, and it is the one worth carrying: skew lines do not lie in any one plane. Those two descriptions really are equivalent, and the argument is one sentence each way. If two lines lie in one plane, then inside that plane they are two ordinary lines, so they cross or run parallel. And if they cross, the two of them span a plane; if they run parallel, the two of them span a plane. So lying in a plane and being non-skew are the same condition.

That is worth stating, because most treatments assert the equivalence and move on. It also explains the word skew is not doing any work. Skew does not mean slanted. It means neither of the two things you already know about. Counted on a grid of six thousand and eighty four pairs of lines: four hundred and sixty eight run parallel, one thousand two hundred and twenty four meet, and four thousand three hundred and ninety two do neither. Three cases, nothing left over.

And a plane holds both lines at exactly the sixteen hundred and ninety two that are parallel or meeting — checked by solving the two lines' equations by hand, with no formula anywhere in it, and disagreeing at none. Skew pairs are not exotic. There is one in every room you have ever been in. Take a rectangular room, one unit deep, three units wide and two units high, with the origin at a floor corner.

The first line runs diagonally across the ceiling: from the ceiling corner directly above the origin, to the ceiling corner diagonally opposite it. The second runs diagonally down a wall: from the ceiling corner above the far corner of the first axis, down to the floor corner diagonally across that wall. Read the directions straight off the corners. The ceiling diagonal goes one along, three across and nothing up, so its direction is one, three, nought. The wall diagonal goes nothing along, three across and two down, so its direction is nought, three, minus two.

Those are the two lines. Now check both halves. First half: are they parallel? Parallel means the two triples stand in the same ratio. One over nothing is already impossible, and the third entries are nothing against minus two. The two triples are not proportional, so the lines are not parallel. Second half: do they meet? Write a point of each and set them equal. A point of the first is the parameter, three times the parameter, two. A point of the second is one, three times its own parameter, two minus twice that parameter.

Take the third coordinates: two equals two minus twice the second parameter, so the second parameter is nothing. Take the second coordinates: three times the first parameter equals nothing, so the first parameter is nothing too. Now the first coordinates. The left side is the first parameter, which we have just shown is nothing. The right side is one. So nothing equals one, which it does not. There is no pair of parameters that works, so the lines never meet. Neither parallel nor meeting: skew, and both halves are checked rather than asserted.

The answer, when we get to it, will be six sevenths. Now the question. How far apart are two lines that never meet? Be precise about what is being asked, because it is easy to be vague here. Take any point of the first line and any point of the second, and join them. That join has a length. Do it again with different points and you get a different length.

There are infinitely many such joins, and the shortest distance is the smallest of all their lengths. That sentence hides an assumption, and it is worth saying out loud that we are taking it on trust: that among infinitely many lengths there is a smallest one, and that it is actually reached rather than merely approached. It is true here. But a student who wonders whether the smallest might never be attained has asked a good question, not a confused one, and it deserves to be named rather than glossed over.

One more thing to be clear about. The two points that realise the minimum are generally not labelled in any question, are not the anchors of the two equations, and are harder to find than the answer itself. We will never need them. Here is the one thing about the shortest join that has a real argument behind it, and it takes fifteen seconds. Claim: the join that realises the minimum must be at right angles to both lines.

Suppose it were not. Suppose the shortest join meets the second line at some angle that is not a right angle. Slide that endpoint a little along the second line, towards the foot of the perpendicular. The join gets shorter — because in any triangle the perpendicular is the shortest way from a point to a line. But we said the join was already the shortest. So it cannot have been at any angle other than a right angle.

The same argument runs on the other end, along the first line. So the minimising segment is square to both. Notice that square to ONE line is not enough. Square to one line gives the shortest join from a fixed point to that line, which is a different and easier question. Both conditions together are what pins the segment down. That was checked exactly. Solving for the two parameters where the join is square to both, over the whole grid: the feet exist at every one of the five thousand six hundred and sixteen non-parallel pairs and at no parallel pair at all, and the join there is square to both directions at all five thousand six hundred and sixteen.

And it really is the smallest: at every skew pair on the grid the join at the feet is strictly shorter than the join at any other pair of parameters tried — two hundred and thirteen thousand eight hundred and sixty four comparisons, shorter at every single one. Before the algebra, one honest word about the picture. Every drawing of a skew pair marks four points: two on one line, two on the other. And every such drawing puts those four points on a flat page.

Four points, two on each of two skew lines, cannot lie in one plane. If they did, both lines would lie in that plane, and then the pair would not be skew at all. So the figure is not just simplified. It is showing you a configuration that cannot exist, and it is doing so unavoidably, because a page is flat. This matters more than it sounds. Students look at the flat quadrilateral, conclude that the two lines obviously lie in one plane, and then quietly decide the definition of skew is inconsistent.

The fix is to turn the picture. Rotate the same four points and the depth appears: the two lines pass at different heights, and the quadrilateral was never flat. That is the one thing a moving picture can do here that a still one cannot, and it is worth the twenty seconds. Now build the thing. We know the shortest join is square to both directions. That is enough to find its direction without knowing either of its endpoints.

Given two directions that are not parallel, there is a standard way to produce a third at right angles to both of them: cross them together. That result is square to both factors, and it is not the nought arrow precisely because the two directions are not parallel. Which is exactly what being skew guarantees. The construction is available in this case and in no other. That fact is borrowed. It belongs to vector algebra, not to anything about lines, and most treatments use it here in a subordinate clause without ever stating it as a result.

So the crossed directions point along the common perpendicular. Divide by their own length and you have a unit arrow pointing the way the shortest join runs. For the room, the two directions cross to minus six, two, three, whose length is exactly seven. So the unit arrow is minus six, two, three, all over seven. Here is the move the whole topic turns on. We do not know the two feet. But we do know the direction the shortest join runs in. And a length along a known direction is a projection.

So take any join at all — from any point of the first line to any point of the second — and project it onto that unit direction. The shadow it casts is the shortest distance. Why? Because the arbitrary join, the shortest segment, and the sideways parts all sit in a right-angled arrangement. Everything that is not along the common perpendicular is at right angles to it, and contributes nothing to the shadow.

In particular, take the two anchors — the two points already written into the equations. The join between them will do as well as any other. So the distance is the anchor gap dotted into the unit arrow along the crossed directions. Written out: the anchor gap dotted into the crossed directions, over the length of the crossed directions, and the whole thing inside modulus bars because a projection can come out either sign and a distance cannot.

That step deserves a second look, because it is the reason the formula is usable at all. The two points went in arbitrary and came out of the answer completely. Watch it happen. Slide the first point anywhere along the first line: it moves by some multiple of the first direction. That multiple gets dotted into the crossed directions — and the crossed directions are square to the first direction, so it contributes nothing.

Slide the second point anywhere along the second line and the same thing happens for the same reason. So the numerator does not move at all. Checked over the whole grid: six combinations of slides at each of four thousand three hundred and ninety two skew pairs, and the numerator is unchanged at every one of them. And a control, so that is not just a routine ignoring its inputs: move an anchor by one step in a direction that is NOT along its own line, and the numerator does change — at three thousand and forty eight of those same pairs, the rest being the ones whose lines happened to run that way.

This is the step a student who misses it pays for. If you believe the formula needs the two feet of the perpendicular, you cannot start, because the feet are not given. Any two points will do, and that is what the cancellation buys. So here is the result. The distance is the size of the anchor gap dotted into the crossed directions, over the length of the crossed directions.

And here is a warning about how you may see it written. One displayed version in circulation prints the second bracket of its numerator as the two anchor position vectors CROSSED together, where their DIFFERENCE belongs. The multiplication cross has been set where a minus sign should be, three characters from a genuine cross in the same line. It cannot be right, and you do not need to take my word for it. That version disagrees with the derivation it is the conclusion of, with the worked example that follows it, and with the summary that restates it — all three of which carry the difference.

And it is a different number. On a grid of four thousand three hundred and ninety two skew pairs the crossed version agrees with the correct one at only three hundred and four, and differs at four thousand and eighty eight. On the standard worked pair it gives the wrong answer outright. The anchors are one, one, nought and two, one, minus one. Their difference is one, nought, minus one, giving a numerator of ten. Crossed together they give minus one, one, minus one, and a numerator of three.

If a line has ever gone onto a formula sheet in this topic, it is this one. Copy the difference. Look at the numerator on its own. Two vectors crossed, then dotted into a third. That is a single number, and it has a meaning. Its size is the volume of the box those three arrows span — the two directions and the gap between the anchors. Read it that way and the formula reads as a sentence. The volume of the box, divided by the area of its base, is the height. And the height is the distance.

Checked at all four thousand three hundred and ninety two skew pairs: the length of the crossed directions times the distance is exactly the size of the numerator. One consequence falls out for free. That number is nothing exactly when the three arrows lie flat — when there is no box — and the three arrows lie flat exactly when the two lines lie in one plane. So the formula returns nothing at all precisely when the lines meet. Among the pairs that are not parallel it returns nought at exactly the one thousand two hundred and twenty four that meet, disagreeing at none.

Which means the same computation classifies the pair and measures it. You do not need to test for intersection first. Run the formula, and a nought is the test. In coordinates the same result gets written differently, and it gets treated as a second formula to memorise. It is not. The numerator becomes a three-row determinant. The top row is the three coordinate gaps between the two anchors. The two rows below it are the two direction-ratio triples.

That is the same number. Expand the determinant along its top row and you get the anchor gap dotted into the crossed directions, term for term. Checked at all six thousand and eighty four pairs of the grid. The denominator becomes a square root of three squared brackets. Those brackets are the three entries of the crossed directions, written out, so the root is its length. Checked at all six hundred and seventy six pairs of directions.

One result, two dresses. Nothing new is happening. Keep the outer modulus bars, though. A determinant can perfectly well come out negative — on the grid it does so at two thousand one hundred and ninety six of the six thousand and eighty four pairs — and a distance cannot. And while we are here: swapping which line you call the first changes nothing. The crossed directions change sign, the anchor gap changes sign, so the numerator changes sign twice. The same distance at all four thousand three hundred and ninety two skew pairs. If you and a friend get answers of opposite sign, neither of you is wrong.

Now the parallel case, which needs a formula of its own — and the reason is usually not given. The reason is mechanical, and it is a good one. If the two directions are parallel, crossing them gives the nought arrow. The denominator of the skew formula is the length of that arrow. So the formula does not give a poor answer for a parallel pair; it has nothing underneath it at all.

Checked: the crossed directions vanish at every one of the four hundred and sixty eight parallel pairs on the grid, and the formula refuses all four hundred and sixty eight. There is a geometric reason underneath the mechanical one, and it is the better one to carry. For a skew pair there is exactly one segment realising the minimum, and its two endpoints are pinned. For a parallel pair every perpendicular between the two lines has the same length — there are infinitely many of them and they are all equally short.

So the parallel question is a different question. It has no distinguished segment to find, and any point of one line will do as a starting point. Checked: slide the starting point to five different places along its own line and the distance is unchanged at all four hundred and sixty eight parallel pairs. And a control — for a skew pair that is false at every single one of the four thousand three hundred and ninety two.

So start again for the parallel case, and it is three lines. Take the two anchors and the join between them. Take the common direction. That join makes some angle with the direction. Drop the perpendicular. You now have a right-angled triangle whose hypotenuse is the join and whose height is the distance you want. So the distance is the length of the join times the sine of that angle.

And there is a product that hands you exactly a length times a length times a sine: cross the direction into the join. Its length is the direction's length times the join's length times the sine. So divide by the direction's length and the sine survives with one length attached. The distance is the length of the direction crossed into the anchor gap, over the length of the direction. Checked against the ordinary distance from a point to a line, measured with no cross product anywhere: the two agree at all four hundred and sixty eight parallel pairs. Sixty of them come out at nought, which is the two lines being the same line.

Two worked pairs, end to end. First, a skew pair. Anchors at one, one, nought and two, one, minus one; directions two, minus one, one and three, minus five, two. The anchor gap is one, nought, minus one. The crossed directions are three, minus one, minus seven, whose squared length is fifty nine. The numerator is three plus nothing plus seven, which is ten. So the distance is ten over the root of fifty nine.

Worth noticing what was not done: nobody checked whether those lines meet, and nobody found the feet. Second, a parallel pair. Both directions are two, three, six — the same triple, character for character, which is the check the question wants and which is easy to skip. Anchors at one, two, minus four and three, three, minus five, so the gap is two, one, minus one. Cross the direction into the gap and you get minus nine, fourteen, minus four, whose squared length is two hundred and ninety three.

The direction's own length is seven exactly. So the distance is the root of two hundred and ninety three, over seven. And note the check has to be for proportionality, not for equality. If one direction is a multiple of the other, the pair is still parallel and the skew formula still divides by nothing. Four more, quickly, and one of them is worth waiting for. Anchors one, two, one and two, minus one, minus one, with directions one, minus one, one and two, one, two. The gap is one, minus three, minus two; the crossed directions are minus three, nothing, three; the numerator is minus nine; and the distance is three over root two.

Next, a pair in coordinate form, so the triples come off the denominators: anchors minus one, minus one, minus one and three, five, seven, with ratios seven, minus six, one and one, minus two, one. This one has a coincidence in it. The gap is four, six, eight, and the crossed directions come out at minus four, minus six, minus eight — exactly minus one times the gap. So the numerator is minus the squared length of the gap, and the whole quotient collapses to the length of the gap itself: two root twenty nine.

Third: anchors one, two, three and four, five, six, directions one, minus three, two and two, three, one. The gap is three, three, three; the crossed directions are minus nine, three, nine; the numerator is nine; the distance is three over root nineteen. The fourth is the awkward one, and the difficulty is not the formula. Both lines are written with the parameter multiplied through the components, so the anchors and directions have to be unpicked before anything else can start.

Once unpicked it is one, minus two, three along minus one, one, minus two, against one, minus one, minus one along one, two, minus two. The gap is nothing, one, minus four; the crossed directions are two, minus four, minus three; the numerator is eight; the distance is eight over root twenty nine. And the one worth waiting for. Anchors six, two, two and minus four, nothing, minus one; directions one, minus two, two and three, minus two, minus two.

The gap is minus ten, minus two, minus three. The crossed directions are eight, eight, four, whose length is exactly twelve. The numerator is minus one hundred and eight. And one hundred and eight over twelve is nine — a whole number, the only one in the set. One habit to finish with, because it saves the most time. Classify before you compute. Three branches, and two of them need no formula at all.

Are the two direction triples proportional? If yes, the lines are parallel, and you want the sine formula: the direction crossed into the anchor gap, over the length of the direction. If no, they are not parallel, and there are two cases left — but you do not have to separate them by hand. Run the skew formula. If it returns nought, the lines meet and the answer was nought. If it returns anything else, the lines are skew and that is your answer.

So the decision really only has two branches that need work, and the third resolves itself. One caution on reading the branch. Proportional, not equal. Two directions can be parallel without sharing a single entry, and a pair like minus two, minus four, minus four against two, four, four is perfectly parallel. And one caution on reading the answer. The numerator can come out negative — most of the worked items above have a negative numerator — and the sign is discarded at the very end. Do not go hunting for an arithmetic slip that is not there.

So, what is worth carrying out of this. Space has three cases where the plane has two. Meeting, parallel, and skew — and skew is exactly the case no single plane can hold. The shortest join between two skew lines is square to both of them, and that is not a definition, it is a one-line argument: a join that is not square to a line can be slid along that line and made shorter.

Its direction is therefore the two directions crossed, which exists precisely because the pair is not parallel. And the formula is a projection. Any join at all, projected onto that direction — which is why the two anchors given in the question may simply be used, and why the two feet of the perpendicular never have to be found. The determinant version is that same number in coordinates, not a second result. Keep the outer bars: the determinant can come out negative and a distance cannot.

The parallel case needs its own formula because crossing two parallel directions gives nothing to divide by — and because a parallel pair has infinitely many equal perpendiculars rather than one distinguished segment. A distance of nothing means the lines meet. And two skew lines do have an angle between them, by the same slide-them-to-one-point construction as any other pair — a fact that tends to appear only in a summary, and never where you would look for it.

The book

Open in a new tab