Center of Mass w/ variable density

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
7 replies · 3K views
scorpius1782
Messages
107
Reaction score
0

Homework Statement


A box with one corner at the origin and the opposite corner at (a,b,c). The density is:##\rho=\rho_o\frac{z^2}{c^2}##


Homework Equations


##r_{cm}=\frac{\int\vec{r}dm}{\int dm}##


The Attempt at a Solution


I calculated the mass:

##\int_{0,0,0}^{a,b,c}\rho_o\frac{z^2}{c^2}=\frac{abc\rho_o}{3}##

But I'm not sure what the top of the equation is suppose to mean. Am I suppose to multiply the density by the direction it is changing (z) then integrate? I can't find an example anywhere that explains it well enough so that I can understand.

Thanks for the help.
 
Physics news on Phys.org
scorpius1782 said:
I'm not sure what the top of the equation is suppose to mean.
Top (numerator?) of which equation?
Am I suppose to multiply the density by the direction it is changing (z) then integrate?
It asks for the centre of mass, so that requires three co-ordinates. In vectors, ∫ρ(r)r.dv/mass
E.g. to get the x-co-ordinate, ∫ρ(x,y,z).x.dxdydz/mass.
 
so I would need to do:

##\int_0^a\rho_o\frac{z^2}{c^2}x dx##
##\int_0^b\rho_o\frac{z^2}{c^2}y dy##
##\int_0^c\rho_o\frac{z^2}{c^2}z dz##

Am I understanding correctly then?

edit: also, by top equation I meant the position integral. I should just solve these 3 integrals and then divide by the mass then.
 
That is
[tex]\int_{x=0}^1\int_{y=0}^1\int_{z= 0}^1\rho_0\frac{z}{c}dzdydx[/tex]
By "Fubini's theorem" that can be written as a product of integrals:
[tex]\dfrac{\rho_0}{c}\left(\int_{x=0}^1 dx\right)\left(\int_{y= 0}^1 dy\right)\left(\int_{z= 0}^1 z dz\right)[/tex]
 
HallsofIvy said:
That is
[tex]\int_{x=0}^1\int_{y=0}^1\int_{z= 0}^1\rho_0\frac{z}{c}dzdydx[/tex]
By "Fubini's theorem" that can be written as a product of integrals:
[tex]\dfrac{\rho_0}{c}\left(\int_{x=0}^1 dx\right)\left(\int_{y= 0}^1 dy\right)\left(\int_{z= 0}^1 z dz\right)[/tex]

This has me confused. It appears like my first equation but with (a,b,c) replaced with (1,1,1) and you've dropped the squares for z and c. Is this suppose to be another method to find the CM?

haruspex,

So, I should have something that looks like:

##\int_0^a\int_0^b\int_0^c\rho_o\frac{z^2}{c^2}x dxdydz##
##\int_0^a\int_0^b\int_0^c\rho_o\frac{z^2}{c^2}y dxdydz##
##\int_0^a\int_0^b\int_0^c\rho_o\frac{z^2}{c^2}z dxdydz##

which would give me ##\hat{x}+\hat{y}+\hat{z}## all divided by the mass I found?

If I understand it correctly now:

##\int_0^a\int_0^b\int_0^c\rho_o\frac{z^2}{c^2}x dxdydz=\frac{\rho_o}{c^2}\frac{a^2c^2b}{4}=\frac{\rho_oa^2b}{4}##
so for ##\hat{x}## I would get ##\frac{\frac{\rho_oa^2b}{4}}{\frac{\rho_0abc}{3}}##

Which is just## \frac{3a}{4c}\hat{x}##

Thanks for the help.
 
Last edited:
scorpius1782 said:
##\int_0^a\int_0^b\int_0^c\rho_o\frac{z^2}{c^2}x dxdydz##
##\int_0^a\int_0^b\int_0^c\rho_o\frac{z^2}{c^2}y dxdydz##
##\int_0^a\int_0^b\int_0^c\rho_o\frac{z^2}{c^2}z dxdydz##
Yes.
which would give me ##\hat{x}+\hat{y}+\hat{z}## all divided by the mass I found?
I don't understand the plus signs. Each integral gives you one co-ordinate of a vector.
If I understand it correctly now:

##\int_0^a\int_0^b\int_0^c\rho_o\frac{z^2}{c^2}x dxdydz=\frac{\rho_o}{c^2}\frac{a^2c^2b}{4}=\frac{\rho_oa^2b}{4}##
That doesn't look right. The dz should still be giving you a factor 1/3.
 
  • Like
Likes   Reactions: 1 person
Ack, I forgot to square the z's for integration. Don't know why I did that. But, I get the gist so I'll be good from here. I just did plus instead of commas.

Thanks for all the help!