🎉 75% of content is free forever — Unlock Premium from $10/mo →
CW
NEWSLIVESearch All Content
đŸ’ŧ Servicesâ„šī¸ Aboutâœ‰ī¸ ContactView Pricing Plansfrom $10

Homogeneous Differential Equations

CBSE Class 12 MathsDifferential EquationsđŸŸĸ Free Lesson

Why the substitution y = vx works

A right-hand side written as depends only on the direction away from the origin, never on the distance. Step from the point (x, y) to the point (3x, 3y) and the ratio y/x survives unchanged, so the slope survives with it: every point sitting on a single ray through the origin reports the very same slope. The substitution y = vx exploits exactly that property. It labels the ray by its own slope, and the product rule turns the derivative into v plus x times dv/dx. Substituting both the derivative and y collapses the original equation into two separable pieces, with every x-term collecting on one side and every v-term on the other. Integrate the two halves, then replace v by y/x to return to the original variables. The method therefore converts a coupled two-variable problem into two ordinary single-variable integrals, which is why every board question of this type ends at a standard integral or a short partial-fraction split.

Method of Solution

  1. Substitute , so
  2. Rewrite the equation in terms of and
  3. The equation becomes separable
  4. Separate variables and integrate
  5. Substitute back

Example: Solve Homogeneous Equation

Solve .

Example: Another Homogeneous Equation

Solve .

Choosing between y = vx and x = vy

The default habit is y = vx, but the cheaper substitution is the one that removes the awkward factor from the numerator. Decide before you start algebra by looking at where the single power sits. If the top of the fraction is a clean power of y, writing x = vy usually collapses the right-hand side in one line. If the top mixes x and y linearly, keep y = vx, because the constant term then divides out cleanly. If the question is already written with dx/dy on the left, do not flip it — use x = vy and treat x as the dependent variable.

Shape of the right-hand sideTry firstWhy it is quicker
A single ratio such as (x + y) divided by (x - y)y = vxthe constant term cancels on substitution
A pure power of y on top, such as y squared over (xy + x squared)y = vxleaves a rational function of v only
Written as dx/dy with x squared on topx = vykeeps the dependent variable out of the powers
Both a shift and a mix of degreesneitherclear the constants first, see the next section

Equations that only look homogeneous

The equation fails the homogeneity test outright: replace x and y by tx and ty and the numerator becomes t times (x - y) plus 1, which is not a scaled copy of the original. The constants 1 and 3 break the scaling. The fix is a translation of the origin. Solve h - k + 1 = 0 together with h + k + 3 = 0; the two lines meet at h = -2, k = -1. Now substitute x = X - 2 and y = Y - 1. The numerator becomes X - Y and the denominator becomes X + Y, so the equation turns into dY/dX = (X - Y) divided by (X + Y), which is genuinely homogeneous. Solve that with Y = VX, then translate the finished answer back by restoring x plus 2 and y plus 1.

If the two boundary lines are parallel there is no meeting point and the translation cannot work. That happens for equations such as , where both numerator and denominator depend only on the combination x - y. Set v = x - y instead, so that dv/dx = 1 - dy/dx, and the equation becomes separable in v and x in a single step.

Recognising the answer forms examiners accept

Board solutions for this topic arrive in three families, and the marking scheme usually accepts any algebraically equivalent member of the family. Convert your result into the neatest member before you write it down, but do not attempt an explicit y = f(x) when the equation cannot be inverted in closed form.

FamilyTypical appearanceWhat to do with it
Implicit with an arctangentarctangent of (y/x) equals log of the radius plus Cleave it implicit; it cannot be solved for y
Implicit with a single loglog of the magnitude of y plus y/x equals Cexponentiate to get y times e to the (y/x) equals K
Power lawy raised to a power times x equals C times e to the (y/x)collect the constants and state the domain

The constant C absorbs any sign produced by exponentiating an absolute value, so writing y times e to the (y/x) with an arbitrary constant is fully correct as long as you note the domain y not zero.

Numerical cross-check with SymPy

Two cheap computer checks catch nearly every slip in this topic. The first confirms that the right-hand side really is homogeneous of degree zero. The second takes your implicit answer, differentiates it implicitly, and confirms that it reproduces the original differential equation.

python
import sympy as sp

x, y, t = sp.symbols('x y t', nonzero=True)
f = (x + y) / (x - y)

# scale both variables by t at once, then simplify
scaled = f.subs({x: t * x, y: t * y}, simultaneous=True)
print(sp.simplify(scaled))       # (x + y)/(x - y): unchanged => degree 0
print(sp.simplify(scaled - f))   # 0
python
import sympy as sp

x, y = sp.symbols('x y')
# implicit solution of dy/dx = (x + y)/(x - y), written as F(x, y) = C
F = sp.atan(y / x) - sp.log(sp.sqrt(x**2 + y**2))

# implicit function theorem: dy/dx = -Fx / Fy
dy_dx = -sp.diff(F, x) / sp.diff(F, y)
print(sp.simplify(sp.together(dy_dx) - (x + y) / (x - y)))   # 0

A printed zero from the second script means your integrated answer really does regenerate the equation you started from, which is a stronger guarantee than substituting one or two sample points.

Common Mistakes

Dropping the absolute value inside a logarithm after integrating dx/x.

Fix: Write ln|x| while integrating, and only replace it by a plain constant once the arbitrary constant absorbs the sign.

Treating an equation with a leftover constant, such as (x - y + 1)/(x + y + 3), as homogeneous.

Fix: Translate the origin to the intersection of the two boundary lines, or use v = x - y when the lines are parallel, before applying the y = vx substitution.

Trying to finish by making y the subject of tan-inverse(y/x) equals a log of x and y.

Fix: Leave the solution implicit. These equations are normally unsolvable for y in closed form, and the implicit form is the accepted final answer.

Key Takeaways

  • A differential equation is homogeneous exactly when its right-hand side can be written as a function of the single ratio y/x.
  • The substitution y = vx turns the equation separable because dy/dx becomes v plus x times dv/dx, and the x-factors cancel.
  • Equations that only become homogeneous after a shift of the origin are solved by translating to the intersection point of the two boundary lines.
  • Always cross-check an implicit answer by implicit differentiation, or with a short SymPy script, before writing it down.
CW

ChatWhole Learn Editorial Team

Written by experienced data scientists, software engineers, and educators. All content is reviewed by industry professionals to ensure accuracy and relevance.

Last reviewed: 2026-10-15

—
☆☆☆☆☆
0 ratings

Rate & Feedback

Need Expert CBSE Class 12 Help?

Get personalized tutoring, project support, or professional consulting.

Advertisement