Fundamentals of Second-Order Linear Differential Equations with Constant Coefficients
1Introduction
This lecture derives the solution method for second-order linear differential equations with constant coefficients from linearity and the properties of exponential functions, rather than presenting it merely as a formula.
The standard form is
The assumption that are constants is essential. Equations with coefficients depending on ,
require a more general framework.
data/lecture/math/differential-equations/general-second-order-linear-odes-overview.lecture.n.md2Homogeneous and Nonhomogeneous Equations
An equation whose right-hand side is zero,
is called a {homogeneous equation}. An equation for which is not identically zero,
is called a {nonhomogeneous equation}. To solve a nonhomogeneous equation, first solve the associated homogeneous equation and then find one particular solution corresponding to the forcing term .
3Proposition 1: Homogeneous Solutions Satisfy Superposition
Suppose that solve
Then, for arbitrary constants ,
is also a solution.
3.1Proof
Define . The operator is linear, since
By assumption, and . Hence
so is a homogeneous solution. This property is the {superposition principle}.
4Proposition 2: A Nonhomogeneous Solution Is a Particular Solution Plus a Homogeneous Solution
Suppose that is one particular solution of
and solves the associated homogeneous equation
Then solves the nonhomogeneous equation. Conversely, every solution of the nonhomogeneous equation has this form.
4.1Proof
With , linearity gives
Conversely, if is any other solution of the nonhomogeneous equation, then
Thus is a homogeneous solution. Writing it as yields
Equivalently, the solution set of a linear operator equation consists of one particular solution plus every solution of the corresponding homogeneous equation.
data/lecture/math/linear-operator/linear-operator-equation-basics.lecture.n.md5Derivation of the Characteristic Equation
Consider the homogeneous equation
For constant coefficients, differentiation preserves the exponential factor:
It is therefore natural to try . Substitution gives
or
Since , one obtains
This algebraic equation is the {characteristic equation}.
6Justification of the General Solution
The root classification below produces general solutions because the solution space of a second-order linear homogeneous equation is two-dimensional. Once two linearly independent solutions are known, every solution is their linear combination.
In what follows, the scalar field is . Reduce the equation to the first-order linear system
The map is continuous and globally Lipschitz in . The existence and uniqueness theorem therefore gives a unique solution for every initial vector .
Define the Wronskian of two solutions by
If , the initial-data vectors and are linearly independent. If a linear combination of the two solutions is the zero function, its initial-data vector is also zero; independence of the two vectors forces both coefficients to vanish. Hence are linearly independent in the solution space.
6.1Proposition 3: Two Independent Solutions Form a Fundamental Set
Let and consider
Its solution space is two-dimensional. Consequently, if two independent solutions are found, every solution can be written as
6.2Proof
Since , the equation is equivalent to
Fix a point and associate to each solution the initial-data vector
The map is linear. By the preceding reduction and the existence and uniqueness theorem, for every there is exactly one solution satisfying
Thus is a bijection from the solution space to , and the solution space has dimension two. Any two independent solutions therefore form a basis, proving the asserted representation.
Equivalently, the two listed fundamental solutions yield a general solution once their independence is established. Their Wronskians are nonzero: for distinct real roots it is ; for a repeated root it is ; and for the real pair arising from it is when .
7Classification by Characteristic Roots
The fundamental solutions depend on the roots of
| Characteristic roots | Fundamental solutions | General homogeneous solution |
|---|---|---|
| Distinct real roots | ||
| Repeated root | ||
| Complex roots |
8Proposition 4: The Case of Distinct Real Roots
Suppose that the characteristic equation has distinct real roots . Then
is the general homogeneous solution.
8.1Proof
Since each is a characteristic root,
For ,
Thus both exponentials are solutions, and Proposition 1 shows that every displayed linear combination is a solution. Their Wronskian is nonzero because , so Proposition 3 shows that the combination is the general solution. The two constants accommodate the two initial data and .
9Derivation of the Second Solution for a Repeated Root
Suppose the characteristic equation has the repeated root , so it can be written as
The function is one solution, but a second-order equation requires a second independent solution. We therefore test .
9.1Verification
Write and . A repeated root satisfies
Direct differentiation gives
Therefore
The coefficient of is , and that of is . Both vanish, so
Hence the general solution is
10Complex Roots and Oscillation
Suppose the characteristic roots are
Over the complex numbers, and are solutions. Euler's formula,
provides the real-valued fundamental solutions
If , their amplitude decays; if , they describe undamped oscillation. Complex characteristic roots therefore connect directly to oscillations in mechanics and electrical circuits.
11Example 1: Distinct Real Roots
For
the characteristic equation is . Since , the roots are 1 and 2, and
12Example 2: A Repeated Root
For
the characteristic equation is . Hence
13Example 3: Complex Roots
For
the equation gives . The real-valued general solution is therefore
14Extension to Nonhomogeneous Equations
For
Proposition 2 gives
where is the general solution of the associated homogeneous equation and is one particular solution. When is an exponential, trigonometric function, or polynomial, the method of undetermined coefficients may provide . Variation of parameters applies more generally.
data/lecture/math/differential-equations/nonhomogeneous-equations-and-undetermined-coefficients.lecture.n.md data/lecture/math/differential-equations/variation-of-parameters-and-wronskian.lecture.n.md15Connection to the Operator Method
With
the equation becomes
Defining gives . From this perspective, the homogeneous equation asks for the kernel of a linear operator. The nonhomogeneous problem asks whether belongs to its image and, when a solution exists, forms the general solution by adding the kernel to one particular solution.
At an introductory level, one should first master the characteristic-equation method. The operator method then provides a theoretical framework that abstracts its algebraic structure.
data/lecture/math/linear-operator/polynomial-operators-and-eigenvalue-problems.lecture.n.md16Summary
Apply the following solution procedure to a second-order linear equation with constant coefficients.
- Determine whether the equation is homogeneous or nonhomogeneous.
- For the homogeneous equation, try and form the characteristic equation.
- Classify its roots as distinct real roots, a repeated root, or a complex-conjugate pair.
- For a nonhomogeneous equation, decompose the solution as .
- Finally, use initial or boundary conditions to determine the arbitrary constants.
17Previous Lecture
data/lecture/math/differential-equations/analytic-numerical-and-qualitative-ode-methods.lecture.n.md18Next Lecture
Having established the characteristic-root method for constant coefficients, proceed to the general theory of second-order linear equations with variable coefficients.
data/lecture/math/differential-equations/general-second-order-linear-odes-overview.lecture.n.md