2J

Maximisation and minimisation in geometry

Optimisation problems in geometry: shapes inscribed under curves and inside solids, using similar triangles or Pythagoras to link the variables, and minimising distance by minimising its square.

Geometry problems follow the same five steps as 2I. The new skill is step 2: the link between the two variables is hidden in the picture, usually as similar triangles, Pythagoras, or a point lying on a curve.

A rectangle under a curve

When a corner of a shape sits on a curve, its coordinates satisfy the curve's equation. That gives the link between width and height.

Example 1●●

A rectangle has its base on the $x$-axis and its top two corners on $y = 12 - x^2$. Find the largest possible area.

Width $2x$, height $12 - x^2$, so $A = 2x(12 - x^2) = 24x - 2x^3$.
By symmetry, put the top corners at (x, 12 − x²) and (−x, 12 − x²).
Domain: $0 \lt x \lt 2\sqrt3$.
The corner must be above the axis, so x² < 12.
$A' = 24 - 6x^2 = 0$ at $x = 2$ (taking $x \gt 0$).
$A'' = -12x = -24 \lt 0$, so a maximum. $A = 4 \times 8 = 32$ square units.
The rectangle under y = 12 − x²

The blue segment is the top of the rectangle. Slide x to move the corners along the curve.

Try this

A tall thin rectangle and a short wide one both have small areas. Slide $x$ from one extreme to the other and find where the area peaks. Does it match Example 1?

A cylinder inside a cone

For a solid inside a cone, take a vertical cross-section through the axis. The cone becomes a triangle, and similar triangles link the radius and height of the inner solid.

Example 2●●●

A cylinder is placed inside a cone of radius $6$ cm and height $12$ cm, with the cylinder's base on the cone's base. Find the cylinder's largest volume.

The side is the line $h = 12 - 2r$ (it drops $12$ over a run of $6$).
In the cross-section, the cone's side runs from (6, 0) up to the apex (0, 12). The cylinder's top corner (r, h) lies on that line.
$V = \pi r^2(12 - 2r) = \pi(12r^2 - 2r^3)$, for $0 \lt r \lt 6$.
Volume of a cylinder is πr²h. Replace h.
$V' = \pi(24r - 6r^2) = 6\pi r(4 - r) = 0$ at $r = 4$.
$V'' = \pi(24 - 12r) = -24\pi \lt 0$ at $r = 4$, so a maximum. $h = 4$ and $V = \pi \times 16 \times 4 = 64\pi$ cm³.

The closest point

A distance involves a square root, which is messy to differentiate. But distance is never negative, so the point that makes $D$ smallest also makes $D^2$ smallest. Minimise $D^2$ instead.

Example 3●●●

Find the shortest distance from the point $(0, 3)$ to the parabola $y = x^2$.

$D^2 = x^2 + (x^2 - 3)^2 = x^4 - 5x^2 + 9$
A point on the curve is (x, x²). Use the distance formula, squared.
$\dfrac{d(D^2)}{dx} = 4x^3 - 10x = 2x(2x^2 - 5) = 0$ at $x = 0$ or $x^2 = \tfrac52$.
At $x = 0$: $D^2 = 9$. At $x^2 = \tfrac52$: $D^2 = \tfrac{25}{4} - \tfrac{25}{2} + 9 = \tfrac{11}{4}$.
Compare values. x = 0 gives the point (0, 0), at distance 3.
The smaller is $\tfrac{11}{4}$, so the shortest distance is $\dfrac{\sqrt{11}}{2} \approx 1.66$ units.

Your turn

An open box with a square base must hold $32$ cm³. Find the least surface area.

Show the working

Base side $x$, height $h$: $x^2h = 32$, so $h = \dfrac{32}{x^2}$. Area $S = x^2 + 4xh = x^2 + \dfrac{128}{x}$. $S' = 2x - \dfrac{128}{x^2} = 0$ gives $x^3 = 64$, so $x = 4$. $S'' = 2 + \dfrac{256}{x^3} \gt 0$, so a minimum. $S = 16 + 32 = 48$ cm².

Practice
  1. For the rectangle under $y = 12 - x^2$ with $A = 24x - 2x^3$, find the $x$ that gives the largest area.

  2. Find that largest area.

  3. A cylinder of radius $r$ sits inside a cone of radius $6$ and height $12$, so $h = 12 - 2r$. Find $h$ when $r = 3$.

  4. The largest such cylinder has volume $k\pi$ cm³. Find $k$.

  5. Why do we minimise $D^2$ rather than $D$?

  6. Find the smallest value of $D^2$, where $D$ is the distance from $(0, 3)$ to a point on $y = x^2$.

  7. Find the $x$-coordinate of the point on the line $y = 10 - 2x$ closest to the origin.

  8. A rectangle is inscribed in a circle of radius $5$. Find its largest area.

  9. Exam style: a rectangle has one corner at the origin and the opposite corner on $y = 9 - x^2$ in the first quadrant. Find the largest area, to two decimal places.

  10. Exam style: an open box with a square base must hold $108$ cm³. Find the least surface area in cm².

Formula sheet