In mathematical terms, the instantaneous speed v is defined as the magnitude of the instantaneous velocity v , that is, the derivative of the position r with respect to time : v = | v | = | r ˙ ˙ | = | d r d t | .