A Green's function is the standard tool for solving a linear differential equation with a source term, once the boundary or initial conditions are fixed. In plain language, G(x,ξ)G(x,\xi) tells you how the system responds to a unit point source placed at ξ\xi. For a linear operator LL it is defined by the point-source problem

LG(x,ξ)=δ(xξ)L\,G(x,\xi) = \delta(x-\xi)

in xx, together with the same conditions the final solution must satisfy. Here δ(xξ)\delta(x-\xi) is the Dirac delta, a unit source concentrated at ξ\xi. The payoff: solve that one point-source problem, then handle any source ff by superposition,

u(x)=G(x,ξ)f(ξ)dξ.u(x) = \int G(x,\xi)\, f(\xi)\, d\xi.

When this method applies

Use a Green's function when the problem is linear and driven by a source term, with boundary or initial conditions pinned down. The delta source is what makes the definition useful: instead of attacking the full equation at once, you first ask for the response to the most concentrated input possible. You can then read G(x,ξ)G(x,\xi) as "the effect at xx of a unit impulse applied at ξ\xi," and treat a complicated source ff as a continuous superposition of such point sources. That superposition step — reading ff as a continuous pile of point sources — only works because the problem is linear. The same idea appears across ODEs and PDEs: electrostatics, diffusion, wave problems, quantum mechanics, and elasticity, and in linear time-invariant settings it coincides with the impulse response. The language changes across subjects, but the strategy is constant: understand the response to one concentrated input, then build the response to a general input from it.

The steps

  1. Fix the problem setup. State the linear operator LL and the boundary or initial conditions before hunting for GG. The Green's function belongs to the full problem, not the operator alone — change the conditions and GG changes too.
  2. Solve the point-source problem. Find G(x,ξ)G(x,\xi) so that LG=δ(xξ)L\,G = \delta(x-\xi) with those same conditions.
  3. Build the full solution as the integral of G(x,ξ)G(x,\xi) against the source f(ξ)f(\xi).
  4. Check the conditions — both the differential equation and the boundary or initial conditions — since the formula is valid only for that exact setup.

The reason step 1 cannot be skipped is that a Green's function is not determined by the differential operator alone. For example, the operator u-u'' on 0<x<10 < x < 1 with u(0)=u(1)=0u(0) = u(1) = 0 has a different Green's function from the same operator with Neumann boundary conditions: the equation looks identical, but the allowed solutions change, so the kernel changes too. There is no single Green's function for "the equation" unless the conditions are already part of the statement.

Full example: the Dirichlet problem for u=f-u'' = f

Take

u(x)=f(x),0<x<1,u(0)=u(1)=0.-u''(x) = f(x), \quad 0 < x < 1, \qquad u(0) = u(1) = 0.

For this specific problem the Green's function is

G(x,ξ)={x(1ξ),xξ,ξ(1x),xξ.G(x,\xi) = \begin{cases} x(1-\xi), & x \le \xi, \\ \xi(1-x), & x \ge \xi. \end{cases}

It is continuous in xx, vanishes at x=0x=0 and x=1x=1, and its first derivative has the right jump at x=ξx=\xi — that jump produces the delta source. With the kernel known, every source for this same problem reuses it:

u(x)=01G(x,ξ)f(ξ)dξ.u(x) = \int_0^1 G(x,\xi)\, f(\xi)\, d\xi.

Pick f(x)=1f(x) = 1:

u(x)=0xξ(1x)dξ+x1x(1ξ)dξ=(1x)x22+x(1x)22=x(1x)2.u(x) = \int_0^x \xi(1-x)\, d\xi + \int_x^1 x(1-\xi)\, d\xi = (1-x)\frac{x^2}{2} + x\frac{(1-x)^2}{2} = \frac{x(1-x)}{2}.

Check it: u(x)=12x2u'(x) = \tfrac{1-2x}{2}, u(x)=1u''(x) = -1, so u=1=f-u'' = 1 = f, and u(0)=u(1)=0u(0) = u(1) = 0. You did not rebuild the method for the new ff; you kept the kernel and changed only the integral.

Where you get stuck, and how to verify

  • Assuming linearity is optional. The superposition step fails for nonlinear problems.
  • Forgetting the conditions are part of the definition. u-u'' with Dirichlet data has a different GG from the same operator with Neumann data.
  • Assuming GG must be symmetric. Symmetry needs extra structure, such as a self-adjoint setup.
  • Confusing a Green's function with a fundamental solution. A fundamental solution is tied to the operator; a Green's function also builds in the chosen conditions.
  • Using the integral formula without checking that a Green's function exists for that particular problem.

If you forget the formal definition, keep: Green's function = response to one point source, and the full solution sums those responses across the domain.

Practice with a new source

Keep the same boundary conditions but replace f(x)=1f(x) = 1 with f(x)=xf(x) = x. The kernel stays fixed; only the last integral changes:

u(x)=01G(x,ξ)ξdξ.u(x) = \int_0^1 G(x,\xi)\,\xi\, d\xi.

This cleanly separates the two moving parts — the kernel belongs to the setup, the source varies case to case. Check your result against the boundary conditions.

Frequently Asked Questions

What is a Green's function in simple terms?
It is the response of a linear differential problem to a point source, with the same boundary or initial conditions kept fixed.
Is there one Green's function for every differential equation?
No. It depends on the operator and on the conditions attached to the problem. Changing the boundary or initial conditions usually changes the Green's function too.
Is a Green's function the same as a fundamental solution?
Not always. A fundamental solution is tied to the operator itself, while a Green's function usually also builds in the chosen boundary or initial conditions.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →