Maths WorkshopMaths problems with full solutions
Exercise 395Calculus › Single-variable calculus › Differentiation › Optimisation and curve sketchingHigh schoolAdded 2 Nov 2026

The largest rectangle in a semicircle

#optimisation#geometry#area

Statement

A rectangle is inscribed in a half-disc of radius RR: one side lies on the diameter and the two upper vertices are on the arc. What is the largest possible area?

Hint

Place the centre at the origin. The upper vertices are (±x,R2−x2)(\pm x,\sqrt{R^2-x^2}) for 0<x<R0<x<R. Maximise A2A^2 to avoid the square root.

Show solutionHide solution

Solution

Area. The rectangle has width 2x2x and height R2−x2\sqrt{R^2-x^2}, so
A(x)=2xR2−x2,A(x)2=4x2(R2−x2)=4R2x2−4x4.A(x)=2x\sqrt{R^2-x^2},\qquad A(x)^2=4x^2(R^2-x^2)=4R^2x^2-4x^4.

Maximising. As A>0A>0, AA and A2A^2 have the same maximiser. The derivative of A2A^2 is 8R2x−16x3=8x(R2−2x2)8R^2x-16x^3=8x(R^2-2x^2), positive for x<R2x<\frac R{\sqrt2} and negative after. So the maximum is at x=R2x=\dfrac R{\sqrt2}, where the height equals R2\dfrac R{\sqrt2} too.

Answer.
Amax⁡=2⋅R2⋅R2=R2.A_{\max}=2\cdot\frac R{\sqrt2}\cdot\frac R{\sqrt2}=R^2.

Remark. The optimal rectangle is twice as wide as it is tall. Its area is R2πR2/2=2π≈64%\frac{R^2}{\pi R^2/2}=\frac2\pi\approx64\% of the half-disc.