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, it tells you how the system responds to a unit point source placed at .
For a linear operator , a Green's function is defined by the point-source problem
in the variable , together with the same boundary or initial conditions that the final solution must satisfy. Here is the Dirac delta, a distribution that represents a unit source concentrated at .
If such a Green's function exists and the problem is linear, then the solution of
can often be written as
That is the main idea: solve the point-source problem once, then combine those point responses to handle a general source .
What a Green's function means
The delta source is what makes the definition useful. Instead of solving the full equation immediately, you first ask for the response to the most concentrated input possible.
So you can read as "the effect at of a unit impulse applied at ." A more complicated source is then treated as a continuous superposition of point sources. This step only works because the problem is linear.
Why boundary conditions change the answer
A Green's function is not determined by the differential operator alone. It belongs to the full problem, including the conditions.
For example, the operator on with has a different Green's function from the same operator with Neumann boundary conditions. The equation may look the same, but the allowed solutions change, so the kernel changes too.
This is one of the most common mistakes. There is no single Green's function for "the equation" unless the conditions are already part of the statement.
Worked example: the Dirichlet problem for
Consider the boundary-value problem
with
For this specific problem, the Green's function is
It is continuous in , vanishes at and , and its first derivative has the correct jump at . That jump is what produces the delta source in the equation .
Once the kernel is known, every source term for this same boundary-value problem uses the same formula:
Choose one simple source term:
Then
Compute each part:
Adding them gives
A quick check confirms it:
so
and the boundary values are
This example shows the payoff clearly. You do not rebuild the method for each new ; you keep the same kernel and only change the integral.
Common Green's function mistakes
- Treating Green's functions as if they worked for nonlinear problems in the same way. The superposition step depends on linearity.
- Forgetting that the boundary or initial conditions are part of the definition.
- Assuming the kernel must always be symmetric. Symmetry usually needs extra structure, such as a suitable self-adjoint setup.
- Mixing up a Green's function with a fundamental solution. They are closely related, but they are not always the same object.
- Using the integral formula without checking that a Green's function exists for that particular problem.
Where Green's functions are used
Green's functions appear in ordinary and partial differential equations whenever a linear problem is driven by a source term. They are common in electrostatics, diffusion, wave problems, quantum mechanics, and elasticity.
In linear time-invariant settings, they are also closely related to impulse responses. The language changes across subjects, but the idea is similar: understand the response to one concentrated input, then build the response to a general input from that.
A quick way to remember it
If you forget the formal definition, keep this version:
Then the full solution comes from summing those point-source responses across the domain, which is what the integral does.
Try a similar source term
Keep the same boundary conditions, but replace with . The kernel stays the same, and only the last integral changes:
That is a good next step because it separates the two moving parts cleanly: the Green's function belongs to the setup, while the source term can change from case to case. If you want to go further, try your own version with a different source and check the resulting integral against the boundary conditions.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →