Why Does My Integration Over a Sphere Give Incorrect Results?

  • Thread starter Thread starter Addez123
  • Start date Start date
  • Tags Tags
    Integrate Sphere
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
Addez123
Messages
199
Reaction score
21
Homework Statement
Integrate 3 over a sphere with radius R.
Relevant Equations
Polar coordinates
##\iiint 3 dr d\rho d\phi##
The volume of a sphere is ##4\pi /3 r^3## so naturally the answer is ##4 \pi R^3##
But when I integrate I do:

##3 \iint r |_0^R d\rho d\phi##

##3R \int \rho |_0^{2\pi} d\phi##

##6R\pi * \phi |_0^\pi = 6R\pi^2##

What am I doing wrong?
 
on Phys.org
Orodruin said:
What is the actual homework statement? Please reproduce the full statement exactly as given.

You have also used the wrong volume element. The volume element in spherical coordinates is ##dV = r^2 \sin(\theta) dr \, d\theta\, d\phi##.
it wasn't a homework but I keep being forced to post it in homework section by mods.

Eitherway thanks, I forgot to add ##r^2sin(\theta)## when converting from normal coordinates.