Use transverse coordinates and a signed focusing strength in Hill's equation, . A drift of length has beam transfer matrix
For a uniform focusing quadrupole magnet with , and a defocusing one with ,
The focusing plane has oscillatory trajectories, while the defocusing plane has hyperbolic growth and decay. A magnetic quadrupole focuses one transverse plane and defocuses the other; reversing its gradient interchanges their roles.
If and the element's internal drift can be neglected or assigned separately, its kick may be concentrated at one position. With ,
Both kicks preserve position and change the slope linearly with displacement. All these ideal uncoupled maps have determinant one.
Use transverse coordinates and define a positive signed focal length as focusing in that plane. A thin quadrupole magnet of length and signed gradient has integrated strength ; the electron charge and chosen field orientation are absorbed into the sign of . Its beam transfer matrix is
For total electron energy , , so in the ultrarelativistic limit. The other transverse plane has the opposite signed focal length. A quadrupole magnet therefore focuses one plane while defocusing the other; the longitudinal magnetic field component is negligible in this paraxial idealization.
Let be the drift beam transfer matrix. Start immediately before the first lens and end immediately before its counterpart in the next FODO cell. Matrices act on column vectors from right to left. With and , where both focal lengths are signed in the chosen plane,
The two drifts account for both gaps. Direct multiplication gives and
For the equal-strength focusing-defocusing case, and :
Choosing a different start within the cell gives a conjugate matrix, with the same trace and eigenvalues. If is specified as a positive magnitude of a defocusing lens, its signed value in these formulas is .