Second-Order Linear Homogeneous Equations, MATH 101 Differential Equations – Study Notes
offline

Difficulty: Intermediate | Prerequisites: First-order ODEs, basic calculus (derivatives, integrals), familiarity with exponential and trigonometric functions

Big Picture

Second-order linear ODEs are the workhorse equations of physics and engineering. They describe oscillating springs, electrical circuits, beam deflection, and wave propagation. This topic is the natural next step after first-order equations: you now have a second derivative in play, which means two independent solutions and two constants to pin down with initial or boundary conditions. If you are not comfortable solving first-order linear ODEs or working with complex numbers, review those first.


TL;DR

A second-order linear homogeneous ODE has the form y'' + p(x)y' + q(x)y = 0. Its general solution is a linear combination of two linearly independent solutions. When the coefficients are constant, you find those solutions by solving a quadratic (the characteristic equation), and the form of the answer depends on whether the roots are real and distinct, repeated, or complex.


Key Terms

Second-order linear homogeneous differential equation

A differential equation of the form y''(x) + p(x)y'(x) + q(x)y(x) = 0, where y(x) is the unknown function, p(x) and q(x) are given coefficient functions, and the primes denote derivatives with respect to x. In simple terms, it is an equation involving a function, its first derivative, and its second derivative, all added together to equal zero.

General solution

The expression y(x) = c1·y1(x) + c2·y2(x), where y1 and y2 are two linearly independent solutions and c1, c2 are arbitrary constants. Think of it as the full family of solutions; you pick a specific one by plugging in initial or boundary conditions.

Linearly independent solutions

Two solutions y1(x) and y2(x) are linearly independent if neither is a constant multiple of the other. In simple terms, they point in genuinely different "directions" in the solution space, so combining them can reach every possible solution.

Characteristic equation

The quadratic equation in m obtained by substituting y(x) = e^(mx) into a constant-coefficient second-order linear homogeneous ODE. Think of it as the algebraic shortcut that turns a calculus problem into a quadratic you already know how to solve.

Wronskian

A determinant used to test whether two solutions are linearly independent: W(y1, y2) = y1·y2' - y2·y1'. If W is not identically zero, the solutions are linearly independent. In simple terms, it is the formal check that your two solutions are "different enough" to span all solutions.


Core Content

The Standard Form

  • The equation is y''(x) + p(x)y'(x) + q(x)y(x) = 0

  • "Homogeneous" means the right-hand side is zero; if there were a non-zero function on the right, it would be a non-homogeneous equation (a different technique)

  • "Linear" means y and its derivatives appear only to the first power, with no products like y·y'

General Solution Structure

  • The general solution is always y(x) = c1·y1(x) + c2·y2(x)

  • y1 and y2 must be linearly independent

  • The constants c1 and c2 are determined by two conditions, typically:

    • Initial conditions: y(x0) = a, y'(x0) = b

    • Or boundary conditions: y(x0) = a, y(x1) = b

The Characteristic Equation (Constant Coefficients)

  • When p(x) and q(x) are constants (call them p and q), the equation becomes y'' + py' + qy = 0

  • Substitute y = e^(mx) to get the characteristic equation: m² + pm + q = 0

  • Solve this quadratic for m. The nature of the roots determines the solution form:

Three Cases for the Roots

  • Two distinct real roots (m1 ≠ m2):

    • General solution: y(x) = c1·e^(m1·x) + c2·e^(m2·x)

    • Each root gives its own exponential solution

  • One repeated real root (m1 = m2 = m):

    • General solution: y(x) = (c1 + c2·x)·e^(m·x)

    • The factor of x in the second term is necessary to get a second linearly independent solution; without it, you would just have the same exponential twice

  • Two complex conjugate roots (m = a ± bi):

    • General solution: y(x) = e^(a·x)·[c1·cos(b·x) + c2·sin(b·x)]

    • The exponential part e^(a·x) controls growth or decay; the trig part controls oscillation

    • If a = 0, you get pure oscillation with no growth or decay


Formulas / Diagrams

Standard form: y''(x) + p(x)y'(x) + q(x)y(x) = 0

General solution: y(x) = c1·y1(x) + c2·y2(x)

Characteristic equation (constant coefficients): m² + pm + q = 0

Solution forms by root type:

Root type

Roots

General solution

Two distinct real

m1, m2

c1·e^(m1·x) + c2·e^(m2·x)

One repeated real

m

(c1 + c2·x)·e^(m·x)

Complex conjugate

a ± bi

e^(a·x)·[c1·cos(b·x) + c2·sin(b·x)]


Real-World Applications

Mass-spring systems in physics are modelled by exactly this type of equation: the displacement of a spring satisfies y'' + (damping)y' + (stiffness)y = 0. Electrical engineers see the same equation in RLC circuits, where charge or current oscillates according to a second-order ODE with constant coefficients.


Common Misconceptions

  • Students often forget the extra factor of x in the repeated-root case and write y = (c1 + c2)·e^(mx), which collapses to a single arbitrary constant and loses half the solution.

  • When roots are complex, students sometimes leave the solution in terms of complex exponentials instead of converting to sines and cosines. The real-valued form using cos and sin is what is expected for real-valued problems.

  • Students sometimes confuse "homogeneous" (right-hand side equals zero) with "constant coefficients." These are independent properties. An equation can be homogeneous with variable coefficients, or non-homogeneous with constant coefficients.

  • The characteristic equation method only works when p and q are constants. If p(x) or q(x) vary with x, you need other techniques (power series, variation of parameters, etc.).


Why It Matters / Exam Flags

⚠️ You will almost certainly be given a constant-coefficient ODE and asked to classify the roots and write the general solution. Drill all three cases until they are automatic.

⚠️ Applying initial conditions to find c1 and c2 is a standard follow-up. Practice solving the resulting system of two linear equations.

⚠️ The complex-root case often appears as a modelling question about oscillation or damping. Know what the parameters a and b control (decay rate and frequency, respectively).


Quick Self-Test

  1. True or false: The general solution to a second-order linear homogeneous ODE always contains exactly two arbitrary constants.

  1. Fill in the blank: The characteristic equation is obtained by substituting y = ___ into the ODE.

  1. True or false: If the characteristic equation has roots 3 + 2i and 3 - 2i, the solution involves exponentials only (no trig functions).

  1. Fill in the blank: In the repeated-root case, the second solution is multiplied by ___ to ensure linear independence.

  1. True or false: The characteristic equation method works for any second-order linear homogeneous ODE, regardless of whether coefficients are constant.

Answers: 1. True. 2. e^(mx). 3. False (it involves both e^(3x) and cos/sin terms). 4. x. 5. False (constant coefficients only).


Practice Q&A

Q: Find the general solution of y'' - 5y' + 6y = 0.

A: The characteristic equation is m² - 5m + 6 = 0, which factors as (m - 2)(m - 3) = 0. Roots are m = 2 and m = 3 (distinct real). General solution: y(x) = c1·e^(2x) + c2·e^(3x).

Q: Find the general solution of y'' + 4y' + 4y = 0.

A: The characteristic equation is m² + 4m + 4 = 0, which factors as (m + 2)² = 0. Repeated root m = -2. General solution: y(x) = (c1 + c2·x)·e^(-2x).

Q: Find the general solution of y'' + 2y' + 5y = 0.

A: The characteristic equation is m² + 2m + 5 = 0. Using the quadratic formula: m = (-2 ± √(4 - 20))/2 = -1 ± 2i. Complex roots with a = -1, b = 2. General solution: y(x) = e^(-x)·[c1·cos(2x) + c2·sin(2x)].

Q: Why do we need two linearly independent solutions rather than just one?

A: A second-order ODE requires two initial conditions to pin down a unique solution. The general solution must have two free constants (c1 and c2) to accommodate any pair of initial conditions, and that requires two linearly independent solutions to combine.


Connections to Other Topics

This connects directly to higher-order linear ODEs, which follow the same pattern but with higher-degree characteristic polynomials. It also links to linear algebra (the solution set forms a two-dimensional vector space) and to Laplace transforms, which provide an alternative method for solving these equations, especially with discontinuous forcing terms.


Related Terms / Search Tags

second-order ODE, linear homogeneous differential equation, characteristic equation, auxiliary equation, constant coefficients, general solution, particular solution, initial value problem, boundary value problem, Wronskian, linearly independent solutions, superposition principle, complex roots, repeated roots, distinct real roots, mass-spring system, RLC circuit, damped oscillation, MATH 101, differential equations