# General Mechanics/Momentum
## Changing mass

So far we've assumed that the mass of the objects being considered is constant, which is not always true. Mass is conserved overall, but it can be useful to consider objects, such as rockets, which are losing or gaining mass.
We can work out how to extend Newton's second law to this situation by considering a rocket two ways, as a single object of variable mass, and as two objects of fixed mass which are being pushed apart.
We find that
    $\mathbf {F} =m{\frac {d{\vec {v}}}{dt}}$
Force is the rate of change of a quantity, $m{\vec {v}}$ , which we call linear momentum.

## Newton's third law

Newton's third law says that the force, $F_{12}$ exerted by a mass $m_{1}$ , on a second mass $m_{2}$ , is equal and opposite to the force $F_{21}$ exerted by the second mass on the first.
    ${\frac {d(m_{2}{\vec {v}}_{2})}{dt}}={\vec {F}}_{12}=-{\vec {F}}_{21}=-{\frac {d(m_{1}{\vec {v}}_{1})}{dt}}$
if there are no external forces on the two bodies. We can add the two momenta together to get,
    ${\frac {d(m_{1}{\vec {v}}_{1})}{dt}}+{\frac {d(m_{2}{\vec {v}}_{2})}{dt}}={\frac {d}{dt}}(m_{1}{\vec {v}}_{1}+m_{2}{\vec {v}}_{2})=0$
so the total linear momentum is conserved.
Ultimately, this is consequence of space being homogeneous.

## Centre of mass

Suppose two constant masses are subject to external forces, ${\vec {F}}_{1},{\vec {F}}_{2}$
Then the total force on the system, ${\vec {F}}$ , is
    ${\vec {F}}={\vec {F}}_{1}+{\vec {F}}_{2}={\frac {d}{dt}}(m_{1}{\vec {v}}_{1}+m_{2}{\vec {v}}_{2})$
because the internal forces cancel out.
If the two masses are considered as one system, ${\vec {F}}$ should be the product of the total mass and ${\bar {a}}$ , the average acceleration, which we expect to be related to some kind of average position.
    ${\begin{aligned}(m_{1}+m_{2}){\bar {a}}&={\frac {d}{dt}}(m_{1}{\vec {v}}_{1}+m_{2}{\vec {v}}_{2})\\&={\frac {d^{2}}{dt^{2}}}(m_{1}{\vec {r}}_{1}+m_{2}{\vec {r}}_{2})\\{\bar {a}}&={\frac {d^{2}}{dt^{2}}}{\frac {m_{1}{\vec {r}}_{1}+m_{2}{\vec {r}}_{2}}{m_{1}+m_{2}}}\end{aligned}}$
The average acceleration is the second derivative of the average position, weighted by mass.
This average position is called the centre of mass, and accelerates at the same rate as if it had the total mass of the system, and were subject to the total force.
We can extend this to any number of masses under arbitrary external and internal forces.
* we have $n$ objects, mass $m_{1}\ldots ,m_{n}$ , total mass $M$
* each mass $m_{i}$ is at point $r_{i}$
* each mass $m_{i}$ is subject to an external force $F_{i}$
* the internal force exerted by mass $m_{j}$ on mass $m_{i}$ is $F_{ij}$
then the position of the centre of mass $R$ is
    ${\vec {R}}={\frac {1}{M}}\sum _{i}m_{i}{\vec {r}}_{i}$
We can now take the second derivative of $R$
    ${\begin{aligned}M{\vec {R}}''&=\sum _{i}m_{i}{\vec {r}}_{i}''\\&=\sum _{i}\left({\vec {F}}_{i}+\sum _{j}{\vec {F}}_{ij}\right)\end{aligned}}$
But the sum of all the internal forces is zero, because Newton's third law makes them cancel in pairs. Thus, the second term in the above equation drops out and we are left with:
    $M{\vec {R}}''=\sum _{i}{\vec {F}}_{i}={\vec {F}}$
The centre of mass always moves like a body of the same total mass under the total external force, irrespective of the internal forces.