I have been trying to derive a formula for the forces acting on and the centre of gravity of objects in a one dimensional space. I've started in one dimension to make things easier and intend to move on to two dimensions soon. I tried to do it without referring to any source and I got a solution which I want to check with experienced people.
A one dimensional stick whose mass is uniformly distributed has its centre of mass at position x on a number line. It has a mass of m and a length l. There is a point mass at x = 0 of mass M.
I used to gravitational equation inside an integral.
I then used this equation to find out the centre of gravity.
[itex]\frac{\int FRdr}{\int Fdr}=\frac{\int\frac{1}{r}dr}{\int\frac{1}{r^{2}}dr}[/itex] with the limits of both integrals being the same as the limits for the equation for the force.
I substituted the values into the integrals and got the final equations to be these:
[itex]F_{G}=\frac{4mMG|x|}{x(l^{2}-4x^{2})}[/itex]
(The [itex]\frac{|x|}{x}[/itex] is there to account for the direction of the force).
[itex]x_{G}=\frac{ln(\frac{2x+l}{2x-l})(4x^{2}-l^{2})}{4l}[/itex]
Are my reasoning and equations correct? It took me hours to get to this. (Actually, it took me two years because I didn't know the problem needed integrals and I didn't know what integrals were but once I realised that it might need integrals it took me hours).
Edit: I have checked them with some actual values and they do seem correct. As the stick goes further away from the point mass the centre of gravity and centre of mass of the stick converge and the force on the stick gets closer to the value of the force on a particle of the same mass at the same position. But I might still be wrong.
A one dimensional stick whose mass is uniformly distributed has its centre of mass at position x on a number line. It has a mass of m and a length l. There is a point mass at x = 0 of mass M.
I used to gravitational equation inside an integral.
[itex]F_{G} = \frac{\int Fdr}{l} = mMG\int\frac{1}{r^{2}}dr[/itex][itex]x+\frac{l}{2}[/itex]
(Sorry about the bad placement of the limits because I don't know how to put them in the editor).[itex]x-\frac{l}{2}[/itex]
I then used this equation to find out the centre of gravity.
[itex]\frac{\int FRdr}{\int Fdr}=\frac{\int\frac{1}{r}dr}{\int\frac{1}{r^{2}}dr}[/itex] with the limits of both integrals being the same as the limits for the equation for the force.
I substituted the values into the integrals and got the final equations to be these:
[itex]F_{G}=\frac{4mMG|x|}{x(l^{2}-4x^{2})}[/itex]
(The [itex]\frac{|x|}{x}[/itex] is there to account for the direction of the force).
[itex]x_{G}=\frac{ln(\frac{2x+l}{2x-l})(4x^{2}-l^{2})}{4l}[/itex]
Are my reasoning and equations correct? It took me hours to get to this. (Actually, it took me two years because I didn't know the problem needed integrals and I didn't know what integrals were but once I realised that it might need integrals it took me hours).
Edit: I have checked them with some actual values and they do seem correct. As the stick goes further away from the point mass the centre of gravity and centre of mass of the stick converge and the force on the stick gets closer to the value of the force on a particle of the same mass at the same position. But I might still be wrong.