According to the law of conservation of momentum, the total momentum of an isolated system is constant.