The following derivation is for a body that is gaining mass (accretion). Let a body of time-varying mass m moves at a velocity v at an initial time t. Meanwhile, at this instant, let a particle of mass dm moves with velocity u.