Helical extremal (source code)

= Helical extremal
{wiki}

For an <optical ray in cylindrical coordinates>, a helical curve has $r=r_0>0$ and $\theta(z)=az+\theta_0$. It is a <helical extremal> only if it satisfies the <Euler Lagrange equations> of the optical action. In a radial-index medium $n=n(r)>0$, the angular and axial first integrals are constant on this ansatz, while the radial equation reduces to
$$
n\prime(r_0)(1+r_0^2a^2)+n(r_0)r_0a^2=0.
$$
Indeed the derivative with respect to $r\prime$ vanishes along the constant-radius ansatz, leaving the partial derivative of $n(r)\sqrt{1+r^2a^2}$ equal to zero.

A nonzero real winding rate therefore requires
$$
a^2=\frac{-n\prime(r_0)}{r_0[n(r_0)+r_0n\prime(r_0)]}>0.
$$
For example, the smooth positive profile $n(r)=n_0e^{-\alpha r^2/2}$ with $n_0,\alpha>0$ admits $a^2=\alpha/(1-\alpha r_0^2)$ for $r_0<\alpha^{-1/2}$. In a constant-index medium, the equation instead forces $a=0$, giving a straight axial line. These are stationary-ray conditions on the chosen segment, not a proof that every helical segment minimizes optical length.