Tutorials › AP Calculus › Optimizing an Inscribed Cone

Optimization and L'Hôpital's Rule · Tutorial 408 of 999

Optimizing an Inscribed Cone

Learn how a sphere’s cross-section determines an inscribed cone’s volume, feasible dimensions, and maximum-volume proportions.

Advanced 10 min read

What You'll Learn

  • Relate a cone’s height and base radius to the radius of its containing sphere
  • Identify the feasible range of cone heights, including degenerate boundary cases
  • Build the cone’s volume as a function of its height alone
  • Find the critical height and verify it gives the absolute maximum volume
  • Avoid treating a signed displacement as a length when the base passes the sphere’s center

A Cone Inside a Sphere

A right circular cone can be inscribed in a sphere by placing its apex on the sphere and its base in a plane that cuts the sphere. The base is then a circle on the sphere’s surface. The cone’s height and base radius cannot vary independently: the sphere fixes their relationship.

That geometric constraint turns the cone’s volume into a function of one variable. We can then use calculus to identify the dimensions that produce the greatest volume, while checking that the candidate is feasible and truly maximizes the volume.

Model: The sphere has fixed radius \(R>0\). The cone is right circular, its apex is on the sphere, and its base is a circle in a plane perpendicular to the cone’s axis. Let \(h\) be the cone’s height and \(r\) its base radius.

Relating the Cone to the Sphere

Place the sphere’s center at the origin, and orient the vertical axis so the cone’s apex is at height \(R\). The base plane is \(h\) units below the apex, so its signed vertical coordinate is \(R-h\).

A cross-section through the sphere’s center, the cone’s axis, and a radius of the base circle forms a right triangle. Its horizontal leg has length \(r\), its hypotenuse has length \(R\), and its vertical leg has length \(|R-h|\). The absolute value matters: if the base plane passes below the sphere’s center, the signed displacement is negative, but a leg’s length cannot be.

$$ r^2+(R-h)^2=R^2. $$

Expanding and simplifying gives the required relationship between the cone’s dimensions:

$$ \begin{aligned} r^2 &=R^2-(R-h)^2\\ &=R^2-(R^2-2Rh+h^2)\\ &=2Rh-h^2\\ &=h(2R-h). \end{aligned} $$

For a cone with positive height and positive base radius, both \(h>0\) and \(2R-h>0\) must hold. Thus the feasible heights for a nondegenerate cone are \(0<h<2R\). At \(h=0\) or \(h=2R\), the base radius is zero and the cone is degenerate. Those boundary cases are useful when comparing volumes, even though they are not ordinary cones.

Feasibility: A nondegenerate inscribed cone has \(0<h<2R\), with \(r=\sqrt{h(2R-h)}\). The boundary heights \(h=0\) and \(h=2R\) give \(r=0\).

Worked Example: A Base Below the Sphere’s Center

Worked Example: Finding the Radius and Volume at a Given Height

A sphere has radius \(10\) cm. An inscribed cone has height \(15\) cm. Find its base radius and volume.

First check feasibility. Since \(R=10\), the allowable heights satisfy \(0<h<2R=20\). The height \(15\) cm is feasible.

The signed vertical displacement from the sphere’s center to the base plane is \(R-h=10-15=-5\) cm. The vertical leg’s length is therefore \(|-5|=5\) cm, not \(-5\) cm. Using the cross-section relation:

$$ \begin{aligned} r^2+(-5)^2&=10^2,\\ r^2+25&=100,\\ r^2&=75,\\ r&=\sqrt{75}=5\sqrt{3}\text{ cm}. \end{aligned} $$

The cone’s volume is \(V=\frac{1}{3}\pi r^2h\), so

$$ V=\frac{1}{3}\pi(75)(15)=375\pi\text{ cm}^3. $$

Check the dimensions in the sphere cross-section: \(75+25=100=10^2\), as required. Substitution into the cone-volume formula also gives \(\frac{1}{3}\pi(75)(15)=375\pi\text{ cm}^3\).

Building the One-Variable Volume Function

The volume of a right circular cone is one third of the base area times the height: \(V=\frac{1}{3}\pi r^2h\). The sphere relation expresses \(r^2\) in terms of \(h\), so substitute \(r^2=h(2R-h)\):

$$ \begin{aligned} V(h) &=\frac{1}{3}\pi h(2R-h)h\\ &=\frac{\pi}{3}h^2(2R-h), \qquad 0\le h\le 2R. \end{aligned} $$

The function includes the two degenerate boundary cases, where its value is zero. For actual cones, the domain is the open interval \(0<h<2R\). The closed interval is convenient for comparing the interior candidate with both boundary values.

One-variable objective: For a fixed sphere of radius \(R\), the volume of an inscribed cone of height \(h\) is \(V(h)=\frac{\pi}{3}h^2(2R-h)\), for \(0\le h\le 2R\).

Worked Example: Evaluating a Feasible Cone

Worked Example: A Cone of Height 8 in a Sphere of Radius 5

A sphere has radius \(5\) units, and an inscribed cone has height \(8\) units. Find its base radius and volume, and verify that the height is feasible.

The height must satisfy \(0<h<2R=10\). Since \(0<8<10\), it is feasible. The signed vertical displacement is \(R-h=5-8=-3\), so the vertical leg’s length is \(3\). Then

$$ \begin{aligned} r^2+(-3)^2&=5^2,\\ r^2+9&=25,\\ r^2&=16,\\ r&=4\text{ units}. \end{aligned} $$

Its volume is

$$ V=\frac{1}{3}\pi(4^2)(8) =\frac{1}{3}\pi(16)(8) =\frac{128\pi}{3}\text{ cubic units}. $$

Check the sphere relation: \(r^2+(R-h)^2=16+9=25=R^2\). The volume calculation uses the base area \(\pi r^2=16\pi\) and height \(8\), giving \(\frac{1}{3}(16\pi)(8)=\frac{128\pi}{3}\).

Finding and Verifying the Maximum

To find the greatest volume, differentiate the one-variable function. Here \(R\) is fixed, and only \(h\) varies:

$$ \begin{aligned} V'(h) &=\frac{\pi}{3}\frac{d}{dh}\bigl(2Rh^2-h^3\bigr)\\ &=\frac{\pi}{3}(4Rh-3h^2)\\ &=\frac{\pi}{3}h(4R-3h). \end{aligned} $$

Inside the feasible interval, \(h>0\), so an interior critical point must satisfy \(4R-3h=0\). This gives \(h=\frac{4R}{3}\), which is feasible because \(0<\frac{4R}{3}<2R\) when \(R>0\).

A critical point alone does not establish an absolute maximum. We check the derivative’s sign and the boundary values. For \(0<h<\frac{4R}{3}\), both factors \(h\) and \(4R-3h\) are positive, so \(V'(h)>0\). For \(\frac{4R}{3}<h<2R\), \(h>0\) and \(4R-3h<0\), so \(V'(h)<0\). The volume increases up to the critical height and decreases afterward. Also, \(V(0)=V(2R)=0\), whereas \(V(h)>0\) for every \(0<h<2R\). Therefore this interior candidate gives the absolute maximum on the feasible interval.

Theorem: Among right circular cones inscribed in a sphere of radius \(R\), the maximum-volume cone has height \(h=\frac{4R}{3}\), base radius \(r=\frac{2\sqrt{2}R}{3}\), and volume \(V_{\max}=\frac{32\pi R^3}{81}\).

Why the Maximum Occurs at Those Dimensions

The result follows from the geometry and the derivative sign, not from guessing a proportion. At the maximizing height, the sphere relation determines the radius:

$$ \begin{aligned} r^2 &=h(2R-h)\\ &=\frac{4R}{3}\left(2R-\frac{4R}{3}\right)\\ &=\frac{4R}{3}\cdot\frac{2R}{3}\\ &=\frac{8R^2}{9}. \end{aligned} $$

Since a radius is positive, \(r=\frac{2\sqrt{2}R}{3}\). Substituting the maximizing height and radius into the cone-volume formula gives

$$ \begin{aligned} V_{\max} &=\frac{1}{3}\pi\left(\frac{8R^2}{9}\right)\left(\frac{4R}{3}\right)\\ &=\frac{32\pi R^3}{81}. \end{aligned} $$

These dimensions satisfy the sphere constraint: \(r^2+(R-h)^2=\frac{8R^2}{9}+(-\frac{R}{3})^2=R^2\). Thus the maximizing candidate is not only feasible; its dimensions also reproduce the required maximum volume.

1
Use the cross-section.
The right triangle gives \(r^2=h(2R-h)\).
2
Write volume in one variable.
Substitution into \(V=\frac{1}{3}\pi r^2h\) gives \(V(h)=\frac{\pi}{3}h^2(2R-h)\).
3
Find the interior candidate.
Solving \(V'(h)=0\) in \(0<h<2R\) gives \(h=\frac{4R}{3}\).
4
Verify the absolute maximum.
The derivative is positive before the candidate and negative after it; the boundary volumes are zero.

Worked Example: Maximum Volume for a Specific Sphere

Worked Example: Maximizing the Volume in a Sphere of Radius 6

Find the height, base radius, and maximum volume of a right circular cone inscribed in a sphere of radius \(6\) units.

The general maximizing height is \(\frac{4R}{3}\), so

$$ h=\frac{4(6)}{3}=8\text{ units}. $$

The corresponding radius is

$$ r=\frac{2\sqrt{2}(6)}{3}=4\sqrt{2}\text{ units}. $$

Compute the volume directly from these dimensions:

$$ \begin{aligned} V &=\frac{1}{3}\pi(4\sqrt{2})^2(8)\\ &=\frac{1}{3}\pi(32)(8)\\ &=\frac{256\pi}{3}\text{ cubic units}. \end{aligned} $$

As a check, the sphere constraint gives \(r^2+(R-h)^2=32+(6-8)^2=32+4=36=6^2\). The general maximum-volume formula agrees: \(\frac{32\pi(6^3)}{81}=\frac{32\pi(216)}{81}=\frac{256\pi}{3}\) cubic units. The candidate height is feasible because \(0<8<12\).

Common Pitfall: Calling a Signed Displacement a Length

A frequent error is to describe the vertical leg as having length \(R-h\). That statement fails whenever \(h>R\). For example, if \(h=\frac{3R}{2}\), then \(R-h=-\frac{R}{2}\). A negative number cannot be a leg length.

The correct description is that the signed vertical displacement is \(R-h\), while the vertical leg’s length is \(|R-h|\). The Pythagorean equation uses the square of that length, so it can equivalently be written using the signed displacement squared:

$$ r^2+|R-h|^2=R^2 \qquad\text{and hence}\qquad r^2+(R-h)^2=R^2. $$

Another mistake is to assume the base must lie above the sphere’s center, restricting \(h\) to \(h\le R\). That omits feasible cones. A base below the center is allowed: the full nondegenerate range is \(0<h<2R\). The absolute value handles the change in direction of the displacement without changing the geometry.

Why the Model Is Useful

This example shows a standard strategy for geometry optimization. First, identify a geometric constraint; then use it to eliminate one dimension from the objective. The resulting one-variable function makes calculus possible, but the model is only complete when its feasible domain and boundary cases are also considered.

Here the sphere constraint determines the base radius for each height. The volume increases while the cone is relatively shallow, then decreases as the height approaches \(2R\), where the base circle shrinks to a point. The maximum occurs between those extremes. Checking feasibility, derivative signs, and boundary values is what turns a critical-point calculation into a justified absolute maximum.

Check Your Understanding

Use the sphere radius \(R\) and cone height \(h\) unless a numerical value is given.

  1. Write the relationship between \(r\), \(R\), and \(h\), and explain why the vertical leg’s length is \(|R-h|\).
  2. What is the feasible range of heights for a nondegenerate inscribed cone? What happens at the two boundary heights?
  3. For a sphere of radius \(8\), find the height and base radius of the maximum-volume cone.
  4. Explain why solving \(V'(h)=0\) alone does not verify an absolute maximum.
  5. If \(h=\frac{3R}{2}\), what is the signed vertical displacement from the sphere’s center to the base plane, and what is its length?

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon