Class 12 Maths, Worked in Full Past papersGet updates
Chapter 6 · Application of Derivatives

Miscellaneous · Q14: Cylinder of maximum volume in a sphere of radius RR⁠: height 2R3\frac{2R}{\sqrt3}

Miscellaneous ExerciseOptimisation · Section 6.4 · Miscellaneous Exercise
The question

Show that the height of the cylinder of maximum volume that can be inscribed in a sphere of radius R is 2R3\frac{2R}{\sqrt{3}}⁠. Also find the maximum volume.

Exam answer

Let the cylinder have height hh and radius rr⁠. The centre of the sphere is the midpoint of its axis, so

r2+h24=R2,0<h<2Rr^2 + \frac{h^2}{4} = R^2,\quad 0 < h < 2R V(h)=πr2h=π(R2−h24)h=πR2h−πh34\begin{aligned} V(h) &= \pi r^2 h = \pi\left(R^2 - \frac{h^2}{4}\right)h \\ &= \pi R^2 h - \frac{\pi h^3}{4} \end{aligned} V′(h)=πR2−3πh24V′′(h)=−3πh2\begin{aligned} V'(h) &= \pi R^2 - \frac{3\pi h^2}{4} \\ V''(h) &= -\frac{3\pi h}{2} \end{aligned}

V′(h)=0⇒h2=4R23V'(h) = 0 \Rightarrow h^2 = \frac{4R^2}{3}⁠, so h=2R3h = \frac{2R}{\sqrt3}⁠. As V′′(h)<0V''(h) < 0⁠, VV is maximum there. V′V' is positive before this point and negative after it, so this is the greatest volume.

Then r2=R2−R23=2R23r^2 = R^2 - \frac{R^2}{3} = \frac{2R^2}{3}⁠, and

Vmax⁡=π⋅2R23⋅2R3=4πR333\begin{aligned} V_{\max} &= \pi\cdot\frac{2R^2}{3}\cdot\frac{2R}{\sqrt3} \\ &= \frac{4\pi R^3}{3\sqrt3} \end{aligned}

∴\therefore The height of the cylinder of maximum volume is 2R3\frac{2R}{\sqrt3}⁠. Hence proved.

The maximum volume is 4πR333\dfrac{4\pi R^3}{3\sqrt3} cubic units.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

Cut through the cylinder's axis: a rectangle inscribed in a circle of radius RR⁠. Half the height, the cylinder's radius and the sphere's radius form a right triangle, r2+(h2)2=R2r^2 + \left(\frac{h}{2}\right)^2 = R^2⁠. A tall cylinder is thin and a wide one is short; this relation lets us write the volume in terms of the height alone and find the best balance.

Given, to show, and the plan
Given
A sphere of radius RR (fixed). A right circular cylinder is inscribed in it: both circular rims lie on the sphere.
To show / find
The cylinder of largest volume has height h=2R3h = \frac{2R}{\sqrt3}⁠; find that largest volume.
Plan
(1) Cross-section, variables and the allowed range of hh⁠. (2) r2r^2 in terms of hh⁠. (3) V(h)V(h)⁠. (4) Critical point. (5) Second derivative test and the sign of V′V' on the whole range. (6) The maximum volume.

Basics you need

1Volume of a cylinder

A cylinder of radius rr and height hh has volume V=πr2hV = \pi r^2 h⁠. Basics: area and volume formulas

2Building the function to optimise

Use the geometry to eliminate all variables but one and state the allowed range. Basics: building the function to optimise

3Second Derivative Test (Theorem 4, Section 6.4)

V′(c)=0V'(c) = 0 and V′′(c)<0V''(c) < 0 give a point of local maxima. Lesson: derivative tests

4Rationalising a surd

13=33\frac{1}{\sqrt3} = \frac{\sqrt3}{3}⁠, so 433=439\frac{4}{3\sqrt3} = \frac{4\sqrt3}{9}⁠. Basics: algebra

Solution

  1. The cross-section and the variable

    Every point of either rim is at distance RR from the centre OO of the sphere, so OO lies on the cylinder's axis, and by symmetry it is halfway between the two ends. Cut through the axis: the sphere becomes a circle of radius RR and the cylinder a rectangle inscribed in it.

    Let hh be the height of the cylinder and rr its radius.

    O R r h/2 h section through the axis sphere radius R, centre O cylinder height h, radius r right triangle: r² + (h/2)² = R² drawn at the best height h = 2R/√3 ≈ 1.155R r = √(2/3) R ≈ 0.816R
    Cross-section through the axis, drawn at the best height h=2R3h = \frac{2R}{\sqrt3}⁠. The segment from OO to a corner of the rectangle is a radius RR of the sphere.
    Both rims have the same radius rr⁠, so each lies in a plane at the same distance d=R2−r2d = \sqrt{R^2 - r^2} from OO⁠. Two different parallel planes at the same distance from OO must lie on opposite sides of it, so OO is halfway between the faces and d=h2d = \frac{h}{2}⁠. Choosing hh therefore fixes everything else.
    Points of a sphere are all at distance RR from the centre. Basics: building the function
  2. The allowed range and the radius

    Pythagoras in the right triangle formed by OO⁠, the centre of the top face and a point on the top rim:

    r2+(h2)2=R2⟹r2=R2−h24.r^2 + \left(\frac{h}{2}\right)^2 = R^2 \quad\Longrightarrow\quad r^2 = R^2 - \frac{h^2}{4}.

    A genuine cylinder needs h>0h > 0 and r>0r > 0⁠, that is h2<4R2h^2 < 4R^2⁠:

    0<h<2R.0 < h < 2R.
    At h=2Rh = 2R the cylinder would collapse to a diameter (r=0r = 0⁠), and at h=0h = 0 to a flat disc; neither holds any volume, so both ends are excluded.
    Pythagoras' theorem; R2−h24>0  ⟺  h<2RR^2 - \frac{h^2}{4} > 0 \iff h < 2R for h>0h > 0⁠. Basics: interval notation
  3. The volume as a function of hh

    V(h)=πr2h=π(R2−h24)h=πR2h−πh34,0<h<2R.\begin{aligned} V(h) &= \pi r^2 h = \pi\left(R^2 - \frac{h^2}{4}\right)h \\ &= \pi R^2 h - \frac{\pi h^3}{4}, \qquad 0 < h < 2R. \end{aligned}
    Substituting r2r^2 leaves a polynomial in the single variable hh⁠; RR is a fixed constant.
    V=πr2hV = \pi r^2 h (Basic 1). Basics: area and volume formulas
  4. Critical point

    V′(h)=πR2−3πh24.V'(h) = \pi R^2 - \frac{3\pi h^2}{4}. V′(h)=0  ⟺  h2=4R23  ⟺  h=2R3(h>0).\begin{aligned} V'(h) = 0 &\iff h^2 = \frac{4R^2}{3} \\ &\iff h = \frac{2R}{\sqrt{3}} \quad (h > 0). \end{aligned}

    Since 23≈1.155<2\frac{2}{\sqrt3} \approx 1.155 < 2⁠, this hh lies in (0,2R)(0, 2R)⁠.

    The negative root −2R3-\frac{2R}{\sqrt3} is not a height. VV is a polynomial, differentiable everywhere, so this is the only critical point in the range.
    Critical point (Note after Theorem 2, Section 6.4). Lesson: maxima and minima
  5. It is a maximum, and the largest on the whole range

    V′′(h)=−3πh2<0for every h>0,V''(h) = -\frac{3\pi h}{2} < 0 \quad\text{for every } h > 0,

    so at h=2R3h = \frac{2R}{\sqrt3} the Second Derivative Test (Theorem 4 (i)) gives a point of local maxima. For the whole range, factor V′V'⁠:

    V′(h)=3π4(2R3−h)(2R3+h).V'(h) = \frac{3\pi}{4}\left(\frac{2R}{\sqrt3} - h\right)\left(\frac{2R}{\sqrt3} + h\right).

    The last bracket is positive, so V′>0V' > 0 for 0<h<2R30 < h < \frac{2R}{\sqrt3} and V′<0V' < 0 for 2R3<h<2R\frac{2R}{\sqrt3} < h < 2R⁠. VV increases up to 2R3\frac{2R}{\sqrt3} and decreases after it, so V(h)<V(2R3)V(h) < V\left(\frac{2R}{\sqrt3}\right) for every other allowed hh⁠.

    The second derivative test is local; the factorised V′V' gives its sign everywhere in the range, which proves the critical point is the overall maximum. (Here V′′<0V'' < 0 on the whole range is a second reason: V′V' is decreasing, so it is positive before its only zero and negative after.)
    3π4(4R23−h2)=πR2−3πh24\frac{3\pi}{4}\left(\frac{4R^2}{3} - h^2\right) = \pi R^2 - \frac{3\pi h^2}{4}⁠, and a difference of squares factors. Theorem 1, Section 6.3. Lesson: increasing and decreasing
  6. The maximum volume

    At h=2R3h = \frac{2R}{\sqrt3}⁠: h24=R23\frac{h^2}{4} = \frac{R^2}{3}⁠, so r2=R2−R23=2R23r^2 = R^2 - \frac{R^2}{3} = \frac{2R^2}{3}⁠. Then

    Vmax⁡=π⋅2R23⋅2R3=4πR333=439 πR3.\begin{aligned} V_{\max} &= \pi\cdot\frac{2R^2}{3}\cdot\frac{2R}{\sqrt3} \\ &= \frac{4\pi R^3}{3\sqrt{3}} = \frac{4\sqrt3}{9}\,\pi R^3. \end{aligned}
    Computing r2r^2 first keeps the arithmetic clean. The two forms are equal: multiply top and bottom of 433\frac{4}{3\sqrt3} by 3\sqrt3 to get 439\frac{4\sqrt3}{9}⁠. The best cylinder has radius r=23 R≈0.816Rr = \sqrt{\frac23}\,R \approx 0.816R⁠.
    Rationalising the denominator (Basic 4). Basics: algebra
Result

With height hh⁠, an inscribed cylinder has V(h)=π(R2h−h34)V(h) = \pi\left(R^2 h - \frac{h^3}{4}\right) for 0<h<2R0 < h < 2R⁠. The volume is greatest when h=2R3h = \frac{2R}{\sqrt3}, as required, and the maximum volume is 4πR333=439πR3\frac{4\pi R^3}{3\sqrt{3}} = \frac{4\sqrt3}{9}\pi R^3 cubic units. (The answer key in this reprint has no entry for this question.)

Check it with numbers

Take R=1R = 1⁠: best height 23≈1.1547\frac{2}{\sqrt3} \approx 1.1547⁠, maximum volume 4π33≈2.4184\frac{4\pi}{3\sqrt3} \approx 2.4184⁠. Other heights give less: V(1)=π(1−14)=3π4≈2.3562V(1) = \pi\left(1 - \frac14\right) = \frac{3\pi}{4} \approx 2.3562 and V(1.3)≈2.3586V(1.3) \approx 2.3586⁠. The best cylinder holds 4π/(33)4π/3=13≈0.577\frac{4\pi/(3\sqrt3)}{4\pi/3} = \frac{1}{\sqrt3} \approx 0.577 of the sphere's volume. A computer search over 200 000 heights in (0,2)(0, 2) finds nothing larger.

Common mistakes
  1. Using r2+h2=R2r^2 + h^2 = R^2⁠. The centre is halfway up the cylinder, so the right triangle has leg h2\frac{h}{2}⁠, not hh⁠.
  2. Choosing rr as the variable and then differentiating with respect to hh by mistake. Pick one variable and stick to it.
  3. Stopping at the local test without the sign of V′V' on the whole of (0,2R)(0, 2R)⁠.
What to take away
  1. Inscribed in a sphere: cut through the axis and use r2+d2=R2r^2 + d^2 = R^2⁠, where dd is the distance from the centre to a face.
  2. When V′′V'' is negative on the whole range, a single critical point is automatically the overall maximum.
  3. Compare Question 12 (largest cone in a sphere) and Question 15 (largest cylinder in a cone).

Every fact used, and where it comes from

FactUsed inSource
Volume of a cylinder πr2h\pi r^2 h⁠; of a sphere 43πR3\frac43\pi R^3Step 3, CheckMensuration (Basics: area and volume formulas)
Pythagoras' theoremStep 2Geometry
Critical pointStep 4Note after Theorem 2, Section 6.4 (Lesson: maxima and minima)
Second Derivative TestStep 5Theorem 4, Section 6.4 (Lesson: derivative tests)
Sign of V′V' decides increasing or decreasingStep 5Theorem 1, Section 6.3 (Lesson: increasing and decreasing)
Optimisation set-upSteps 1 to 3Section 6.4 examples (Lesson: optimisation problems)
All valuesSteps 4 to 6, CheckRecomputed with sympy and a search over (0,2R)(0, 2R) in the site's verification script
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →