Charged particle trajectories in simple nonuniform magnetic fields

The motion of charged particles in magnetic fields whose magnitude varies as a power of one of the coordinates in the plane of the motion is investigated. For interesting power laws, the parametric equations for the trajectory are expressible in terms of Jacobi elliptic functions. These represent a rather natural generalization of the elementary trigonometric solutions that are encountered in the case of a constant magnetic field.