In the canonically conjugate systems and the ray equations becomes
| (39) |
and
| (40) |
For an axisymmetric magnetic configuration, ∂∕∂ϕ = 0 such that n is an invariant. Therefore, only the first five equations need to be solved. The value of n is determined from launching conditions.