Template:Short description Template:About Template:Short description Template:Multiple issues

File:Green's function animation.gif
If one knows the solution <math display="inline">G(x,x')</math> to a differential equation subject to a point source <math display="inline">\hat{L}(x) G(x,x') = \delta(x-x')</math> and the differential operator <math display="inline">\hat{L}(x)</math> is linear, then one can superpose them to build the solution <math display="inline">u(x) = \int f(x') G(x,x') \, dx'</math> for a general source <math display="inline">\hat{L}(x) u(x) = f(x)</math>.

In mathematics, a Green's function (or Green function<ref>Template:Cite journal</ref>) 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 <math>L</math> is a linear differential operator, then

Through the superposition principle, given a linear ordinary differential equation (ODE), Template:Nowrap one can first solve Template:Nowrap for each Template:Mvar, and realizing that, since the source is a sum of delta functions, the solution is a sum of Green's functions as well, by linearity of Template:Mvar.

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.

Under many-body theory, the term is also used in physics, 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 roles of propagators.

Definition and usesEdit

A Green's function, Template:Math, of a linear differential operator Template:Math acting on distributions over a subset of the Euclidean space Template:Nowrap at a point Template:Mvar, is any solution of Template:NumBlk where Template:Mvar is the Dirac delta function. This property of a Green's function can be exploited to solve differential equations of the form Template:NumBlk

If the kernel of Template:Math 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 the type of boundary conditions satisfied, by a Green's function number. Also, Green's functions in general are distributions, not necessarily functions of a real variable.

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, <math display="block">L G(x,s) = \delta(x-s)\,.</math> 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 <math>L</math> has constant coefficients with respect to Template:Mvar, then the Green's function can be taken to be a convolution kernel, that is, <math display="block">G(x,s) = G(x-s)\,.</math> In this case, Green's function is the same as the impulse response of linear time-invariant system theory.

MotivationEdit

Template:See also Loosely speaking, if such a function Template:Mvar can be found for the operator Template:Math, then, if we multiply Template:EquationNote for the Green's function by Template:Math, and then integrate with respect to Template:Mvar, we obtain, <math display="block">\int LG(x,s)\,f(s) \, ds = \int \delta(x-s) \, f(s) \, ds = f(x)\,.</math> Because the operator <math>L = L(x)</math> is linear and acts only on the variable Template:Mvar (and not on the variable of integration Template:Mvar), one may take the operator <math>L</math> outside of the integration, yielding <math display="block">L\left(\int G(x,s)\,f(s) \,ds \right) = f(x)\,.</math> This means that Template:NumBlk is a solution to the equation <math>L u(x) = f(x)\,.</math>

Thus, one may obtain the function Template:Math through knowledge of the Green's function in Template:EquationNote and the source term on the right-hand side in Template:EquationNote. This process relies upon the linearity of the operator Template:Math.

In other words, the solution of Template:EquationNote, Template:Math, can be determined by the integration given in Template:EquationNote. Although Template:Math is known, this integration cannot be performed unless Template:Mvar is also known. The problem now lies in finding the Green's function Template:Mvar that satisfies Template:EquationNote. For this reason, the Green's function is also sometimes called the fundamental solution associated to the operator Template:Math.

Not every operator <math>L</math> admits a Green's function. A Green's function can also be thought of as a right inverse of Template:Math. Aside from the difficulties of finding a Green's function for a particular operator, the integral in Template:EquationNote may be quite difficult to evaluate. However the method gives a theoretically exact result.

This can be thought of as an expansion of Template:Mvar according to a Dirac delta function basis (projecting Template:Mvar over Template:Nowrap 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 problemsEdit

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.

FrameworkEdit

Let <math>L</math> be the Sturm–Liouville operator, a linear differential operator of the form <math display="block">L = \dfrac{d}{dx} \left[p(x) \dfrac{d}{dx}\right] + q(x)</math> and let <math>\mathbf{D}</math> be the vector-valued boundary conditions operator <math display="block">\mathbf{D} u = \begin{bmatrix} \alpha_1 u'(0) + \beta_1 u(0) \\ \alpha_2 u'(\ell) + \beta_2 u(\ell) \end{bmatrix} \,.</math>

Let <math>f(x)</math> be a continuous function in Template:Nowrap Further suppose that the problem <math display="block">\begin{align}

Lu &= f \\
\mathbf{D}u &= \mathbf{0}

\end{align}</math> is "regular", i.e., the only solution for <math>f(x) = 0</math> for all Template:Mvar isTemplate:NowrapTemplate:Efn

TheoremEdit

There is one and only one solution <math>u(x)</math> that satisfies <math display="block"> \begin{align}

Lu & = f \\
\mathbf{D}u & = \mathbf{0}

\end{align}</math> and it is given by <math display="block">u(x) = \int_0^\ell f(s) \, G(x,s) \, ds\,,</math> where <math>G(x,s)</math> is a Green's function satisfying the following conditions:

  1. <math>G(x,s)</math> is continuous in <math>x</math> and <math>s</math>.
  2. For Template:Nowrap Template:Pad Template:Nowrap
  3. For Template:Nowrap Template:Pad Template:Nowrap
  4. Derivative "jump": Template:Pad Template:Nowrap
  5. Symmetry: Template:Pad Template:Nowrap

Advanced and retarded Green's functionsEdit

Template:See also Green's function is not necessarily unique since the addition of any solution of the homogeneous equation to one Green's function results in another Green's function. Therefore if the homogeneous equation has nontrivial solutions, multiple Green's functions exist. In some cases, it is possible to find one Green's function that is nonvanishing only for <math>s \leq x</math>, which is called a retarded Green's function, and another Green's function that is nonvanishing only for <math>s \geq x </math>, which is called an advanced Green's function. In such cases, any linear combination of the two Green's functions is also a valid Green's function. The terminology advanced and retarded is especially useful when the variable x corresponds to time. In such cases, the solution provided by the use of the retarded Green's function depends only on the past sources and is causal whereas the solution provided by the use of the advanced Green's function depends only on the future sources and is acausal. In these problems, it is often the case that the causal solution is the physically important one. The use of advanced and retarded Green's function is especially common for the analysis of solutions of the inhomogeneous electromagnetic wave equation.

Finding Green's functionsEdit

UnitsEdit

While it does not uniquely fix the form the Green's function will take, performing a dimensional analysis to find the units a Green's function must have is an important sanity check on any Green's function found through other means. A quick examination of the defining equation, <math display="block"> L G(x, s) = \delta(x - s), </math> shows that the units of <math>G</math> depend not only on the units of <math>L</math> but also on the number and units of the space of which the position vectors <math>x</math> and <math>s</math> are elements. This leads to the relationship: <math display="block"> G = L^{-1} d x^{-1}, </math> where <math>G</math> is defined as, "the physical units of Template:NowrapTemplate:Explain, and <math>dx</math> is the volume element of the space (or spacetime).

For example, if <math>L = \partial_t^2</math> and time is the only variable then: <math display="block">\begin{align}[] L &= [[\text{time}]]^{-2}, \\[1ex] dx &= [[\text{time}]],\ \text{and} \\[1ex] G &= [[\text{time}]]. \end{align}</math> If Template:Nowrap the d'Alembert operator, and space has 3 dimensions then: <math display="block">\begin{align}[] L &= [[\text{length}]]^{-2}, \\[1ex] dx &= [[\text{time}]] [[\text{length}]]^3,\ \text{and} \\[1ex] G &= [[\text{time}]]^{-1} [[\text{length}]]^{-1}. \end{align}</math>

Eigenvalue expansionsEdit

If a differential operator Template:Math admits a set of eigenvectors Template:Math (i.e., a set of functions Template:Math and scalars Template:Math such that Template:Math ) that is complete, then it is possible to construct a Green's function from these eigenvectors and eigenvalues.

"Complete" means that the set of functions Template:Math satisfies the following completeness relation, <math display="block">\delta(x-x') = \sum_{n=0}^\infty \Psi_n^\dagger(x') \Psi_n(x).</math>

Then the following holds, Template:Equation box 1 where <math>\dagger</math> represents complex conjugation.

Applying the operator Template:Math to each side of this equation results in the completeness relation, which was assumed.

The general study of Green's function written in the above form, and its relationship to the function spaces formed by the eigenvectors, is known as Fredholm theory.

There are several other methods for finding Green's functions, including the method of images, separation of variables, and Laplace transforms.<ref>Template:Cite book</ref>

Combining Green's functionsEdit

If the differential operator <math>L</math> can be factored as <math>L = L_1 L_2</math> then the Green's function of <math>L</math> can be constructed from the Green's functions for <math>L_1</math> and Template:Nowrap <math display="block"> G(x, s) = \int G_2(x, s_1) \, G_1(s_1, s) \, ds_1. </math> The above identity follows immediately from taking <math>G(x, s)</math> to be the representation of the right operator inverse of Template:Nowrap analogous to how for the invertible linear operator Template:Nowrap defined by Template:Nowrap is represented by its matrix elements Template:Nowrap

A further identity follows for differential operators that are scalar polynomials of the derivative, Template:Nowrap The fundamental theorem of algebra, combined with the fact that <math>\partial_x</math> commutes with itself, guarantees that the polynomial can be factored, putting <math>L</math> in the form: <math display="block"> L = \prod_{i=1}^N \left(\partial_x - z_i\right),</math> where <math>z_i</math> are the zeros of Template:Nowrap Taking the Fourier transform of <math>L G(x, s) = \delta(x - s)</math> with respect to both <math>x</math> and <math>s</math> gives: <math display="block"> \widehat{G}(k_x, k_s) = \frac{\delta(k_x - k_s)}{\prod_{i=1}^N (ik_x - z_i)}. </math> The fraction can then be split into a sum using a partial fraction decomposition before Fourier transforming back to <math>x</math> and <math>s</math> space. This process yields identities that relate integrals of Green's functions and sums of the same. For example, if <math>L = \left(\partial_x + \gamma\right) \left(\partial_x + \alpha\right)^2</math> then one form for its Green's function is: <math display="block"> \begin{align} G(x, s) & = \frac{1}{\left(\gamma - \alpha\right)^2}\Theta(x-s) e^{-\gamma(x-s)} - \frac{1}{\left(\gamma - \alpha\right)^2}\Theta(x-s) e^{-\alpha(x-s)} + \frac{1}{\gamma-\alpha} \Theta(x - s) \left(x - s\right) e^{-\alpha(x-s)} \\[1ex] & = \int \Theta(x - s_1) \left(x - s_1\right) e^{-\alpha(x-s_1)} \Theta(s_1 - s) e^{-\gamma (s_1 - s)} \, ds_1. \end{align} </math> While the example presented is tractable analytically, it illustrates a process that works when the integral is not trivial (for example, when <math>\nabla^2</math> is the operator in the polynomial).

Table of Green's functionsEdit

Template:Disputed section

The following table gives an overview of Green's functions of frequently appearing differential operators, where Template:Nowrap Template:Nowrap <math display="inline"> \Theta(t)</math> is the Heaviside step function, <math display="inline"> J_\nu(z)</math> is a Bessel function, <math display="inline"> I_\nu(z)</math> is a modified Bessel function of the first kind, and <math display="inline"> K_\nu(z)</math> is a modified Bessel function of the second kind.<ref>some examples taken from Template:Cite book</ref> Where time (Template:Mvar) appears in the first column, the retarded (causal) Green's function is listed.

Differential operator Template:Math Green's function Template:Mvar Example of application
<math>\partial_t^{n+1}</math> <math>\frac{t^n}{n!} \Theta(t)</math>
<math>\partial_t + \gamma </math> <math>\Theta(t) e^{-\gamma t}</math>
<math>\left(\partial_t + \gamma \right)^2</math> <math>\Theta(t)t e^{-\gamma t}</math>
<math>\partial_t^2 + 2\gamma\partial_t + \omega_0^2</math> where <math> \gamma < \omega_0 </math> <math>\Theta(t) e^{-\gamma t} \, \frac{\sin(\omega t)}{\omega}</math>   with   <math>\omega=\sqrt{\omega_0^2-\gamma^2}</math> 1D underdamped harmonic oscillator
<math>\partial_t^2 + 2\gamma\partial_t + \omega_0^2</math> where <math> \gamma > \omega_0 </math> <math>\Theta(t) e^{-\gamma t} \, \frac{\sinh(\omega t)}{\omega}</math>   with   <math>\omega = \sqrt{\gamma^2-\omega_0^2}</math> 1D overdamped harmonic oscillator
<math>\partial_t^2 + 2\gamma\partial_t + \omega_0^2</math> where <math> \gamma = \omega_0 </math> <math>\Theta(t) e^{-\gamma t} t</math> 1D critically damped harmonic oscillator
1D Laplace operator <math> \frac {d^2}{dx^2} </math> <math> \left(x - s\right) \Theta(x-s) + x\alpha (s) + \beta(s) </math> 1D Poisson equation
2D Laplace operator <math>\nabla^2_{\text{2D}} = \partial_x^2 + \partial_y^2</math> <math>\frac{1}{2 \pi}\ln \rho </math>   with   <math>\rho=\sqrt{x^2+y^2}</math> 2D Poisson equation
3D Laplace operator <math>\nabla^2_{\text{3D}} = \partial_x^2 + \partial_y^2 + \partial_z^2</math> <math>-\frac{1}{4 \pi r}</math>   with   <math> r = \sqrt{x^2 + y^2 + z^2} </math> Poisson equation
Helmholtz operator <math>\nabla^2_{\text{3D}} + k^2</math> <math>\frac{-e^{-ikr}}{4 \pi r} = i \sqrt{\frac{k}{32 \pi r}} H^{(2)}_{1/2}(kr) = i \frac{k}{4\pi} \, h^{(2)}_{0}(kr)</math> Template:Br where <math>H_\alpha^{(2)}</math> is the Hankel function of the second kind, and <math>h_0^{(2)}</math> is the spherical Hankel function of the second kind stationary 3D Schrödinger equation for free particle
Divergence operator <math>\nabla \cdot \mathbf{v}</math> \mathbf{x} - \mathbf{x}_0\right\|^3} </math>
<math>\nabla^2 - k^2</math> in <math>n</math> dimensions <math>- \left(2\pi\right)^{-n/2} \left(\frac{k}{r}\right)^{n/2-1} K_{n/2-1}(kr)</math> Yukawa potential, Feynman propagator, Screened Poisson equation
<math>\partial_t^2 - c^2\partial_x^2</math> <math>\frac{1}{2c} \Theta(ct - x)</math> 1D wave equation
<math>\partial_t^2 - c^2\,\nabla^2_{\text{2D}}</math> <math>\frac{\Theta(ct - \rho)}{2\pi c\sqrt{c^2t^2 - \rho^2}}</math> 2D wave equation
D'Alembert operator <math>\square = \frac{1}{c^2}\partial_t^2 - \nabla^2_{\text{3D}}</math> <math>\frac{1}{4 \pi r} \delta\left(t-\frac{r}{c}\right)</math> 3D wave equation
<math>\partial_t - k\partial_x^2</math> <math>\left(\frac{1}{4\pi kt}\right)^{1/2} \Theta(t) e^{-x^2/4kt}</math> 1D diffusion
<math>\partial_t - k\,\nabla^2_{\text{2D}}</math> <math>\left(\frac{1}{4\pi kt}\right) \Theta(t) e^{-\rho^2/4kt}</math> 2D diffusion
<math>\partial_t - k\,\nabla^2_{\text{3D}}</math> <math>\left(\frac{1}{4\pi kt}\right)^{3/2} \Theta(t) e^{-r^2/4kt}</math> 3D diffusion
<math>\frac{1}{c^2}\partial_t^2 - \partial_x^2+\mu^2</math> <math>\begin{align}

&\tfrac{1}{2} \left(1-\sin{\mu ct}\right) \left[\delta(ct-x) + \delta(ct+x)\right] \\[0.5ex] &+\tfrac{1}{2} \mu \Theta(ct - |x|) J_0(\mu u) \end{align} </math> Template:Br with <math> u = \sqrt{c^2 t^2 - x^2}</math>|| 1D Klein–Gordon equation

<math>\frac{1}{c^2}\partial_t^2 - \nabla^2_{\text{2D}}+\mu^2</math> <math>\begin{align}

&\frac{\delta(ct-\rho)}{4\pi\rho} \left(1 + \cos(\mu ct)\right) \\[0.5ex] &+ \frac{\mu^2\Theta(ct - \rho)}{4\pi} \operatorname{sinc}(\mu u) \end{align}</math> Template:Br with <math> u=\sqrt{c^2t^2-\rho^2} </math>|| 2D Klein–Gordon equation

<math>\square + \mu^2</math> <math>\frac{1}{4\pi r} \delta{\left(t - \frac{r}{c}\right)} + \frac{\mu c}{4\pi u} \Theta(ct - r) J_1{\left(\mu u\right)}</math>   with   <math> u = \sqrt{c^2t^2-r^2}</math> 3D Klein–Gordon equation
<math>\partial_t^2 + 2\gamma\partial_t - c^2\partial_x^2</math> <math>\begin{align}

&\frac{e^{-\gamma t}}{2} \left[ \delta(ct - x) + \delta(ct + x) \right] \\[0.5ex] &+ \frac{e^{-\gamma t}}{2} \Theta(ct - |x|) \left(k I_0(k u) + \frac{\gamma t}{u} I_1(k u)\right) \end{align}</math> Template:Br with   <math> u=\sqrt{c^2t^2-x^2}</math> and <math>k = \gamma / c </math>|| telegrapher's equation

<math>\partial_t^2 + 2\gamma\partial_t - c^2\,\nabla^2_{\text{2D}}</math> <math>\begin{align}

&\frac{e^{-\gamma t}}{4\pi\rho} \delta(ct-\rho) \left(1 + e^{-\gamma t} + 3\gamma t\right) \\ &+ \frac{e^{-\gamma t}}{4\pi u^2} \Theta(ct - \rho) \left(\frac{k u^2 - 3 c t}{c u} \sinh\left(k u\right) + 3\gamma t \cosh\left(k u\right)\right) \end{align}</math> Template:Br with   <math> u = \sqrt{c^2 t^2 - \rho^2}</math> and <math>k = \gamma / c</math>|| 2D relativistic heat conduction

<math>\partial_t^2 + 2\gamma\partial_t - c^2\,\nabla^2_{\text{3D}}</math> <math>\begin{align}

&\frac{e^{-\gamma t}}{20\pi r^2} \delta(ct - r) \left(8 - 3e^{-\gamma t} + 2\gamma t + 4\gamma^2 t^2\right) \\[0.5ex] &+ \frac{k e^{-\gamma t}}{20 \pi u} \Theta(ct - r) \left(k I_1(k u) + \frac{4 \gamma t}{u} I_2(k u)\right) \end{align}</math> Template:Br with   <math> u = \sqrt{c^2 t^2 - r^2}</math> and <math>k = \gamma / c</math>|| 3D relativistic heat conduction

Green's functions for the LaplacianEdit

Green's functions for linear differential operators involving the Laplacian may be readily put to use using the second of Green's identities.

To derive Green's theorem, begin with the divergence theorem (otherwise known as Gauss's theorem), <math display="block">\int_V \nabla \cdot \mathbf A\, dV = \int_S \mathbf A \cdot d\hat\boldsymbol\sigma \,.</math>

Let <math>\mathbf A = \varphi\,\nabla\psi - \psi\,\nabla\varphi</math> and substitute into Gauss' law.

Compute <math>\nabla\cdot\mathbf A</math> and apply the product rule for the ∇ operator, <math display="block">\begin{align}

\nabla\cdot\mathbf A &= \nabla\cdot \left(\varphi\,\nabla\psi \;-\; \psi\,\nabla\varphi\right)\\
&= (\nabla\varphi)\cdot(\nabla\psi) \;+\; \varphi\,\nabla^2\psi \;-\; (\nabla\varphi)\cdot(\nabla\psi) \;-\; \psi\nabla^2\varphi\\
&= \varphi\,\nabla^2\psi \;-\; \psi\,\nabla^2\varphi.

\end{align}</math>

Plugging this into the divergence theorem produces Green's theorem, <math display="block">\int_V \left(\varphi\,\nabla^2\psi-\psi\,\nabla^2\varphi\right) dV = \int_S \left(\varphi\,\nabla\psi-\psi\nabla\,\varphi\right) \cdot d\hat\boldsymbol\sigma.</math>

Suppose that the linear differential operator Template:Mvar is the Laplacian, ∇2, and that there is a Green's function Template:Mvar for the Laplacian. The defining property of the Green's function still holds, <math display="block">L G(\mathbf{x},\mathbf{x}') = \nabla^2 G(\mathbf{x},\mathbf{x}') = \delta(\mathbf{x}-\mathbf{x}').</math>

Let <math>\psi=G</math> in Green's second identity, see Green's identities. Then, <math display="block">\int_V \left[ \varphi(\mathbf{x}') \delta(\mathbf{x}-\mathbf{x}') - G(\mathbf{x},\mathbf{x}') \, {\nabla'}^2\,\varphi(\mathbf{x}')\right] d^3\mathbf{x}' = \int_S \left[\varphi(\mathbf{x}')\,{\nabla'} G(\mathbf{x},\mathbf{x}') - G(\mathbf{x},\mathbf{x}') \, {\nabla'}\varphi(\mathbf{x}')\right] \cdot d\hat\boldsymbol\sigma'.</math>

Using this expression, it is possible to solve Laplace's equation Template:Math or Poisson's equation Template:Math, subject to either Neumann or Dirichlet boundary conditions. In other words, we can solve for Template:Math everywhere inside a volume where either (1) the value of Template:Math is specified on the bounding surface of the volume (Dirichlet boundary conditions), or (2) the normal derivative of Template:Math is specified on the bounding surface (Neumann boundary conditions).

Suppose the problem is to solve for Template:Math inside the region. Then the integral <math display="block">\int_V \varphi(\mathbf{x}') \, \delta(\mathbf{x}-\mathbf{x}') \, d^3\mathbf{x}'</math> reduces to simply Template:Math due to the defining property of the Dirac delta function and we have <math display="block">\varphi(\mathbf{x}) = -\int_V G(\mathbf{x},\mathbf{x}') \, \rho(\mathbf{x}')\, d^3\mathbf{x}' + \int_S \left[\varphi(\mathbf{x}') \, \nabla' G(\mathbf{x},\mathbf{x}') - G(\mathbf{x},\mathbf{x}') \, \nabla'\varphi(\mathbf{x}')\right] \cdot d\hat\boldsymbol\sigma'.</math>

This form expresses the well-known property of harmonic functions, that if the value or normal derivative is known on a bounding surface, then the value of the function inside the volume is known everywhere.

In electrostatics, Template:Math is interpreted as the electric potential, Template:Math as electric charge density, and the normal derivative <math>\nabla\varphi(\mathbf{x}')\cdot d\hat\boldsymbol\sigma'</math> as the normal component of the electric field.

If the problem is to solve a Dirichlet boundary value problem, the Green's function should be chosen such that Template:Math vanishes when either Template:Mvar or Template:Mvar is on the bounding surface. Thus only one of the two terms in the surface integral remains. If the problem is to solve a Neumann boundary value problem, it might seem logical to choose Green's function so that its normal derivative vanishes on the bounding surface. However, application of Gauss's theorem to the differential equation defining the Green's function yields <math display="block">\int_S \nabla' G(\mathbf{x},\mathbf{x}') \cdot d\hat\boldsymbol\sigma' = \int_V \nabla'^2 G(\mathbf{x},\mathbf{x}') \, d^3\mathbf{x}' = \int_V \delta (\mathbf{x}-\mathbf{x}')\, d^3\mathbf{x}' = 1 \,,</math> meaning the normal derivative of G(x,x′) cannot vanish on the surface, because it must integrate to 1 on the surface.<ref>Template:Cite book</ref>

The simplest form the normal derivative can take is that of a constant, namely Template:Math, where Template:Math is the surface area of the surface. The surface term in the solution becomes <math display="block">\int_S \varphi(\mathbf{x}') \, \nabla' G(\mathbf{x},\mathbf{x}') \cdot d\hat\boldsymbol\sigma' = \langle\varphi\rangle_S </math> where <math>\langle\varphi\rangle_S </math> is the average value of the potential on the surface. This number is not known in general, but is often unimportant, as the goal is often to obtain the electric field given by the gradient of the potential, rather than the potential itself.

With no boundary conditions, the Green's function for the Laplacian (Green's function for the three-variable Laplace equation) is <math display="block">G(\mathbf{x},\mathbf{x}') = -\frac{1}{4 \pi \left|\mathbf{x}-\mathbf{x}'\right|}.</math>

Supposing that the bounding surface goes out to infinity and plugging in this expression for the Green's function finally yields the standard expression for electric potential in terms of electric charge density as

Template:Equation box 1

Template:Further

ExampleEdit

Find the Green function for the following problem, whose Green's function number is X11: <math display="block">\begin{align}

Lu & = u + k^2 u = f(x) \\
u(0)& = 0, \quad u{\left(\tfrac{\pi}{2k}\right)} = 0.

\end{align}</math>

First step: The Green's function for the linear operator at hand is defined as the solution to Template:NumBlk

If <math>x\ne s</math>, then the delta function gives zero, and the general solution is <math display="block">G(x,s)=c_1 \cos kx+c_2 \sin kx.</math>

For <math>x < s</math>, the boundary condition at <math>x=0</math> implies <math display="block">G(0,s)=c_1 \cdot 1+c_2 \cdot 0=0, \quad c_1 = 0</math> if <math>x < s</math> and <math>s \ne \tfrac{\pi}{2k}</math>.

For <math>x>s</math>, the boundary condition at <math>x = \tfrac{\pi}{2k}</math> implies <math display="block">G{\left(\tfrac{\pi}{2k},s\right)} = c_3 \cdot 0+c_4 \cdot 1=0, \quad c_4 = 0 </math>

The equation of <math>G(0,s) = 0</math> is skipped for similar reasons.

To summarize the results thus far: <math display="block">G(x,s) = \begin{cases}

c_2 \sin kx, & \text{for } x < s, \\[0.4ex]
c_3 \cos kx, & \text{for } s < x.

\end{cases}</math>

Second step: The next task is to determine <math>c_2</math> and Template:Nowrap

Ensuring continuity in the Green's function at <math>x = s</math> implies <math display="block">c_2 \sin ks=c_3 \cos ks</math>

One can ensure proper discontinuity in the first derivative by integrating the defining differential equation (i.e., Template:EquationNote) from <math>x=s-\varepsilon</math> to <math>x=s+\varepsilon</math> and taking the limit as <math>\varepsilon</math> goes to zero. Note that we only integrate the second derivative as the remaining term will be continuous by construction. <math display="block">c_3 \cdot (-k \sin ks)-c_2 \cdot (k \cos ks)=1</math>

The two (dis)continuity equations can be solved for <math>c_2</math> and <math>c_3</math> to obtain <math display="block">c_2 = -\frac{\cos ks}{k} \quad;\quad c_3 = -\frac{\sin ks}{k}</math>

So Green's function for this problem is: <math display="block">G(x,s) = \begin{cases}

-\frac{\cos ks}{k} \sin kx, & x<s, \\
-\frac{\sin ks}{k} \cos kx, & s<x.

\end{cases}</math>

Further examplesEdit

G(x, y, x_0, y_0) = \dfrac{1}{2\pi} &\left[\ln\sqrt{\left(x-x_0\right)^2+\left(y-y_0\right)^2} - \ln\sqrt{\left(x+x_0\right)^2 + \left(y-y_0\right)^2} \right. \\[5pt] &\left. {} + \ln\sqrt{\left(x-x_0\right)^2 + \left(y+y_0\right)^2}- \ln\sqrt{\left(x+x_0\right)^2 + \left(y+y_0\right)^2} \, \right]. \end{align}</math>

  • Let <math> a < x < b </math>, and all three are elements of the real numbers. Then, for any function <math>f:\mathbb{R}\to\mathbb{R}</math> with an <math>n</math>-th derivative that is integrable over the interval <math>[a, b]</math>: <math display="block">

f(x) = \sum_{m=0}^{n-1} \frac{(x - a)^m}{m!} \left[ \frac{d^m f}{d x^m} \right]_{x=a} + \int_a^b \left[\frac{(x - s)^{n-1}}{(n-1)!} \Theta(x - s)\right] \left[ \frac{d^n f}{dx^n} \right]_{x=s} ds \,.</math> The Green's function in the above equation, <math>G(x,s) = \frac{(x - s)^{n-1}}{(n-1)!} \Theta(x - s)</math>, is not unique. How is the equation modified if <math>g(x-s)</math> is added to <math>G(x,s)</math>, where <math>g(x)</math> satisfies <math display="inline">\frac{d^n g}{d x^n} = 0</math> for all <math>x \in [a, b]</math> (for example, <math>g(x) = -x/2</math> with Template:Nowrap Also, compare the above equation to the form of a Taylor series centered at <math>x = a</math>.

See alsoEdit

Template:Div col

Template:Div col end

FootnotesEdit

Template:Notelist

ReferencesEdit

Template:Reflist

Cited worksEdit

Template:Refbegin

Template:Refend

External linksEdit

|_exclude=urlname, _debug, id |url = https://mathworld.wolfram.com/{{#if:GreensFunction%7CGreensFunction.html}} |title = Green's Function |author = Weisstein, Eric W. |website = MathWorld |access-date = |ref = Template:SfnRef }}

|CitationClass=web }}

Template:Authority control