Course contentsShow
← Mathematics
Lesson 2348 of 3,12148. Ordinary Differential EquationsFree lesson

Non-Homogeneous ODEs: Structure of Solutions

Learn that the general solution equals the homogeneous solution plus any particular solution.

Non-Homogeneous ODEs: Structure of Solutions

What You'll Learn

You'll discover the fundamental structure of solutions to non-homogeneous linear differential equations: how the general solution is built from two distinct pieces.

The Core Idea

When solving a non-homogeneous second-order linear ODE like:

y'' + p(t)y' + q(t)y = g(t)

where g(t) ≠ 0, the general solution has a beautiful two-part structure:

General Solution = Homogeneous Solution + Particular Solution

More precisely: y(t) = y_h(t) + y_p(t)

where:

  • y_h(t) is the general solution to the associated homogeneous equation (where g(t) = 0)
  • y_p(t) is any particular solution to the full non-homogeneous equation

Why This Works: The Principle of Superposition

Think of it like this: if you know one way to satisfy the non-homogeneous equation (that's y_p), then every other solution differs from it by something that satisfies the homogeneous equation (that's y_h).

Verification: If you substitute y = y_h + y_p into the original ODE:

  • The y_p term produces g(t) (by definition of particular solution)
  • The y_h term produces 0 (by definition of homogeneous solution)
  • Together: 0 + g(t) = g(t) ✓

The homogeneous solution y_h contains the arbitrary constants (like c₁ and c₂ for second-order ODEs) that let you satisfy initial or boundary conditions.

Example Structure

For y'' + 4y = 8:

  • Homogeneous part: y_h = c₁cos(2t) + c₂sin(2t) (from y'' + 4y = 0)
  • Particular solution: y_p = 2 (any constant that works)
  • General solution: y = c₁cos(2t) + c₂sin(2t) + 2

Key Takeaway: The general solution to a non-homogeneous linear ODE always equals the general homogeneous solution plus any particular solution: y = y_h + y_p.