Homogeneous differential equations are usually the topic where Class 12 students either lock in a reliable technique or start losing marks to careless substitution errors. The good news is that the entire method rests on one clean idea: reduce a two-variable equation to a one-variable, variable-separable equation using a clever substitution. Once you internalize when and how to apply that substitution, this becomes one of the more mechanical — and scoring — sections of Chapter 9.
What Is a Homogeneous Function?
Before tackling homogeneous differential equations, you need to understand homogeneous functions. A function F(x, y) is called a homogeneous function of degree n if, for any nonzero constant λ, replacing x with λx and y with λy gives:
F(λx, λy) = λⁿ F(x, y)
Consider F(x, y) = y² + 2xy. Replacing x and y with λx and λy: F(λx, λy) = λ²y² + 2λ²xy = λ²(y² + 2xy) = λ²F(x, y). This confirms F is homogeneous of degree 2.
Now consider F(x, y) = sin x + cos y. Replacing x and y: F(λx, λy) = sin(λx) + cos(λy), which cannot be written as λⁿ(sin x + cos y) for any n. So this function is not homogeneous at all.
When Is a Differential Equation “Homogeneous”?
A differential equation of the form dy/dx = F(x, y) is called homogeneous if F(x, y) is a homogeneous function of degree zero. In practice, this means F(x, y) can always be written purely in terms of the ratio y/x (or x/y), typically as g(y/x).
A quick way to check: if you can simplify F(x, y) so that x and y appear only as the combined ratio y/x — for instance, cos(y/x), or (x² + y²)/(2xy) — the function is homogeneous of degree zero, and the differential equation qualifies for this method.
The Substitution Method (y = vx)
To solve dy/dx = g(y/x), substitute y = vx, where v is a new function of x. Differentiating with respect to x using the product rule:
dy/dx = v + x(dv/dx)
Substituting this into the original equation:
v + x(dv/dx) = g(v)
Rearranging:
x(dv/dx) = g(v) − v
This is now a variable separable equation in v and x:
dv/(g(v) − v) = dx/x
Integrate both sides, then replace v with y/x to return to the original variables and obtain the general solution.
Note: If the equation is more naturally written as dx/dy = h(x/y), use the substitution x = vy instead, and differentiate with respect to y: dx/dy = v + y(dv/dy).
Solved Example 1
Show that (x − y) dy/dx = x + 2y is homogeneous, and solve it.
Rewriting: dy/dx = (x + 2y)/(x − y). Both numerator and denominator are homogeneous of degree 1, so their ratio is homogeneous of degree 0 — confirming the equation is homogeneous.
Substitute y = vx, so dy/dx = v + x(dv/dx):
v + x(dv/dx) = (1 + 2v)/(1 − v)
x(dv/dx) = (1 + 2v)/(1 − v) − v = (v² + v + 1)/(1 − v)
Separating variables: (v − 1)/(v² + v + 1) dv = −dx/x
Integrating both sides using standard forms and simplifying, then replacing v with y/x, gives the general solution:
log|x² + xy + y²| = 2√3 tan⁻¹[(2y + x)/(√3 x)] + C
Solved Example 2
Show that x dy/dx = y/x, meaning dy/dx = y/x, is homogeneous, and solve it.
Here F(x, y) = y/x is clearly homogeneous of degree 0. Substituting y = vx: v + x(dv/dx) = v, which gives x(dv/dx) = 0, so dv/v = 0 is not needed — instead dv = 0, meaning v is constant. So y/x = C, giving the simple general solution y = Cx.
Solved Example 3: Particular Solution
Find the particular solution of x² dy + (xy + y²) dx = 0, given y = 1 when x = 1.
Rewriting: dy/dx = −(xy + y²)/x². This is homogeneous of degree 0.
Substitute y = vx: v + x(dv/dx) = −(v + v²), so x(dv/dx) = −(2v + v²) = −(v² + 2v).
Separating: dv/(v² + 2v) = −dx/x. Using partial fractions, (1/2)[ln|v| − ln|v+2|] = −ln|x| + C, which simplifies to v/(v+2) = C/x².
Replacing v = y/x: x² y = C(y + 2x). Using x = 1, y = 1: 1 = C(3), so C = 1/3.
The particular solution is 3x²y = y + 2x.
Common Mistakes with Homogeneous Equations
The most frequent error is forgetting to apply the product rule when differentiating y = vx — students often write dy/dx = v instead of the correct v + x(dv/dx), which breaks the entire solution. Another common mistake is picking the wrong substitution: if the equation naturally simplifies in terms of x/y rather than y/x, using x = vy will save significant algebra compared to forcing y = vx. Finally, always double-check that F(x, y) truly reduces to a function of y/x alone before applying this method — if it does not, the equation is not homogeneous, and a different technique (such as variable separable or linear) is required instead.
Ready to Practice?
Homogeneous differential equations reward students who practice the y = vx substitution until it becomes automatic. On ChampionsPrep (app.championsprep.in), get AI-powered, pay-per-use practice sessions with PrepCoin packs from ₹59, built for CBSE and Maharashtra State Board Class 11–12 Commerce students, plus CUET, IPMAT, JIPMAT, NPAT, and SET aspirants. Start a Differential Equations session today and build substitution speed for your board exam.

Homogeneous Differential Equations Class 12: Definition, Method and Examples
Frequently Asked Questions
How do I identify a homogeneous differential equation? +
Write the equation as dy/dx = F(x, y) and check whether F(x, y) is a homogeneous function of degree zero, meaning it can be expressed purely in terms of the ratio y/x (or x/y).
What substitution is used to solve a homogeneous differential equation? +
Substitute y = vx when the equation is expressed as dy/dx = g(y/x), or x = vy when it is expressed as dx/dy = h(x/y).
Why does the substitution y = vx work? +
It converts a two-variable homogeneous equation into a variable separable equation in v and x, since dy/dx = v + x(dv/dx) and g(v) minus v depends only on v.
What is the degree of the homogeneous function F(x, y) = y squared + 2xy? +
It is homogeneous of degree 2, since F(lambda x, lambda y) = lambda squared times F(x, y).
Is every differential equation dy/dx = F(x, y) homogeneous? +
No. Only equations where F(x, y) is a homogeneous function of degree zero qualify for this method.
AI-powered practice — free to start