Example 23: Shortest distance from to
Find the shortest distance of the point from the parabola , where .
Let be any point on the parabola. Then , , and its distance from is
, and as .
For , ; for , .
So is least at .
At , , so
Hence the shortest distance is .
Want the reason behind every step, the basics and the checks?
The distance from a fixed point to a moving point of a curve is a function of where the moving point is. Describe the moving point by one number, write the distance as a function of that number, and minimise it. On it is convenient to use the height of the point , because then in the distance formula is simply .
- Given
- The parabola and the point on its axis, with .
- To find
- The least distance between and a point of the parabola.
- Plan
- Take a general point of the parabola; write the distance as a function of . Differentiate (chain rule), find the critical point, use the sign of on each side (first derivative test) to see that it gives the least value for all , and evaluate.
Basics you need
The distance between and is . Basics: building the function to optimise
, with inner function and outer function . Basics: chain rule
If changes sign from negative to positive as increases through a critical point, that point is a point of local minima. Lesson: first and second derivative tests
on an interval makes decreasing there, makes it increasing. A function that decreases up to a point and increases after it takes its least value at that point. Lesson: increasing and decreasing functions
A fraction with a positive denominator has the sign of its numerator. Basics: sign of a product
Solution
A general point of the parabola
Let be any point on . Then , so , and every occurs (at ).
To minimise over "all points of the parabola" we need a single variable that runs over all of them. The height does that, with allowed range . The two points and are mirror images in the -axis, and is on that axis, so both are at the same distance from it: using loses nothing.A square is never negative: . Basics: interval notationThe distance as a function of
Replace by :
This is the book's equation (1) followed by the substitution . Now depends on one variable only, and calculus can be used.Distance formula (Basic 1) with and .Differentiate by the chain rule
Inner function , with ; outer function . So
The denominator is positive for every : could be 0 only if and , but .
We need to find the critical points and to read off where falls and rises. Because the denominator is positive, the sign of is simply the sign of the numerator (Basic 5). That makes the rest easy.The critical point, and why matters
Call this . Since , : it is an allowed height.
This is where the condition is used. If were smaller than , would be negative, a height the parabola never reaches, and the method would break (Step 7 says what happens then). The upper limit plays no part in the working; the answer holds for every .First derivative test, and why it gives the least value
The numerator is . So
- for : , and is decreasing;
- for : , and is increasing.
When , changes sign from negative to positive at , so by the first derivative test is a point of local minima. More than that: decreases all the way from to and increases for ever after, so for every other allowed . The least distance occurs at . (When , is the end of the range and is increasing on all of , so again the least value is at .)
The book uses the first derivative test here and, in its Note, explains why: it is easier and shorter than computing for this square root. The sign pattern " then " over the whole range is what turns a local minimum into the shortest distance overall.Theorem 3(ii), Section 6.4, and Theorem 1, Section 6.3. Lesson: first and second derivative testsThe shortest distance
At we have , so
The nearest points of the parabola are : one on each side of the axis (they coincide at the vertex when ).
The case : , and the circle of radius about touches at and nowhere comes closer. Equal scales on both axes. Putting in first keeps the arithmetic short. Writing puts everything over 4, whose square root is 2.for ; here .A check without calculus, and the case
Completing the square inside the root:
The square is least (zero) at , giving , the same answer. If instead (not part of this question), is not allowed, increases on all of , and the shortest distance is , to the vertex. At the two formulas agree: .
An independent route to the same number is the best check that the calculus is right. It also explains the restriction on in the question., so .
For , the shortest distance of from the parabola is
attained at the points . This agrees with the book.
Take . The formula gives at . Other points are farther: the vertex is at distance 2; and are both at . For the formula gives , and for it gives , the distance to the vertex.
- Forgetting . A critical point with negative is not a point of the parabola; that is why is assumed.
- Dropping the chain rule. The derivative of is , not .
- Only one nearest point. For there are two, mirror images in the -axis.
- Calling a local minimum the shortest distance without a reason. The sign of on the whole range gives the reason.
- Distance from a point to a curve: parametrise the curve by one variable, write the distance, minimise.
- Minimising and minimising give the same point (the square root is increasing), and is often easier.
- Conditions in the question, like , are usually there to keep the critical point inside the allowed range.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Distance formula | Step 2 | Coordinate geometry (Basics: building the function) |
| Step 3 | Chain rule, Chapter 5 (Basics: chain rule) | |
| First Derivative Test | Step 5 | Theorem 3, Section 6.4 (Lesson: tests) |
| Sign of gives decreasing/increasing | Step 5 | Theorem 1, Section 6.3 |
| Why the first test is used here | Step 5 | Note after Example 23 (it says "Example 35", a stale reference to this example) |
| Completing the square | Step 7 | Algebra |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →