First-order linear equations
y′ + ky = c, and its steady state.
The equation y′ + ky = c (k > 0) has solution y = c/k + (y₀ − c/k)e^(−kt). The term c/k is the steady state the solution approaches; the exponential part dies away. In general, linear first-order equations are solved with an integrating factor e^(∫P dx).
Example: y′ + 2y = 10, y(0) = 1
- steady state 10/2 = 5
- y = 5 + (1 − 5)e^(−2t)
- y = 5 − 4e^(−2t)
Why it works: Multiplying by the integrating factor turns the left side into the derivative of one product, which you can integrate directly.
Tip: This models cooling, mixing tanks and charging capacitors: everything approaches a balance.