For , the conormal to its zero set is . The principal symbol of is
A characteristic hypersurface requires on the surface. Thus satisfies the anisotropic eikonal equation
The first-order and zeroth-order terms do not affect this condition.
Assume the medium varies on scales much longer than the wavelength and period, so the leading-order WKB method gives the local eikonal equation. For the phase in the stated ansatz, define
The local dispersion relation becomes the Hamilton--Jacobi equation
Differentiating it with respect to , using equality of mixed derivatives, and choosing a ray whose velocity is
gives
Here the dot, or , is the total derivative along a ray,
and not merely a partial time derivative at fixed position.
Finally, differentiate along the same trajectory:
because the last two terms cancel. The Hamiltonian ray-tracing equations are therefore
Here
so the Euler-Lagrange field equation is the variable-coefficient wave equation
At leading order, has
and hence
The leading part of the modulated-wave first integral is
A nonconstant periodic wave therefore requires the local dispersion relation
This is usually called the eikonal equation, or equivalently the leading geometric-optics dispersion relation.
Three distinguished limits are needed.
In the origin layer, put and . Since , the leading equation is
It has the first integral
Solving this first-order linear differential equation gives
Regularity at requires , and then fixes . Thus Region I, , has
Its matching limit is as .
In Region II, with , setting reduces the second-order equation to
Hence . Matching with the inner limit fixes , so
The correction generated by changes the local decay rate when . For Region III set
The terms of order give the eikonal equation
and the next balance gives . Matching to Region II selects
Therefore
This solution is already beyond all algebraic orders in in the distant region. A leading multiplicative composite expansion that contains all three balances and satisfies the boundary value exactly is
with its value at understood by continuity.
Finally, the coefficient of vanishes at the origin. Taking the regular limit of the original equation there gives
so the prescribed value also fixes . Equivalently, the second inner solution behaves as and is excluded by regularity. This regular singular point is why one boundary condition determines the unique regular solution.