What is the average density of this spherical planet?
Question
A spherical planet of radius a has a variable density f(r) which depends only on the distance r from the planet’s centre. Show that the average density of the planet is 3∫01t2f(at)dt.
Find the average density correct to two significant figures in each of the three cases:
- f(r)=exp[(−ar)3], where exp(x) denotes ex,
- f(r)=exp(−ar),
- f(r)=(a+r)3a2r.
Suggestion
The tricky part is going to be finding the total mass of the planet. Since the density depends only on r we should think about the mass of a thin hollow spherical shell.
We will need to use the result from the first part.
We will need to find a tool to help us evaluate the integral we get this time.
This time the integral involves an awkward looking fraction. Again, we’ll need to find an appropriate tool to help.
Solution
Let’s consider the hollow sphere of radius r, where r<a, and thickness δr, as shown below.
The volume of this hollow sphere is δV=34π(r+δr)3−34πr3=4πr2δr (neglecting higher powers of δr).
Alternatively, δV= surface area of the hollow sphere× its thickness.
We know that the density of this hollow sphere is f(r), so the mass of the hollow sphere is 4πr2f(r)δr.
Taking the limit, the total mass of the whole sphere is therefore
∫0a4πr2f(r)dr.
We know that the volume of the whole sphere is 34πa3, so the average density of the whole sphere is 34πa3∫0a4πr2f(r)dr which is ∫0aa33r2f(r)dr.
If we now put r=at, we have dr=adt, and substituting in, we find that the average density is 3∫01t2f(at)dt, as required.
Our work from the first part tells us that we need to find the following integral, which we can do by inspection or by substitution.
∫013t2e−t3dt=[−e−t3]01=1−e−1=0.63(2sf).
Using the first part again tells us that we need to find the following. This time we use integration by parts twice.
∫013t2e−tdt=3[−t2e−t]01−3∫01−e−t2tdt=−3e−1+6∫01te−tdt=−3e−1+6{[−te−t]01−∫01−e−tdt}=−9e−1−6[e−t]01=−15e−1+6=0.48(2sf).
Once again we can use the first part so that we need to find ∫01(1+t)33t3dt.
Let’s use
partial fractions
to write
(1+t)3t3
as
A+1+tB+(1+t)2C+(1+t)3D
. Putting all this over a common denominator gives
(1+t)3t3=(1+t)3A(1+t)3+B(1+t)2+C(1+t)+D=(1+t)3At3+(3A+B)t2+(3A+2B+C)t+(A+B+C+D),
which gives us on comparing coefficients
A=1
,
B=−3
,
C=3
,
D=−1
. So our integral becomes
3∫011−1+t3+(1+t)23−(1+t)31dt=3[t−3ln(1+t)−31+t1+2(1+t)21]01=3(1−3ln2−23+81)−3(−3+21)=3(2.125−3ln2)=0.14(2sf).
Alternatively, rather than using partial fractions, we could write u=1+t so that our integral becomes 3∫12u3(u−1)3du which we can expand, cancel and integrate as powers of u with the same result as above.