- 1. What is a differential equation?
- 2. Order and degree: how hard is the equation?
- 3. General and particular solutions: a family and one member
- 4. Sort the x's from the y's: variables separable
- 5. Growth and decay: money, people and atoms
- 6. Why does tea cool slower and slower? Newton's law of cooling
- 7. Homogeneous functions and homogeneous equations
- 8. Solving homogeneous equations: put y = vx
- 9. Linear equations and the integrating factor
- 10. Linear equations in action, and which method to use
- Review
7 of 10·NCERT §9.4.2·5 min
Homogeneous functions and homogeneous equations
The big ideaA function is homogeneous of degree n if scaling both x and y by λ scales the function by λⁿ; a differential equation \( \frac{dy}{dx} = F(x, y) \) is homogeneous when F is homogeneous of degree zero, which means it depends only on \( \frac{y}{x} \).
In simple words
Take a photo and blow it up to twice the size. Every length doubles, every area becomes four times as big, and every angle stays exactly the same. Some formulas behave like lengths, some like areas, and some like angles: they do not care about size, only about shape. The equations on the next page are the "angle" kind. They only care about the ratio of y to x, and that is what lets us solve them.
Homogeneous functions
Replace x by λx and y by λy, where λ is any non-zero constant. A function F(x, y) is a homogeneous function of degree n if
\[ F(\lambda x, \lambda y) = \lambda^n F(x, y). \]
| F(x, y) | F(λx, λy) | Homogeneous? |
|---|---|---|
| \( 3x + 4y \) | \( \lambda(3x + 4y) \) | yes, degree 1 |
| \( x^2 - 3xy + y^2 \) | \( \lambda^2(x^2 - 3xy + y^2) \) | yes, degree 2 |
| \( \frac{x^2 + y^2}{xy} \) | \( \frac{\lambda^2(x^2 + y^2)}{\lambda^2 xy} = \lambda^0 F \) | yes, degree 0 |
| \( e^{y/x} \) | \( e^{\lambda y/\lambda x} = e^{y/x} \) | yes, degree 0 |
| \( x + y^2 \) | \( \lambda x + \lambda^2 y^2 \) | no |
| \( \sin x + \cos y \) | \( \sin\lambda x + \cos\lambda y \) | no |
For polynomials there is a quick test: every term must have the same total power. In \( x^2 - 3xy + y^2 \) each term has total power 2 (xy counts as 1 + 1). In \( x + y^2 \) the powers are 1 and 2, so it fails. A lone constant (power 0) spoils it too: \( x^2 + y^2 + 1 \) is not homogeneous.
Try it: scale x and y together and watch what F does. A homogeneous F follows one power of λ wherever you start.
The y/x form
A homogeneous function of degree n can always be written as \( x^n \) times a function of \( \frac{y}{x} \) alone (or \( y^n \) times a function of \( \frac{x}{y} \)):
\[ F(x, y) = x^n\,h\!\left( \frac{y}{x} \right) \quad \text{or} \quad F(x, y) = y^n\,g\!\left( \frac{x}{y} \right). \]
For example, \( x^2 - 3xy + y^2 = x^2\left( 1 - 3\frac{y}{x} + \frac{y^2}{x^2} \right) \). When n = 0, the factor \( x^0 = 1 \) disappears and F is just a function of \( \frac{y}{x} \).
Homogeneous differential equations
A differential equation \( \frac{dy}{dx} = F(x, y) \) is called a homogeneous differential equation if F is a homogeneous function of degree zero. Then
\[ \frac{dy}{dx} = g\!\left( \frac{y}{x} \right). \]
The same idea works the other way up: \( \frac{dx}{dy} = h\!\left( \frac{x}{y} \right) \) is also homogeneous.
Worked example: testing an equation
Is \( (x + 2y)\,dy = (2x - y)\,dx \) homogeneous?
- Write it as \( \frac{dy}{dx} = \frac{2x - y}{x + 2y} = F(x, y) \).
- \( F(\lambda x, \lambda y) = \frac{\lambda(2x - y)}{\lambda(x + 2y)} = \lambda^0 F(x, y) \): degree zero.
- So it is homogeneous. Check by dividing top and bottom by x: \( \frac{2 - y/x}{1 + 2y/x} \), a function of \( \frac{y}{x} \) only.
The fast test
- Write \( \frac{dy}{dx} = \frac{M(x, y)}{N(x, y)} \).
- If M and N are both homogeneous of the same degree, the equation is homogeneous.
See degree zero in a picture: for a homogeneous equation the slope depends only on y/x, so it is the same all along any ray from the origin.
Guess first: same kind, different degree
In \( \frac{dy}{dx} = \frac{x^3 + y^3}{xy} \), the top is homogeneous and the bottom is homogeneous. Guess: is the differential equation homogeneous?
See what happens
Don't mix these up
- "Homogeneous function" can have any degree n. "Homogeneous differential equation" needs F of degree 0.
- \( \frac{dy}{dx} = \frac{x + y + 1}{x - y} \) is not homogeneous: the +1 has power 0, the other terms power 1.
- This "degree" (of a homogeneous function) has nothing to do with the degree of a differential equation from earlier.
Try it. Find the degree of \( F(x, y) = \frac{x^4 + x^2y^2}{x + y} \), if it is homogeneous.
Answer
- Homogeneous function of degree n
- \( F(\lambda x, \lambda y) = \lambda^n F(x, y) \) for every non-zero λ.
- Degree zero
- Scaling x and y changes nothing: F depends only on \( \frac{y}{x} \).
- Homogeneous differential equation
- \( \frac{dy}{dx} = F(x, y) \) with F homogeneous of degree zero, i.e. \( \frac{dy}{dx} = g\left(\frac{y}{x}\right) \).
- Total power of a term
- The sum of the powers of x and y in it: \( x^2y^3 \) has total power 5.
Words to know
Which function is homogeneous of degree 2?
- \( x^2 + y \)
- \( 5x^2 - xy + 7y^2 \)
- \( \frac{x^2 - y^2}{xy} \)
Which differential equation is homogeneous?
- \( (2x + 3y + 1)\,dy = (x - y + 2)\,dx \)
- \( (x^3 + y^3)\,dy = xy\,dx \)
- \( xy\,dy = (x^2 + y^2)\,dx \)
If F(x, y) is homogeneous of degree 0, what is F(3x, 3y)?
- F(x, y)
- 3F(x, y)
- 0
Picture and video credits