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

Miscellaneous · Q15: Greatest cylinder in a cone of height hh⁠, semi-vertical angle α\alpha⁠: height h3\frac{h}{3}

Miscellaneous ExerciseOptimisation · Section 6.4 · Miscellaneous Exercise
The question

Show that height of the cylinder of greatest volume which can be inscribed in a right circular cone of height hh and semi vertical angle α\alpha is one-third that of the cone and the greatest volume of cylinder is 427πh3tan⁡2α\frac{4}{27}\pi h^3\tan^2\alpha⁠.

Exam answer

Let the cylinder have height xx and radius rr⁠, where 0<x<h0 < x < h⁠. In the right triangle at the vertex of the cone, tan⁡α=rh−x\tan\alpha = \frac{r}{h - x}⁠, so r=(h−x)tan⁡αr = (h - x)\tan\alpha⁠.

V(x)=πr2x=k(h−x)2xV(x) = \pi r^2 x = k(h - x)^2 x

where k=πtan⁡2αk = \pi\tan^2\alpha is a constant.

V′(x)=k(h−x)(h−3x)V′′(x)=k(6x−4h)\begin{aligned} V'(x) &= k(h - x)(h - 3x) \\ V''(x) &= k(6x - 4h) \end{aligned}

V′(x)=0⇒x=h3V'(x) = 0 \Rightarrow x = \frac{h}{3} (as x≠hx \ne h⁠), and V′′(h3)=−2kh<0V''\left(\frac{h}{3}\right) = -2kh < 0⁠. So VV is maximum at x=h3x = \frac{h}{3}⁠. V′V' is positive before this point and negative after it, so this is the greatest volume.

Vmax⁡=k⋅4h29⋅h3=427πh3tan⁡2α\begin{aligned} V_{\max} &= k\cdot\frac{4h^2}{9}\cdot\frac{h}{3} \\ &= \frac{4}{27}\pi h^3\tan^2\alpha \end{aligned}

∴\therefore The height of the cylinder of greatest volume is h3\frac{h}{3}⁠, one-third of the height of the cone.

Its greatest volume is 427πh3tan⁡2α\dfrac{4}{27}\pi h^3\tan^2\alpha⁠. Hence proved.

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

The one idea this problem is built on

The cylinder stands on the cone's base, and its top rim touches the sloping surface. Above the cylinder sits a small cone with the same angle α\alpha at the apex. In the cross-section that small cone is a right triangle with height h−xh - x and base rr⁠, so r=(h−x)tan⁡αr = (h - x)\tan\alpha⁠. The taller the cylinder, the narrower it must be; this one relation lets us write the volume in terms of the height alone.

Given, to show, and the plan
Given
A right circular cone of height hh and semi-vertical angle α\alpha (fixed, with 0<α<π20 < \alpha < \frac{\pi}{2}⁠). A cylinder is inscribed in it: same axis, its base on the cone's base, its top rim on the curved surface.
To show
The cylinder of greatest volume has height h3\frac{h}{3}⁠, and that volume is 427πh3tan⁡2α\frac{4}{27}\pi h^3\tan^2\alpha⁠.
Plan
(1) Cross-section, variable xx (cylinder height) and its range. (2) Radius rr in terms of xx⁠. (3) V(x)V(x)⁠. (4) Critical point. (5) Second derivative test and the sign of V′V' over the whole range. (6) The greatest volume.

Basics you need

1Volume of a cylinder

V=πr2xV = \pi r^2 x for radius rr and height xx⁠. Basics: area and volume formulas

2Semi-vertical angle

The angle between the axis of a cone and its slant side. In a cross-section through the axis, a point on the slant side at depth dd below the apex is at distance dtan⁡αd\tan\alpha from the axis. Basics: building the function to optimise

3Product rule and factorising

ddx[(h−x)2x]\frac{d}{dx}\left[(h-x)^2 x\right] =−2(h−x)x+(h−x)2= -2(h-x)x + (h-x)^2⁠; take out the common factor h−xh - x⁠. Basics: factorising

4Local versus greatest

The Second Derivative Test (Theorem 4, Section 6.4) gives a local maximum; the sign of V′V' on the whole range (Theorem 1, Section 6.3) shows it is the greatest. Lesson: optimisation problems

Solution

  1. The cross-section and the variable

    Cut through the common axis. The cone becomes an isosceles triangle with apex angle 2α2\alpha and height hh⁠, and the cylinder becomes a rectangle standing on its base with its two top corners on the slant sides. Let

    • xx = height of the cylinder,
    • rr = radius of the cylinder.
    α h x r h − x section through the axis cone: height h, semi-vertical angle α, base radius h tan α cylinder: height x, radius r r = (h − x) tan α drawn at the best height x = h/3
    Cross-section through the axis, drawn at the best height x=h3x = \frac{h}{3}⁠. The small triangle above the cylinder has height h−xh - x and half-width rr⁠, with angle α\alpha at the apex.
    Once the height xx is chosen, the top face is at a definite level, and the slant side fixes how wide the cylinder can be there. So xx alone determines the cylinder.
    A cylinder "inscribed" in a cone shares its axis, stands on its base and touches its curved surface. Basics: building the function
  2. The allowed range of xx

    0<x<h.0 < x < h.
    A cylinder of height 0 is flat, and at height hh the top face would reach the apex, where the cone has width 0. Neither holds any volume, so both ends are excluded.
    Open interval: the end points are not included. Basics: interval notation
  3. Radius in terms of xx

    The top face is at height xx above the base, so it is at depth h−xh - x below the apex. The top corner of the rectangle lies on the slant side, so the right triangle formed by the apex, the centre of the top face and that corner has angle α\alpha at the apex, adjacent side h−xh - x and opposite side rr⁠:

    tan⁡α=rh−x⟹r=(h−x)tan⁡α.\tan\alpha = \frac{r}{h-x} \quad\Longrightarrow\quad r = (h-x)\tan\alpha.
    This is the key relation. Check the extremes: at x=0x = 0 it gives r=htan⁡αr = h\tan\alpha⁠, the radius of the cone's own base, and at x=hx = h it gives r=0r = 0⁠, the apex. The small cone above the cylinder is similar to the whole cone, which is the same fact: rhtan⁡α=h−xh\frac{r}{h\tan\alpha} = \frac{h - x}{h}⁠.
    tan⁡α=oppositeadjacent\tan\alpha = \frac{\text{opposite}}{\text{adjacent}} in a right triangle. Basics: trigonometric ratios
  4. The volume as a function of xx

    V(x)=πr2x=π(h−x)2tan⁡2α⋅x=πtan⁡2α (h−x)2 x,0<x<h.\begin{aligned} V(x) &= \pi r^2 x = \pi (h-x)^2\tan^2\alpha\cdot x \\ &= \pi\tan^2\alpha\,(h-x)^2\,x, \qquad 0 < x < h. \end{aligned}
    hh and α\alpha are fixed numbers for the given cone, so πtan⁡2α\pi\tan^2\alpha is a positive constant in front, and only (h−x)2x(h-x)^2x varies with xx⁠.
    V=πr2×V = \pi r^2 \times height (Basic 1). Basics: area and volume formulas
  5. Critical point

    Product rule on (h−x)2⋅x(h-x)^2\cdot x⁠:

    V′(x)=πtan⁡2α[(h−x)2−2x(h−x)]=πtan⁡2α (h−x)(h−3x).\begin{aligned} V'(x) &= \pi\tan^2\alpha\left[(h-x)^2 - 2x(h-x)\right] \\ &= \pi\tan^2\alpha\,(h-x)(h-3x). \end{aligned}

    On 0<x<h0 < x < h we have h−x≠0h - x \ne 0 and tan⁡α≠0\tan\alpha \ne 0⁠, so

    V′(x)=0  ⟺  h−3x=0  ⟺  x=h3.V'(x) = 0 \iff h - 3x = 0 \iff x = \frac{h}{3}.
    ddx(h−x)2=2(h−x)⋅(−1)\frac{d}{dx}(h-x)^2 = 2(h-x)\cdot(-1) by the chain rule, which gives the −2x(h−x)-2x(h-x) term. Inside the bracket, (h−x)(h-x) is common: (h−x)[(h−x)−2x](h-x)\left[(h-x) - 2x\right] =(h−x)(h−3x)= (h-x)(h-3x)⁠. The root x=hx = h is outside the range, so x=h3x = \frac{h}{3} is the only critical point.
    Product rule (uv)′=u′v+uv′(uv)' = u'v + uv' with u=(h−x)2u = (h-x)^2⁠, v=xv = x⁠. Basics: factorising
  6. It is the greatest volume on the whole range

    Second derivative test. Expanding, V′(x)=πtan⁡2α (h2−4hx+3x2)V'(x) = \pi\tan^2\alpha\,(h^2 - 4hx + 3x^2)⁠, so

    V′′(x)=πtan⁡2α (6x−4h),V''(x) = \pi\tan^2\alpha\,(6x - 4h), V′′(h3)=πtan⁡2α (2h−4h)=−2πhtan⁡2α<0.V''\left(\tfrac{h}{3}\right) = \pi\tan^2\alpha\,(2h - 4h) = -2\pi h\tan^2\alpha < 0.

    By Theorem 4 (i), x=h3x = \frac{h}{3} is a point of local maxima.

    Whole range. On 0<x<h0 < x < h⁠, πtan⁡2α>0\pi\tan^2\alpha > 0 and h−x>0h - x > 0⁠, so V′V' has the sign of h−3xh - 3x⁠: positive for 0<x<h30 < x < \frac{h}{3} and negative for h3<x<h\frac{h}{3} < x < h⁠. VV increases up to h3\frac{h}{3} and decreases after, so V(x)<V(h3)V(x) < V\left(\frac{h}{3}\right) for every other allowed xx⁠.

    "Greatest volume" is a statement about all inscribed cylinders, so the local test alone is not enough; the sign of V′V' on the entire range finishes the proof. The height h3\frac{h}{3} is one-third of the cone's height, as the question states.
    Theorem 4, Section 6.4, and Theorem 1, Section 6.3. Lesson: derivative tests
  7. The greatest volume

    At x=h3x = \frac{h}{3}⁠: h−x=2h3h - x = \frac{2h}{3}⁠, so r=2h3tan⁡αr = \frac{2h}{3}\tan\alpha and

    V(h3)=πtan⁡2α⋅4h29⋅h3=427πh3tan⁡2α.\begin{aligned} V\left(\tfrac{h}{3}\right) &= \pi\tan^2\alpha\cdot\frac{4h^2}{9}\cdot\frac{h}{3} \\ &= \frac{4}{27}\pi h^3\tan^2\alpha. \end{aligned}
    (2h3)2=4h29\left(\frac{2h}{3}\right)^2 = \frac{4h^2}{9}⁠, and 49⋅13=427\frac{4}{9}\cdot\frac{1}{3} = \frac{4}{27}⁠. For comparison, the cone's own volume is 13π(htan⁡α)2h=13πh3tan⁡2α\frac13\pi(h\tan\alpha)^2 h = \frac13\pi h^3\tan^2\alpha⁠, so the greatest cylinder fills 4/271/3=49\frac{4/27}{1/3} = \frac{4}{9} of the cone.
    Volume of a cone 13π(radius)2(height)\frac13\pi(\text{radius})^2(\text{height})⁠. Basics: area and volume formulas
Result

With cylinder height xx⁠, V(x)=πtan⁡2α (h−x)2xV(x) = \pi\tan^2\alpha\,(h-x)^2x for 0<x<h0 < x < h⁠. V′V' vanishes in the range only at x=h3x = \frac{h}{3}⁠, positive before and negative after, so the cylinder of greatest volume has height h3\frac{h}{3}, one-third of the cone's height, and its volume is 427πh3tan⁡2α\frac{4}{27}\pi h^3\tan^2\alpha, as required. (The answer key in this reprint has no entry for this question.)

Check it with numbers

Take h=6h = 6 and tan⁡α=12\tan\alpha = \frac12⁠, so V(x)=π4(6−x)2xV(x) = \frac{\pi}{4}(6-x)^2x⁠. Then V(1)=25π4V(1) = \frac{25\pi}{4}⁠, V(2)=16⋅2 π4=8πV(2) = \frac{16\cdot 2\,\pi}{4} = 8\pi⁠, V(3)=27π4V(3) = \frac{27\pi}{4}⁠: the middle one, at x=63=2x = \frac{6}{3} = 2⁠, is the largest ✓. The formula gives 427π⋅216⋅14=8π\frac{4}{27}\pi\cdot 216\cdot\frac14 = 8\pi ✓. A computer search over 100 000 heights in (0,h)(0, h)⁠, for three different cones, finds the maximum at x=h3x = \frac{h}{3} every time.

Common mistakes
  1. Writing r=xtan⁡αr = x\tan\alpha. The angle α\alpha is at the apex, so the distance to use is the depth below the apex, h−xh - x⁠, not the height above the base.
  2. Expanding (h−x)2x(h-x)^2x and losing the factor h−xh - x. Keep it factored; the factor shows the excluded root x=hx = h at once.
  3. Treating α\alpha as a variable. The cone is given, so hh and α\alpha are constants; only xx varies.
  4. Stopping at the local test without the sign of V′V' on the whole of (0,h)(0, h)⁠.
What to take away
  1. For a shape inside a cone, the slant side gives a linear relation between radius and height: r=(depth below apex)tan⁡αr = (\text{depth below apex})\tan\alpha⁠.
  2. A product (h−x)2x(h-x)^2x on (0,h)(0, h) is greatest at x=h3x = \frac{h}{3}⁠. The same shape of function, x(18−2x)2x(18-2x)^2⁠, gives the best open box in Exercise 6.3, Question 17.
  3. Compare Question 14 (largest cylinder in a sphere) and Question 12 (largest cone in a sphere).

Every fact used, and where it comes from

FactUsed inSource
Volume of a cylinder; volume of a coneSteps 4, 7Mensuration (Basics: area and volume formulas)
tan⁡α\tan\alpha in a right triangle; similar trianglesStep 3Trigonometry and geometry (Basics: trigonometric ratios)
Product rule, chain ruleStep 5Chapter 5; chain rule Theorem 4, Section 5.3.1
Critical pointStep 5Note after Theorem 2, Section 6.4 (Lesson: maxima and minima)
Second Derivative TestStep 6Theorem 4, Section 6.4 (Lesson: derivative tests)
Sign of V′V' decides increasing or decreasingStep 6Theorem 1, Section 6.3 (Lesson: increasing and decreasing)
All valuesSteps 5 to 7, CheckRecomputed with sympy and a search over (0,h)(0, h) 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 →