Skip to content
Exercise 9.4 · Q11

Q.Solve the following differential equation: (x+y)dy+(x−y)dx=0;y=1(x + y) dy + (x - y) dx = 0; y = 1 when x=1x = 1

Telangana TsbieTextbookSubjective· 3mImportance★★★★★
Appeared in past exams:MHT-CET 2021· Set pcm-2021-09-23-M· 2mexact
34% · 76/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 solved by substituting y=vxy = vx, separating variables, and integrating. The particular solution satisfying y(1)=1y(1)=1 is log⁡(x2+y2)+2tan⁡−1(yx)=log⁡2+π2\boxed{\log(x^2 + y^2) + 2\tan^{-1}\left(\frac{y}{x}\right) = \log 2 + \frac{\pi}{2}}.

Why the homogeneous approach works

When you see a differential equation where every term in dxdx and dydy has the same total degree — here, both (x+y)(x+y) and (x−y)(x-y) are degree 1 — you're looking at a homogeneous equation. The key insight: if you divide numerator and denominator by xx (or yy), the equation becomes a function of the ratio y/xy/x alone. That means we can set y=vxy = vx, turning the problem into a separable one in vv and xx.

This is powerful because it reduces a two-variable mess into a single-variable integration.


Step-by-step solution

1. Rewrite the equation in standard form

We have:

(x+y)dy+(x−y)dx=0(x + y) dy + (x - y) dx = 0

Bring the dxdx term to the other side:

(x+y)dy=−(x−y)dx(x + y) dy = -(x - y) dx

So:

dydx=−x−yx+y\frac{dy}{dx} = -\frac{x - y}{x + y}

This confirms homogeneity: the right-hand side is a function of y/xy/x only.

2. Substitute y=vxy = vx

Let y=vxy = vx, where vv is a function of xx. Then:

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

Substitute into the equation:

v+xdvdx=−x−vxx+vx=−x(1−v)x(1+v)=−1−v1+vv + x\frac{dv}{dx} = -\frac{x - vx}{x + vx} = -\frac{x(1 - v)}{x(1 + v)} = -\frac{1 - v}{1 + v}

3. Separate variables

Bring vv to the right:

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

Combine the terms on the right:

−1−v1+v−v=−1−v+v(1+v)1+v=−1−v+v+v21+v=−1+v21+v-\frac{1 - v}{1 + v} - v = -\frac{1 - v + v(1 + v)}{1 + v} = -\frac{1 - v + v + v^2}{1 + v} = -\frac{1 + v^2}{1 + v}

So:

xdvdx=−1+v21+vx\frac{dv}{dx} = -\frac{1 + v^2}{1 + v}

Now separate:

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

4. Integrate both sides

Left side:

∫1+v1+v2 dv=∫11+v2 dv+∫v1+v2 dv\int \frac{1 + v}{1 + v^2} \, dv = \int \frac{1}{1 + v^2} \, dv + \int \frac{v}{1 + v^2} \, dv

The first integral is tan⁡−1v\tan^{-1} v. For the second, let u=1+v2u = 1 + v^2, so du=2v dvdu = 2v \, dv, giving 12log⁡∣1+v2∣\frac{1}{2} \log|1 + v^2|.

Thus:

tan⁡−1v+12log⁡(1+v2)=−log⁡∣x∣+C\tan^{-1} v + \frac{1}{2} \log(1 + v^2) = -\log|x| + C

5. Back-substitute v=y/xv = y/x

Recall v=y/xv = y/x, so 1+v2=1+y2x2=x2+y2x21 + v^2 = 1 + \frac{y^2}{x^2} = \frac{x^2 + y^2}{x^2}.

Then:

tan⁡−1(yx)+12log⁡(x2+y2x2)=−log⁡∣x∣+C\tan^{-1}\left(\frac{y}{x}\right) + \frac{1}{2} \log\left(\frac{x^2 + y^2}{x^2}\right) = -\log|x| + C

Simplify the log term:

12log⁡(x2+y2x2)=12log⁡(x2+y2)−12log⁡(x2)=12log⁡(x2+y2)−log⁡∣x∣\frac{1}{2} \log\left(\frac{x^2 + y^2}{x^2}\right) = \frac{1}{2} \log(x^2 + y^2) - \frac{1}{2} \log(x^2) = \frac{1}{2} \log(x^2 + y^2) - \log|x|

Plugging back:

tan⁡−1(yx)+12log⁡(x2+y2)−log⁡∣x∣=−log⁡∣x∣+C\tan^{-1}\left(\frac{y}{x}\right) + \frac{1}{2} \log(x^2 + y^2) - \log|x| = -\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.