One-dimensional outgoing Green function (source code)

= One-dimensional outgoing Green function

Fix time dependence $e^{-i\omega t}$ and a positive real <wavenumber> $k$. The <one-dimensional outgoing Green function> for $L=\partial_x^2+k^2$ on the <real line> is
$$
G(x,x')=\frac{e^{ik|x-x'|}}{2ik},\qquad L_xG=\delta(x-x').
$$
For $x>x'$, the phase $k(x-x')-\omega t$ propagates rightward; for $x<x'$, the phase $k(x'-x)-\omega t$ propagates leftward. Both move away from the <point source>. Reversing the time convention reverses the corresponding spatial exponential.

Away from $x=x'$, each branch solves the homogeneous <Helmholtz equation>. The unnormalized <function> $e^{ik|x-x'|}$ is continuous and has first <derivative> jump $ik-(-ik)=2ik$. Division by $2ik$ therefore gives the unit <Dirac delta function> required by the <Green function jump conditions>. For a compactly supported forcing, <Green-function representation> gives an outgoing solution by integrating this <Green kernel> against the forcing.