First-Order Linear Equations and the Integrating Factor
Multiply through by a factor chosen to turn the left side into the derivative of a product, then integrate once. The factor is built from the coefficient of y.
What a learner can do afterwards
- Write an equation in standard form and compute its integrating factor
- Recognise the product rule pattern the factor creates
- Solve a mixing or cooling problem set up as a linear equation
1 · Read
A first order linear equation always fits one template: y prime + P(x) y = Q(x). First divide so y prime has coefficient 1: 2y prime + 4y = 6 becomes y prime + 2y = 3. Now P is visible and the integrating factor is e raised to the integral of P dx. For P = 2 the factor is e to the 2x, and for y prime + (2 over x) y = 1 the factor is x squared, worth 9 at x = 3.
Solve y prime + 2y = e to the x. Multiply everything by e to the 2x and the left side collapses into the derivative of e to the 2x times y. So (e to the 2x times y) prime = e to the 3x. Integrate once: e to the 2x times y = e to the 3x over 3 + C. Divide out: y = e to the x over 3 + C e to the minus 2x. Check it by substitution: y prime + 2y returns e to the x.
Mixing tanks and cooling bodies run on the same template, with inflow and decay playing Q and P. Take dy/dt + 0.5 y = 2. Over a long time the rate settles to zero, so 0.5 y = 2 and y drifts toward 4. You can read such steady states straight from P and Q.
Finish every problem the same way: divide first, multiply by the factor, collapse, integrate once, keep C. The classic stall is stopping right after the clever multiplication. And always plug your answer back into the equation to check.
Divide into standard form, multiply by e to the integral of P, collapse, integrate, and check.
2 · Watch
Take it off screen
Where it sits
8 questions wait behind this lesson, each with its answer explained. Every answer feeds the sky: stars light as they are learned, and dim when it is time to come back.