Ordinary Differential Equations
§3 Second-Order Linear Equations
6 min read
A second-order differential equation has as its highest derivative; it may also contain and . For a linear equation, the normalized form is
Here , , and are known functions of the independent variable . The equation is homogeneous when throughout the interval under consideration:
If is not identically zero, the equation is nonhomogeneous. The function is the input or forcing term.
Because the equation is second order, an initial-value problem normally needs two pieces of information at the same time :
The first condition fixes the starting value. The second fixes the starting slope.
Homogeneous equations with constant coefficients
Start with
where , , and are constants. We assume so that this is genuinely a second-order equation. If but , it reduces to the first-order equation
whose solutions are .
Why exponential trial functions work
For , we want a function whose derivatives keep the same shape, so all three terms can share a common factor. Exponentials do exactly that. Try
where is a constant that we still need to find. Exponentials are useful here because differentiating them only introduces powers of :
Put these expressions into the differential equation:
Factor out the common exponential:
The exponential is never zero, so the polynomial factor must vanish:
The polynomial
is the characteristic polynomial, and is the characteristic equation. Each real root gives a real exponential solution. Repeated or non-real roots require an extra step, so the first example uses two distinct real roots.
Example: two distinct real roots
Consider
Its characteristic equation is
Factor it:
The roots are
so we get two solutions:
The principle of superposition
For the homogeneous equation
any linear combination of solutions is another solution. This is the principle of superposition: if and solve the equation, then
also solves it for every .
The reason is the linearity of differentiation. Define the differential operator
Then
This argument depends on the right side being zero. If and , then
which is not generally equal to . Arbitrary superposition is therefore a property of the associated homogeneous equation, not of a nonhomogeneous equation with fixed forcing.
A complete initial-value problem
Return to
Superposition gives the family
Now impose
Evaluating the solution and its derivative at gives
and
The same system can be written as
Its determinant is , so the system has one solution:
Therefore the unique solution of the IVP is
A quick check confirms both initial conditions:
The initial slope lifts the solution before both modes decay
The positive initial slope explains why the curve rises at first. Both exponential terms decay as increases, so the solution eventually approaches zero.
Existence and uniqueness on an interval
Consider the linear IVP
Let be an open interval with . If , , and are continuous on the interval , then the IVP has exactly one solution on the entire interval :
This is stronger than a merely local statement. The solution does not stop at an interior point where the normalized coefficients remain continuous. The interval ends only where the chosen coefficient interval ends; it need not be all of .
If an equation is initially written as
first divide by . The normalized coefficients are
The theorem applies on an interval where and these three quotients are continuous. A zero of can split the real line into separate coefficient intervals.
The Wronskian and fundamental solutions
The Wronskian answers a concrete question: do two solutions provide enough freedom to match any starting value and slope? Given two differentiable functions and , their Wronskian is
The Wronskian tells us whether two solution functions provide independent initial data. Suppose and solve the same homogeneous second-order linear equation on , with and continuous there. To make
satisfy prescribed values at , the constants must solve
The determinant of the coefficient matrix is exactly
The matrix can match every pair of initial values if and only if
When this condition holds, the matrix is invertible, so every pair of initial values determines one pair of constants . The existence-and-uniqueness theorem then shows that this linear combination is the only solution with those initial values.
In that case, is called a fundamental set of solutions on , and
is the general solution of the homogeneous equation: every solution on appears exactly once for a choice of and .
For the example and ,
This never vanishes, so the two exponentials form a fundamental set of solutions on .