Skip to content
Question

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

(OR)
Solve the differential equation: (1+x2) dy+2xy dx=cot⁡x dx(1 + x^2)\, dy + 2xy\, dx = \cot x\, dx.
CBSECBSE Class XII Board 2019Subjective· 4mImportance★★★★★
🔒 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 →

Part (a): homogeneous DE gives tan⁡−1yx=12ln⁡(x2+y2)+C\tan^{-1}\frac yx=\frac12\ln(x^2+y^2)+C. Part (b): linear DE with IF 1+x21+x^2 gives y(1+x2)=ln⁡∣sin⁡x∣+Cy(1+x^2)=\ln|\sin x|+C.

Part (a)

The RHS is a ratio homogeneous of degree 00 in x,yx,y, so substitute y=vxy=vx.

  1. Substitute. With dydx=v+xdvdx\dfrac{dy}{dx}=v+x\dfrac{dv}{dx}:

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

  1. Separate.

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

  1. Integrate.

∫dv1+v2−∫v dv1+v2=∫dxx ⇒ tan⁡−1v−12ln⁡(1+v2)=ln⁡∣x∣+C.\int\frac{dv}{1+v^2}-\int\frac{v\,dv}{1+v^2}=\int\frac{dx}{x}\ \Rightarrow\ \tan^{-1}v-\tfrac12\ln(1+v^2)=\ln|x|+C.

  1. Back-substitute v=yxv=\dfrac yx and simplify 12ln⁡x2+y2x2=12ln⁡(x2+y2)−ln⁡∣x∣\tfrac12\ln\frac{x^2+y^2}{x^2}=\tfrac12\ln(x^2+y^2)-\ln|x|; the ln⁡∣x∣\ln|x| terms cancel: …

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.