PYQ Vault

CBSE Class 12 Maths · Differential Equations

Homogeneous Differential Equations

Testing whether dy/dx = F(x, y) is homogeneous, solving it with y = vx, handling y/x inside a sine, cosine, exponential or logarithm, and the dx/dy form solved with x = vy.

Why this matters

59 questions, thirty-five of them from board papers in every year from 2022 to 2026, and all but three of those thirty-five are written answers. The board asks which function or equation is homogeneous (2023 to 2026), general and particular solutions by y = vx of equations such as (x² − y²) dx + 2xy dy = 0 (every year), equations with y/x inside a sine, cosine, cosecant, exponential or logarithm, usually with a condition such as y = π/4 when x = 1 (every year), and the dx/dy form solved by x = vy (2023, 2026). The textbook adds Exercise 9.4, Examples 10 to 13, Miscellaneous Example 21 and Miscellaneous Questions 3 and 8.

Concept 1 of 4: Is it homogeneous? The degree zero test

Replace x by λx and y by λy. If λ cancels out completely, the right side depends only on the ratio y/x, and the equation is homogeneous. A term that does not scale the same way, such as a stand-alone sin x or a constant, spoils it.

Definition

  • A function F(x,y)F(x, y) is homogeneous of degree n if F(λx,λy)=λnF(x,y)F(\lambda x, \lambda y) = \lambda^n F(x, y) for any nonzero constant λ\lambda.
  • Examples from NCERT: y2+2xyy^2 + 2xy has degree 2, 2x−3y2x - 3y degree 1, cos⁡(yx)\cos\left(\dfrac{y}{x}\right) degree 0; sin⁡x+cos⁡y\sin x + \cos y is not homogeneous.
  • dydx=F(x,y)\dfrac{dy}{dx} = F(x, y) is a homogeneous differential equation if F(x,y)F(x, y) is homogeneous of degree zero. Then F(x,y)=g(yx)F(x, y) = g\left(\dfrac{y}{x}\right).
  • To show it: write F(λx,λy)=λ0F(x,y)F(\lambda x, \lambda y) = \lambda^0 F(x, y), or divide the top and bottom by a power of x to get a function of yx\dfrac{y}{x} alone.
  • log⁡y−log⁡x=log⁡yx\log y - \log x = \log\dfrac{y}{x} is a function of yx\dfrac{y}{x}.
  • In the form M dx+N dy=0M\,dx + N\,dy = 0: homogeneous when M and N are homogeneous functions of the same degree.

Degree zero test

F(λx,λy)=λ0F(x,y)=F(x,y)F(\lambda x, \lambda y) = \lambda^0 F(x, y) = F(x, y)

Worked example

Show that dydx=3x2+y2xy\dfrac{dy}{dx} = \dfrac{3x^2 + y^2}{xy} is a homogeneous differential equation.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2024 · 65/2/1 · Q7Easy

Example 1 · Differential Equations · Homogeneous Differential Equations

The differential equation dydx=F(x,y)\dfrac{dy}{dx} = F(x, y) will not be a homogeneous differential equation, if F(x, y) is :

Homogeneous of degree 1 is not enough

dydx=3x+2y\dfrac{dy}{dx} = 3x + 2y has a right side homogeneous of degree 1. The equation needs degree ZERO, so it is not a homogeneous differential equation.

Missing a stand-alone function of x

tan⁡x+yx\tan x + \dfrac{y}{x} is not a function of yx\dfrac{y}{x} alone: tan⁡(λx)≠tan⁡x\tan(\lambda x) \neq \tan x. Check every term, not just the one with yx\dfrac{y}{x}.

Concept 2 of 4: Solving with y = vx

Since the right side is a function of y/x, give that ratio its own name, v. Then y = vx, and the product rule gives dy/dx = v + x dv/dx. The equation becomes one in v and x that separates.

Definition

  • Put y=vxy = vx; then dydx=v+xdvdx\dfrac{dy}{dx} = v + x\dfrac{dv}{dx}.
  • Write the right side as g(v)g(v): divide the top and bottom by the highest power of x.
  • v+xdvdx=g(v)v + x\dfrac{dv}{dx} = g(v) gives xdvdx=g(v)−vx\dfrac{dv}{dx} = g(v) - v.
  • Separate: dvg(v)−v=dxx\dfrac{dv}{g(v) - v} = \dfrac{dx}{x}, and integrate both sides.
  • Replace v by yx\dfrac{y}{x} at the end and simplify; a log⁡∣x∣\log|x| often cancels.
  • For a particular solution, use the condition after you have replaced v.

The substitution

y=vx,dydx=v+xdvdxy = vx, \qquad \dfrac{dy}{dx} = v + x\dfrac{dv}{dx}

Worked example

Find the general solution of 2xy dydx=x2+3y22xy\,\dfrac{dy}{dx} = x^2 + 3y^2.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2024 · 65/1/2 · Q27Moderate

Example 2 · Differential Equations · Homogeneous Differential Equations

Find the general solution of the differential equation dydx=x2+y22xy\frac{dy}{dx} = \frac{x^2 + y^2}{2xy}.

Writing dv/dx for dy/dx

With y=vxy = vx, dydx=v+xdvdx\dfrac{dy}{dx} = v + x\dfrac{dv}{dx} by the product rule. Writing just dvdx\dfrac{dv}{dx} loses the v that should cancel.

Leaving the answer in v

The question is in x and y. Replace v by yx\dfrac{y}{x} and simplify; the last mark is for the answer in x and y.

A sign slip in g(v) − v

Subtract v from the WHOLE right side: v2−12v−v=−(1+v2)2v\dfrac{v^2 - 1}{2v} - v = \dfrac{-(1 + v^2)}{2v}. A slip here changes x2+y2x^2 + y^2 into x2−y2x^2 - y^2.

Concept 3 of 4: y/x inside a sine, cosine, exponential or logarithm

Many board questions have the shape dy/dx = y/x + f(y/x). With y = vx the two v terms cancel at once, leaving x dv/dx = f(v), which separates straight away. The work is in the integral of 1/f(v) and in using the condition.

Definition

  • Divide by x to get the form dydx=yx+f(yx)\dfrac{dy}{dx} = \dfrac{y}{x} + f\left(\dfrac{y}{x}\right).
  • With y=vxy = vx: v+xdvdx=v+f(v)v + x\dfrac{dv}{dx} = v + f(v), so xdvdx=f(v)x\dfrac{dv}{dx} = f(v) and dvf(v)=dxx\dfrac{dv}{f(v)} = \dfrac{dx}{x}.
  • Integrals you will need: ∫sec⁡2v dv=tan⁡v\displaystyle\int \sec^2 v\,dv = \tan v, ∫cosec2v dv=−cot⁡v\displaystyle\int \text{cosec}^2 v\,dv = -\cot v, ∫cosec v dv=log⁡∣cosec v−cot⁡v∣\displaystyle\int \text{cosec}\,v\,dv = \log|\text{cosec}\,v - \cot v|, ∫cot⁡v dv=log⁡∣sin⁡v∣\displaystyle\int \cot v\,dv = \log|\sin v|, ∫e−v dv=−e−v\displaystyle\int e^{-v}\,dv = -e^{-v}.
  • For log⁡y−log⁡x\log y - \log x, write log⁡v\log v; ∫dvvlog⁡v=log⁡∣log⁡v∣\displaystyle\int \dfrac{dv}{v\log v} = \log|\log v|.
  • With a condition at x=1x = 1: log⁡1=0\log 1 = 0, so C equals the value of the trigonometric or exponential term at the given y.

When the v terms cancel

dydx=yx+f(yx)  ⇒  ∫dvf(v)=log⁡∣x∣+C\dfrac{dy}{dx} = \dfrac{y}{x} + f\left(\dfrac{y}{x}\right) \;\Rightarrow\; \int \dfrac{dv}{f(v)} = \log|x| + C

Worked example

Find the particular solution of xdydx=y−xtan⁡(yx)x\dfrac{dy}{dx} = y - x\tan\left(\dfrac{y}{x}\right), given that y=π2y = \dfrac{\pi}{2} when x=1x = 1.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2025 · 65/5/2 · Q28Hard

Example 3 · Differential Equations · Homogeneous Differential Equations

Find the particular solution of the differential equation dydx−yx+cosec⁡(yx)=0\dfrac{dy}{dx} - \dfrac{y}{x} + \operatorname{cosec}\left(\dfrac{y}{x}\right) = 0; given that y=0y = 0, when x=1x = 1.

Integrating cosec v as −cot v

∫cosec v dv=log⁡∣cosec v−cot⁡v∣\displaystyle\int \text{cosec}\,v\,dv = \log|\text{cosec}\,v - \cot v|. It is cosec2v\text{cosec}^2 v that integrates to −cot⁡v-\cot v.

A sign lost in the integral of sin v

∫(−sin⁡v) dv=cos⁡v\displaystyle\int (-\sin v)\,dv = \cos v. Dropping the sign turns the answer into a different curve, and the condition then gives the wrong C.

Using y instead of y/x in the condition

At x=1x = 1 the ratio yx\dfrac{y}{x} equals y, but at x=2x = 2 it is y2\dfrac{y}{2}. Always work out yx\dfrac{y}{x} at the given point.

Concept 4 of 4: The dx/dy form: put x = vy

When the ratio that keeps appearing is x/y, as in e to the power x/y, or when dx carries the simpler coefficient, treat x as the dependent variable. The same method works with the roles of x and y swapped.

Definition

  • If the equation is dxdy=F(x,y)=h(xy)\dfrac{dx}{dy} = F(x, y) = h\left(\dfrac{x}{y}\right), with F homogeneous of degree zero, put x=vyx = vy.
  • Then dxdy=v+ydvdy\dfrac{dx}{dy} = v + y\dfrac{dv}{dy}.
  • ydvdy=h(v)−vy\dfrac{dv}{dy} = h(v) - v; separate in v and y, and integrate.
  • Replace v by xy\dfrac{x}{y} at the end.
  • Signs that this is the better route: xy\dfrac{x}{y} inside an exponential, or the equation already given as dxdy\dfrac{dx}{dy}.

The x = vy substitution

x=vy,dxdy=v+ydvdyx = vy, \qquad \dfrac{dx}{dy} = v + y\dfrac{dv}{dy}

Worked example

Solve y dx=(x+y exy)dyy\,dx = \left(x + y\,e^{\frac{x}{y}}\right)dy.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2023 · 65/1/2 · 26 (a)Moderate

Example 4 · Differential Equations · Homogeneous Differential Equations

Find the general solution of the differential equation : dxdy=ex/y(xy−1)1+ex/y\frac{dx}{dy} = \frac{e^{x/y}\left(\frac{x}{y} - 1\right)}{1 + e^{x/y}}.

Using y = vx on a dx/dy equation

For dxdy=h(xy)\dfrac{dx}{dy} = h\left(\dfrac{x}{y}\right), y=vxy = vx leaves the variables mixed. Put x=vyx = vy so that y stays the independent variable.

Writing dx/dy = v + x dv/dx

With x=vyx = vy, differentiate with respect to y: dxdy=v+ydvdy\dfrac{dx}{dy} = v + y\dfrac{dv}{dy}.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (4)

  • Is it homogeneous? The degree zero test

    Degree zero test

    F(λx,λy)=λ0F(x,y)=F(x,y)F(\lambda x, \lambda y) = \lambda^0 F(x, y) = F(x, y)
  • Solving with y = vx

    The substitution

    y=vx,dydx=v+xdvdxy = vx, \qquad \dfrac{dy}{dx} = v + x\dfrac{dv}{dx}
  • y/x inside a sine, cosine, exponential or logarithm

    When the v terms cancel

    dydx=yx+f(yx)  ⇒  ∫dvf(v)=log⁡∣x∣+C\dfrac{dy}{dx} = \dfrac{y}{x} + f\left(\dfrac{y}{x}\right) \;\Rightarrow\; \int \dfrac{dv}{f(v)} = \log|x| + C
  • The dx/dy form: put x = vy

    The x = vy substitution

    x=vy,dxdy=v+ydvdyx = vy, \qquad \dfrac{dx}{dy} = v + y\dfrac{dv}{dy}

Watch out for (10)

Test yourself on Differential Equations

20 past CBSE Class 12 questions from this chapter, timed at 30 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.