Example 22: Linear in :
Solve the differential equation .
The equation can be written as
This is of the form , where and .
Let . Then the solution is given by
Put . Then .
Integrating by parts with as the first function,
Putting the value of in (i),
Dividing by ,
is the general solution.
Want the reason behind every step, the basics and the checks?
Solved for , the equation is , which is not linear in . Solved for , it is , and appears only to the first power: it is linear in . The integrating factor is , and the integral that remains becomes after putting .
- Given
- , for all real .
- To find
- The general solution (one arbitrary constant).
- Plan
- (1) Write it as . (2) Read off , . (3) I.F. . (4) Multiply and see the product rule. (5) Integrate, with one constant. (6) Find the integral by substitution and by parts. (7) Solve for . (8) Check.
Basics you need
, with , functions of only: I.F. , and (Section 9.4.3). Lesson: linear equations, the integrating factor
With , (Section 7.3.1); then by parts with first (Section 7.6). Basics: the product rule, read backwards
, and for every . Basics: exponentials
Solution
Write it with
Divide by ; is never 0. Then move the term to the left. In this form and appear to the first power only, so the equation is linear in .Section 9.4.3: the form . Lesson: linear equationsRead off and
and .
Both are functions of only, defined for every real , as the form requires.The integrating factor:
; any one antiderivative will do, since an added constant would only multiply the I.F. by a nonzero constant.Section 9.4.3: I.F. ; Section 7.2, formula (x). Basics: exponentialsMultiply by the I.F.: the left side is one derivative
By the product and chain rules, , which is the left side of (1) multiplied by .Product and chain rules (Chapter 5, Sections 5.3 and 5.3.1). Basics: (y · g)′ = g(y′ + Py)Integrate with respect to , with one constant
This is . The here is the one arbitrary constant; the integral below gets none of its own.Section 9.4.3: the solution of . Basics: one constant for order 1The integral: substitute , then by parts
Let . Put ; then , and
By parts, with as the first function and the second:
and its derivative both appear in the integrand, which is what makes the substitution work; takes every value in and is one-one, so the substitution is valid for all real . In the algebraic factor is the first function (ILATE), because differentiating it gives 1.Section 7.3.1, substitution; Section 7.6, integration by parts. Basics: every method ends with an integralSolve for
Putting into (2):
Divide by , which is never 0; . The answer holds for every real .Section 9.4.3: the general solution. Lesson: Examples 19 to 22Check by substituting back
Write , so and . Then
which is (1), for every .
The terms cancel, as they must: alone solves , and supplies the right side.A solution makes L.H.S. = R.H.S. (Section 9.3); chain rule (Chapter 5, Section 5.3.1). Lesson: general and particular solutions
The general solution is , where is an arbitrary constant, for all real . (Textbook answer: .)
Take and : and , so . The equation gives .
The curve itself: and , so
- Trying to make it linear in . is not linear in ; use .
- Taking by forgetting to move the term across: it is on the left.
- Choosing as the first function in , which makes the integral harder.
- Dividing wrongly: the answer is , not .
- When appears inside a function like but appears only linearly, try .
- gives I.F. ; then usually simplifies .
- is worth remembering.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| The form ; I.F. ; | Steps 1, 2, 3, 5 | Section 9.4.3 (Lesson) |
| Step 3 | Section 7.2, formula (x) (Basics) | |
| Product and chain rules; | Steps 4, 8 | Chapter 5, Sections 5.3, 5.3.1 and 5.3.3 (Basics) |
| Substitution; integration by parts | Step 6 | Sections 7.3.1 and 7.6 (Basics) |
| Substituting back into the equation | Step 8 | Section 9.3 (Lesson) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →