Skip to lesson content

Lesson 4 of 6

Differential Equations · Lesson 4 of 6

Homogeneous Equations and Ratio Substitutions

“Recognise equations governed by a ratio and reduce them to separable equations.”

Learning Objectives

• Test whether a two-variable function is homogeneous and identify its degree. • Recognise a homogeneous first-order differential equation through its degree-zero right-hand side. • Derive and use the substitution y = vx. • Choose x = vy when x is more conveniently treated as a function of y. • Solve general and particular homogeneous equations, retaining valid straight-line solutions. • Interpret a tangent-slope rule and check the final relation.

A ratio can remove one variable

Some equations resist direct separation because and occur together. If they appear only through their ratio, a new variable can capture that ratio. The equation then becomes separable in the new variable and one original variable.

For instance, can be divided above and below by to give when . Multiplying both and by the same nonzero number does not change . This scaling observation is the idea behind a homogeneous equation.

Homogeneous functions and their degree

A scaling test gives a precise way to recognise the pattern. Replace by and by . If a single fixed power of factors out, the function is homogeneous on the domain where both expressions are defined.

Definition
Homogeneous function

A function is homogeneous of degree if for the permitted nonzero scaling values . The same degree must work throughout its domain.

Scaling testLaTeX
scales both variables by the same factor. The exponent is the degree of the homogeneous function.
FunctionResult after scalingConclusion
Homogeneous of degree 2
Homogeneous of degree 1
Homogeneous of degree 0
Not homogeneous: no one scaling power works

A homogeneous function can also be expressed using a ratio. For , . Similarly, . In general the ratio forms are or, when , . When , the prefactor disappears and only a ratio remains.

Two meanings of degree

The degree of a homogeneous function concerns scaling in and . The degree of a differential equation concerns polynomial powers of derivatives. These are different classifications. A homogeneous first-order equation normally has a degree-zero right-hand side and first-degree dependence on its derivative.

Definition
Homogeneous differential equation

A first-order equation is homogeneous when is homogeneous of degree zero. On a suitable domain this can be written . The corresponding form is treated similarly.

The same ratio gives the same slopexy123123(1, 1)(2, 2)(3, 3)For y′ = 1 + y/x, all three points give y′ = 2.
Ratio and tangent slopes— Points on the same ray have the same ratio. Here their short tangent segments have the same slope.

The diagram uses . At , , and the ratio is , so the prescribed slope is in each case. The dashed ray identifies equal ratios; it is not itself a solution curve here, because its own slope is , not .

Derive the ratio substitution

Let the new variable be the ratio . Since changes with , this new variable generally changes too. Writing and differentiating by the product rule is the essential step; treating as a constant would change the equation.

Derivative after substitutionLaTeX
is a function of . The term records how the ratio changes.

Substituting into gives , hence . Now the right side depends only on , which is exactly the separable structure we need.

Separated homogeneous equationLaTeX
This step assumes and . Integrate first, then replace by .

If , the constant ratio gives the straight line , provided the original equation is defined on it. Division by would exclude it. Check these possibilities separately or verify that they are restored by a constant value in the final family.

Example — A rational homogeneous equation

Problem
Show that is homogeneous and solve it.

  1. 1.Where , . Scaling numerator and denominator by cancels the factor, so the right-hand side is homogeneous of degree zero.
  2. 2.Use . Then , so .
  3. 3.Separate as . The numerator is .
  4. 4.For the first part, integrate the derivative of the denominator to get . For the second, complete the square: .
  5. 5.Therefore .
  6. 6.Move the logarithm of to the left and use . Doubling and renaming the constant gives .
  7. 7.The ratio expression applies locally with , and the slope form requires . The inverse-tangent expression is read on the chosen solution interval; its branch cannot be changed midway without adjusting the constant.
Example — A trigonometric function of a ratio

Problem
Solve .

  1. 1.The expression requires . Where a differentiable solution exists, , because otherwise the equation would force .
  2. 2.Divide to get . This depends only on , so it is homogeneous.
  3. 3.Set . Then , leaving .
  4. 4.Separate: . Integrate: .
  5. 5.Return to the original variables: , on intervals respecting the original restrictions.

Reverse the independent variable when useful

A differential relation involving and need not be forced into . Sometimes solving for produces a simpler ratio . In that case treat as a function of and use the product rule with respect to .

Reverse-variable substitutionLaTeX
Here depends on . The derivative is with respect to , not .
Example — Choose the more convenient ratio

Problem
Solve , with when .

  1. 1.The equation requires . Solve for : . The right side depends only on .
  2. 2.Let . Substitution gives , so .
  3. 3.Integrate: . Hence .
  4. 4.At , . The particular solution is , on a suitable interval with .

Connect the substitution to curve geometry

A homogeneous slope rule produces a family of curves. The algebraic form of that family can be simpler than the equation used to obtain it. The derivative of the final relation provides a quick check and reveals which points have a defined slope.

Example — Recover a family from its tangent slopes

Problem
Find the family whose tangent slope at is .

  1. 1.The equation is , requiring . Divide numerator and denominator by to reveal with .
  2. 2.With , , so .
  3. 3.For , separate: . Integrate: .
  4. 4.Combine the logarithms and absorb sign into a constant: . Substituting gives .
  5. 5.Rename the constant to write . The excluded ratios and give and ; both are recovered when .
  6. 6.Differentiate the final family: . Substituting gives wherever .
Example — Handle a square root on a specified interval

Problem
Solve on .

  1. 1.With a square root, do not replace by x on an arbitrary real interval. Here , so . Positive simultaneous scaling preserves the ratio expression on this domain.
  2. 2.Put . The left side is , so the equation reduces to .
  3. 3.Separate and integrate: , hence .
  4. 4.Exponentiation gives with . Replacing v yields .
  5. 5.An explicit form is . Its derivative gives , so the result checks with the positive square root.
Example — Apply an initial value after integration

Problem
Solve with .

  1. 1.Write . Set to get .
  2. 2.After subtraction, . Thus .
  3. 3.Integration gives .
  4. 4.Combine logarithms and replace : .
  5. 5.At , . The equation with this constant is the required local solution around the specified point.

Organise a longer homogeneous equation

Factors involving differentials can obscure the ratio structure. Collect the and terms first, then divide numerator and denominator by a common power. The substitution and separation steps are unchanged, but excluded factors need particular care.

Example — A ratio hidden inside a differential relation

Problem
Solve .

  1. 1.For , collect terms to obtain wherever this quotient is defined.
  2. 2.Put . Division by and subtraction of give .
  3. 3.For nonzero factors, separate: .
  4. 4.Integrate to obtain . Hence .
  5. 5.The result is . When , it can also be written by changing the constant.
  6. 6.The product form retains . Check the straight lines and with directly in the original relation; they satisfy it on intervals with . A reciprocal form alone would miss them.
Do not drop the product-rule term

From , the derivative is , not just and not just . Write the product rule explicitly each time until it becomes automatic. After solving, substitute back into the result.

Check your understanding

A homogeneous test and a substitution choice come before integration. Use these questions to distinguish the degree-zero scaling property from the unrelated degree of a differential equation.

Quiz

Quick check

What is the degree of the homogeneous function ?

Quick check

Which function is homogeneous of degree zero?

Quick check

If and v depends on x, what is ?

Quick check

For , which substitution is appropriate?

Quick check

After , what does become?

Quick check

Which function is not homogeneous?

Quick check

What should be checked before dividing by ?

Quick check

For , what slope is prescribed at ?

Practice Problems

Practice Problems
  1. Show homogeneity and solve .
  2. Solve on an interval with .
  3. Solve .
  4. Solve .
  5. Solve by setting .
  6. Solve . Check constant ratios excluded during separation.
  7. Solve where . Try .
  8. Solve where .
  9. Solve with .
  10. Solve with , or explain why the request is impossible.
  11. Solve with .
  12. Classify as homogeneous or not, and justify by scaling.
  13. Solve with .
  14. Collect the differentials in and relate it to the longer worked example.

With , . Integrating gives for . The line must be added separately.

Key Takeaways

Key Takeaways

• Homogeneous functions have a fixed scaling degree; homogeneous first-order equations have a degree-zero right-hand side. • The substitution produces and reduces the equation to separation. • Use when the equation is simpler with depending on . • Replace the ratio variable after integration and apply any given point. • Check constant-ratio solutions and ensure the original equation is defined at a proposed initial point.