Skip to content
Exercise 9.4 · Q1

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

Yanam CbseNCERTSubjective· 3mImportance★★★★★
30% · 66/222 Questions
✓ Free question

Homogeneous DE; with y=vxy=vx it separates to 1+v1−v dv=dxx\frac{1+v}{1-v}\,dv=\frac{dx}{x}, giving (x−y)2=Cx e−y/x(x-y)^2=Cx\,e^{-y/x}.

1. Recognise homogeneity

dydx=x2+y2x2+xy.\frac{dy}{dx}=\frac{x^2+y^2}{x^2+xy}.

Numerator and denominator are both degree 22, so dividing through by x2x^2 makes the right side depend only on v=y/xv=y/x:

dydx=1+v21+v.\frac{dy}{dx}=\frac{1+v^2}{1+v}.

2. Substitute y=vxy=vx

Then dydx=v+xdvdx\frac{dy}{dx}=v+x\frac{dv}{dx}, so

v+xdvdx=1+v21+v.v+x\frac{dv}{dx}=\frac{1+v^2}{1+v}.

3. Reduce to separable form

xdvdx=1+v21+v−v=1+v2−v−v21+v=1−v1+v.x\frac{dv}{dx}=\frac{1+v^2}{1+v}-v=\frac{1+v^2-v-v^2}{1+v}=\frac{1-v}{1+v}.

So

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

4. Integrate

Write 1+v1−v=−1+21−v\dfrac{1+v}{1-v}=-1+\dfrac{2}{1-v}:

∫(−1+21−v)dv=∫dxx  ⇒  −v−2log⁡∣1−v∣=log⁡∣x∣+C.\int\left(-1+\frac{2}{1-v}\right)dv=\int\frac{dx}{x}\;\Rightarrow\;-v-2\log|1-v|=\log|x|+C.

5. Return to x,yx,y

With v=yxv=\frac{y}{x} and 1−v=x−yx1-v=\frac{x-y}{x}:

−yx−2log⁡∣x−yx∣=log⁡∣x∣+C.-\frac{y}{x}-2\log\left|\frac{x-y}{x}\right|=\log|x|+C.

Collecting logarithms, −yx−2log⁡∣x−y∣+2log⁡∣x∣=log⁡∣x∣+C-\frac{y}{x}-2\log|x-y|+2\log|x|=\log|x|+C, i.e. log⁡∣x∣(x−y)2=yx+C\log\dfrac{|x|}{(x-y)^2}=\dfrac{y}{x}+C. Exponentiating,

(x−y)2=C x e−y/x.(x-y)^2=C\,x\,e^{-y/x}.

Check: differentiating (x−y)2=Cx e−y/x(x-y)^2=Cx\,e^{-y/x} implicitly and simplifying returns y′=x2+y2x2+xyy'=\dfrac{x^2+y^2}{x^2+xy}, the original equation.

✓Final answer

(x−y)2=C x e−y/x(x-y)^2=C\,x\,e^{-y/x}, equivalently −yx−2log⁡∣1−yx∣=log⁡∣x∣+C-\dfrac{y}{x}-2\log\left|1-\dfrac{y}{x}\right|=\log|x|+C.

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.