Homogeneous
First-Order Equations
Master the \(v = y/x\) substitution technique to solve differential equations where every term shares the same degree of homogeneity.
What Is a Homogeneous Function?
A function \(f(x, y)\) is called homogeneous of degree \(n\) if replacing every variable by \(\lambda\) times itself scales the whole function by \(\lambda^n\):
The Homogeneous ODE Form
A first-order ODE \(\dfrac{dy}{dx} = F(x,y)\) is homogeneous when \(F\) can be rewritten purely in terms of the ratio \(y/x\):
Why Does Homogeneity Matter?
The Core Substitution Rule
Set \(v = \dfrac{y}{x}\), so that \(y = vx\). Differentiate using the product rule:
Substituting into \(\dfrac{dy}{dx} = g(v)\) gives a separable ODE:
Substitution Flowchart
Homogeneous vs. Separable vs. Linear
| Homogeneous | Separable | Linear | |
|---|---|---|---|
| Standard Form | \(\frac{dy}{dx} = g\!\left(\frac{y}{x}\right)\) | \(\frac{dy}{dx} = h(x)\,k(y)\) | \(\frac{dy}{dx} + P(x)y = Q(x)\) |
| Key Strategy | \(v = y/x\) substitution | Separate and integrate | Integrating factor |
| After Strategy | Becomes separable | Direct integration | Direct integration |
| Check | Same-degree \(M, N\) | Factorable as \(h \cdot k\) | Linear in \(y\) |
How to Apply the Method
Example 1: Solve \(\dfrac{dy}{dx} = \dfrac{x+y}{x}\)
Step 1: Rewrite the right side: \(\dfrac{x+y}{x} = 1 + \dfrac{y}{x} = 1 + v\). This is a function of \(v\) alone, so the ODE is homogeneous.
Step 2: Substitute \(v + x\,\dfrac{dv}{dx} = 1 + v\), which simplifies to \(x\,\dfrac{dv}{dx} = 1\).
Step 3: Separate: \(dv = \dfrac{dx}{x}\).
Step 4: Integrate: \(v = \ln|x| + C\).
Example 2: Solve \(\dfrac{dy}{dx} = \dfrac{x^2 + y^2}{2xy}\)
Rewrite: Divide numerator and denominator by \(x^2\): \(\dfrac{1 + (y/x)^2}{2(y/x)} = \dfrac{1+v^2}{2v}\).
Substitute: \(v + x\,\dfrac{dv}{dx} = \dfrac{1+v^2}{2v}\). Then \(x\,\dfrac{dv}{dx} = \dfrac{1+v^2}{2v} - v = \dfrac{1+v^2 - 2v^2}{2v} = \dfrac{1-v^2}{2v}\).
Separate: \(\dfrac{2v}{1-v^2}\,dv = \dfrac{dx}{x}\).
Integrate: The left side yields \(-\ln|1-v^2|\), so \(-\ln|1-v^2| = \ln|x| + C_1\).
Example 3: Solve \((x - y)\,dx + x\,dy = 0\)
Check: \(M = x-y\) (degree 1), \(N = x\) (degree 1). Both are homogeneous of the same degree: the ODE is homogeneous.
Rewrite: \(\dfrac{dy}{dx} = -\dfrac{x-y}{x} = \dfrac{y}{x} - 1 = v - 1\).
Substitute: \(v + x\,\dfrac{dv}{dx} = v - 1\), so \(x\,\dfrac{dv}{dx} = -1\).
Integrate: \(v = -\ln|x| + C\).
Direction Field: \(dy/dx = (x+y)/x\)
Recognizing Homogeneous Equations
Common Mistakes
Quick-Reference Summary
| Step | Action | Result |
|---|---|---|
| 1. Identify | Check \(M, N\) have same degree | Confirm homogeneous |
| 2. Substitute | \(v = y/x\), \(y = vx\) | \(dy/dx = v + x\,dv/dx\) |
| 3. Simplify | Express RHS as \(g(v)\) | \(x\,dv/dx = g(v) - v\) |
| 4. Separate | \(\dfrac{dv}{g(v)-v} = \dfrac{dx}{x}\) | Two single-variable integrals |
| 5. Integrate | Evaluate both integrals | Relation in \(v\) and \(x\) |
| 6. Back-substitute | Replace \(v = y/x\) | General solution in \(x, y\) |
Question 1 of 5
Which substitution converts a homogeneous first-order ODE into a separable equation?
Question 2 of 5
If \(v = y/x\) and \(y = vx\), what is \(\dfrac{dy}{dx}\) in terms of \(v\) and \(x\)?
Question 3 of 5
Which of these ODEs is homogeneous?
Question 4 of 5
Solve \(\dfrac{dy}{dx} = \dfrac{y - x}{x}\). What is the general solution?
Question 5 of 5
After the substitution \(v = y/x\) on \(\dfrac{dy}{dx} = \dfrac{x^2+y^2}{2xy}\), the separated equation is: