Green's Functions for Ordinary Differential Equations
A remarkable fraction of physics reduces to one sentence: solve a linear differential equation for the field produced by a source , subject to boundary conditions. The source might be a charge density feeding an electrostatic potential, a driving force pushing an oscillator, or a heat input warming a rod. Solving this afresh for every new is wasteful, because linearity offers a shortcut: decompose the source into an infinite comb of point sources, solve once for the response to a single unit point source , then rebuild the answer for any by superposition. That universal response is the Green's function — the closest thing mathematical physics has to a master key, turning a differential equation into an integral and the abstract operator into an explicit inverse. The defining property is , the subscript recording that differentiates the field variable while merely labels where the source sits. Because is a differential operator, solves the homogeneous equation everywhere except at , obeys the boundary conditions, and carries a precise discontinuity there matched to the delta — for a second-order operator, stays continuous but jumps by a known amount. Written in Sturm–Liouville form the structure becomes symmetric, , an exact statement of reciprocity, and the operator's eigenfunctions furnish a spectral sum that exposes resonances at a glance. The one-dimensional case fixes every idea — jump conditions, symmetry, spectral expansion, solvability — in its cleanest form, and it is the direct ancestor of the propagators and resolvents that run through electromagnetism, quantum mechanics, and field theory.
- A Green's function is the response of a linear operator to a unit point source at : it satisfies together with the problem's boundary conditions.
- Once is known, the solution of is a single integral, — superposition turns the differential equation into an integral one.
- For a second-order operator is patched from two homogeneous solutions, one obeying each boundary; continuity plus a derivative jump of fix it, and the Wronskian normalizes it.
- For self-adjoint the Green's function is symmetric, — reciprocity — and admits the bilinear eigenfunction expansion .
- The construction breaks down exactly when the spectral parameter hits an eigenvalue; the Fredholm alternative then decides solvability and forces a modified Green's function.
- Key idea: Solve in two stages — first find the response to a unit point source via with the boundary conditions, then superpose, . For a second-order , is stitched from two homogeneous solutions, one per boundary, joined at by continuity plus a derivative jump set by the Wronskian.
Solve in two stages: first find the response to a unit point source via subject to the boundary conditions, then superpose, . For a second-order , is patched from two homogeneous solutions — one per boundary — joined at by continuity plus a derivative jump set by the Wronskian.
Where this lives today
The ODE Green's function is the seed of the propagators and resolvents that organize modern physics. In quantum field theory the Feynman propagator is literally the Green's function of the Klein–Gordon or Dirac operator, and every Feynman diagram is a product of such propagators tied at vertices; lattice QCD extracts hadron masses from the decay of quark propagators on a discretized spacetime. In condensed-matter physics the many-body Green's function obeys Dyson's equation — the analogue of Lippmann–Schwinger with the self-energy in place of the scattering potential — and the approximation built on it now predicts band gaps to tenths of an electronvolt in materials databases. The non-equilibrium Green's function formalism is the workhorse of nanoscale device simulation, modelling transport through sub-10-nanometre transistors by solving coupled Green's-function and Poisson equations self-consistently, while dynamical mean-field theory attacks strongly correlated systems — high-temperature superconductors, Mott insulators — through a local Green's function that flags metal-to-insulator transitions band theory misses. In every case the one-dimensional lessons — jump conditions, poles as spectrum, reciprocity, the Fredholm alternative — survive intact.
The physical picture
Picture a taut string pinned at both ends, pressed down at an interior point with a needle. It straightens into two segments — solving the source-free equation everywhere the needle is not — meeting at a sharp kink under the needle. That triangular tent is the Green's function, and every feature is dictated by three demands: it must vanish at the supports (boundary conditions), be a homogeneous solution on each side of the needle (straight segments), and kink just steeply enough that the second derivative supplies a unit delta at (the jump condition). The first figure makes the corner and its unit jump one picture.
Two homogeneous solutions do all the work. Call the one that obeys the left boundary and the right; the Green's function is left of the source and right, glued at . The source never changes the shape of either piece — only their relative weighting and the size of the corner. Superposition finishes the story: an arbitrary load is a dense comb of point presses, so the total displacement is the integral of the tents weighted by the load. The second figure shows this assembly and delivers a hard number — a uniform unit load turns the family of tents into a parabola with a definite peak.
Reciprocity is the last idea the picture carries. For a self-adjoint operator the tent produced at by a source at equals the tent produced at by a source at : , the same symmetry that makes mutual inductances, acoustic transfer functions, and antenna gain patterns identical when source and receiver swap. Driven near a natural frequency, the spectral sum shows one term ballooning: diverges, announcing a resonance and the failure of an ordinary inverse.
The core equations
Everything begins with a single definition: the Green's function is what the operator returns when fed a unit point source. The subscript on is not decoration — the differentiation acts on the field point , treating the source point as a fixed parameter.
where: — linear differential operator acting on ; — Green's function, the response at to a unit source at ; — Dirac delta, the unit point source. Reading: solves the homogeneous problem away from and absorbs the delta through a controlled singularity there. The reason is worth computing is that it inverts the operator once and for all. Superposing the point responses against the actual source recovers the full solution, and the boundary conditions ride along for free because every already obeys them.
where: — solution of obeying the boundary conditions; — prescribed source; — domain. Reading: the differential equation has become a definite integral, with the kernel that represents . The structure is cleanest when is self-adjoint — which any real second-order operator becomes once its coefficients are absorbed into Sturm–Liouville form. Here multiplies the leading derivative and sets the scale of the jump, while plays the role of a potential.
where: — positive coefficient of the leading derivative; — zeroth-order (potential-like) coefficient. Reading: in this form the operator is formally self-adjoint, which is what makes symmetric and its eigenfunctions orthogonal. For a second-order operator the whole Green's function collapses to one closed form: the two homogeneous solutions multiplied together — smaller argument into , larger into — divided by a single constant.
where: — homogeneous solution obeying the left boundary at ; — obeying the right boundary at ; — the Wronskian. Reading: the numerator is symmetric under , so is manifestly reciprocal, and the denominator (below) is a genuine constant. The number that normalizes comes from integrating the defining equation across the source. Only the highest-derivative term survives the shrinking interval, so it carries the entire delta, forcing a jump in .
where: — approach to the source from above and below. Reading: with continuous, the first derivative jumps by exactly — large a gentle kink, small a sharp one. The denominator looks as though it should vary with , but Abel's identity for the self-adjoint form kills its derivative, so one evaluation fixes it everywhere.
where: — Wronskian of the two homogeneous solutions; — Sturm–Liouville leading coefficient. Reading: , so the constant in equation (4) is evaluated at whichever point is convenient. When the eigenfunctions are known, has a second face — a bilinear sum over the spectrum, each mode weighted inversely by its distance from the driving parameter, so the sum diverges the moment meets an eigenvalue.
where: — orthonormal eigenfunctions, ; — eigenvalues; — spectral parameter in . Reading: this is the resolvent in the eigenbasis, its poles the spectrum. Finally, self-adjointness delivers reciprocity as an exact theorem, not a lucky symmetry of one example.
where: — Green's function of a self-adjoint operator with self-adjoint boundary conditions. Reading: swapping source and observation point leaves the response unchanged — the content of every reciprocity theorem.
The goal is to show that the closed form of equation (4) is forced, not guessed: for a second-order self-adjoint operator on with homogeneous boundary conditions, must be times a constant on one side of the source and times a constant on the other, the two constants pinned uniquely by continuity plus the derivative jump extracted from the delta. The Wronskian appears as the natural normalization, and Abel's identity makes the denominator a single number, not a function of source location.
Step 1. Away from the defining equation reads , so on each side is a homogeneous solution. The left piece must be proportional to (which obeys the condition at ) and the right piece to (which obeys the condition at ): write for and for . Why: choosing the boundary-adapted solution on each side discharges the boundary conditions before the source enters, leaving only two unknowns.
Step 2. Impose continuity at the source, . This is mandatory: if itself jumped, would contain a , too strong for the single on the right. Why: the operator's order dictates which derivative absorbs the delta; for order two it is the first derivative, so stays continuous.
Step 3. Extract the jump by integrating over . The term vanishes as ( bounded), leaving , i.e. . Why: only the leading-derivative term can produce a delta, so it alone carries the unit source, giving a jump of exactly .
Step 4. Solve the two-by-two system from Steps 2 and 3. Its determinant is the Wronskian , so and , which substituted back give equation (4). Why: the Wronskian is nonzero precisely when and are independent, exactly the condition for a unique Green's function.
Step 5. Confirm the denominator is constant. Differentiating and using gives , Abel's identity (6). Hence is one number for the whole interval, and the symmetry is visible directly in the numerator. Why: a constant denominator makes a clean product of two solutions and guarantees reciprocity with no further argument.
Go deeper · Derivation B · 1 minReciprocity from Green's identity
The aim is to promote the symmetry from an observation about one example to a theorem holding for every self-adjoint operator with self-adjoint boundary conditions. The tool is Lagrange's identity, which converts the difference of two operator actions into a boundary term that vanishes under exactly the conditions making self-adjoint; feeding two source points into it leaves precisely the statement of reciprocity.
Step 1. Take two source locations and and form the bilinear combination , then integrate over . Why: this antisymmetric pairing is engineered so that Lagrange's identity can turn the bulk integral into a pure boundary contribution.
Step 2. Lagrange's identity makes the integrand the exact derivative , so the integral equals the boundary term , which vanishes for self-adjoint boundary conditions (Dirichlet, Neumann, Robin, periodic). Why: self-adjointness is defined precisely as the vanishing of this bilinear boundary form, so the whole integral is zero.
Step 3. Evaluate the same integral with : the two deltas sift out . Setting this to the zero from Step 2 gives , reciprocity for arbitrary source points. Why: the delta sources turn the integral into the plain difference of with arguments swapped, so zero means symmetric.
Go deeper · Derivation C · 1 minThe spectral expansion and the Fredholm alternative
This derivation builds the eigenfunction representation of equation (7) and reads off, from a single divergent term, exactly when the construction fails and what repairs it. The payoff is conceptual: the poles of are the operator's spectrum, resonance is the collision of the driving parameter with an eigenvalue, and the Fredholm alternative — a solvability condition met again in perturbation theory — falls out of demanding the source not overlap the offending mode.
Step 1. Expand and the delta in the orthonormal eigenbasis , using completeness . Writing and demanding gives , hence . Why: in the eigenbasis the operator is diagonal, so inverting it is term-by-term division, exposing every eigenvalue as a potential pole.
Step 2. Let . The term blows up like and dominates — diverges. Physically now has a nontrivial kernel , so it is not invertible and no ordinary exists. Why: a zero eigenvalue of is a direction the operator annihilates, and you cannot divide by zero along it.
Step 3. When does a solution nonetheless exist? Pairing with and using self-adjointness gives : a solution exists only if the source is orthogonal to the kernel eigenfunction — the Fredholm alternative. Why: the operator reaches only source components in its range, which is exactly the orthogonal complement of the kernel.
Step 4. When it holds, invert on the orthogonal complement by dropping the singular term: satisfies , unique up to a multiple of . Why: subtracting the projector onto removes the un-invertible direction, leaving a well-defined inverse on everything the operator can reach.
Limiting cases
The single object specializes to a menagerie of named kernels depending on the operator and its boundary conditions:
| Case | Result | Meaning |
|---|---|---|
| On resonance () | one term dominates and diverges; no ordinary exists — use the modified Green's function and impose (Fredholm alternative) | |
| Causal / retarded | for | the initial-value Green's function: the response vanishes before the source acts, built from the solution obeying the initial conditions |
| Free space (whole line) | with decay at , is the screened (Yukawa-like) kernel, symmetric and a function of only | |
| Self-adjoint operator | reciprocity holds; for a non-self-adjoint one instead gets built from the adjoint , and symmetry is replaced by |
Worked examples
1 · The 1D Poisson Green's function (fully worked)
Construct for on with , evaluate it at a sample point, and verify continuity, the jump, and symmetry.
Step 1. Here , so , . The homogeneous equation has linear solutions; pick the boundary-adapted pair (vanishes at ) and (vanishes at ). Their Wronskian is , so , constant as Abel promised.
Step 2. Construct directly from continuity and the jump (minding the overall minus in ): this gives for and for , i.e. the compact .
Step 3. Evaluate at : since , . Swapping arguments, has , so — identical, confirming reciprocity numerically.
Step 4. Check the jump. Left slope ; right slope ; jump , and since this is as required. At the tent peaks at with slopes and — precisely the first figure. , symmetric, with a unit derivative jump.
2 · Solving a real source with the kernel
Use the Green's function of Example 1 to solve on (a uniformly loaded string) and confirm the result independently.
Step 1. Superpose via equation (2), splitting at the source so each piece uses the correct branch: .
Step 2. The first integral is , the second . Adding and factoring collapses to , a downward parabola pinned at both ends.
Step 3. Verify directly: gives , so as required, and holds. The maximum sag is at the centre, — the green curve and peak of the second figure. The kernel reproduced the exact parabolic deflection, peak , in one integration.
3 · The retarded oscillator (impulse and step response)
Find the causal Green's function of , then use it to compute the response of an initially resting oscillator to a suddenly applied constant force, with .
Step 1. Solve with for (causality). For , ; continuity at forces and the unit jump in (here ) forces . Hence , an oscillation that switches on at the impulse with onset slope .
Step 2. Drive with a unit step force , , from rest. Convolve: .
Step 3. Read the physics. A slowly applied gives static deflection ; the dynamic response oscillates about it between and , so a suddenly applied load overshoots to twice the static value — dynamic amplification factor exactly . With the peak first occurs at , i.e. . , static , peak , amplification factor 2.
Physics of the portrait
The Green's function carries the name of a man who had almost no formal education and whose masterwork sold to a few dozen subscribers before vanishing for two decades — that it now underlies quantum field theory is one of the great improbabilities in the history of mathematics.
Origins · 1 minGeorge Green and how this was discovered
George Green was born in 1793 in Sneinton, near Nottingham, and worked his father's windmill for most of his life with, by surviving records, only about a year of formal schooling as a child. How he taught himself the continental mathematics of Laplace, Lagrange, and Poisson — none of it then taught at English universities — remains a genuine mystery; the Nottingham Subscription Library and a lone patron, Sir Edward Bromhead, are the only documented threads. In 1828 Green privately printed An Essay on the Application of Mathematical Analysis to the Theories of Electricity and Magnetism, which introduced the word "potential" in its modern sense, stated the integral identity now called Green's theorem, and constructed the reciprocal function that solves a boundary-value problem by representing the field of a point source. It sold to 51 subscribers. Encouraged by Bromhead, he entered Gonville and Caius College, Cambridge, as an undergraduate in 1833 at the age of forty, graduating fourth wrangler in 1837 (the Green strain tensor of elasticity is also his). He died in 1841, still largely unknown. Only in 1845 did the young William Thomson (later Lord Kelvin) find a copy, grasp its importance, and republish it — after which Green's function became, and remains, the central object of every field theory from electrostatics to the Standard Model.
Going further
Texts. Stone and Goldbart, Mathematics for Physics, Ch. 5 (Green's Functions) · Arfken, Weber and Harris, Mathematical Methods for Physicists, 7th ed., Ch. 10 · Hassani, Mathematical Physics, 2nd ed., Ch. 21 · Byron and Fuller, Mathematics of Classical and Quantum Physics, Ch. 7 · Riley, Hobson and Bence, Mathematical Methods for Physics and Engineering, 3rd ed., Ch. 17 · Courant and Hilbert, Methods of Mathematical Physics, Vol. I · Morse and Feshbach, Methods of Theoretical Physics, Part I, Ch. 7. All equations are standard results. Key checks: the jump follows from integrating across ; the 1D Poisson kernel satisfies , is symmetric, and peaks at when ; integrating that kernel against recovers with maximum ; the retarded oscillator kernel yields the step response with amplification factor 2; and Abel's identity underpins the modified-Green's-function construction. No numerical constants beyond exact analytic forms are asserted.
Builds on: Sturm–Liouville Theory · Dirac Delta Distribution · Wronskian and Linear Independence · Second-Order Linear ODEs. Leads to: WKB Approximation · Connection Formulae and Turning Points · Bohr–Sommerfeld Quantization · Asymptotic Series and Poincaré Expansions.
Ask the tutor: Name any operator — a damped oscillator, a Bessel equation, the finite-well Schrödinger problem — and I will build its Green's function with you from the jump condition to the full superposed solution.
Why does the Green's function turn a differential equation into an integral?
Because a differential operator is linear, and a linear map is fully known once you know what it does to a basis. The deltas form a continuous basis, so knowing the response to each one, the response to a source is the same superposition: . In operator language is the integral kernel of , so solving once for a point source buys the solution for every source at the cost of one integration.
Why is G continuous but G′ discontinuous for a second-order operator?
The right-hand side of is a delta — singular, but mildly so, since a delta comes from differentiating a step exactly once. In a second-order operator the most-differentiated term is , so a jump in produces the in and balances the equation. If itself jumped, would contain , a dipole-like singularity far too strong for the single on the right. So the value stays continuous and the discontinuity is pushed into the first derivative, its size fixed at by integrating across the source.
What actually is the Wronskian doing in the formula?
The Wronskian measures how independent the two homogeneous solutions are; it is the determinant of the two-by-two system fixing the coefficients on each side of the source, so it lands in the denominator and normalizes . If the two solutions are proportional — they satisfy the same boundary condition — and no Green's function exists, the algebraic face of a resonance. Abel's identity then makes a single constant, evaluated once and reused.
What is the difference between the boundary-value and causal Green's functions?
Both satisfy but carry different side conditions. The boundary-value Green's function lives on a finite interval and obeys conditions at both ends — symmetric, built from (left) and (right), describing a static field like a loaded string. The causal or retarded Green's function lives on a time axis and obeys initial conditions, before the source acts. It is not symmetric — cause precedes effect — and is built from the single solution starting from rest. The retarded oscillator kernel of Worked Example 3 is the canonical case, the impulse response engineers convolve for any driven transient.
Why does the Green's function blow up at a resonance?
The spectral form makes it plain: each eigenmode contributes a term inversely proportional to how far sits from its eigenvalue . Drive the system exactly at an eigenvalue and one denominator vanishes, so that term — and the whole sum — diverges. Physically then annihilates and has no inverse; you are pushing a frictionless swing at its natural frequency and the amplitude runs away. The cure is the Fredholm alternative: a finite solution exists only if , whereupon the modified Green's function with that mode projected out does the job.
How does this ODE object become the propagator of quantum field theory?
The same construction, applied to the wave, Schrödinger, or Klein–Gordon operator instead of an ODE, produces a Green's function of space and time — precisely the propagator, the amplitude for a disturbance created at one spacetime point to be detected at another, the reciprocity idea promoted to four dimensions. Boundary conditions in time select the flavour: retarded (causal), advanced, or — Feynman's choice, positive frequencies forward and negative backward in time — the Feynman propagator. Perturbation theory then strings these free propagators together with interaction vertices, which is what Feynman diagrams draw. Every ODE lesson (jump conditions, poles as spectrum, the resolvent, solvability) reappears, just dressed in more indices.