𝑚0 is the rest mass of the body.
Without loss of generality, assume that the body is starting from rest at the origin of a cartesian coordinate plane.
Assume the force 𝐅 on the body is in the positive direction along the x-axis.
To simplify the work, we consider the acceleration as a scalar quantity and write it 𝑎.
Thus, from the Chain Rule:
a=dtdv=dxdvdtdx=vdxdv
Then from the definition of energy:
E=∫0xFdx
which leads us to:
E=m0∫0x(1−v2/c2)23adx=m0∫0v(1−v2/c2)23vdv=m0(−2c2)∫0v(1−c2v2)−23(−c22vdv)=[m0c2(1−c2v2)−21]0v=m0c2(1−c2v21−1)=c2(1−c2v2m0−m0)=c2(m−m0)=Mc2