The general method for solving a linear first-order equation is to multiply the whole equation by the integrating factor.
Integrating factor does the trick We claim that after multiplying by , the left-hand side of the equation becomes .
To prove this, let , so that . Then and, by the chain rule, Thus, by the product rule:
Caution: For this to work, the equation has to be in the form , i.e. the coefficient of has to equal 1 (see 6.22 for what to do otherwise).