Concept 04 / 06Differential Equations
Linear First-Order Equations, the Integrating Factor and Bernoulli's Equation
The standard form dy/dx + P(x) y = Q(x), deriving the integrating factor e^(integral P dx) from the product rule, the solution formula, linear equations in x, and Bernoulli's equation reduced to linear form.
A first-order DE is linear in if it can be written as
,
where and depend only on . 'Linear' means and appear only to the first power and are not multiplied together or inside other functions.
The integrating factor. Multiply both sides by a function chosen so that the left side becomes the derivative of a product: we want . This requires , whose solution is
(the integrating factor, IF).
Then , and integrating gives
.
No constant is needed when computing the IF itself, since any one integrating factor works. A useful identity: , so if is a logarithm, the IF is an algebraic function. For example, gives IF ; gives IF ; gives IF .
Always put the equation in standard form first: the coefficient of must be . For , divide by to get , .
Structure of the solution. The general solution is a particular solution plus times the solution of the homogeneous equation , which is . The figure shows : every solution is , and they all converge to the particular solution as grows, because the homogeneous part decays.
Linear in . Sometimes the equation is linear when is treated as the dependent variable: . Then the IF is and . A sign that this is needed: , which is not linear in but becomes when inverted.
Bernoulli's equation: with . Divide by : . Substitute , so . The equation becomes linear in : . Solve with an integrating factor, then replace by . The constant solution (for ) should be noted separately.
Other substitutions producing linear equations: if the equation has the form , put . For example, becomes linear in .
Key Takeaways:
- Standard form ; IF .
- Solution: .
- : many integrating factors are algebraic.
- If not linear in , check whether it is linear in .
- Bernoulli: gives .
- : put .
- Pitfall: computing the IF before dividing by the coefficient of .
Brain-Teaser 1: Solve with .
Solution: Standard form: . IF . So and . The condition gives , . So . Checking the product structure confirms the IF: is exactly times the original left side.
Brain-Teaser 2: Solve .
Solution: It is not linear in , but invert: . So , linear in . IF . Then , and (by parts). So . Swapping the roles of the variables is the key step whenever appears in a complicated way but appears linearly.
Brain-Teaser 3: Solve the Bernoulli equation .
Solution: Here , so put , . Dividing the equation by : , that is, , or . IF . Then , so and . Therefore . The substitution converts the non-linear equation into a linear one, after which the standard method applies.
Practice this concept
Free · no account required · instant solutions