First-order linear differential equation
Solve the equation y′ + ay = b with constant coefficients and one initial condition.
Calculate the result
Worked example
Problem
Solve the equation y′ + 2y = 6 with y(0) = 1. Use the equilibrium solution or integrating factor.
The solution of y′ + 2y = 6 with y(0) = 1 is y = 3 − 2e⁻²ˣ.
Find the constant solution
Solve for the deviation from equilibrium
Common mistake
The expression b/a requires a different from 0. With a = 0 we get the constant derivative y′ = b.
