Unit III: Higher-Order Linear Differential Equations
1. Introduction to Homogeneous and Nonhomogeneous LDEs
A linear differential equation (LDE) of order n (where n > 1) contains the dependent variable y and its derivatives up to order n, all raised to the first power and not multiplied together.
an(x)y(n) + an-1(x)y(n-1) + ... + a1(x)y' + a0(x)y = g(x)
Here, an(x), an-1(x), ..., a0(x) are coefficients (which can be functions of x or constants), and g(x) is the input, driving, or forcing term. The general nature of the equation depends entirely on whether g(x) is zero or non-zero:
| Type of Equation | General Form | Key Characteristic |
|---|---|---|
| Homogeneous LDE | an(x)y(n) + ... + a0(x)y = 0 | The right-hand side g(x) is identically zero. The zero solution (y = 0) is always a trivial solution. |
| Nonhomogeneous LDE | an(x)y(n) + ... + a0(x)y = g(x) | The right-hand side g(x) ≠ 0 on the interval of interest. These equations model systems subject to external forces. |
2. Linear Dependence, Independence, and the Wronskian
Determining whether a set of functions is linearly independent is necessary for building the general solution of a differential equation.
Linear Dependence and Independence
A set of functions f1(x), f2(x), ..., fn(x) is linearly dependent on an interval I if there exist constants c1, c2, ..., cn (not all zero) such that:
c1f1(x) + c2f2(x) + ... + cnfn(x) = 0
for every x in I. If the only set of constants that satisfies this equation is c1 = c2 = ... = cn = 0, then the set of functions is linearly independent.
The Wronskian
The Wronskian is a mathematical tool used to test the linear independence of differentiable functions. For n functions, the Wronskian is defined as the determinant of an n × n matrix containing the functions in the first row and their successive derivatives in the subsequent rows.
W(f1, f2, ..., fn) = det | Row 1: f1, f2, ..., fn | Row 2: f1', f2', ..., fn' | ... | Row n: f1(n-1), f2(n-1), ..., fn(n-1) |
For two functions, y1 and y2, the Wronskian is calculated as:
W(y1, y2) = y1y2' - y2y1'
For three functions, y1, y2, and y3, the Wronskian is computed using a 3 × 3 determinant:
W(y1, y2, y3) = y1(y2'y3'' - y3'y2'') - y2(y1'y3'' - y3'y1'') + y3(y1'y2'' - y2'y1'')
Wronskian Test for Solutions
Theorem: Let y1, y2, ..., yn be n solutions of an n-th order homogeneous linear differential equation on an interval I. The solutions are linearly independent on I if and only if their Wronskian is non-zero for all x in the interval:
W(y1, y2, ..., yn) ≠ 0
Step-by-Step Example: Determine if the functions y1 = e2x and y2 = e-3x are linearly independent.
- Find the first derivatives: y1' = 2e2x and y2' = -3e-3x.
- Set up the Wronskian determinant: W = y1y2' - y2y1'.
- Calculate: W = e2x(-3e-3x) - e-3x(2e2x) = -3e-x - 2e-x = -5e-x.
- Since -5e-x is never zero for any real x, the functions are linearly independent.
Common Mistake: Confusing arbitrary functions with solutions to a LDE. For arbitrary functions, W(x) = 0 at some points does not automatically mean they are dependent. However, for actual solutions of a homogeneous LDE, the Wronskian is either identically zero (linearly dependent) or never zero (linearly independent) on the entire interval.
3. Basic Theory of Linear Differential Equations
The study of higher-order linear differential equations is grounded in three main theoretical principles: existence/uniqueness, superposition, and the structure of general solutions.
Existence and Uniqueness Theorem
Let the coefficients an(x), an-1(x), ..., a0(x) and the function g(x) be continuous on an interval I, with an(x) ≠ 0 for all x in I. If x0 is any point in I, then there exists a unique solution y(x) of the initial-value problem satisfying:
y(x0) = y0, y'(x0) = y1, ..., y(n-1)(x0) = yn-1
The Superposition Principle
For homogeneous equations, any linear combination of solutions is also a solution.
If y1, y2, ..., yk are solutions of an n-th order homogeneous linear differential equation on an interval I, then the linear combination:
y = c1y1 + c2y2 + ... + ckyk
is also a solution on the interval, where c1, c2, ..., ck are arbitrary constants.
Fundamental Set of Solutions
Any set of n linearly independent solutions y1, y2, ..., yn of an n-th order homogeneous linear differential equation is called a fundamental set of solutions. This set forms the basis for the entire solution space.
General Solution of a Homogeneous Equation
If y1, y2, ..., yn is a fundamental set of solutions, then the general solution is expressed as:
y = c1y1 + c2y2 + ... + cnyn
General Solution of a Nonhomogeneous Equation
The general solution of a nonhomogeneous linear differential equation is the sum of the complementary function and a particular solution:
y = yc + yp
Where:
- yc (Complementary Function): The general solution of the associated homogeneous equation (yc = c1y1 + ... + cnyn).
- yp (Particular Solution): Any specific, constant-free solution that satisfies the nonhomogeneous equation.
4. Higher-Order LDEs with Constant Coefficients (up to 4th Order)
When the coefficients ai are constants, the homogeneous differential equation can be solved algebraically. Consider the equation:
any(n) + an-1y(n-1) + ... + a1y' + a0y = 0
Substituting the trial solution y = erx produces the Auxiliary (Characteristic) Equation:
anrn + an-1rn-1 + ... + a1r + a0 = 0
The roots of this auxiliary polynomial determine the form of the general solution, categorized into four cases:
Case-by-Case Analysis of Roots
| Root Type | Roots | Corresponding Terms in General Solution |
|---|---|---|
| Distinct Real Roots | r1, r2, ... (all unequal) | c1er1x + c2er2x + ... |
| Repeated Real Roots | r1 repeated k times | (c1 + c2x + c3x2 + ... + ckxk-1)er1x |
| Complex Conjugate Roots | r = α ± iβ | eαx(c1cos(βx) + c2sin(βx)) |
| Repeated Complex Roots | r = α ± iβ repeated 2 times | eαx[(c1 + c2x)cos(βx) + (c3 + c4x)sin(βx)] |
Step-by-Step Solved Examples
Example 1 (2nd Order - Distinct Real Roots): Solve y'' - 5y' + 6y = 0.
- Write the auxiliary equation: r2 - 5r + 6 = 0.
- Factor the quadratic equation: (r - 2)(r - 3) = 0.
- Identify the roots: r1 = 2, r2 = 3.
- Formulate the general solution:
y = c1e2x + c2e3x
Example 2 (3rd Order - Repeated Real Roots): Solve y''' - 3y'' + 3y' - y = 0.
- Write the auxiliary equation: r3 - 3r2 + 3r - 1 = 0.
- Recognize the perfect cube expansion: (r - 1)3 = 0.
- Identify the roots: r = 1 with a multiplicity of 3.
- Formulate the general solution using x-multipliers:
y = (c1 + c2x + c3x2)ex
Example 3 (4th Order - Mixed Distinct Real and Complex Roots): Solve y(4) - 16y = 0.
- Write the auxiliary equation: r4 - 16 = 0.
- Factor using the difference of squares: (r2 - 4)(r2 + 4) = 0.
- Factor completely: (r - 2)(r + 2)(r2 + 4) = 0.
- Determine the roots:
- Real roots: r = 2, -2
- Complex roots: r = ±2i (where α = 0, β = 2)
- Write the general solution:
y = c1e2x + c2e-2x + c3cos(2x) + c4sin(2x)
Example 4 (4th Order - Repeated Real Roots): Solve y(4) - 2y'' + y = 0.
- Write the auxiliary equation: r4 - 2r2 + 1 = 0.
- Factor as a perfect square trinomial: (r2 - 1)2 = 0.
- Factor further inside the square: [(r - 1)(r + 1)]2 = (r - 1)2(r + 1)2 = 0.
- Identify the roots: r = 1 (multiplicity 2) and r = -1 (multiplicity 2).
- Write the general solution:
y = (c1 + c2x)ex + (c3 + c4x)e-x
Example 5 (4th Order - Repeated Complex Roots): Solve y(4) + 8y'' + 16y = 0.
- Write the auxiliary equation: r4 + 8r2 + 16 = 0.
- Factor the quadratic form: (r2 + 4)2 = 0.
- Solve for r: r2 = -4, which yields r = ±2i with a multiplicity of 2 (α = 0, β = 2).
- Apply the repeated complex roots formula:
y = (c1 + c2x)cos(2x) + (c3 + c4x)sin(2x)
Common Student Errors & Important Observations
- Constant Match Rule: An n-th order differential equation must always contain exactly n arbitrary constants (c1, c2, ..., cn) in its general solution. If you are solving a 4th-order equation, double-check that you have 4 independent constants in your final answer.
- Forgetting the Independent Variable Multiplier: For repeated roots, never write c1erx + c2erx. The terms must be distinct: c1erx + c2xerx + c3x2erx.
- Trigonometric Term Arguments: When writing the complex conjugate solution eαx(c1cos(βx) + c2sin(βx)), do not write the imaginary unit i inside the sine or cosine functions. Also, ensure β is kept positive inside the trigonometric functions.