Find the Shortest Segment Cut Off by the First Quadrant
At a glance
- 1. Name the intercepts
Let the line meet the positive x- and y-axes at (u, 0) and (0, v), where u and v are positive.
- 2. Use the point condition
For a given point (a, b), the intercept form of the line gives a/u + b/v = 1.
- 3. Minimize the length
Minimize the squared segment length u² + v² subject to that condition.
- 4. Find the intercepts
The minimizing intercepts are u = a^(1/3)S and v = b^(1/3)S, where S = a^(2/3) + b^(2/3).
- 5. Compute the minimum
The shortest length is S^(3/2), or (a^(2/3) + b^(2/3))^(3/2).
Suppose a line passes through a fixed point in the first quadrant, with and . It meets the positive - and -axes at two points, and the portion between those intercepts is cut off by the first quadrant. The goal is to choose the line so that this segment is as short as possible.
The answer depends on the coordinates of the fixed point. The method is to express the segment length in terms of its two intercepts and minimize subject to the condition that the line passes through .
Write the line using its intercepts
Let the intercepts be and , where . The segment length is
A line with these intercepts has equation
Since it passes through , the intercepts must satisfy
Thus, the problem is to minimize subject to this constraint. Minimizing the squared length is equivalent to minimizing the length, and it avoids carrying a square root through the calculus.
Minimize with the constraint
Use a Lagrange multiplier for
The multiplier equations are
Eliminating gives
so the minimizing intercepts have the ratio
This ratio, together with the point constraint, determines both intercepts. Set
Then the intercepts are
Indeed, substituting them into the constraint gives
Minimum length and worked example
Substitute the minimizing intercepts into the length formula:
For example, take the fixed point . Then
The best intercepts are
So the segment runs from to and has length
The line is , and it passes through because .
Why this is a minimum
The constraint implies and . Solving it for gives , with . As , and hence the segment length tend to infinity; as , the segment length also tends to infinity. Therefore, the continuous length function on this feasible curve attains a minimum at an interior point. At any such minimum, the Lagrange equations apply. They yield the ratio above, and that ratio together with the constraint has the unique positive solution , . Thus this pair is the unique global minimizer.
Common mistakes
- Using the slope without enforcing the point condition. A candidate line must satisfy ; optimizing over arbitrary intercepts does not solve the stated problem.
- Minimizing the sum of intercepts. The segment length is , not . Those objectives generally produce different lines.
- Forgetting the square root at the end. The minimized quantity during the calculation is the squared length. Take its square root to report the segment length.
- Ignoring the point’s location. The formula assumes . If the point lies on an axis, the positive-intercept setup becomes a boundary case and needs separate interpretation.
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.