Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Differential Equations / Higher order and systems

Second Order ODEs

Equations involving the second derivative — the mathematics of oscillation and vibration.

3 min read · 5 sections · 1 checks

Contents 6 sections
  1. §1Introduction
  2. §2The Characteristic Equation
  3. §3Worked Example
  4. §4Common Mistakes
  5. §5Summary
  6. ?Check yourself

By the end you can

  • Solve constant-coefficient homogeneous linear ODEs
  • Use the characteristic equation
  • Handle distinct, repeated, and complex roots

Helps to know: First Order ODEs, Higher Order Derivatives

§1Introduction

A second order linear ODE with constant coefficients has the form ay′′+ by′+cy=0ay'' + \text{ by}' + cy = 0. It models springs, circuits, and oscillations. We solve it via the characteristic equation.

§2The Characteristic Equation

  • Distinct real roots r1,r2r_{1}, r_{2}: y=C1er1x+C2er2xy = C_{1} e^{r_{1}x} + C_{2} e^{r_{2}x}.
  • Repeated root rr: y=(C1+C2x)erxy = (C_{1} + C_{2} x) e^{rx}.
  • Complex roots α±βi\alpha \pm \beta i: y=eαx(C1cos⁡βx+C2sin⁡βx)y = e^{\alpha x}(C_{1} \cos \beta x + C_{2} \sin \beta x).

§3Worked Example

Solve y′′+4y=0y'' + 4y = 0.

Example 1Solution

  1. Characteristic: r2+4=0r^{2} + 4 = 0 → r=±2ir = \pm 2i.

§4Common Mistakes

  • Forgetting the x factor for repeated roots.
  • Dropping the exponential in the complex-root form.
  • Using only one root when two are needed for a second order equation.

§5Summary

  1. Second order linear ODEs use the characteristic equation.
  2. Roots can be real distinct, repeated, or complex.
  3. Complex roots give oscillating solutions.

Check yourself

  1. Q1
    The general solution of y″+y=0 is…