In mechanics energy is $E = \frac{m v^2}{2}$
The corresponding relativistic equation is $ E = m (\gamma -1) c^2 $ which for v<<c is appoximately $\frac{m v^2}{2}$
I know that the equation above is correct because I have seen the derivation at Wikipedia.
But energy can also be calculated by $E = f d$
The corresponding relativistic equation would be four-force times displacement four-vector (i.e. four-position)
$ E = \left(\gamma {\mathbf{f}\cdot\mathbf{v} \over c},\gamma{\mathbf f}\right) \cdot \left(ct, \mathbf{r}\right) $
Is there a way to show that this second relativistic equation gives a value for energy that doesnt contradict the first equation above?
($ct$ has units of distance. $\frac{v}{c}$ is dimensionless and so is $\gamma$)
f is the rate of change of proper momentum (mass times proper velocity)
${\mathbf f}={\mathrm{d} \over \mathrm{d}t} \left(\gamma m {\mathbf v} \right)={\mathrm{d}\mathbf{p} \over \mathrm{d}t}$
and
${\mathbf{f}\cdot\mathbf{v}}={\mathrm{d} \over \mathrm{d}t} \left(\gamma mc^2 \right) $
The derivative of gamma is:
$\dot\gamma = \frac{d \gamma}{d t} = \frac{d \gamma}{dv} \frac{dv}{dt} = \frac{v \gamma^3 a}{c^2}$