Chapter 49. Solutions to Part Hotel

§49.1 Solution to Exercise 26.1 (the napkin-ring problem)

Exercise 26.1 (Napkin-ring problem). Let 𝑅>𝑎>0 be given real numbers, and let ℎ≔2𝑅2−𝑎2. A cylindrical hole of radius 𝑎 is drilled through the center of a wooden ball of radius 𝑅 to get a bead of height ℎ, as shown in Figure 59. Compute the volume of the resulting bead as a function of ℎ.

This is a famous exercise with its own page on Wikipedia at https://w.wiki/CarU. We give one solution using cylindrical coordinates below, but this is far from the only possible solution.

Using cylindrical coordinates the equation of the sphere is:

𝑟2+𝑧2=𝑅2.

Since the hole is along the 𝑧-axis with radius 𝑎, we impose

𝑎≤𝑟≤𝑅

that is, the bead consists of those points whose distance from the 𝑧-axis is at least 𝑎.

As for 𝑧, we require 𝑟2+𝑧2≤𝑅2. That is, for each given 𝑟, the possible values of 𝑧 are those with

−𝑅2−𝑟2≤𝑧≤𝑅2−𝑟2.

The volume element in cylindrical coordinates is:

d𝑉=𝑟d𝑟d𝜃d𝑧.

Putting this all together, the volume integral is:

𝑉=∫𝜃=02𝜋∫𝑟=𝑎𝑅∫𝑧=−𝑅2−𝑟2𝑅2−𝑟2𝑟d𝑧d𝑟d𝜃.

Evaluating the inner integral gives:

∫𝑧=−𝑅2−𝑟2𝑅2−𝑟2d𝑧=2𝑅2−𝑟2.

Thus, the volume integral simplifies to:

𝑉=∫𝜃=02𝜋∫𝑟=𝑎𝑅2𝑟𝑅2−𝑟2d𝑟d𝜃=(∫𝜃=02𝜋d𝜃)(∫𝑟=𝑎𝑅2𝑟𝑅2−𝑟2d𝑟)=2𝜋(∫𝑟=𝑎𝑅2𝑟𝑅2−𝑟2d𝑟).

To evaluate the integral, we substitute 𝑢=𝑅2−𝑟2, so that d𝑢=−2𝑟d𝑟, we rewrite:

∫𝑟=𝑎𝑅2𝑟𝑅2−𝑟2d𝑟=∫𝑢=𝑅2−𝑅2𝑅2−𝑎2𝑢(−d𝑢)=∫𝑢=0𝑅2−𝑎2𝑢d𝑢=[23𝑢3/2]𝑢=0𝑅2−𝑎2=23(𝑅2−𝑎2)32.

Multiplying by 2𝜋, we obtain:

𝑉=2𝜋⋅23(𝑅2−𝑎2)3/2=4𝜋3(𝑅2−𝑎2)3/2.

Since ℎ=2𝑅2−𝑎2, we have: 𝑅2−𝑎2=ℎ24, so

𝑉=𝜋6ℎ3.

§49.2 Solution to Exercise 27.1 (average distance of sphere to line)

Exercise 27.1. Consider a solid ball of radius 1 and a line ℓ through its center. Across all points 𝑃 inside the ball, compute the average value of the distance from 𝑃 to ℓ. (The average is defined as 1Vol(𝒯︀)∭𝒯︀𝑑(𝑃)d𝑉, where 𝑑(𝑃) is the distance from 𝑃 to ℓ.)

We choose the 𝑧-axis to be aligned with the line ℓ. Hence the distance from a point 𝑃=(𝑟,𝜃,𝜑) to ℓ is simply the perpendicular distance from 𝑃 to the 𝑧-axis, which is:

𝑑(𝑃)=𝑟sin𝜑.

We integrate over the entire sphere with coordinates

0≤𝑟≤1,0≤𝜃≤2𝜋,0≤𝜑≤𝜋.

The total volume of the ball is:

Vol(𝒯︀)=43𝜋(1)3=4𝜋3.

We now set up the integral ∭𝒯︀𝑑(𝑃)d𝑉. The volume element is:

d𝑉=𝑟2sin𝜑d𝑟d𝜑d𝜃.

Hence

∭𝒯︀𝑑(𝑃)d𝑉=∭𝒯︀𝑟sin𝜑⋅𝑟2sin𝜑d𝑟d𝜑d𝜃=∫𝜃=02𝜋d𝜃∫𝜑=0𝜋sin2𝜑d𝜑∫𝑟=01𝑟3d𝑟.

The center integral needs the following trig identity:

sin2𝜑=1−cos(2𝜑)2⟹∫sin2𝜑d𝜑=𝜑2−sin(2𝜑)4.

Hence,

∭𝒯︀𝑑(𝑃)d𝑉=∫𝜃=02𝜋d𝜃∫𝜑=0𝜋sin2𝜑d𝜑∫𝑟=01𝑟3d𝑟=(2𝜋)⋅(𝜋2)⋅(14)=𝜋24.

So the final answer is

1Vol(𝒯︀)∭𝒯︀𝑑(𝑃)d𝑉=𝜋2/44𝜋/3=316𝜋.

§49.3 Solution to Exercise 27.2 (gravity on hemisphere)

Exercise 27.2. Suppose 𝒯︀ is a solid metal hemisphere of radius 1 of constant unit density, and 𝑃 is a point of mass 𝑚 at the center of the base of the hemisphere. Calculate the magnitude of the force of gravity exerted on the point 𝑃.

We orient the hemisphere so it rests on the 𝑥𝑦-plane with the point 𝑃 at (0,0,0) (so the hemisphere is 𝑥2+𝑦2+𝑧2≤1 and 𝑧≥0). Then this is basically the same as the example in Section 27.5, except the bounds of integration change.

To be precise, we have 𝐺1=𝐺2=0, and Equation 17 just says

𝐺3=𝐺𝑚∭𝒯︀sin𝜑cos𝜑d𝜌d𝜑d𝜃

after setting the density to 1. The only change is the bounds of integration: for the hemisphere we should have

0≤𝜌≤1,0≤𝜃≤2𝜋,0≤𝜙≤𝜋2.

So, when we integrate to compute 𝐺3 we have

𝐺3=𝐺𝑚∫𝜃=02𝜋∫𝜑=0𝜋2∫𝜌=01sin𝜑cos𝜑d𝜌d𝜑d𝜃=𝐺𝑚(∫𝜃=02𝜋d𝜃)(∫𝜑=0𝜋2sin𝜑cos𝜑d𝜑)(∫𝜌=01d𝜌)=𝐺𝑚(2𝜋)(∫𝜑=0𝜋2sin𝜑cos𝜑d𝜑)(1).

To evaluate the integral with 𝜑, write

∫𝜑=0𝜋/2sin𝜑cos𝜑d𝜑=12∫0𝜋/2sin2𝜑d𝜑=12[−12cos2𝜑]𝜑=0𝜋/2=12.

Hence,

𝐺3=(𝐺𝑚)⋅(2𝜋)⋅12⋅1=𝐺𝑚𝜋.

In other words, in the coordinate system we chose, gravity is given by

𝐆=⟨0,0,𝐺𝑚𝜋⟩.

The magnitude is |𝐆|=𝐺𝑚𝜋.

§49.4 Solution to Exercise 28.1 (find point on parametrized surface)

Exercise 28.1. Consider a surface 𝒮︀ given by the parametrization 𝐫:ℝ2→ℝ3 defined by

𝐫(𝑢,𝑣)=⟨𝑢−𝑣,𝑢+𝑣,𝑢𝑣⟩

for all (𝑢,𝑣) in ℝ2. Compute the real number 𝑘 for which the point 𝑃=(2,8,𝑘) lies on 𝒮︀.

For 𝑃=(2,8,𝑘) to lie on 𝒮︀, there must exist 𝑢, and 𝑣 such that:

𝑢−𝑣=2,𝑢+𝑣=8,𝑢𝑣=𝑘.

Adding the first two equations:

(𝑢−𝑣)+(𝑢+𝑣)=2+8⟹2𝑢=10⟹𝑢=5.

Subtracting the first equation from the second:

(𝑢+𝑣)−(𝑢−𝑣)=8−2⟹2𝑣=6⟹𝑣=3.

Hence 𝑘=𝑢𝑣=15.

§49.5 Solution to Exercise 29.1 (find tangent plane to parametrized surface)

Exercise 29.1. Consider a surface 𝒮︀ given by the parametrization 𝐫:ℝ2→ℝ3 defined by

𝐫(𝑢,𝑣)=⟨𝑢−𝑣,𝑢+𝑣,𝑢𝑣⟩

for all (𝑢,𝑣) in ℝ2. Compute the tangent plane to 𝒮︀ at the point (3,7,10).

The first step is to solve for (𝑢,𝑣), much like in the preceding Exercise 28.1. The point (3,7,10) must satisfy the parametrization equations:

𝑢−𝑣=3,𝑢+𝑣=7,𝑢𝑣=10.

Solving gives (𝑢,𝑣)=(5,2).

Now, from the discussion in Section 29.2, the idea is that the normal vector for our tangent plane ought to be given by

𝜕𝐫𝜕𝑢×𝜕𝐫𝜕𝑣

at every point of the surface.

So, we first compute the derivatives:

𝜕𝐫𝜕𝑢=(𝜕𝜕𝑢(𝑢−𝑣),𝜕𝜕𝑢(𝑢+𝑣),𝜕𝜕𝑢(𝑢𝑣))=⟨1,1,𝑣⟩𝜕𝐫𝜕𝑣=(𝜕𝜕𝑣(𝑢−𝑣),𝜕𝜕𝑣(𝑢+𝑣),𝜕𝜕𝑣(𝑢𝑣))=⟨−1,1,𝑢⟩.

At (𝑢,𝑣)=(5,2) we get

𝜕𝐫𝜕𝑢(5,2)=⟨1,1,2⟩𝜕𝐫𝜕𝑣(5,2)=⟨−1,1,5⟩.

The cross product is then given by

𝜕𝐫𝜕𝑢(5,2)×𝜕𝐫𝜕𝑣(5,2)=|𝐞1𝐞2𝐞3112−115|=3𝐞1−7𝐞2+2𝐞3.

Thus, the normal vector is ⟨3,−7,2⟩. So the equation of the tangent plane should be

3𝑥−7𝑦+2𝑧=𝑘

for some number 𝑘. To pass through (3,7,10), we take 𝑘=3⋅3−7⋅7+2⋅10=−20. Hence the final answer is

3𝑥−7𝑦+2𝑧=−20.

§49.6 Solution to Exercise 30.1 (surface area of paraboloid)

Exercise 30.1. Compute the surface area of the surface defined by 𝑧=𝑥2+𝑦2≤1.

The surface 𝒮︀ is parametrized by

𝐫(𝑥,𝑦)=(𝑥𝑦𝑧)=(𝑥𝑦𝑥2+𝑦2)

where (𝑥,𝑦) lies within the disk 𝑥2+𝑦2≤1. Compute the partial derivatives of 𝐫 with respect to 𝑥 and 𝑦:

𝜕𝐫𝜕𝑥=(𝜕𝑥𝜕𝑥𝜕𝑦𝜕𝑥𝜕𝑧𝜕𝑥)=(102𝑥)𝜕𝐫𝜕𝑦=(𝜕𝑥𝜕𝑦𝜕𝑦𝜕𝑦𝜕𝑧𝜕𝑦)=(012𝑦).

Hence, the cross product is given by 𝜕𝐫𝜕𝑥×𝜕𝐫𝜕𝑦:

𝜕𝐫𝜕𝑥×𝜕𝐫𝜕𝑦=(0⋅2𝑦−1⋅2𝑥)𝐞1−(1⋅2𝑦−0⋅2𝑥)𝐞2+(1⋅1−0⋅0)𝐞3=(−2𝑥−2𝑦1).

Hence the magnitude of this cross product is:

|𝜕𝐫𝜕𝑥×𝜕𝐫𝜕𝑦|=(−2𝑥)2+(−2𝑦)2+(1)2=4𝑥2+4𝑦2+1.

Hence, the surface area of the surface in question is given by

SurfArea(𝒮︀)=∬𝑥2+𝑦2≤1|𝜕𝐫𝜕𝑥×𝜕𝐫𝜕𝑦|d𝑥d𝑦=∬𝑥2+𝑦2≤14𝑥2+4𝑦2+1d𝑥d𝑦

Due to the circular symmetry, it is convenient to switch to polar coordinates; we write

SurfArea(𝒮︀)=∫𝜃=02𝜋∫𝑟=014𝑟2+1⋅𝑟d𝑟d𝜃=(∫𝜃=02𝜋d𝜃)(∫𝑟=014𝑟2+1⋅𝑟d𝑟).

The integral over 𝑟 can be evaluated by using 𝑢-substitute according to

𝑢≔4𝑟2+1⟹d𝑢=8𝑟d𝑟⟹𝑟d𝑟=d𝑢8

so

∫𝑟=014𝑟2+1⋅𝑟d𝑟=∫𝑢=15(𝑢8)d𝑢=18∫15𝑢d𝑢=[18⋅23𝑢3/2]𝑢=15=112(53/2−13/2)=112(55−1).

And of course ∫𝜃=02𝜋d𝜃=2𝜋. Hence the answer

55−16𝜋.

§49.7 Solution to Exercise 30.2 (Archimedes hat-box theorem)

Exercise 30.2 (Archimedes hat-box theorem). Let −1<𝑎<𝑏<1 be real numbers. Consider the unit sphere 𝑥2+𝑦2+𝑧2=1 and the cylinder 𝑥2+𝑦2=1. Show that the portions of their (lateral) surface areas which lie between 𝑧=𝑎 and 𝑧=𝑏 have equal area. See Figure 69.

The area of the cylinder part is straightforward and does not need calculus: it’s a cylinder whose base has circumference 2𝜋 and which has height 𝑏−𝑎, so the surface area is

2𝜋(𝑏−𝑎).

So the main part of the problem is to show that the blue part of the sphere in Figure 69 has the same surface area.

It’s sufficient to solve the problem in the case 0≤𝑎≤𝑏≤1. (If 𝑎 and 𝑏 are both negative, then you can do a reflection argument. And if 𝑎<0<𝑏, then one should split the surface area at the equator of the sphere (along 𝑧=0) into two parts; then add them together.)

We use spherical coordinates for this calculation (thanks to Catherine Xu for pointing this approach out). With 𝑅=1, our region is 𝜑∈[cos−1(𝑏),cos−1(𝑎)] and 𝜃∈[0,2𝜋]. Then

SurfArea(𝒮︀)=∫𝜃=02𝜋∫𝜑=cos−1(𝑏)cos−1(𝑎)d𝑆=∫𝜃=02𝜋∫𝜑=cos−1(𝑏)cos−1(𝑎)sin𝜑d𝜑d𝜃=2𝜋⋅[−cos(𝜑)]𝜑=cos−1(𝑏)cos−1(𝑎)=2𝜋⋅(𝑏−𝑎).

Another longer approach without spherical coordinates

If you hate spherical coordinates, you can also adopt the calculation in Section 30.3. In that section, we were able to calculate the surface of the unit hemisphere by viewing the sphere as the level surface of 𝑔(𝑥,𝑦,𝑧)=𝑥2+𝑦2+𝑧2=1, and using the formula

∇𝑔𝜕𝑔/𝜕𝑧=⟨2𝑥,2𝑦,2𝑧⟩2𝑧=⟨𝑥𝑧,𝑦𝑧,1⟩.

to derive that

SurfArea(hemisphere)=∬𝑥2+𝑦2≤111−(𝑥2+𝑦2)d𝑥d𝑦.

For Archimedes hat-box theorem, the integral itself stays the same; the change is that rather than integrating along the entire 𝑥2+𝑦2≤1 (which would give the surface area of the hemisphere), we instead integrate along the annulus

1−𝑏2≤𝑥2+𝑦2≤1−𝑎2.

Indeed, this is the shadow of the surface area in Figure 69 onto the 𝑥𝑦-plane. (Indeed, the bottom disk has radius 1−𝑎2 and the top disk has radius 1−𝑏2.)

Getting back to integration, the surface area we seek for the sphere is thus

𝑆=∬1−𝑏2≤𝑥2+𝑦2≤1−𝑎211−(𝑥2+𝑦2)d𝑥d𝑦.

Now we just have to redo the calculation in Section 29.2 with only slight modifications. We use polar coordinates to change this to

𝑆=∫𝜃=02𝜋∫𝑟=1−𝑏21−𝑎211−𝑟2(𝑟d𝑟d𝜃)=(∫𝜃=02𝜋d𝜃)(∫𝑟=1−𝑏21−𝑎2𝑟1−𝑟2d𝑟).

The left integral is 2𝜋. For the inner integral, use the 𝑢-substitution 𝑢=1−𝑟2⟹d𝑢d𝑟=−2𝑟 to get

∫𝑟=1−𝑏21−𝑎2𝑟1−𝑟2d𝑟=∫𝑢=𝑏2𝑎2−12𝑢−12d𝑢=∫𝑢=𝑎2𝑏212𝑢−12d𝑢=[𝑢12]𝑢=𝑎2𝑏2=𝑏−𝑎.

Thus we also get

𝑆=2𝜋(𝑏−𝑎)

as we needed.