Example 11: Homogeneous:
Show that the differential equation is homogeneous and solve it.
The equation can be written as
Replacing by and by ,
So is homogeneous of degree zero, and the equation is homogeneous.
Put . Then .
Separating the variables,
Integrating both sides,
Putting ,
() is the general solution.
Want the reason behind every step, the basics and the checks?
Here and appear inside the cosine only as the ratio , and the other terms and have the same degree. So scaling and together leaves the slope unchanged: the equation is homogeneous, and turns it into the very simple separable equation . Writing the constant as lets the two logs combine into one.
- Given
- , with (so that is defined).
- 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, with the constant as . (7) Put back and check.
Basics you need
is homogeneous when for every nonzero (Section 9.4.2). Any function of alone passes this test, since . Basics: scale x and y together
by the product rule; the equation becomes , which separates (Section 9.4.2). Lesson: homogeneous equations, put y = vx
and (Section 7.2, formulas (ii) and (xii)). Basics: every method ends with an integral
Every real number equals for a suitable (take ). So "" is just another way to write one arbitrary constant, and . Basics: one constant for order 1
Solution
Write the equation as
Divide by (where it is not 0):
The homogeneity test needs this form. Dividing loses nothing: at a point where , the given equation would read , impossible for . So no solution curve passes through such points, and we may assume .Section 9.4.2: a homogeneous equation has the form . Lesson: homogeneous equationsShow that it is homogeneous:
For any , , so the cosines do not change:
So is a homogeneous function of degree zero, and (1) is a homogeneous differential equation.
Outside the cosines, the top and the bottom both have degree 1, so one factor comes out of each and cancels. Degree zero is the condition for a homogeneous equation.Section 9.4.2: homogeneous function of degree . Basics: scale x and y togetherSubstitute
Put ; then and . In (1), cancelling from top and bottom:
Since depends only on , everything on the right becomes a function of . The product rule on gives the left side.Section 9.4.2, equations (2) and (3). Lesson: put y = vxSimplify to
Writing over the common denominator , the terms cancel, leaving a very simple separable equation.Section 9.4.2, equation (4): . Lesson: homogeneous equationsSeparate and
Multiply both sides by and by (). The left side has only , the right side only .Separating, as in Section 9.4.1. Basics: dy = y′ dxIntegrate, writing the constant as
where is an arbitrary constant.
The constant of integration can be any real number, and every real number is for some . Choosing this form makes the right side a single log: . There is still exactly one arbitrary constant, as order 1 requires.Section 7.2, formulas (ii) and (xii); the constant as . Basics: one constant for order 1Put back, and check
Replacing by :
Check: differentiate with respect to , with a function of (and ):
which is the given equation, for every .
Slope field of the equation between the rays (), with equal scales, and the curves for and (the part of with ). Each curve ends on the dashed rays , where and the tangent is vertical. Getting the equation back proves the answer. The picture adds two facts the formula hides: since , a curve exists only where ; and it stops where , the points Step 1 showed no solution can pass through.Implicit differentiation and the quotient rule for (Chapter 5). Basics: a rule for slopes
The equation is homogeneous, since . Its general solution is , where is an arbitrary constant (). (Textbook answer: .)
Take and . Then , and the curve has , so and .
With , the equation gives the slope . The curve itself: and , so
- Writing ; the product rule gives .
- Scaling the inside of the cosine: ; no comes out of it.
- Writing and then without saying the constant was written as .
- Leaving in the answer. Put back.
- When and appear inside a function only as , and the remaining terms all have the same degree, think "homogeneous, put ".
- When the other side ends in a log, write the constant as so the logs combine.
- Check an implicit answer by differentiating it back.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Homogeneous function of degree zero; homogeneous equation | Steps 1, 2 | Section 9.4.2 (Basics) |
| , ; | Steps 3, 4 | Section 9.4.2, equations (2) to (4) (Lesson) |
| Separating the variables | Step 5 | Section 9.4.1 (Basics) |
| ; | Step 6 | Section 7.2, formulas (ii) and (xii) (Basics) |
| The constant written as ; | Step 6 | Chapter 5, Section 5.4 (Basics) |
| Implicit differentiation; quotient rule; | Step 7 | Chapter 5, Sections 5.3.1 and 5.3.2 (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 →