The above equations can be derived from the analytical solution to the system of equations formed by the definition of the COR and the law of the conservation of momentum (which holds for all collisions). Using the notation from above where u represents the velocity before the collision and v after, yields: