In mathematics, a Green's function (or Green function) is the impulse response of an inhomogeneous linear differential operator defined on a domain with specified initial conditions or boundary conditions. This means that if L is a linear differential operator, then
the Green's function G is the solution of the equation LG=δ, where δ is Dirac's delta function; the solution of the inhomogeneous problem Ly=f is the convolution, y=(G∗f). By the superposition principle, given a linear ordinary differential equation (ODE), Ly=f, one can first solve LG=δs, for each s. If the source is a sum of delta functions, then the solution is a sum of Green's functions as well due to linearity of L. This means that the integral, viewed as a continuous sum, can reconstruct a wide class of sources, f, through the convolution integral. Whenever the integral of f with G converges, then the solution to the inhomogeneous equation, Ly=f, is given by y=G∗f. Green's functions are named after the British mathematician George Green, who first developed the concept in the 1820s. In the modern study of linear partial differential equations, Green's functions are studied largely from the point of view of fundamental solutions instead, which take into account the modern language of the theory of distributions or generalized functions. Building off of the superposition principle in many-body theory, the term is also used in physics and engineering, specifically in quantum field theory, aerodynamics, aeroacoustics, electrodynamics, seismology and statistical field theory, to refer to various types of correlation functions, even those that do not fit the mathematical definition. In quantum field theory, Green's functions take the role of propagators, also referred to as two-point (correlation) functions.
Definition and uses A Green's function, G(x,s), of a linear differential operator L = L(x) acting on distributions over a subset of the Euclidean space ℝn, at a point s, is any solution of
where δ is the Dirac delta function. This property of a Green's function can be exploited to solve differential equations of the form
If the kernel of L is non-trivial, then the Green's function is not unique. However, in practice, some combination of symmetry, boundary conditions and/or other externally imposed criteria will give a unique Green's function. Green's functions may be categorized by a Green's function number according to the type of boundary conditions being satisfied. Green's functions are not necessarily functions of a real variable but are generally understood in the sense of distributions. Green's functions are also useful tools in solving wave equations and diffusion equations. In quantum mechanics, Green's function of the Hamiltonian is a key concept with important links to the concept of density of states. The Green's function as used in physics is usually defined with the opposite sign, instead. That is, LG(x,s)=δ(x−s). This definition does not significantly change any of the properties of Green's function due to the evenness of the Dirac delta function. If the operator is translation invariant, that is, when L has constant coefficients with respect to x, then the Green's function can be taken to be a convolution kernel, that is, G(x,s)=G(x−s). In this case, Green's function is the same as the impulse response of linear time-invariant system theory.
Motivation
Loosely speaking, if such a function G can be found for the operator L, then, if we multiply equation 1 for the Green's function by f(s), and then integrate with respect to s, we obtain, ∫LG(x,s)f(s)ds=∫δ(x−s)f(s)ds=f(x). Because the operator L=L(x) is linear and acts only on the variable x (and not on the variable of integration s), one may take the operator L outside of the integration, yielding L(∫G(x,s)f(s)ds)=f(x). This means that
is a solution to the equation Lu(x)=f(x). Thus, one may obtain the function u(x) through knowledge of the Green's function in equation 1 and the source term on the right-hand side in equation 2. This process relies upon the linearity of the operator L. In other words, the solution of equation 2, u(x), can be determined by the integration given in equation 3. Although f(x) is known, this integration cannot be performed unless G is also known. The problem now lies in finding the Green's function G that satisfies equation 1. For this reason, the Green's function is also sometimes called the fundamental solution associated to the operator L. Not every operator L admits a Green's function. A Green's function can also be thought of as a right inverse of L. Aside from the difficulties of finding a Green's function for a particular operator, the integral in equation 3 may be quite difficult to evaluate. However the method gives a theoretically exact result. This can be thought of as an expansion of f according to a Dirac delta function basis (projecting f over δ(x−s); and a superposition of the solution on each projection. Such an integral equation is known as a Fredholm integral equation, the study of which constitutes Fredholm theory.
Green's functions for solving non-homogeneous boundary value problems The primary use of Green's functions in mathematics is to solve non-homogeneous boundary value problems. In modern theoretical physics, Green's functions are also usually used as propagators in Feynman diagrams; the term Green's function is often further used for any correlation function.
Framework Let L be a Sturm–Liouville operator, a linear differential operator of the form L=ddx[p(x)ddx]+q(x) and let 𝐃 be the vector-valued boundary conditions operator 𝐃u=[α1u′(0)+β1u(0)α2u′(ℓ)+β2u(ℓ)]. Let f(x) be a continuous function in [0,ℓ]. Further suppose that the problem Lu=f𝐃u=𝟎 is regular, i.e., the only solution for f(x)=0 for all x is u(x)=0.
Theorem There is one and only one solution u(x) that satisfies Lu=f𝐃u=𝟎 and it is given by u(x)=∫0ℓf(s)G(x,s)ds, where G(x,s) is a Green's function satisfying the following conditions:
G(x,s) is continuous in x and s. For x≠s, LG(x,s)=0. For s≠0, 𝐃G(x,s)=𝟎. Derivative "jump": G′(s0+,s)−G′(s0−,s)=1/p(s). Symmetry: G(x,s)=G(s,x).
Advanced and retarded Green's functions
… excerpt ends here. Continue reading the full article.

