Skip to content
Exercise 9.4 · Q9

Q.Solve the following differential equation: ydx+xlog⁡(yx)dy−2xdy=0y dx + x \log \left(\frac{y}{x}\right) dy - 2x dy = 0

Punjab PsebTextbookSubjective· 3mImportance★★★★★
33% · 74/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 →

The equation is homogeneous; y=vxy=vx separates it, and the general solution is y=k[log⁡(y/x)−1]y=k\left[\log(y/x)-1\right].

Why homogeneous

Write it as M dx+N dy=0M\,dx+N\,dy=0 with

M=y,N=xlog⁡ ⁣(yx)−2x.M=y,\qquad N=x\log\!\left(\frac{y}{x}\right)-2x.

Every term is degree 1 in x,yx,y, so the equation is homogeneous and y=vxy=vx will separate it.

Substitute y=vxy=vx

With dy=v dx+x dvdy=v\,dx+x\,dv and log⁡(y/x)=log⁡v\log(y/x)=\log v,

vx dx+x(log⁡v−2)(v dx+x dv)=0.vx\,dx+x(\log v-2)(v\,dx+x\,dv)=0.

Divide by xx:

v dx+v(log⁡v−2) dx+x(log⁡v−2) dv=0.v\,dx+v(\log v-2)\,dx+x(\log v-2)\,dv=0.

Collect the dxdx terms: v[1+log⁡v−2]=v(log⁡v−1)v[1+\log v-2]=v(\log v-1), so

v(log⁡v−1) dx+x(log⁡v−2) dv=0.v(\log v-1)\,dx+x(\log v-2)\,dv=0.

Separate

Divide by x v(log⁡v−1)x\,v(\log v-1):

dxx+log⁡v−2v(log⁡v−1) dv=0.\frac{dx}{x}+\frac{\log v-2}{v(\log v-1)}\,dv=0.

Integrate

For the second term put t=log⁡vt=\log v, dt=dvvdt=\dfrac{dv}{v}:

∫t−2t−1 dt=∫(1−1t−1)dt=t−log⁡∣t−1∣.\int\frac{t-2}{t-1}\,dt=\int\left(1-\frac{1}{t-1}\right)dt=t-\log|t-1|.

Hence

log⁡∣x∣+log⁡v−log⁡∣log⁡v−1∣=C.\log|x|+\log v-\log|\log v-1|=C.

Return to x,yx,y

With v=yxv=\dfrac{y}{x}, note log⁡∣x∣+log⁡v=log⁡∣x∣+log⁡∣y∣−log⁡∣x∣=log⁡∣y∣\log|x|+\log v=\log|x|+\log|y|-\log|x|=\log|y|, so …

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.