Example 5: General solution of
Find the general solution of the differential equation .
Since , separating the variables,
Integrating both sides,
, which is the general solution.
Want the reason behind every step, the basics and the checks?
The right side is times : a function of times a function of . Dividing by , which is never 0, separates the variables, and both sides become the standard integral . One arbitrary constant gives the whole family of solutions.
- Given
- , defined for all real and .
- To find
- The general solution, with one arbitrary constant.
- Plan
- (1) Recognise the separable form and check that we may divide by . (2) Separate. (3) Integrate both sides with the formula. (4) Check by differentiating back. (5) See which constants give curves, and write them without inverse functions.
Basics you need
If with , then (Section 9.4.1). Lesson: separate, then integrate
The principal value always lies strictly between and (Chapter 2).
A first order equation has one arbitrary constant in its general solution. Basics: order n gives n constants
Solution
Recognise the form: variables separable
with and . For every real , , so .
Dividing by is the separating step, and it is only allowed where . Here that is every real , so no solution is lost by dividing. (When can be 0, as in Example 6, the zeros need a separate look.)Separate the variables
Divide both sides by and multiply by :
Now each side holds one variable only: with on the left, with on the right. Both denominators are at least 1, so nothing here is undefined.Integrate both sides, with one constant
Both integrals are the standard one, , once with and once with . The two constants of integration combine into one , which may be any real number. This is the general solution.Section 7.2, formula (x): . Basics: every method ends with an integralCheck: differentiate the answer back
Differentiate with respect to , with a function of (chain rule on the left):
We get back exactly the given equation, whatever the value of . So every member of the family is a solution.Chain rule and the derivative of (Chapter 5). Basics: y′ is the slopeWhich constants give curves, and the curves without
Both and lie in , so always lies in . Only these values of give curves.
For , put and take tan of both sides of . The formula gives
for the with inside . For example gives the line , and () gives for .
The form is the general solution the book asks for; this step only shows what its curves are. The restriction on is needed because can never reach : for , the solution through blows up as .
The general solution is , where is an arbitrary constant (only gives curves). (Textbook answer: .)
Take , the curve . At , . With and , the difference is , which is . The equation gives the slope .
The curve itself: and , so
- Writing for . That would need on top; the integral is .
- Adding values as if they were tangents: does not mean .
- Two constants, one per integral. Keep one .
- is never 0, so dividing by it to separate loses no solutions.
- appears on both sides here.
- A general solution may be left in implicit or inverse-function form; it is checked by differentiating back.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Variables separable form; divide by and integrate | Steps 1, 2, 3 | Section 9.4.1 (Lesson) |
| Step 3 | Section 7.2, formula (x) (Basics) | |
| One arbitrary constant for a first order equation | Step 3 | Chapter Summary (Basics) |
| Chain rule; | Step 4 | Chapter 5, Sections 5.3.1 and 5.3.3 (Basics) |
| Step 5 | Chapter 2, principal value branch | |
| Step 5 | Class XI trigonometry |
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 →