Relativistic momentum (source code)

= Relativistic momentum
{title2=$\mathbf p=\gamma m\mathbf v$}

For a massive <particle> of invariant <rest mass> $m$ and <velocity> $\mathbf v$ in an <inertial frame>,
$$
\mathbf p=\gamma m\mathbf v,\qquad E=\gamma mc^2,\qquad \gamma=(1-v^2/c^2)^{-1/2}.
$$
Together these form the <four-momentum> and satisfy $E^2-p^2c^2=m^2c^4$. At low <speed>, $\mathbf p\simeq m\mathbf v$; as $v\to c$ for fixed nonzero <rest mass>, the <momentum> grows without bound. The expression $\gamma m\mathbf v$ is not used for a massless <photon>; its <momentum> magnitude is $E/c$.

The relativistic expression also sets magnetic focusing scales. In a <quadrupole magnet> with $B_y=Gx$, a nearly axial <charged particle> has $dp_x/dt\simeq-qv_zGx$ from the <Lorentz force>. In the <small-angle approximation>, $x'=dx/dz\simeq p_x/p_z$. With constant leading longitudinal <momentum> $p_z$,
$$
x''+\frac{qG}{p_z}x=0.
$$
Thus the focusing coefficient uses relativistic longitudinal <momentum>, rather than an uncorrected $mv_z$. The opposite transverse plane has the opposite focusing sign for an ideal <quadrupole magnet>.