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

Linear ODEs with Constant Coefficients

Solve the special case dy/dx + ay = b where P and Q are constants, yielding exponential solutions.

Linear ODEs with Constant Coefficients

What You'll Learn

You'll learn how to solve the special first-order linear ODE dy/dx + ay = b where both a and b are constants, using an exponential solution technique.

The Core Idea

When both the coefficient of y and the non-homogeneous term are constants, the integrating factor method becomes beautifully simple. The equation dy/dx + ay = b represents a system where the rate of change is proportional to the current value, plus a constant input.

Why Constant Coefficients Matter

Think of a cooling coffee cup in a room: the rate of temperature change depends on the current temperature (the ay term) and the room's constant temperature (the b term). Constant coefficients mean these relationships don't change over time.

Solving the Special Case

For dy/dx + ay = b:

  1. The integrating factor is μ(x) = e^(ax), which is particularly clean—no complicated integration needed
  2. Multiply through by e^(ax): the left side becomes d/dx[y·e^(ax)]
  3. Integrate both sides: y·e^(ax) = ∫b·e^(ax) dx = (b/a)e^(ax) + C (assuming a ≠ 0)
  4. Solve for y: y = b/a + Ce^(-ax)

Notice the solution has two parts:

  • Steady-state solution: b/a (what y approaches as x → ∞ if a > 0)
  • Transient solution: Ce^(-ax) (decays exponentially if a > 0)

This exponential behavior is the signature of constant-coefficient equations—solutions always involve exponential functions.

Key Takeaway: First-order linear ODEs with constant coefficients dy/dx + ay = b have exponential solutions of the form y = b/a + Ce^(-ax), combining a constant steady state with exponential transient behavior.