Abstract
The construction of Green functions from variation of parameters is classical and appears, explicitly or implicitly, in standard treatments of ordinary and partial differential equations. We present a pedagogical analysis of this well-known relationship for linear second-order ordinary differential equations. The purpose is not to propose a new construction, but to make its logical structure explicit. In particular, we distinguish the redundancy in the coefficient functions used in variation of parameters, the freedom to add a homogeneous solution to a particular solution, and the selection of a unique solution by well-posed initial or boundary conditions. For a regular two-point problem, the Green function is built from homogeneous solutions adapted to the left and right endpoints. Retarded and advanced kernels follow from the same variation-of-parameters formula when initial or terminal data are imposed. Continuity at the source point and the jump of the first derivative are derived both algebraically and distributionally. An elementary example compares two-point, retarded, and advanced Green functions.
Keywords:
Variation of parameters; Green function; boundary-value problem; initial-value problem
1. Introduction
Variation of parameters and Green functions are standard methods for solving nonhomogeneous linear differential equations. The first constructs a particular solution by allowing the coefficients of a homogeneous basis to vary. The second represents the solution as a superposition of responses to point sources. Their relationship is classical. Standard texts on ordinary differential equations, mathematical physics, and boundary-value problems derive Green functions precisely from variation of parameters or from the equivalent construction based on two homogeneous solutions [1, 2, 3, 4, 5, 6, 7, 8]. Accordingly, no mathematical novelty is claimed for the underlying connection examined here.
The specific pedagogical contribution of the present treatment is to place three constructions side by side and to identify precisely what changes from one to another. Once the integration limits in the variation-of-parameters formula are adapted to two separated endpoint conditions, the formula becomes the usual two-point Green function. Choosing both limits at the left or right endpoint instead produces the retarded or advanced kernel associated with initial or terminal data. This comparison also separates three notions that are easily confused: redundancy in the coefficient functions, nonuniqueness of a particular solution, and uniqueness of a fully specified problem.
For a second-order equation, the homogeneous solution space supplies the building blocks of the kernel, the integration limits determine whether it is two-sided, retarded, or advanced, and the endpoint conditions select an inverse of the differential operator. The continuity and derivative-jump conditions normally used to characterize a Green function are already encoded in the Wronskian appearing in variation of parameters.
The purpose of this article is therefore expository rather than foundational: to give a self-contained account suitable for courses on mathematical methods and to prevent these logically distinct issues from being conflated. A particular solution remains defined up to a homogeneous term. A unique solution is selected only by a complete set of well-posed initial or boundary conditions, and a two-point Green function exists as an ordinary inverse only when the associated homogeneous boundary-value problem has no nonzero solution. Section 2 reviews variation of parameters, Sec. 3 constructs the two-point kernel, Sec. 4 derives the one-sided kernels, and Sec. 5 explains the matching conditions distributionally. Section 6 compares the constructions in an elementary example.
2. Variation of Parameters
Consider the normalized equation
where and is integrable. Let and be a fixed pair of linearly independent solutions of . Their Wronskian is
Abel’s identity gives
so is nonzero throughout the interval if it is nonzero at one point.
Variation of parameters seeks
This representation is invariant under
where is arbitrary. This is a redundancy in the representation of the same , not the freedom to add a homogeneous solution.
Let
Under the transformation (5), this combination becomes
The terms proportional to cancel. Because , choosing produces . Thus the conventional auxiliary condition
can always be imposed without changing .
To see how the second equation for and arises, differentiate Eq. (4) and use Eq. (8):
A second differentiation gives
Substitution into yields
because . (Equations 8) and (11) form the linear system
Its determinant is . Cramer’s rule therefore gives
Integrating from arbitrary reference points gives
The terms are homogeneous and may be included in the complementary solution. A particular solution can consequently be chosen as
Changing either lower limit changes Eq. (16) only by a linear combination of and . Thus variation of parameters produces particular solutions differing by homogeneous terms. Initial or boundary conditions determine which member of this family is appropriate.
3. Two-point Boundary-value Green Function
Consider separated homogeneous conditions
where neither coefficient pair vanishes. These conditions include Dirichlet, Neumann, and Robin conditions. Choose nonzero homogeneous solutions and such that
We assume that and are linearly independent. Equivalently, the homogeneous problem satisfying both endpoint conditions has only the trivial solution. This nonresonance condition is necessary for a unique ordinary inverse.
Taking , , , and in Eq. (16) gives
where . This is
with
It is useful to verify Eq. (20) directly. Define
Then . By the fundamental theorem of calculus,
The terms containing cancel in the first derivative, leaving
Differentiating once more gives
because . Hence
At , , so
At , , so
Thus Eq. (20) satisfies both the differential equation and the prescribed endpoint conditions.
The matching conditions can also be derived explicitly. At , the two branches in Eq. (22) obey
where the second identity follows directly from the definition of the Wronskian. Hence
and Eq. (20) is the unique solution of the inhomogeneous boundary-value problem.
For comparison with the usual coefficient construction, let an arbitrary homogeneous basis be denoted by and write
Set . Continuity and the unit derivative jump give
Since the determinant is , Cramer’s rule yields
Consequently,
This is the same elementary kernel that appears in the retarded and advanced constructions below. The endpoint or support conditions determine the common homogeneous part and thereby select the required Green function.
At resonance, and are linearly dependent and . The kernel (22) then does not exist. The inhomogeneous problem may have solutions only when its source satisfies an appropriate compatibility condition; if solutions exist, they are nonunique without an additional normalization.
4. Retarded and Advanced Kernels
A two-point Green function must be distinguished from a one-sided impulse response. For zero initial data at ,
taking in Eq. (16) gives
where
The source at influences the solution only for . The vanishing branch for is not a nonzero homogeneous solution satisfying both Dirichlet and Neumann conditions at ; such a homogeneous solution would vanish identically by uniqueness of the initial-value problem.
For nonzero initial data and , one adds the unique homogeneous solution satisfying and . Likewise, zero terminal data at lead directly to
The minus sign ensures the unit jump in Eq. (31). The kernels , , and satisfy the same differential equation (32), but represent different inverses because they obey different endpoint or support conditions.
5. Distributional Origin of the Matching Conditions
For a piecewise smooth kernel, write
Its singular distributional derivatives are
Substitution into Eq. (32) first gives , because its right-hand side contains no term. The coefficient of then gives . Continuity and the derivative jump are therefore the conditions required for a piecewise homogeneous kernel to represent a unit point source.
For an unnormalized operator
the corresponding jump is
The unit jump above follows because Eq. (1) was divided by its leading coefficient.
6. Example:
For , choose , , and . Then
Different choices of and change this expression only by . For a constant source , the two integrals can be evaluated step by step:
Thus every choice gives
with and . The familiar choice is only a convenient representative and requires if it is to follow directly from these lower limits. If , there is no reason to insist on that representative: Eq. (47) is an equally valid particular solution for any . The difference is homogeneous and is absorbed into the complementary solution. Therefore neither a particular solution nor its lower limits are unique. A unique full solution arises only after the initial or boundary conditions are specified.
For Dirichlet conditions , take and , for which . Thus
For a constant source,
By contrast,
yield
The first satisfies zero Cauchy data at , the second zero Cauchy data at , and neither is the Dirichlet solution on . Their differences are homogeneous functions, as required.
7. Conclusion
The analysis has made explicit a classical result: the Green-function representation of a second-order linear ordinary differential equation is already contained in the variation-of-parameters formula. Once the integration limits and homogeneous solutions are adapted to the prescribed conditions, the formula reorganizes into an integral kernel acting on the source. The value of this reformulation is pedagogical; it does not constitute a new method for constructing Green functions.
The construction clarifies that the auxiliary condition of variation of parameters fixes a redundancy in the coefficient functions but does not remove the freedom to add a homogeneous solution. Initial or boundary conditions select an inverse of the differential operator. A two-point Green function is built from left-and right-adapted homogeneous solutions and exists as an ordinary inverse only away from resonance. Retarded and advanced kernels instead correspond to initial and terminal data and vanish on one side of the source point.
Finally, continuity and the derivative jump follow both from the Wronskian construction and from the distributional equation . Presenting these familiar results within a single variation-of-parameters framework clarifies the algebraic structure of the Green function and the role of the conditions defining the inverse operator.
Data Availability
Data sharing is not applicable to this article because no datasets were generated or analyzed in this study.
References
- [1] P.M. Morse and H. Feshbach, Methods of Theoretical Physics (McGraw-Hill, New York, 1953), part I.
- [2] R. Courant and D. Hilbert, Methods of Mathematical Physics (Wiley-Interscience, New York, 1953), v. 1.
- [3] E.A. Coddington and N. Levinson, Theory of Ordinary Differential Equations (McGraw-Hill, New York, 1955).
- [4] E. Butkov, Mathematical Physics (Addison-Wesley, Reading, 1968).
- [5] K.F. Riley, M.P. Hobson and S.J. Bence, Mathematical Methods for Physics and Engineering (Cambridge University Press, Cambridge, 2006), 3 ed.
- [6] E. Kreyszig, Advanced Engineering Mathematics (Wiley, Hoboken, 2011), 10 ed.
- [7] I. Stakgold and M.J. Holst, Green’s Functions and Boundary Value Problems (Wiley, Hoboken, 2011), 3 ed.
- [8] G.B. Arfken, H.J. Weber and F.E. Harris, Mathematical Methods for Physicists (Academic Press, Amsterdam, 2013), 7 ed.
