Question
Finding the shortest tunnel from a point to a line in three dimensions
Original question: A gas company maintains a straight pipeline that passes under a mountain.
The pipeline is modelled as a straight line and one side of the mountain is modelled as a plane.
There are accessways from a control centre to two access points on the pipeline.
Modelling the control centre as the origin , the two access points on the pipeline have coordinates and , where the units are metres.
(a) Find a vector equation for the line , giving your answer in the form , where is a scalar parameter.
The equation of the plane modelling the side of the mountain is
The company wants to create a new accessway from this side of the mountain to the pipeline.
The accessway will consist of a tunnel of shortest possible length between the pipeline and the point on this side of the mountain, where is a constant.
(b) Using the model, find (i) the coordinates of the point at which this tunnel will meet the pipeline, (ii) the length of this tunnel.
It is only practical to construct the new accessway if it will be significantly shorter than both of the existing accessways, and .
(c) Determine whether the company should build the new accessway.
(d) Suggest one limitation of the model.
Expert Verified Solution
Key takeaway: This is a vector geometry problem involving a line in 3D, projection ideas, and distance comparison in a realistic modelling context.
Part (a): vector equation of the line PQ
The points are
A vector along the line is found by subtracting coordinates:
So a vector equation for the line is
Any nonzero scalar multiple of the direction vector is also acceptable.
Part (b): shortest tunnel from M to the pipeline
The plane is
and the point on it is . Since lies on the plane,
That gives
So .
The shortest tunnel from a point to a line is the perpendicular from the point to the line. Let a general point on the pipeline be
Then
For the shortest distance, must be perpendicular to the direction vector . So
Compute
Dotting with the direction vector gives
This simplifies to
Substitute back to find the meeting point:
So the tunnel meets the pipeline at
which can also be written in simplified decimal form if desired.
The tunnel length is the distance . Using the vector difference
we obtain the exact length
Part (c): compare with the existing accessways
Compute the lengths of the existing accessways:
The new tunnel has length
while
So the new accessway is far shorter than both existing ones, and the company should build it if the model is accepted.
Part (d): one limitation of the model
One limitation is that the model treats the pipeline and mountain side as perfect geometric objects. Real terrain is uneven, and a tunnel may not be a straight segment through solid rock. The model also ignores construction constraints such as safety regulations, soil stability, and whether the tunnel can actually be drilled along the mathematically shortest path.
A strong way to handle this kind of question is to separate the geometry from the context: first use vectors to find the perpendicular distance, then interpret whether the result is practically worthwhile.
Pitfalls the pros know 👇 A common mistake is to think the shortest tunnel should meet the pipeline at the midpoint of PQ or at the point on the line closest to the origin. Neither is generally true. The shortest segment from a point to a line is perpendicular to the line, so the direction vector must be orthogonal to the tunnel vector. Another frequent error is forgetting to use the fact that M lies on the plane before solving for k. That condition is essential, and if you skip it, the rest of the geometry starts from the wrong point. Finally, when comparing lengths, keep units consistent and compare actual distances, not coordinate values.
What if the problem changes? If the point were changed to while still lying on the same plane, the value of would change and the foot of the perpendicular on the line would move accordingly. The method would be identical: first enforce the plane equation to determine the missing coordinate, then use a dot-product perpendicularity condition to find the closest point on the line. If the pipeline were instead described by a different line, for example one parallel to but shifted in space, the shortest tunnel would still be found by projection ideas, but the actual meeting point and length would change.
Tags: vector equation of a line, perpendicular distance in 3D, dot product orthogonality
FAQ
Why is the shortest tunnel from a point to a line perpendicular to the line?
The shortest segment between a point and a line is the perpendicular segment. Any slanted segment would be longer, so the dot product with the line direction vector must be zero at the closest point.
How do you find the missing coordinate of the point on the plane?
Substitute the point into the plane equation. Since the point lies on the plane, its coordinates must satisfy the equation exactly, which lets you solve for the unknown coordinate.