Miscellaneous · Q8:
8. Solve the differential equation .
The equation can be written as
It is not homogeneous (the term has degree 2), but it involves , so we use the substitution . Then .
The variables are now separable:
Integrating both sides,
Putting ,
is the general solution.
Want the reason behind every step, the basics and the checks?
The exponential contains , which suggests treating as the function of and putting , as the Note of Section 9.4.2 does for homogeneous equations in . This equation is not homogeneous, because of the term, but the substitution still works: the -terms cancel and what is left, , separates at once.
- Given
- , with .
- To find
- Its general solution.
- Plan
- (1) Write it as . (2) Test for homogeneity (it fails). (3) Put all the same. (4) Simplify to . (5) Separate and integrate, with one constant. (6) Put back and state the domain. (7) Check by substituting back.
Basics you need
When the ratio appears, write the equation as and put ; then (Section 9.4.2, Note). Lesson: homogeneous equations, put y = vx
is homogeneous of degree zero when for every (Section 9.4.2). Basics: scale x and y together
separates as (Section 9.4.1). Lesson: variables separable
Solution
Write the equation as
Divide both sides by , which is not 0 because and :
We choose because the divisor is never 0, while the form would need . Splitting the fraction: and .Section 9.4.2, Note: the form . Example 12 uses the same formTest for homogeneity: it fails
For , , so
This is not unless (for example at , : , but ). So the equation is not homogeneous.
The terms and have degree 1 outside the exponential, but has degree 2, and that mismatch breaks homogeneity. We still try , because everything else depends only on .Section 9.4.2: definition of a homogeneous function. Basics: scale x and y togetherSubstitute
Put , so and, by the product rule (differentiating with respect to ), . Then (1) becomes
Here is the independent variable and , hence , depends on it. The first term of becomes , the second .Section 9.4.2, Note: . Lesson: homogeneous equationsSimplify to
The on each side cancels: . Dividing by ,
For a homogeneous equation the right side would become a function of alone. Here an extra factor appears, but it is the same factor that multiplies , so it cancels. The result is even simpler than usual: has gone completely.Simplifying as in Section 9.4.2, equation (4). Lesson: Miscellaneous exercise playerSeparate and integrate, with one constant
Multiply by :
where is an arbitrary constant.
Now is on the left only and on the right only. Since , we never divide by 0. One constant suffices for a first order equation.Section 9.4.1; Section 7.2, formula (xi). Basics: every method ends with an integralPut back: the general solution
It lives where and (an exponential is positive); there it gives .
The answer must be in the original variables. Taking logarithms gives the explicit form , which shows the domain restriction plainly.Check by substituting back
Differentiate with respect to , with a function of (quotient rule for ):
which is the given equation, for every .
Getting the equation back proves the answer. The same lines read backwards give a second solution: says , which integrates at once.Implicit differentiation, quotient rule, (Chapter 5). Basics: a rule for slopes
The equation is not homogeneous, but reduces it to . The general solution is
where and . (Textbook answer: .)
Take : , that is for . At : , and , so . The equation gives
The curve itself: and . Their difference is
and , the slope the equation gives.
- Calling the equation homogeneous. because of ; the substitution works for a different reason (the extra cancels).
- Putting . The ratio in the exponent is , so is the substitution that makes the exponential simply .
- Differentiating with respect to . Here is the variable: .
- Writing . From , multiplying by gives .
- A ratio in the equation: try the form and .
- The substitution can help even when the equation is not homogeneous; test, do not assume.
- Combinations such as are worth recognising.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| The form and the substitution | Steps 1, 3 | Section 9.4.2, Note (Lesson) |
| Homogeneous function of degree zero | Step 2 | Section 9.4.2 (Basics) |
| Product rule | Step 3 | Chapter 5, Section 5.3 (Basics) |
| Separating the variables | Step 5 | Section 9.4.1 (Lesson) |
| Step 5 | Section 7.2, formula (xi) (Basics) | |
| ; inverts | Step 6 | Chapter 5, Section 5.4 (Basics) |
| Implicit differentiation; quotient rule | Step 7 | Chapter 5, Sections 5.3 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 →