Exercise 9.5 · Q1: Linear:
For each of the differential equations given in Exercises 1 to 12, find the general solution:
1.
This is of the form , where and .
So the solution is given by
Let . Integrating by parts with as the first function,
Again 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?
The equation is linear: and appear only to the first power, and the coefficient of is the constant 2. Multiplying by the integrating factor turns the left side into the single derivative . One integration then finishes it; the only real work is , which needs integration by parts twice, as in Example 14.
- Given
- , for all real .
- To find
- The general solution (one arbitrary constant).
- Plan
- (1) Match : read off and . (2) I.F. . (3) Multiply and see the product rule. (4) Integrate: . (5) Find by parts twice. (6) Solve for . (7) Check by substitution.
Basics you need
, where and are constants or functions of only. Its solution is , where (Section 9.4.3). Lesson: linear equations, the integrating factor
If , then by the product rule; has . Basics: (y · g)′ = g(y′ + Py)
, with the first function (Section 7.6). Basics: every method ends with an integral
, so ; and . Basics: the function whose rate is k times itself
Solution
Recognise the linear form: ,
Compare with . The coefficient of is already 1, so nothing needs dividing. and appear to the first power only, is a constant and depends on only, so the equation is linear. (It is not separable: is not a product of a function of and a function of .)Section 9.4.3, step (i). Lesson: linear equationsThe integrating factor:
Any one antiderivative of will do. A constant added to would only multiply the I.F. by a nonzero constant, which cancels from both sides later, so no constant is written here.Section 9.4.3, step (ii). Basics: exponentialsMultiply by : the left side is one derivative
By the product rule, , exactly the left side. This is what the integrating factor is for.Product rule (Chapter 5, Section 5.3). Basics: (y · g)′ = g(y′ + Py)Integrate both sides, with one constant
This is . The is the one arbitrary constant of the general solution, so the integral found in Step 5 gets no constant of its own.Section 9.4.3, step (iii). Basics: one constant for order 1Find : by parts twice
Take as the first function and as the second, so :
Again by parts, now with first:
So
Check, by differentiating back with the product rule:
In the second integration by parts, the derivative of is , so the minus sign of the formula and this minus sign make , which is ; with the factor in front this is . After two rounds the original integral comes back, so we solve for like an ordinary unknown: add to both sides and multiply by . Keep the trigonometric function as the first function both times; switching halfway only undoes the first step.Section 7.6, integration by parts. Basics: every method ends with an integralSolve for
Putting into (1):
Multiply both sides by (never zero): , and becomes . The solution holds for every real , since and are defined everywhere.Section 9.4.3: the general solution. Lesson: Exercise 9.5 playerCheck by substituting back
From :
and adding,
for every : the terms cancel ().
Substituting back proves the answer and shows the role of each part: alone solves , and supplies the .A solution makes L.H.S. = R.H.S. (Section 9.3). Lesson: general and particular solutions
The general solution is , where is an arbitrary constant, for all real . (Textbook answer: .)
Take and : , , , so . The equation says .
The curve itself: and , so
- Writing ; it is , and missing the gives the wrong coefficients and the wrong .
- Losing the sign in the second by-parts step: , so the comes with a minus sign on the right and moves over as .
- Writing instead of after dividing by .
- Adding a second constant when finding ; the general solution has the one constant of Step 4.
- A constant gives the I.F. .
- and : by parts twice, then solve for the integral.
- Always check by substituting back: the part must cancel.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Linear equation; I.F. ; | Steps 1, 2, 4 | Section 9.4.3, steps (i) to (iii) (Lesson) |
| Product rule | Step 3 | Chapter 5, Section 5.3 (Basics) |
| Integration by parts | Step 5 | Section 7.6 (Basics) |
| ; , | Steps 3, 5, 7 | Chapter 5, Sections 5.3 and 5.4 (Basics) |
| Substituting back into the equation | Step 7 | 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 →