Green’s Functions
Green’s Functions for Linear Differential Equations
Green’s functions provide a systematic way to solve many differential equations, especially equations describing physical systems such as electrostatics and oscillators. Their central idea is to determine how a system responds to an idealized point-like input and then build the response to an arbitrary input by adding together the responses to all such point inputs.
The method applies to equations that can be written in the form
where:
L is a linear differential operator.
y(x) is the unknown function to be determined.
f(x) is a known forcing term or source function.
The Green’s function acts as a solution-building tool: once the Green’s function is known, the solution for a general forcing function can be obtained through a weighted integral.
Linear Differential Operators
Operators
An operator is a rule that takes a function as input and produces another function as output.
For example, differentiation is an operator. If the input function is the squaring function,
then differentiation produces the doubling function,
Thus, the differential equation
means that applying the operator L to the unknown function y(x) produces the known function f(x).
Solving the differential equation means recovering y(x) from the result f(x).
Differential operators
The term differential indicates that the operator involves differentiation. Examples include operators such as
or more complicated operators involving several derivatives.
The operator itself may represent a physical law. For example, in electrostatics, the differential operator relates electric potential to charge density.
Linearity
An operator L is linear if it satisfies both additivity and scalar multiplication. In combined form, for functions u(x) and v(x) and constants a and b,
This means that applying the operator after forming a linear combination gives the same result as applying the operator to each function first and then forming the same linear combination.
Linearity means that applying the operator and forming a linear combination can be performed in either order.
This property is essential to Green’s functions because it permits individual responses to be added together.
Physical interpretation of linearity
In electrostatics, the electric potential ϕ is related to the charge density ρ through a linear differential equation. The precise operator may involve the Laplacian, represented by an inverted triangle symbol, but the important fact is that the operator is linear.
If one charge distribution produces a potential ϕ1 and another charge distribution produces a potential ϕ2, then placing the two charge distributions together produces
The combined charge density is similarly the sum of the individual charge densities:
Therefore, the potential generated by the combined distribution is the sum of the potentials generated separately. This is the superposition principle, and it is the physical expression of linearity.
Green’s functions make extensive use of this principle by decomposing a complicated source into many simple sources.
The Dirac Delta Function
The Dirac delta function is central to Green’s functions because it represents an idealized point source.
Charge density in a small region
Suppose a charge distribution occupies a small region D with volume V. The average charge density within that region is
The charge contained in D is obtained by integrating the charge density over the region:
Here, ξ denotes the position variable being integrated over.
It is useful to express the integral over the entire space rather than over a changing region D. This is done with an indicator function, written as 1D(ξ):
The charge in the region can then be written as
Because the indicator function is zero outside D, the parts of the integral outside D contribute nothing.
Dividing by the volume V gives an approximation to the charge density at a point:
As the region D shrinks toward a point x, the factor
approaches the Dirac delta function centered at x.
Defining properties
The Dirac delta function is written as δ(ξ−x). It is not an ordinary function in the usual sense. It is better understood as a generalized function or distribution characterized by its behavior under integration.
Its key properties are:
It is zero everywhere except at the point where it is centered:
δ(ξ−x)=0for ξ=x.It is concentrated entirely at ξ=x and has total integral equal to 1:
∫spaceδ(ξ−x)dVξ=1.It selects the value of a function at its center. For a suitable function g,
∫spaceg(ξ)δ(ξ−x)dVξ=g(x).
The last property is often called the sifting property.
Why the delta function appears infinite
The delta function can be understood as the limit of ordinary functions that become increasingly concentrated.
Consider a region D of volume V and define
This function has the following characteristics:
It equals 1/V inside D.
It equals 0 outside D.
Its total integral is always 1:
∫fD(ξ)dVξ=V1∫DdVξ=V1V=1.
As D shrinks toward x:
For any fixed point ξ=x, the shrinking region eventually excludes ξ, so fD(ξ) becomes $0.
At ξ=x, the region continues to contain x, while V approaches zero. Therefore, 1/V grows without bound.
This explains why the delta function is described informally as being zero almost everywhere and infinitely concentrated at one point. Its infinite value should not be interpreted as the value of an ordinary function. The meaningful object is its integral behavior.
The delta function is a unit-strength point source: it is concentrated at one point but has total integral equal to 1.
Point-charge interpretation
The function
can be viewed as a charge density:
The density is uniform within the region D.
The density is 1/V.
The total charge is 1, regardless of the size of D.
When D shrinks to a point, this distribution becomes the idealized charge density of a point charge located at x.
The delta function therefore provides a mathematical representation of a point source. It is an idealization rather than a literal description of ordinary matter. A real charge distribution is not actually infinite at a point; the point-charge picture is a useful limiting model.
Continuous sums of point sources
A general charge distribution can be viewed mathematically as a continuous collection of point charges. The charge density ρ(ξ) determines the weight assigned to the point charge located at ξ.
This idea is analogous to ordinary superposition:
A finite collection of sources produces a sum of individual responses.
A continuous distribution of sources produces an integral of individual responses.
The Dirac delta function represents one individual point source, while the full charge density is obtained by continuously combining point sources with weights determined by ρ.
The Principle of Green’s Functions
Consider the general linear differential equation
The Green’s function describes the response of the system to a point source.
Definition of the Green’s function
The Green’s function G(x,ξ) is defined by
The subscript on Lx indicates that the operator acts on the variable x, while ξ is treated as a fixed source location.
The two variables have different roles:
ξ is the location where the point source is placed.
x is the location where the resulting response is measured.
For every fixed source location ξ, the Green’s function is a function of x. Changing ξ changes which point source is being considered.
Electrostatic interpretation
In electrostatics, the electric potential generated by a point charge is proportional to a Green’s function. Depending on the convention used for the differential equation, a factor involving ϵ0 may be required.
If the electrostatic equation has the form
then a point charge corresponds to setting
The resulting potential satisfies an equation with a right-hand side proportional to δ(x−ξ). If the Green’s function is conventionally defined by
then the physical potential generated by a point charge may be a rescaled version of G.
The important conceptual point is that the Green’s function is the response to a unit point source.
Deriving the solution formula
Start with the defining equation
Multiply both sides by the forcing function evaluated at the source location, f(ξ):
Since f(ξ) does not depend on x, it acts like a constant from the perspective of the operator Lx. Therefore,
Now integrate over all source positions ξ:
The right-hand side simplifies using the sifting property:
Because Lx is linear and acts on x, it can be moved outside the integral over ξ:
Comparison with
shows that the solution is
provided the Green’s function satisfies the appropriate boundary or initial conditions.
The solution is a weighted continuous sum of point-source responses. The Green’s function supplies the response, and the forcing function supplies the weight.
Interpretation of the integral
The integral
can be interpreted as follows:
Select a source point ξ.
Determine the system’s response at x to a unit point source at ξ, namely G(x,ξ).
Weight that response by the strength of the actual source, f(ξ).
Add the responses from all source points through integration.
This is the continuous analogue of a matrix equation. In finite-dimensional linear algebra, a matrix maps an input vector to an output vector. Green’s functions play a similar role for differential operators: they form the kernel of an integral operator that maps f to y.
Example: An Oscillator Driven by a Variable Force
Green’s functions apply not only to electrostatics but also to time-dependent mechanical systems.
Force as the rate of change of momentum
Force is defined as the rate of change of momentum:
For an object of constant mass m, momentum is
so
For an oscillator, a restoring force is also present. A typical linear oscillator equation has the form
where:
x(t) is the extension from equilibrium.
m is the mass.
k is the spring constant.
F(t) is the externally applied force.
The left-hand side is a linear differential operator acting on x(t).
The delta-function impulse
The mechanical analogue of a point charge is an instantaneous impulse. It can be represented by a delta function in time:
where τ is the time at which the impulse occurs.
This force is:
Zero at almost all times.
Concentrated at the single time t=τ.
Normalized so that its time integral is 1:
∫δ(t−τ)dt=1.
Physically, the impulse delivers a finite amount of momentum in an extremely short time interval.
The oscillator Green’s function
The Green’s function G(t,τ) for the oscillator describes the displacement at time t caused by a unit impulse applied at time τ.
It satisfies an equation of the form
together with specified initial conditions. Under the common convention of zero initial displacement and zero initial velocity, the response is causal: it vanishes before the impulse is applied,
After the impulse, the response is a delayed and rescaled oscillation. If the natural angular frequency is
then the causal response has the general form
and is zero for t<τ, assuming the standard normalization.
Response to a general force
A general applied force can be regarded as a continuous sum of impulses. Each infinitesimal impulse applied at time τ contributes a response weighted by F(τ).
The oscillator’s displacement is therefore
For a causal system, only forces applied at times τ≤t can affect the displacement at time t, so the expression is often written as
This is the mechanical version of the electrostatic continuous sum:
A point charge corresponds to an impulse.
The electrostatic potential generated by a point charge corresponds to the oscillator response to an impulse.
Charge density corresponds to applied force.
Electric potential corresponds to displacement.
Superposition of potentials corresponds to superposition of mechanical responses.
Linearity in the oscillator
The oscillator operator is linear because
Consequently:
If one force produces displacement x1(t),
and another force produces displacement x2(t),
then the combined force produces the displacement
This property allows the response to an arbitrary force to be assembled from the responses to individual impulses.
Finding a Green’s Function
The Green’s function must satisfy
The defining properties of the delta function make this equation tractable in many physical settings.
Solving away from the source
Because the delta function is zero almost everywhere,
the Green’s function satisfies the homogeneous equation away from the source point:
Thus, the problem is usually divided into two parts:
Solve the homogeneous differential equation on either side of the source.
Impose conditions at the source that reproduce the unit integral of the delta function.
Integrating around the source
Although the delta function is zero away from ξ, its integral over any region containing ξ is 1:
Therefore, integrating the Green’s-function equation over a small region containing the source gives
This relation determines the discontinuity or jump condition required at the source. Depending on the differential operator, the Green’s function itself or one of its derivatives may have a discontinuity.
Choosing a convenient region
For a point charge in three-dimensional space, a spherical region centered at the charge is useful because the physical setup has rotational symmetry.
The source, equation, and boundary conditions are unchanged by rotating the system. Therefore, the potential and Green’s function are expected to possess the same rotational symmetry.
Symmetry can reduce a multidimensional differential equation to a simpler equation involving only the distance from the source.
Using known Green’s functions
Many Green’s functions for common linear differential operators have already been derived. However, a listed Green’s function is meaningful only together with the conditions under which it was obtained.
The relevant questions include:
What differential operator does it correspond to?
What spatial or temporal domain is assumed?
What boundary conditions are imposed?
What initial conditions are imposed?
Is the response causal?
What normalization convention is being used?
A Green’s function obtained under the wrong conditions may not solve the desired physical problem.
Boundary and Initial Conditions
A differential equation may have many solutions unless additional conditions are specified.
Nonuniqueness of differential equations
For the point-charge electrostatic problem, adding a constant to a potential may leave the differential equation unchanged. More generally, one can often add a solution of the corresponding homogeneous equation without changing the source equation.
If G1 satisfies
and h satisfies
then
also satisfies
Thus, the differential equation alone does not necessarily determine a unique Green’s function.
Boundary conditions in electrostatics
A common electrostatic condition is that the potential approaches zero far from a localized charge:
This condition selects one particular solution from the larger family of solutions.
Different boundary conditions produce different Green’s functions. For example, a conducting surface may require the potential to be zero on that surface, while another physical setup may prescribe a nonzero potential.
Initial conditions in time-dependent systems
For systems evolving in time, initial conditions are needed to determine a unique response. Typical conditions for an oscillator are
These represent zero initial displacement and zero initial velocity.
With these conditions, the Green’s function describes the response generated entirely by the applied force. If different initial conditions are used, the resulting solution and corresponding Green’s-function formulation change.
For physical time evolution, the Green’s function is often chosen to be causal:
This expresses the principle that an impulse applied at time τ cannot affect the system at an earlier time.
Homogeneous and Inhomogeneous Conditions
Homogeneous conditions
A condition is homogeneous when the zero function satisfies it.
Examples include:
Potential equal to zero on a boundary.
Displacement equal to zero initially.
Velocity equal to zero initially.
Potential approaching zero at infinity.
If every individual Green’s function satisfies a homogeneous boundary condition, then a weighted sum of those Green’s functions also satisfies the same condition.
For example, if
on a boundary for every ξ, then
also equals zero on that boundary, assuming the integral is well-defined. This follows because the integral is a continuous linear combination of functions that vanish there.
Inhomogeneous conditions
A condition is inhomogeneous when the required value is not zero.
For example, consider a cube with:
Potential equal to 4 on the upper face.
Potential equal to 0 on all other faces.
Suppose the available Green’s function vanishes on the entire boundary. Any weighted sum of those Green’s functions will also vanish on the entire boundary. It therefore cannot directly produce a potential equal to 4 on the upper face.
This creates a limitation: the standard Green’s-function integral directly handles source terms most naturally when the boundary or initial conditions are homogeneous.
Handling nonhomogeneous conditions
If the conditions are inhomogeneous, the Green’s-function method may require additional steps. Possible strategies include:
Decomposing the solution into a part that satisfies the nonzero boundary condition and a remaining part with homogeneous conditions.
Constructing a Green’s function specifically adapted to the required boundary data.
Using transformations that convert the problem into one with homogeneous conditions.
The Green’s function must match the boundary or initial conditions of the problem being solved.
A Green’s function is not determined solely by the differential operator; it is determined by the operator together with the relevant boundary or initial conditions.
Overall Method
For a linear differential equation
the Green’s-function method proceeds conceptually as follows:
Identify the linear differential operator L.
Specify the domain and the relevant boundary or initial conditions.
Construct or obtain the Green’s function satisfying
LxG(x,ξ)=δ(x−ξ).Ensure that G satisfies the same homogeneous boundary or initial conditions required of the desired solution.
Weight each point-source response by the forcing function f(ξ).
Integrate over all source locations:
y(x)=∫G(x,ξ)f(ξ)dξ.Interpret the result as the superposition of responses to all point sources making up the forcing distribution.
The method succeeds because of three interconnected ideas:
The Dirac delta represents a point source.
The Green’s function gives the response to that point source.
Linearity allows all point-source responses to be added together.
Key Takeaways
A linear differential operator allows the order of applying the operator and forming linear combinations to be exchanged.
The Dirac delta function represents a unit-strength point source: it vanishes away from one point, integrates to 1, and extracts function values under integration.
The Green’s function is the response of a system to a point source.
The solution to Ly=f is obtained by the weighted continuous sum
Boundary and initial conditions are essential because they determine which Green’s function is appropriate and often ensure uniqueness.
The same framework applies across physical contexts: charge distributions generate potentials through sums of point-charge responses, while variable forces generate oscillator motion through sums of impulse responses.

Ask anything
We've read this whole study set, so questions about it get the best answers.