Example 10: Homogeneous:
Show that the differential equation is homogeneous and solve it.
For , the equation can be written as
Then
So is homogeneous of degree zero, and the equation is homogeneous.
Put . Then .
Separating the variables,
Writing and integrating both sides,
Using and ,
Since and ,
Putting ,
Multiplying by 2 and writing ,
is the general solution.
Want the reason behind every step, the basics and the checks?
Every term of and of has degree 1, so the slope depends only on the ratio : scaling and together changes nothing. That makes the equation homogeneous, and the substitution turns it into a separable equation in and . The -integral needs the two tools of Chapter 7 for : a log part and a part.
- Given
- .
- To show and find
- That the equation is homogeneous; then its general solution.
- Plan
- (1) Write it as . (2) Show . (3) Put . (4) Simplify to . (5) Separate. (6) Integrate: log part and part. (7) Put back and tidy. (8) Check by implicit differentiation.
Basics you need
is homogeneous of degree if for every nonzero . The equation is homogeneous when is homogeneous of degree zero (Section 9.4.2). Basics: scale x and y together
With , the product rule gives ; the equation becomes separable in and (Section 9.4.2, equations (2) to (6)). Lesson: homogeneous equations, put y = vx
(substitution ), and (Section 7.4, formula (3)). Basics: every method ends with an integral
, and .
(since ), for . Basics: e and log
Solution
Write the equation as
For , divide by :
The homogeneity test is stated for . Dividing loses nothing: on the line (with ) the given equation would read , so no solution curve can pass through such a point anyway.Section 9.4.2: a homogeneous equation has the form . Lesson: homogeneous equationsShow that it is homogeneous:
Replace by and by , for any :
So is a homogeneous function of degree zero, and (1) is a homogeneous differential equation. Equivalently, dividing top and bottom by , , a function of alone.
The cancels because top and bottom both have degree 1. "Degree zero" is exactly the condition for the equation to be homogeneous. (The book writes the result as with a small ; it means the same function .)Section 9.4.2: definition of a homogeneous function of degree . Basics: scale x and y togetherSubstitute
Put , where is a function of . By the product rule,
Substituting in (1), and dividing top and bottom by :
Because depends only on , the right side becomes a function of only. The left side has , which is what will let us separate from . Here , since .Section 9.4.2, equations (2) and (3). Lesson: put y = vxSimplify to
Subtract by writing it over the common denominator : . Now the right side is a function of only, and the left side is : the equation is separable.Section 9.4.2, equation (4): . Lesson: homogeneous equationsSeparate and
Multiply by and by . This is allowed: for every , and . Writing on top (and a minus on the right) matches the book's form.Section 9.4.2, equation (5); separating as in Section 9.4.1. Basics: dy = y′ dxIntegrate the side: a log part and a part
Split the numerator using the derivative of the denominator, :
So
First part: put , : it is .
Second part: with , Section 7.4 formula (3) gives
The side is . Hence, with one constant ,
Check by differentiating the left side of (2) with respect to :
An integrand is split into (a multiple of the derivative of the bottom) plus (a constant): the first piece gives a log, the second a after completing the square. The coefficient is . In the check, .Section 7.4, formula (3), and by substitution. Basics: every method ends with an integralPut back and tidy up
Move to the left, using (this answers the book's "(Why?)": ):
Combine the logs, , and put :
Multiply by 2 and write :
Both log arguments are positive ( and ), so they may be combined. Since away from the origin, the absolute value bars in the book's answer change nothing. is again an arbitrary constant, the one constant of a first order equation.Check: differentiate the answer back
Write and . Then and . Differentiating the answer with respect to :
so, multiplying by ,
Slope field of with equal scales: along each ray from the origin the marks are parallel, because the slope depends only on . The solution curve through and its reflection in the origin through are drawn; each turns vertical where it meets the dashed line . Near the origin each curve meets the -axis at a distance from , too close to see, and continues on the other side; the origin itself is on no solution curve. We recover the given equation for every value of , so the relation is the general solution. The picture shows homogeneity at work: means the slope is the same at all points of a ray through the origin, and a curve reflected in the origin is again a solution.Implicit differentiation, chain rule, (Chapter 5). Basics: a rule for slopes
The equation is homogeneous, since . Its general solution is , where is an arbitrary constant (, ). (Textbook answer: .)
Take the curve through : there . Solving numerically, this curve passes through . At that point . On the other side, , and adding gives . The two sides agree.
The equation gives the slope there. The curve itself: and , so
- Writing after putting . The product rule gives .
- Forgetting to subtract when moving it across: , not .
- Integrating as . The top is not the derivative of the bottom; split it first.
- Leaving in the answer. Put back.
- Homogeneous test: , or is a function of alone.
- Then , , and the equation separates in and .
- For : split off the derivative of the bottom (log), complete the square for the rest ().
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Homogeneous function of degree ; homogeneous equation when has degree zero | Steps 1, 2 | Section 9.4.2 (Basics) |
| , ; ; separate and integrate | Steps 3, 4, 5 | Section 9.4.2, equations (1) to (6) (Lesson) |
| Step 6 | Chapter 7, integration by substitution (Basics) | |
| Step 6 | Section 7.4, formula (3) | |
| Step 6 | Section 7.2, formula (xii) | |
| ; | Step 7 | Chapter 5, Section 5.4 (Basics) |
| Implicit differentiation; | Steps 6, 8 | Chapter 5, Sections 5.3.2 and 5.3.3 (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 →