Skip to content
Exercise: Homogeneous Differential Eq... · Q18

Q.Solve the differential equation dydx=yx+xy\dfrac{dy}{dx} = \dfrac{y}{x} + \dfrac{x}{y}.

West Bengal WbchseTextbookSubjectiveImportance★★★★★
42% · 21/50 Questions
✓ Free question

dydx=yx+xy=v+1v\dfrac{dy}{dx}=\dfrac{y}{x}+\dfrac{x}{y} = v+\dfrac1v (a function of v=y/xv=y/x alone), so the equation is homogeneous. Substitute y=vxy=vx, dydx=v+xdvdx\dfrac{dy}{dx}=v+x\dfrac{dv}{dx}:

v+xdvdx=v+1v  ⟹  xdvdx=1v  ⟹  v dv=dxx.v+x\frac{dv}{dx} = v+\frac1v \implies x\frac{dv}{dx}=\frac1v \implies v\,dv = \frac{dx}{x}.

Integrating: v22=ln⁡∣x∣+C1  ⟹  v2=2ln⁡∣x∣+C\dfrac{v^2}{2}=\ln|x|+C_1 \implies v^2 = 2\ln|x|+C. Substituting v=y/xv=y/x:

y2x2=2ln⁡∣x∣+C  ⟹  y2=x2(2ln⁡∣x∣+C).\frac{y^2}{x^2} = 2\ln|x|+C \implies y^2 = x^2(2\ln|x|+C).

Verification. Differentiating y2=x2(2ln⁡x+C)y^2=x^2(2\ln x+C) (taking x>0x>0): 2yy′=2x(2ln⁡x+C)+x2⋅2x=2x(2ln⁡x+C)+2x=2x(2ln⁡x+C+1)2yy' = 2x(2\ln x+C)+x^2\cdot\dfrac2x = 2x(2\ln x+C)+2x = 2x(2\ln x+C+1). So y′=x(2ln⁡x+C+1)yy'=\dfrac{x(2\ln x+C+1)}{y}. From the solution, y2+x2=x2(2ln⁡x+C+1)y^2+x^2=x^2(2\ln x+C+1), so y2+x2xy=x(2ln⁡x+C+1)y=y′\dfrac{y^2+x^2}{xy}=\dfrac{x(2\ln x+C+1)}{y}=y' -- and y2+x2xy=yx+xy\dfrac{y^2+x^2}{xy}=\dfrac{y}{x}+\dfrac{x}{y}, matching the original equation.

✓Final answer

y2=x2(2ln⁡∣x∣+C)y^2 = x^2(2\ln|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.