Consider a classical charged particle of mass m and electric charge q in a static (time-independent) uniform (constant throughout space) magnetic field B. The Lagrangian for a charged particle in a general electromagnetic field given by the magnetic potential A and electric potential ϕ ϕ is