Maths WorkshopMaths problems with full solutions
Exercise 135Calculus › Single-variable calculus › Differentiation › Optimisation and curve sketchingL1Added 4 Nov 2026

The triangle of least area through a point

#optimisation#lines#triangle#area

Statement

Through the point P=(a,b)P=(a,b) with a,b>0a,b>0, we draw a line cutting the positive axes at (p,0)(p,0) and (0,q)(0,q). Find the line for which the triangle formed with the axes has the least area.

Hint

Write that PP lies on the line: ap+bq=1\frac ap+\frac bq=1. Express qq in terms of pp, with p>ap>a.

Show solutionHide solution

Solution

Elimination. From ap+bq=1\frac ap+\frac bq=1: bq=p−ap\frac bq=\frac{p-a}p, so q=bpp−aq=\dfrac{bp}{p-a}. For q>0q>0 we need p>ap>a.

Area.
S(p)=pq2=b2⋅p2p−a,p>a.S(p)=\frac{pq}2=\frac b2\cdot\frac{p^2}{p-a},\qquad p>a.

Derivative.
S′(p)=b2⋅2p(p−a)−p2(p−a)2=b2⋅p(p−2a)(p−a)2.S'(p)=\frac b2\cdot\frac{2p(p-a)-p^2}{(p-a)^2}=\frac b2\cdot\frac{p(p-2a)}{(p-a)^2}.
It is negative on (a,2a)(a,2a) and positive on (2a,∞)(2a,\infty), and S→+∞S\to+\infty at both ends of (a,∞)(a,\infty): the global minimum is at p=2ap=2a, hence q=2bq=2b.

Answer. The minimal area is S=2abS=2ab, attained when PP is the midpoint of the segment of the line between the axes (the midpoint of (2a,0)(2a,0) and (0,2b)(0,2b) is (a,b)(a,b)).

Example. P=(3,2)P=(3,2): intercepts 66 and 44, area 1212.