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

Homogeneous vs Non-Homogeneous Linear ODEs

Distinguish between homogeneous (Q(x)=0) and non-homogeneous first-order linear equations.

Homogeneous vs Non-Homogeneous Linear ODEs

What You'll Learn

You'll learn to distinguish between two fundamental types of first-order linear differential equations based on whether they include a "forcing term."

The Core Distinction

Recall that a first-order linear ODE in standard form looks like:

dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x)

The key distinction is simple:

  • Homogeneous: When Q(x)=0Q(x) = 0, the equation becomes dydx+P(x)y=0\frac{dy}{dx} + P(x)y = 0
  • Non-homogeneous: When Q(x)≠0Q(x) \neq 0, there's a non-zero "driving" or "forcing" term on the right side

Why Does This Matter?

Think of a homogeneous equation as a self-contained system—like a ball rolling down a frictionless slope influenced only by gravity (the P(x)yP(x)y term). Nothing external pushes it.

A non-homogeneous equation has an external influence—like that same ball being pushed by a hand or wind force. The Q(x)Q(x) term represents this outside input.

Examples

Homogeneous:

  • dydx+3y=0\frac{dy}{dx} + 3y = 0
  • dydx−2xy=0\frac{dy}{dx} - 2xy = 0

Non-homogeneous:

  • dydx+3y=ex\frac{dy}{dx} + 3y = e^x (forcing term: exe^x)
  • dydx−2xy=sin⁡(x)\frac{dy}{dx} - 2xy = \sin(x) (forcing term: sin⁡(x)\sin(x))

Why It's Important

This distinction affects how we solve the equation. Homogeneous equations are separable and simpler. Non-homogeneous equations require additional techniques (like integrating factors) to account for the forcing term.

Key Takeaway: A first-order linear ODE is homogeneous if Q(x)=0Q(x) = 0 (no forcing term), and non-homogeneous if Q(x)≠0Q(x) \neq 0 (external input present).