# Help me sort this out

## Main Question or Discussion Point

NOTE: THIS IS NOT A HW PROBLEM
While calculating the moment of inertia of a cone, I made a mistake and got confused. Although I juggled the numbers and got the right answer, I have a doubt.

Say I have to calculate the centroid of a cone z2 = r2.

0 < z < h

It is quite obvious that the x and y co-ordinates of the centroid are zero. As for the z co-ordinate it can be calculated as follows:

$$\int$$ $$\int$$ $$\int$$$$_{V}$$ r2 dV =

$$\int$$ $$\int$$ $$\int$$$$_{V}$$ r2 r dr d$$\Theta$$ dz =

$$\int$$ $$\int$$ $$\int$$$$_{V}$$ r3 dr d$$\Theta$$ dz = $$\Pi$$h5/10

But instead, in step 2 if I substituted r = z (from the equation of the cone), I get a completely different answer.

$$\int$$ $$\int$$ $$\int$$$$_{V}$$ z2 z dr d$$\Theta$$ dz =

$$\int$$ $$\int$$ $$\int$$$$_{V}$$ z3 dr d$$\Theta$$ dz = 2$$\Pi$$h5/5

I got a similar doubt while calculating the center of mass, wherein I plugged in z = r in the equation and got a different (and wrong) answer.

Shouldn't I get the same answer either way? Why don't I get it?

Anirudh

tiny-tim
Homework Helper
Shouldn't I get the same answer either way? Why don't I get it?
Hi Anirudh!

(have a theta: θ and a pi: π )

You've probably got the limits wrong …

what limits did you use?

have a theta: θ and a pi: π
:rofl:

For the first one I used:

$$\int$$$$^{2\Pi}_{\Theta = 0}$$$$\int$$$$^{h}_{z = 0}$$$$\int$$$$^{z}_{r = 0}$$ r3 dr d$$\Theta$$ dz

For the second one I used:

$$\int$$$$^{2\Pi}_{\Theta = 0}$$$$\int$$$$^{h}_{z = 0}$$$$\int$$$$^{z}_{z = 0}$$ z3 dr d$$\Theta$$ dz

I used the same limits because r = z. Is that wrong? (Obviously, it MUST be as the answer isn't right)

tiny-tim
Homework Helper
hmm … looking again, these are different integrals …
$$\int$$ $$\int$$ $$\int$$$$_{V}$$ r2 r dr d$$\Theta$$ dz =

$$\int$$ $$\int$$ $$\int$$$$_{V}$$ z2 z dr d$$\Theta$$ dz = …

∫∫∫ r2 is not the same as ∫∫∫ z2

z2 = r2 only on the boundary, not everywhere in the middle …

(and you can't transform away r dr anyway)

(and you can't transform away r dr anyway)
Okay I understood that r = z only on the boundary. What does the above statement mean though?