Let D(d)=(10d1) be the drift beam transfer matrix. Start immediately before the firstlens and end immediately before its counterpart in the next FODO cell. Matrices act on column vectors from right to left. With A=1/f1 and B=1/f2, where both focal lengths are signed in the chosen plane,
Choosing a different start within the cell gives a conjugate matrix, with the same trace and eigenvalues. If f2 is specified asa positive magnitude of a defocusing lens, its signed value in these formulas is −f2.