A 3D spherical wave solution to the Euclidean wave equation that is regular at the origin.
More...
A 3D spherical wave solution to the Euclidean wave equation that is regular at the origin.
The solution is given by describing an outgoing and an ingoing wave with profile . For small the solution is approximated by its Taylor expansion . The outgoing and ingoing waves meet at the origin (and cancel each other) when .
The expansion is employed where lies within the cubic root of the machine epsilon. Inside this radius we expect the error due to the truncation of the Taylor expansion to be smaller than the numerical error made when evaluating the full . This is because the truncation error scales as (since we keep the zeroth order, and the linear order vanishes as all odd orders do) and the numerical error scales as , so they are comparable at .
Requires: the profile to have a length scale of order unity so that "small" means . This is without loss of generality because of the scale invariance of the wave equation. The profile could be a Gausssian centered at 0 with width 1, for instance.