# Finding total mass of hemisphere that has a variable density

## Homework Statement

Show that total mass of half solid hemisphere radius a given as x^2 + y^2 + z^2 = a^2 and z>=0 and having variable density ρ=1+(r^2)z where r is the distance of any point from the origin is given by: M = (2π(a^3))(6+3(a^3)/18 where M is total mass.

-

## The Attempt at a Solution

My first attempt was to find the volume of the hemisphere using spherical polar coordinates and multiply this volume with the density given. Obviously this was wrong. I then tried integrating again but this time i integrated 1+(x^2 + y^2 + z^2)z
I replaced the r^2 in the density equation with a^2. I still ended up with the wrong answer. Have i applied the right method the second time round and maybe just made a mistake when integrating, or am i approaching this question the wrong way? Thanks.

Related Calculus and Beyond Homework Help News on Phys.org
gabbagabbahey
Homework Helper
Gold Member
I replaced the r^2 in the density equation with a^2. I still ended up with the wrong answer.
Of course you ended up with the wrong answer; not every point inside the hemisphere is a distance $a$ from the origin...only the points on the outer shell of the hemisphere are that far away.

Try integrating the density over the volume of the sphere using spherical polar coordinates. What is $z$ in spherical polars?...What are your integration limits for $r$, $\theta$ and $\phi$? What is the infinitesimal volume element (usually denoted $dV$) in spherical polars?...

i see! i got the answer, thank you.

I think something is wrong in your solution

My first thoughts:
since m=$\rho$V

$\Rightarrow$ dm=Vd$\rho$+$\rho$dV

but in spherical : dV=r2sin($\theta$)dr d$\theta$ d$\phi$
and z=r cos($\theta$)
$\Rightarrow$ dz=cos($\theta$) dr - r sin($\theta$)d$\theta$

hence, d$\rho$=2 r z dr + r2 dz and substitute for dz

then substitute again in dm expression and perform the integration from
r: 0$\rightarrow$a
$\phi$: 0$\rightarrow$ 2 pi
$\theta$: 0 $\rightarrow$ pi/2

solve it and tell me about the result Last edited:
gabbagabbahey
Homework Helper
Gold Member
I think something is wrong in your solution

My first thoughts:
since m=$\rho$V

$\Rightarrow$ dm=Vd$\rho$+$\rho$dV
Huh?! $m=\rho V$ is only valid for regions of uniform charge density (in which case $d \rho$ would be zero)

More generally, $$m=\int_{\mathcal{V}} \rho(\vec{r})dV$$.

Huh?! $m=\rho V$ is only valid for regions of uniform charge density (in which case $d \rho$ would be zero)

More generally, $$m=\int_{\mathcal{V}} \rho(\vec{r})dV$$.
you're true ....

so $dm=\rho dV$ only
and the term $Vd\rho$ is wrong ...