Skip to content
Exercise 9.4 · Q4

Q.Solve the following differential equation: (x2−y2)dx+2xydy=0(x^2 - y^2) dx + 2xy dy = 0

Dnh Dd CbseNCERTSubjective· 3mImportance★★★★★
31% · 69/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 — the substitution y=vxy = vx (or x=vyx = vy) turns it into a separable equation. The general solution is x2+y2=Cxx^2 + y^2 = Cx.


1. Recognising the type

Look at the equation:

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

Every term in dxdx and dydy is a polynomial of degree 2. That’s the hallmark of a homogeneous differential equation: the coefficients of dxdx and dydy are homogeneous functions of the same degree.

When you see that, the standard trick is to set y=vxy = vx (or x=vyx = vy). Why? Because then every term becomes a function of vv times a power of xx, and the xx factors cancel beautifully, leaving a separable equation in vv and xx.

A first-order DE M(x,y) dx+N(x,y) dy=0M(x,y)\,dx + N(x,y)\,dy = 0 is homogeneous if M(tx,ty)=tnM(x,y)M(tx,ty) = t^n M(x,y) and N(tx,ty)=tnN(x,y)N(tx,ty) = t^n N(x,y).

Substitute y=vxy = vx (so dy=v dx+x dvdy = v\,dx + x\,dv) to reduce it to a separable equation.


2. Substituting y=vxy = vx

Let y=vxy = vx. Then dy=v dx+x dvdy = v\,dx + x\,dv.

Plug into the equation:

(x2−(vx)2) dx+2x(vx) (v dx+x dv)=0(x^2 - (vx)^2)\,dx + 2x(vx)\,(v\,dx + x\,dv) = 0

Simplify each piece:

  • x2−v2x2=x2(1−v2)x^2 - v^2 x^2 = x^2(1 - v^2)
  • 2x(vx)=2vx22x(vx) = 2vx^2

So the equation becomes:

x2(1−v2) dx+2vx2 (v dx+x dv)=0x^2(1 - v^2)\,dx + 2vx^2\,(v\,dx + x\,dv) = 0

Factor x2x^2 out of both terms:

x2[(1−v2) dx+2v(v dx+x dv)]=0x^2\Big[(1 - v^2)\,dx + 2v(v\,dx + x\,dv)\Big] = 0

Since x2≠0x^2 \neq 0 (we can handle x=0x=0 separately later), we divide through by x2x^2:

(1−v2) dx+2v2 dx+2vx dv=0(1 - v^2)\,dx + 2v^2\,dx + 2vx\,dv = 0

Combine the dxdx terms:

(1−v2+2v2) dx+2vx dv=0(1 - v^2 + 2v^2)\,dx + 2vx\,dv = 0

(1+v2) dx+2vx dv=0(1 + v^2)\,dx + 2vx\,dv = 0


3. Separating variables

Now we have a separable equation:

(1+v2) dx=−2vx dv(1 + v^2)\,dx = -2vx\,dv

Divide both sides by x(1+v2)x(1+v^2) (assuming x≠0x \neq 0):

dxx=−2v1+v2 dv\frac{dx}{x} = -\frac{2v}{1+v^2}\,dv

Tip

The right-hand side is set up perfectly for a uu-substitution: let u=1+v2u = 1+v^2, then du=2v dvdu = 2v\,dv. That’s exactly the numerator.


4. Integrating both sides

Integrate:

∫dxx=−∫2v1+v2 dv\int \frac{dx}{x} = -\int \frac{2v}{1+v^2}\,dv

The left side gives log⁡∣x∣\log|x|. For the right side, use the substitution u=1+v2u = 1+v^2, du=2v dvdu = 2v\,dv:

∫2v1+v2 dv=∫duu=log⁡∣u∣=log⁡(1+v2)\int \frac{2v}{1+v^2}\,dv = \int \frac{du}{u} = \log|u| = \log(1+v^2)

(Since 1+v2>01+v^2 > 0, we can drop the absolute value.)

So we have:

log⁡∣x∣=−log⁡(1+v2)+log⁡∣C∣\log|x| = -\log(1+v^2) + \log|C|

where log⁡∣C∣\log|C| is the constant of integration (written as log⁡∣C∣\log|C| for convenience).

Combine the logs:

log⁡∣x∣=log⁡∣C1+v2∣\log|x| = \log\left|\frac{C}{1+v^2}\right|

Exponentiate both sides:

∣x∣=∣C∣1+v2|x| = \frac{|C|}{1+v^2} …

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.