Question
A cylinder of maximum volume is inscribed in a sphere of radius . Find the maximum volume of the cylinder.
Solution — Step by Step
Let the cylinder have radius and height . The cylinder is inscribed in the sphere of radius , so all points of the cylinder (including the top and bottom circular edges) lie on the sphere.
The relationship between , , and : if we draw a cross-section through the centre, the diagonal from the centre of the sphere to a top corner of the cylinder is the sphere’s radius .
Using Pythagoras (with half-height as the vertical component):
Therefore:
Volume of cylinder:
Now is a function of alone.
Set :
At :
Verify it’s a maximum: ✓ (negative, so maximum)
Why This Works
The cylinder’s volume depends on both and , but the sphere constraint ties them together: making the cylinder taller reduces its radius (since it must stay inside the sphere), and vice versa. There’s an optimal trade-off.
By expressing in terms of using the sphere constraint, we reduced a two-variable optimisation to a single-variable problem. Then standard calculus (first derivative = 0, second derivative negative) finds the maximum.
The optimal height is about 1.15R — the cylinder is actually shorter than the sphere’s diameter (which is 2R). This is because making the cylinder taller would require a much narrower radius, reducing volume more than the height gain adds.
Alternative Method — Substitution with Angle
Let where is the angle from the equator. Then .
Differentiate with respect to and set to zero: this gives , which yields the same result.
Common Mistake
Setting up the Pythagorean constraint incorrectly. The sphere radius connects the centre to a top rim of the cylinder. The centre of the sphere is at height 0 (centred), so the vertical distance to the top of the cylinder is , not . Writing (using full height instead of ) gives the wrong answer.