Example 4: General solution of
Find the general solution of the differential equation ,
We have
Separating the variables,
Integrating both sides,
Multiplying by and rearranging,
, where , is the general solution.
Want the reason behind every step, the basics and the checks?
The right side is a function of times a function of : . So the variables can be separated: every goes with , every with . Then each side is an ordinary integral, and one arbitrary constant appears. The answer is a family of circles.
- Given
- , with (the right side is undefined at ).
- To find
- The general solution: a relation between and with one arbitrary constant.
- Plan
- (1) Recognise the variables separable form. (2) Separate. (3) Integrate both sides, with one constant. (4) Tidy up and rename the constant. (5) Check by differentiating the answer back. (6) Picture the solution curves.
Basics you need
If and , then , and integrating gives (Section 9.4.1, equations (2) to (4)). Lesson: separate, then integrate
Writing is shorthand for ""; integrating that with respect to turns the left side into (substitution). Basics: dy = y′ dx
for (Section 7.2, formula (i)). Basics: every method ends with an integral
A first order equation has one arbitrary constant in its general solution. Constants on both sides combine into one, and any fixed multiple of an arbitrary constant is again arbitrary. Basics: order n gives n constants
Solution
Recognise the form: variables separable
with and . Since , is defined and is never 0.
The method of Section 9.4.1 needs the right side to split as (a function of only) (a function of only), and needs so that we may divide by it. Both hold here.Section 9.4.1: is the variables separable type. Lesson: separate, then integrateSeparate the variables
Multiply both sides by :
Now the left side contains only (with ) and the right side only (with ). Multiplying by is allowed because . In the language of Section 9.4.1 this is with .Integrate both sides, with one constant
Check each integral by differentiating: and .
Each side is integrated with respect to its own variable by the power rule. Each integration produces a constant, but two constants , on opposite sides combine into a single one, . A first order equation needs exactly one arbitrary constant.Power rule, Section 7.2; one constant for order 1. Basics: order n gives n constantsTidy up and rename the constant
Multiply both sides by :
Move every term to the left:
Write . Then the general solution is
Multiplying by clears the fractions. Since can be any real number, so can ; naming it keeps the answer clean without losing any solution. There is still exactly one arbitrary constant, as order 1 requires.A fixed multiple of an arbitrary constant is again an arbitrary constant. Basics: order n gives n constantsCheck: put the answer back into the equation
Differentiate with respect to , treating as a function of :
This is exactly the given equation, for every value of , so the relation really is a solution. The last line divides by , which is not 0 because . The constant disappears on differentiation, as an arbitrary constant must.Implicit differentiation (Section 5.3.2). Basics: y′ is the slopeWhat the solution curves look like
Complete the squares in and in :
For this is a circle with centre and radius . (For it is the single point , which has ; for there are no real points.) The line is excluded, so each circle splits into an upper and a lower half, and each half is a solution curve. At the two points where a circle meets , its tangent is vertical: there the slope would be infinite.
Slope field of with equal scales: at each grid point a short mark has the slope the equation gives. The circles (radii 1, 2, 3 about ) follow the marks. No mark is drawn on , where the slope is not defined. The picture shows what "general solution" means: one curve for each value of the constant, and every curve follows the slope marks. Here different values of give circles of different sizes about the same centre.A differential equation is a rule for slopes at every point. Basics: dy/dx = F(x, y) draws an arrow at every point
The general solution is , where is an arbitrary constant (). Its curves are circles about . (Textbook answer: , where .)
Take : the circle . Its upper half is . At , , and the equation gives the slope .
The curve itself: and , so
The two slopes agree.
- Integrating "with respect to " while is still in it. Separate first; then each integral has one variable.
- Two constants, one on each side. They combine into one; a first order equation has one arbitrary constant.
- Forgetting the condition when multiplying by .
- Sign slips when tidying: multiplying by gives .
- Separable means : put with , with , integrate, add one constant.
- Renaming as is allowed and loses nothing.
- An implicit answer is checked by implicit differentiation.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Variables separable form , , and | Steps 1, 2, 3 | Section 9.4.1, equations (2) to (4) (Lesson) |
| Step 3 | Section 7.2, formula (i) (Basics) | |
| One arbitrary constant for a first order equation; renaming | Steps 3, 4 | Chapter Summary; the book's working of Example 4 (Basics) |
| Implicit differentiation | Step 5 | Chapter 5, Section 5.3.2 (Basics) |
| is a circle with centre and radius | Step 6 | Class XI, conic sections |
| is the slope of the tangent, so the equation gives a slope at every point (the slope field) | Step 6 | Section 9.4.1, Example 8; Section 9.3, solution curves (Basics) |
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 →