Volume of a sphere in cylindrical coordinates

Click For Summary
SUMMARY

The volume of a sphere with a cylindrical hole drilled through it can be calculated using spherical coordinates. The correct volume for a sphere of radius 6 with a cylindrical hole of radius 3 is established as ##4\pi\cdot 3^{7/2}##. The key issue identified in the forum discussion was the incorrect bounds of integration for the spherical coordinates, specifically the limits for ##\theta##, which should range from ##\pi/6## to ##5\pi/6##. Adjusting these bounds resolved the discrepancy in the calculated volume.

PREREQUISITES
  • Understanding of spherical coordinates and their conventions
  • Familiarity with cylindrical coordinates and their conversion
  • Knowledge of volume integration techniques in multivariable calculus
  • Proficiency in using mathematical software like Wolfram for verification
NEXT STEPS
  • Study the derivation of volume elements in spherical coordinates
  • Learn how to convert between cylindrical and spherical coordinates effectively
  • Explore advanced integration techniques for multivariable calculus
  • Investigate common pitfalls in setting integration bounds for volume calculations
USEFUL FOR

Students and educators in mathematics, particularly those focused on calculus and geometry, as well as professionals in fields requiring spatial analysis and volume calculations.

Thomas Kieffer
Messages
4
Reaction score
0

Homework Statement


A sphere of radius 6 has a cylindrical hole of radius 3 drilled into it. What is the volume of the remaining solid.

The Attempt at a Solution


[/B]
I am able to solve this using cylindrical coordinates but I'm having trouble when I try to solve it in spherical coordinates. the correct answer is ##4\pi\cdot 3^{7/2}## however I get ##4\pi\cdot 3^{3/2}##. The problem is with the bounds of the integration, I checked my working with wolfram.

$$\int_{0}^{2\pi} \int_{-\pi/3}^{\pi/3} \int_{3/sin(\theta)}^{6} r^2sin(\theta)dr d\theta d\phi$$

The first two bounds are obvious. phi ranges the entire circle and theta ranges from the intersects of the edge of the sphere and the drill. The bounds of r I found by converting from Cartesian to polar coordinates. Obviously the upper bound is six.

Converting from cartesian
$$x^2 + y^2 = 9 \qquad r^2sin^2(\theta) (sin^2(\phi) + cos^2(\phi))= 9$$
$$r = 3/sin(\theta)$$
 
Physics news on Phys.org
Thomas Kieffer said:

Homework Statement


A sphere of radius 6 has a cylindrical hole of radius 3 drilled into it. What is the volume of the remaining solid.

The Attempt at a Solution


[/B]
I am able to solve this using cylindrical coordinates but I'm having trouble when I try to solve it in spherical coordinates. the correct answer is ##4\pi\cdot 3^{7/2}## however I get ##4\pi\cdot 3^{3/2}##. The problem is with the bounds of the integration, I checked my working with wolfram.

$$\int_{0}^{2\pi} \int_{-\pi/3}^{\pi/3} \int_{3/sin(\theta)}^{6} r^2sin(\theta)dr d\theta d\phi$$

The first two bounds are obvious. phi ranges the entire circle and theta ranges from the intersects of the edge of the sphere and the drill. The bounds of r I found by converting from Cartesian to polar coordinates. Obviously the upper bound is six.

Converting from cartesian
$$x^2 + y^2 = 9 \qquad r^2sin^2(\theta) (sin^2(\phi) + cos^2(\phi))= 9$$
$$r = 3/sin(\theta)$$

Your ##\theta## limits look wrong. ##\theta## is supposed to be in the range ##0## to ##\pi##.
 
Dick said:
Your ##\theta## limits look wrong. ##\theta## is supposed to be in the range ##0## to ##\pi##.
Why? That's definitely not correct.
 
Thomas Kieffer said:
Why? That's definitely not correct.

Then you are mixing up different conventions for spherical coordinates. You quoted the volume element as ##r^2 \sin(\theta)##. That's negative for ##\theta=-\pi/3##. The volume element shouldn't be negative anywhere.
 
The change of coordinates I used was. I don't think I'm mixing up my convention. I also don't understand why the volume element has to be positive.

##x=rcos\phi sin\theta##
##x=rsin\phi sin\theta##
##z=rcos\theta##

If you work through the integral you find
##\int_{0}^{2\pi} [-72 cos\theta]^{\pi/3}_{-pi/3} + [9cot\theta]^{\pi/3}_{-pi/3} d\phi##

And the ##-72cos\theta## must cancel out so the bounds must be a=-b . With the bounds I have I get an answer that is exactly 1/9th the correct answer.
 
Last edited:
Thomas Kieffer said:
I changed the bounds to 0 to pi/3 and multiplied the integral by 2 and now I get the right answer. Thanks. So I need to be careful whenever I'm finding volumes or surface area that the volume element/ surface element is always positive?

No, you don't need to be careful. In your chosen coordinates the volume element should ALWAYS be positive. In my convention, ##\theta## is the angle between between the point and the positive ##z## axis. So it starts at ##0## and goes to ##\pi## at the negative ##z## axis. I changed the ##\theta## range to ##\pi/6## to ##5\pi/6## and got the right answer.
 
  • Like
Likes   Reactions: Thomas Kieffer
Dick said:
No, you don't need to be careful. In your chosen coordinates the volume element should ALWAYS be positive. In my convention, ##\theta## is the angle between between the point and the positive ##z## axis. So it starts at ##0## and goes to ##\pi## at the negative ##z## axis. I changed the ##\theta## range to ##\pi/6## to ##5\pi/6## and got the right answer.

I thought the angle was relative to the xy plane. Thanks for your help.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
14
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K