Skip to content
NCERT Exemplar · Q18

Q.Find the general solution of y2 dx+(x2−xy+y2) dy=0y^2\,dx+(x^2-xy+y^2)\,dy=0.

Uttar Pradesh UpmspShort· 3mImportance★★★★★
62% · 138/222 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

This is a homogeneous differential equation. Substituting x=vyx = vy (or y=uxy = ux) reduces it to a separable form. The general solution is tan⁡−1(xy)=log⁡∣y∣+C\boxed{\tan^{-1}\left(\frac{x}{y}\right) = \log|y| + C}.

The key is recognising the structure of the equation. When you see terms like y2 dxy^2\,dx, x2 dyx^2\,dy, and xy dyxy\,dy, the degrees of each term are the same — every term is of degree 2. That’s the hallmark of a homogeneous differential equation.

For a homogeneous equation, the standard trick is to substitute x=vyx = vy (or y=uxy = ux). Why? Because it turns the equation into one where variables separate cleanly. Here, since the dydy term has more structure, substituting x=vyx = vy works smoothly.

Let’s go through it step by step.

  1. Rewrite the equation The given equation is:

y2 dx+(x2−xy+y2) dy=0y^2\,dx + (x^2 - xy + y^2)\,dy = 0

We can write it as:

y2 dx=−(x2−xy+y2) dyy^2\,dx = -(x^2 - xy + y^2)\,dy

Or equivalently:

dxdy=−x2−xy+y2y2\frac{dx}{dy} = -\frac{x^2 - xy + y^2}{y^2}

  1. Substitute x=vyx = vy Let x=vyx = v y, where vv is a function of yy. Then:

dxdy=v+ydvdy\frac{dx}{dy} = v + y\frac{dv}{dy}

Substitute into the equation:

v+ydvdy=−(vy)2−(vy)y+y2y2v + y\frac{dv}{dy} = -\frac{(v y)^2 - (v y)y + y^2}{y^2}

  1. Simplify the right-hand side Compute the numerator:

(v2y2)−(vy2)+y2=y2(v2−v+1)(v^2 y^2) - (v y^2) + y^2 = y^2(v^2 - v + 1)

Dividing by y2y^2 gives:

−y2(v2−v+1)y2=−(v2−v+1)-\frac{y^2(v^2 - v + 1)}{y^2} = -(v^2 - v + 1)

So the equation becomes:

v+ydvdy=−(v2−v+1)v + y\frac{dv}{dy} = -(v^2 - v + 1)

  1. Separate variables Bring vv to the right:

ydvdy=−(v2−v+1)−v=−(v2−v+1+v)=−(v2+1)y\frac{dv}{dy} = -(v^2 - v + 1) - v = -(v^2 - v + 1 + v) = -(v^2 + 1)

So:

ydvdy=−(v2+1)y\frac{dv}{dy} = -(v^2 + 1)

Now separate:

dvv2+1=−dyy\frac{dv}{v^2 + 1} = -\frac{dy}{y}

  1. Integrate both sides The left integral is standard:

∫dvv2+1=tan⁡−1(v)\int \frac{dv}{v^2 + 1} = \tan^{-1}(v)

The right integral:

−∫dyy=−log⁡∣y∣+C-\int \frac{dy}{y} = -\log|y| + C

So:

tan⁡−1(v)=−log⁡∣y∣+C\tan^{-1}(v) = -\log|y| + C

  1. Back-substitute v=x/yv = x/y Replace vv: …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.