11. Three-Dimensional Geometry
11.1 Chapter Opener: Introduction and Spatial Coordinates
Chapter 11
Three Dimensional Geometry
Big idea: a point tells you where you are, a direction tells you where you are heading, and together they fix every straight line in space.
Stand in the corner of a room. Three edges meet there: one runs left to right, one runs front to back, and one runs straight up. Every object in the room can be located with three numbers, one along each edge.
Now watch a flight path on a screen. The plane moves forward, drifts sideways in wind, and climbs all at the same time. Its path is a straight line in space. To describe it, you need a starting point and the direction of travel. Nothing else is needed.
A three-dimensional picture of a room corner. Three arrows start at the corner O and run along the floor edges and straight up. A point P at (2, 3, 4) floats in the room. Dashed lines drop from P to the floor point (2, 3, 0), then to (2, 0, 0) on the x edge and (0, 3, 0) on the y edge.
Read the figure like this. Start at the corner O. Walk 2 steps along the x edge and 3 along the y edge to reach the floor point (2, 3, 0). Then rise 4 steps straight up to P. Every point in space is found the same way: two steps on the floor, one step up.
In this chapter you will learn:
- Direction cosines and direction ratios: numbers that describe which way a line points;
- the equation of a line in space, in vector form and in Cartesian form;
- the angle between two lines, even when they never meet;
- the shortest distance between two lines, whether they are skew or parallel.
A line needs only a point and a direction. Everything else in this chapter follows from that.
A drone flies in a straight line from one point to another. A laser beam crosses a room. Two pipes run past each other in a building, one above the other. All of these are straight lines in space. In a flat drawing, a point needs only two coordinates. In space, every point needs three: .
Think of the room corner again. The first two numbers walk you across the floor. The third number lifts you up. A drone pilot reads the same three numbers: how far east, how far north, and how high.
In Class 11 you learned the distance formula in space. The distance between and is
Why does this work? The three brackets are the steps along the three axes. They form a box with AB as its long diagonal. The formula is just Pythagoras applied twice: once on the floor, once upward.
Take and . The steps are , and along the three axes. So .
Notice the order. First subtract matching coordinates. Then square each step. Then add. Then take the square root. Never take the root before adding.
A three-dimensional picture with the x, y and z axes. Two points are marked: A at (1, 1, 1) and B at (3, 3, 2). A straight segment joins them. Its length is 3.
Read the figure slowly. Find A near the corner and B further out. The segment between them is the drone path. Its shadow on the floor runs 2 steps in x and 2 in y. Then it rises 1 step in z. The three numbers 4, 4 and 1 under the root are the squares of these steps.
Join the corner to . The steps are . So . A point can sit exactly 3 units from the corner in many directions. Distance cares only about the steps, not about where the segment sits.
Take and . The steps are . So . The -step is , so both ends are at the same height. The segment is flat, and the familiar 3-4-5 triangle appears.
| From 2D (flat page) | To 3D (space) |
|---|---|
| a point needs | a point needs |
| distance uses two squares | distance uses three squares |
| one equation can fix a line | one equation fixes a surface, not a line |
The last row matters most. On paper, draws a line. In space, allows any , so it draws a whole flat sheet. Lines in space need a new idea, and Section 11.3 gives it: a point plus a direction.
Distance in space is Pythagoras with three steps instead of two.
11.2 Direction Cosines and Direction Ratios of a Line
A tent pole leans against a wall. It leans a little away from the floor in one direction, a little in another, and rises mostly upward. Three small angles describe the lean completely. Direction cosines are just the cosines of those three angles.
Draw a line through the origin and pick a direction along it. This directed line makes three angles with the positive -, - and -axes. Call them , and . The three numbers
are the direction cosines of the line. They say how much the line leans towards each axis. If a unit vector points along the line, then are exactly its three components.
A directed line means a line with a chosen forward direction, like a one-way street. The same street driven the other way has different direction cosines. An undirected line has two sets, one the negative of the other.
A unit vector has length , so its components satisfy
Every set of direction cosines passes this test. If three numbers do not, they cannot be direction cosines. Use this test before trusting any triple.
Why is it true? Place a unit arrow along the line. Its tip is at some point , because each coordinate is the shadow of a unit arrow on that axis. The distance from the origin to the tip is . By the distance formula, .
==Direction cosines always satisfy l² + m² + n² = 1.==
Direction cosines are awkward because of the square roots. So we also use any three numbers proportional to . They are called direction ratios. If points along the line, then are direction ratios, and
and in the same way and .
To go from ratios to cosines, divide by the length. To go from cosines to ratios, clear the denominators. Either direction is one step.
| Direction cosines | Direction ratios |
|---|---|
| unique for a directed line | many sets fit one line: scale freely |
| always satisfy | satisfy it only after dividing by length |
| may carry square roots | often plain integers |
| read angles directly: | give direction at a glance |
- [Board Standard] Direction cosines are unique for a directed line. Direction ratios are not: if works, so does or .
- [HOTS] A directed line has a direction. Reversing the direction changes the sign of every direction cosine.
Find the direction cosines of the line along . First compute the squared length: . So the length is . Divide each ratio by this length.
The direction cosines are . Check the sum of squares: . The check passes.
The angles with the axes are , and . The negative middle cosine gives an obtuse angle, past .
A three-dimensional picture. An arrow starts at the origin and ends at the point (2, minus 1, 2). Dashed segments drop from the tip of the arrow to the point (2, minus 1, 0) in the floor plane, and from there to the points (2, 0, 0) on the x-axis and (0, minus 1, 0) on the y-axis.
Read the figure in layers. The orange arrow is the vector. The dashed drop to the floor separates the upward part (z = 2) from the flat part. The two short dashes split the flat part into an x-step of 2 and a y-step of −1. Squaring these three steps gives 4, 1 and 4, the same numbers under the root.
A flat 2D graph of the floor shadow of the vector (2, minus 1, 2). The shadow runs from the origin O (0, 0) to the point F (2, minus 1). Grid marks show the x-step of 2 and the y-step of minus 1.
The flat graph hides height on purpose. It shows only the floor shadow, 2 along x and −1 along y. The full vector adds the rise of 2. Shadows like this return in Section 11.5, where distances are measured along perpendiculars.
A line makes equal angles with the three axes. Then , and gives . So . Each angle is (or for the opposite direction). A direction ratio set is .
Picture a stick poking out of a room corner so it leans equally from all three edges. That is the (1, 1, 1) direction. Flipping the stick end over end gives (−1, −1, −1) and the wider angle.
Find the direction cosines for ratios . The squared length is , so the length is . The cosines are . The angles are about , and . Check: , so the triple is valid.
A second set: ratios . Here , so the length is . The cosines are , and the triple is valid since the squares sum to . The angles are about , and . Larger first ratio means a smaller angle with the -axis, and indeed is the smallest of the three.
| Direction ratios | Direction cosines | |
|---|---|---|
Each row was computed exactly. In the last two rows the square root does not simplify, so the cosines keep it.
Reverse the vector in Example 1 to . The cosines become , and the angles become , and . Each new angle is minus the old one, because .
Reversing a line flips every direction cosine sign and sends each angle α to 180° − α.
Two waypoints fix a flight path. The plane flies from the first to the second, so the direction is simply second minus first. That subtraction is the whole method of this section.
Often a line is given by two points on it, and . The vector lies along the line, and its components are the steps from to . So the direction ratios are
Divide each by the length to get the direction cosines (for the direction from to ).
Two points give direction ratios by subtraction: second minus first, coordinate by coordinate.
Find the direction cosines of the line through and . The steps are . The squared length is , so the length is . The direction cosines are .
For and the steps are and . The direction cosines are . It is fine to leave in the answer. An exact root beats a rounded decimal.
For and the steps are just the coordinates of : . The length is . So the cosines are , with angles about , and . When a line passes through the origin, its points already are its direction.
A three-dimensional picture with two points, P at (0, 1, 2) and Q at (1, 3, 5), joined by an arrow from P to Q. A dashed staircase of three segments goes from P to Q: one step of 1 along the x direction, one step of 2 along y, one step of 3 along z.
Walk the dashed staircase. First 1 step in x, then 2 in y, then 3 up in z. You land exactly on Q. Each stair length is one direction ratio. Dividing each by the total length √14 turns the three stairs into the three direction cosines.
A flat 2D floor plan of the staircase from P to Q. The plan starts at (0, 1) and ends at (1, 3): one step in x, then two steps in y.
The floor plan is drawn with two line pieces to match the staircase: the x-step first, then the y-step. Pilots call this the ground track. The z-step is flown on top of it.
Three points , , are collinear (on one line) exactly when and are in the same direction or opposite directions. That means their direction ratios are proportional.
| Question to ask | What to compute | Decision |
|---|---|---|
| are collinear? | vectors and | proportional means yes |
| which side is on? | sign of the multiplier | positive means same side, negative means opposite |
| how far is ? | size of the multiplier | means three times as far as |
Test , , . Here and . The second is exactly times the first, so the three points lie on one line.
Now test , , . Here and . They are not proportional, because the ratios , , are different. (Their cross product is , which confirms it.) So , , are not on one line.
This set covers Sections 11.1 and 11.2. Keep the two tests beside you: length , and cosines must satisfy .
| If the question gives ... | First compute ... | Then ... |
|---|---|---|
| a vector or ratios | divide by | |
| two points | steps | divide by the step length |
| angles with two axes | ||
| three points | check proportion |
11.3 Vector and Cartesian Equations of a Line in Space
A flight screen shows a plane at one point, flying one fixed heading. The controller knows where it started and which way it points. From those two facts alone, the whole future path is fixed. A line in space works the same way.
On a flat page, a line has the equation . In space this does not work: one equation in , , describes a surface, not a line. For example, allows every and every , so it is a whole flat sheet at height . We need another idea.
The idea is to imagine a moving point. Start at a known point and walk in a fixed direction . After "time" , you are at . As takes every real value, forwards and backwards, you trace out the whole line. The letter is called the parameter.
The picture shows the line through with direction . The marked points are , namely , , , .
A three-dimensional picture of a straight line passing through four marked points. The points are at (minus 1, minus 2, 1), (1, minus 1, 2), (3, 0, 3) and (5, 1, 1). Each point is one step of the direction vector (2, 1, 1) further along the line.
Read the figure as a journey. The orange dot at λ = 0 is the start A. Each step of λ by 1 adds one full copy of (2, 1, 1): x grows by 2, y by 1, z by 1. Negative λ walks backwards past the start. The whole infinite line is all the λ values together.
A flat 2D side view of the same line: height z plotted against distance along x. The four marked points rise steadily: (minus 1, 1), (1, 2), (3, 3) and (5, 4). They lie on one straight staircase.
The side view hides y on purpose. It keeps only x and z, and the four dots line up exactly. Any single 2D view of a space line is straight, because fixing the parameter fixes every coordinate at once.
There are two common ways to fix a line in space:
- [Board Standard] a point on the line and a direction it is parallel to (Section 11.3.1);
- [HOTS] two points on the line (also in Section 11.3.1: the direction is the vector joining them).
| Ingredient | What it is | Example on this line |
|---|---|---|
| point | where the walk starts () | |
| direction | one step of the walk | |
| parameter | how many steps taken | gives |
A point says where the line is. A direction says where it goes. The parameter says how far you have walked.
A tent rope is tied at one fixed peg and pulled tight in one fixed direction. The peg is the point. The pull is the direction. Every point of the rope is peg plus some amount of pull. This section writes that picture as an equation.
Let a line pass through the point with position vector , and be parallel to the vector . A general point on the line has position vector . The vector lies along the line, so it is a multiple of : . Since ,
This is the vector equation of the line. Different values of give different points. gives itself.
The vector equation says: reach any point by starting at A and walking some multiple of b.
Write the vector equation of the line through parallel to .
For the point is . Each coordinate is plus times the matching direction entry: , , .
Does lie on the line? We need a single that gives all three coordinates. From : , so . Check : . Check : . All three agree, and the computer confirmed . So yes.
For the and still suggest , but would need , that is . No single fits all three, so it is not on the line.
If the line passes through (position vector ) and (position vector ), its direction is . So
Here gives and gives . Values between and give points between and . For example gives the midpoint.
Find the vector equation of the line through and . The direction is . So . At we get , and at we get the midpoint (the computer confirmed both).
Any multiple of a direction is also a direction. The vector is times . So the same line is also . The parameter is half as large: is now at . Shorter direction numbers mean each parameter step is smaller.
Write the equation of the line through along . It is . At we reach ; at we step back to . The point is the point. Unit steps make the arithmetic easy to follow by hand.
A three-dimensional picture of the line through (0, 2, 1) with direction (1, 1, 1). Four dots mark the parameter values minus 1, 0, 1 and 2. They are evenly spaced because every direction entry is 1.
Read the figure as evenly spaced beads. Because the direction is (1, 1, 1), each μ-step adds exactly 1 to every coordinate. The beads sit at (−1, 1, 0), (0, 2, 1), (1, 3, 2) and (2, 4, 3). Compare with the uneven (2, 1, 1) spacing in Section 11.3 to feel what direction numbers control.
| Form | Equation | Parameter values to remember |
|---|---|---|
| point direction | at | |
| through | at , at | |
| reduced direction | same line, e.g. with | moves to |
The vector equation carries a spare letter λ. Sometimes we want the line without it: a direct relation between x, y and z. Removing λ gives the Cartesian form, three fractions in a row. This section derives it once, then uses it as a tool.
Let the line pass through and have direction ratios . Write the general point as . The vector equation says, component by component:
Solve each for : , , . All three are equal to the same , so
This is the Cartesian form (or symmetric form). It describes the same line with no parameter. If you write direction cosines in the denominators, the line is the same, because is proportional to .
Cartesian form is three recipes for λ set equal: one from x, one from y, one from z.
Write the line in Cartesian form. The point is and the direction ratios are . So
At the point is , and at it is (both confirmed by the computer). Either point satisfies the fractions: for , each fraction equals .
Write as a vector equation. Read the point from the numerators (watch the signs): gives , gives , and gives . The direction ratios are the denominators . So . Check: for the point is , and the computer confirmed it is on the line.
The sign rule is worth repeating. The numerator is always x minus the coordinate. So x + 1 means the coordinate is −1, and y − 2 means the coordinate is 2. Read plus as minus.
For the line through and the direction ratios are , or after dividing by , . The Cartesian form is
In general, the line through and is .
A flat 2D graph of the xy-projection of the line through (3, minus 1, 2) with direction (2, 5, minus 1). The projection is the straight line y = (5x minus 17) / 2 through the points (1, minus 6), (3, minus 1) and (5, 4).
Check the plotted points against the 3D line. At λ = −1 the point is (1, −6, 3): its floor position (1, −6) is the leftmost dot. At λ = 0 the floor point is (3, −1). At λ = 1 it is (5, 4). The z-coordinate is hidden, but the dots satisfy the first two fractions exactly.
| To convert ... | Read off ... | Write ... |
|---|---|---|
| vector to Cartesian | point and ratios from | |
| Cartesian to vector | point from numerators, ratios from denominators | |
| two points to Cartesian | ratios (reduce if handy) | fractions with reduced denominators |
Division by is not allowed, so a zero in the denominator needs care. Take the line through with direction ratios . The -component never changes: for every point. We still write the form in a compact way:
This is a notation that means: , and . For example, is on this line (it is the point with ). Read a zero denominator as "this coordinate stays fixed".
11.4 Angle Between Two Lines
Two flight paths cross at different heights. Controllers still ask for the angle between them. They slide one path sideways, without turning it, until the two meet. The angle they then measure is the angle between the lines. Sliding without turning never changes direction, so the answer is honest.
Two lines in space may meet, or may pass each other without meeting (we call these skew lines). In both cases we can still speak of the angle between them. It is the angle between their directions. For skew lines, imagine sliding one line, without turning it, until it meets the other.
Suppose the lines are parallel to and . From the dot product, . Two lines always make two angles, and . We take the acute one (at most ), so we use the absolute value:
In terms of direction ratios and :
With direction cosines and the denominator is , so . This is the shortest form, and it is worth memorising.
The angle between lines is the angle between their directions, always taken acute.
- [Board Standard] Perpendicular lines: (the dot product is zero).
- [HOTS] Parallel lines: the direction ratios are proportional: .
| Question | Compute | Conclude |
|---|---|---|
| perpendicular? | dot product | means |
| parallel? | ratios , , | all equal means |
| otherwise? | formula above | acute angle via |
Find the angle between the lines with directions and . The dot product is . So the lines are perpendicular: . A zero dot product ends the problem at once.
Directions and . The dot product is , and both lengths are . So and . Recognising saves reaching for a calculator.
Two straight lines crossing at the origin in three-dimensional space. One goes along the direction (1, 1, 0), the other along (0, 1, 1). The angle between them is 60 degrees.
Study the two colours. The teal line climbs equally in x and y but never rises. The orange line climbs equally in y and z but never advances in x. They share only the y-motion, half of each. That shared half is why the cosine is 1/2 and the angle is 60°.
The same two direction arrows placed tail to tail at the origin, with a small curved marker between them showing the 60 degree opening. The marker sits in the slanted plane containing both arrows.
The second figure shows the sliding idea directly. Both arrows start at O, tail to tail. The angle between the arrows is the angle between the lines, wherever the original lines sat. For skew lines, imagine this slide first, then measure.
Find the angle between the lines and . Read the direction ratios from the denominators: and . Then and both lengths are . So and . With Cartesian lines, always harvest the denominators first.
Take and . The dot product is , which is negative. Without the absolute value, would give . That is the angle between the vectors, but the angle between the lines is the acute one: , so .
Parallel lines have angle : for directions and the angle is , and the first is times the second. Opposite directions still mean the same line direction.
11.5 Shortest Distance Between Two Skew Lines
Two pipes run past each other in a building. You must join them with the shortest possible rod. Where should the rod go, and how long is it? The rod must meet both pipes squarely. Any tilt wastes length. That square meeting is the whole chapter idea of shortest distance.
Take any point on the first line and any point on the second line. The distance between them depends on which points you choose. Among all such pairs there is a smallest distance. That is the shortest distance between the lines. It is measured along the segment that is perpendicular to both lines (the common perpendicular).
Why perpendicular? Imagine the rod tilted against one pipe. Straightening it to square shortens it, like a ladder sliding down to the ground. The shortest connector has no tilt left against either line. So it is perpendicular to both.
There are three situations. The method depends on which one you have.
| The lines are ... | Shortest distance | How to tell |
|---|---|---|
| intersecting (they meet at a point) | the same point satisfies both equations | |
| parallel | the length of a perpendicular from a point of one line to the other | direction ratios are proportional |
| skew (not parallel, never meet) | the length of the common perpendicular | directions not proportional, and the lines do not meet |
Two skew lines in space: one runs along the x direction at floor level, the other runs along the y direction one unit above the floor. A short dashed segment joins them squarely. It is the common perpendicular.
Look along the dashed rod. From this viewpoint the two lines look like they cross, but they are at different depths: one at floor level, one unit up. The rod joins (0, 0, 0) to (0, 0, 1) squarely. Rotate the figure to see the gap open up. Distance 0 would mean the lines touch; here they clearly do not.
In Section 11.5.1 you will find the distance between skew lines. In Section 11.5.2 you will find the distance between parallel lines. The first step in both is always the same: check whether the directions are proportional.
Shortest means square to both lines. Check parallel first, then choose the formula.
Two cables cross a hall at different heights. The shortest strap between them cannot lean: it must leave each cable squarely. This section finds that strap. Its direction comes from the cross product, and its length comes from a projection.
Let the skew lines be and . We look for the common perpendicular. A direction that is perpendicular to both and is their cross product . (It is not zero, because skew lines are not parallel.)
The cross product is the right tool because it is built to be square to both inputs. No other combination of the two directions has this property. So the shortest rod must run parallel to it.
Join a point on the first line to a point on the second line. The vector is . The shortest distance is how much of this vector points along , because the common perpendicular is parallel to . That is the length of the projection of on :
Read the fraction in words. The top measures how far apart the lines are along the square direction. The bottom is the length of that direction. Dividing turns the raw overlap into a true length.
Skew distance is a projection: overlap of the joining vector with the cross product, divided by the cross product length.
| Step | Compute | In the worked example |
|---|---|---|
| directions parallel? | check proportional | not proportional: skew possible |
| square direction | ||
| join the lines | ||
| project and divide |
Find the shortest distance between and .
- [Concept] The directions are not proportional, so the lines are not parallel.
- [Board Standard] , and . (Square each entry: .)
- [Board Standard] , so . (Term by term: .)
- [HOTS] .
The computer also found the two feet of the common perpendicular, by solving for the closest points: they are on the first line () and on the second line (). The segment is perpendicular to both directions (both dot products are ), and its length is , the same as the formula gave.
Two routes, one answer. The formula gives √6 directly. Solving for the feet gives P and Q, and measuring PQ gives √6 again. When both agree, the answer is safe.
Two skew lines in three-dimensional space, one in teal and one in orange, that pass each other without meeting. A short dashed segment joins the point (2, 1, 3) on the first line to the point (3, 2, 1) on the second. This segment is the shortest connection and is perpendicular to both lines.
Rotate until the dashed rod points straight at you. The two lines then look like a cross: that end-on view proves the rod is square to both. Rotate again so the rod lies sideways, and you see the true gap √6 ≈ 2.45 between the lines. A tilted connector would look longer from every angle.
Find the shortest distance between (the -axis) and . The cross product is , with squared length . The join is , and its dot with the cross product is . So .
The feet are () and (): the segment is one unit straight up. When lines run along two different axes past each other, the gap is just the separation along the third axis.
A flat 2D end-on view of Example 2: looking straight along the x-axis, the first line is a single dot at the origin and the second line is a vertical line through height 1. The dashed connector is one unit tall.
The end-on trick turns 3D into 2D. Sight along one line so it shrinks to a dot. The other line and the gap are then drawn truly, with no foreshortening. Use this viewpoint whenever a 3D picture confuses you.
When , the shortest distance is . The two lines and the connecting vector lie in one plane (they are coplanar), so the lines intersect (or are parallel). Example: and . The triple product is , so . They meet at (found for , ).
A zero triple product means the lines touch (or are parallel). Always test parallel first, or you will divide by zero.
Newspapers print lines in Cartesian form: three fractions, no λ in sight. The distance formula must therefore read points and directions straight out of the fractions. This section shows how, and the top of the fraction turns out to be a determinant.
Suppose the lines are given as and . Then , and the cross product is . The top of the fraction is a determinant:
The determinant packs the triple product into a box. First row: the join of the two points. Next two rows: the two directions. Expanding it gives exactly the same number as the dot-with-cross in Section 11.5.1.
Find the shortest distance between and .
- [Concept] Points: and , so . Directions: and .
- [Board Standard] The determinant is . Expand along the first row, keeping every sign.
- [Board Standard] The cross product is , and the sum of squares of its components is (that is ).
- [HOTS] .
The determinant is not zero, and the directions are not proportional, so the lines are skew and this distance is correct. As a check, the determinant equals , computed a second way.
| From Cartesian fractions, read ... | Row of the determinant | Check |
|---|---|---|
| the two points , | first row: differences | signs: means |
| direction from denominators | second row | not proportional to row three |
| direction from denominators | third row | cross product matches Section 11.5.1 |
11.6 Distance Between Parallel Lines
Two rails of a track never meet and never separate. The gap is the same everywhere. So one perpendicular measurement anywhere gives the answer for the whole line. That is why parallel lines are easier than skew ones.
Let the lines be and . They have the same direction . The distance between two parallel lines is the same everywhere. It is the length of the perpendicular from any point of one line to the other line.
Take on the first line and on the second, and let . The vectors and make a parallelogram. Its area is (base times height). The base is , and the height is exactly the distance between the lines. So , that is
The area idea is worth holding onto. Base times height equals the cross product size. We know the base and the area, so the height drops out. One formula, one perpendicular, done.
Parallel distance is a parallelogram height: cross product size divided by base length.
Find the distance between and .
- [Concept] . Subtract matching coordinates: , , .
- [Board Standard] , with squared length . Also .
- [HOTS] .
The foot of the perpendicular from to the first line is at , that is . Its distance from is , as found. Any other point of the second line would drop a foot the same distance away.
Two parallel straight lines in three-dimensional space, one in teal and one in orange, both with direction (2, 1, 2). A dashed segment runs from the point (3, 0, 1) on the orange line to the point (7/3, 8/3, 1/3) on the teal line. It is perpendicular to both lines. Its length is the square root of 8.
Slide your eye along the teal line. Wherever you drop the square to the orange line, the dashed length is the same √8. That constancy is the signature of parallel lines. Skew lines have exactly one shortest spot instead.
A point is a "line of zero length", so the same idea gives the distance from a point to a line. Find the distance from to the line through with direction . Here and . The distance is . The foot of the perpendicular is at , that is .
Notice the cross product squared is 153 and the direction squared is 9. Dividing first (17) and then rooting keeps the arithmetic small. Rooting early gives messy decimals.
Find the distance between the lines through and , both with direction . Here and . So , exactly one unit. The foot from is the origin itself (): the gap runs straight along the -axis.
A flat 2D top view of Example 3: the xy-plane with two parallel lines running up the y direction, one through the origin and one through (1, 0). The dashed gap between them is 1 unit along the x-axis.
Sight straight down the z-axis and height disappears. The two lines become two parallel rails on paper, 1 unit apart. Every distance between parallel lines has such a viewpoint where the answer is obvious.
11.7 Exercise 11.2: Lines in Space and Shortest Distances
This set covers Sections 11.3 to 11.5. First read the form (vector or Cartesian?), harvest the point and the direction, then choose: angle, test-a-point, meet, or distance.
| If the question asks for ... | Use ... | Watch out for ... |
|---|---|---|
| an equation | point direction (vector or Cartesian) | signs in numerators |
| an angle | with absolute value | obtuse vector angle vs acute line angle |
| meet or distance | proportional check first | parallel uses its own formula |
11.8 Miscellaneous Exercise and Board Assessment
A final mixed set across the whole chapter: cosines one moment, Cartesian form the next, then a distance. If a question feels hard, name its section first; the method follows.
| Quick map | Section | Core formula |
|---|---|---|
| cosines and ratios | 11.2 | |
| line equations | 11.3 | |
| angles | 11.4 | |
| distances | 11.5 | projection (skew) or parallelogram height (parallel) |
11.9 Chapter Summary and 3D Vector-Cartesian Formula Matrix
The chapter asked one question in many forms: given a point and a direction, what can you find? Angles, crossings and gaps all came from those two ingredients. This page collects every tool.
| Line form | Equation | Read it as ... |
|---|---|---|
| vector, point direction | at | |
| vector, two points | at , midway | |
| Cartesian | removed; denominators are ratios | |
| Cartesian, two points | differences as denominators | reduce ratios when handy |
- Direction cosines of a directed line: , , , with . Reversing the direction changes all three signs.
- Direction ratios are any numbers proportional to . Then , and similarly for and .
- Through two points: the direction ratios are . Three points are collinear when two such vectors are proportional.
- Vector equation: (point , direction ). Through two points: .
- Cartesian form: . Through two points: use , , as the denominators.
- Angle between lines: (always acute). Perpendicular: . Parallel: ratios proportional.
- Skew lines: . If the top is , the lines meet. In Cartesian form the top is a determinant.
- Parallel lines: . The same formula gives the distance from a point to a line.
| Ask ... | Answer with ... | Memory hook |
|---|---|---|
| angle? | directions only (slide lines together) | acute always |
| do they meet? | triple product + not parallel | zero top means touch |
| parallel gap? | parallelogram height | same everywhere |
| skew gap? | projection on cross product | square to both |
A point and a direction fix a line. Directions give angles. The cross product gives distances.