Skip to content
Exercise 9.4 · Q6

Q.Solve the following differential equation: xdy−ydx=x2+y2dxx dy - y dx = \sqrt{x^2 + y^2} dx

Yanam BieapTextbookSubjective· 3mImportance★★★★★
Appeared in past exams:AP EAPCET 2024· Set eng-2024-05-22-FN· 1mexact
32% · 71/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. Substituting y=vxy = vx reduces it to a separable form. The general solution is y+x2+y2=Cx2y + \sqrt{x^2 + y^2} = C x^2.


1. Why this is a homogeneous equation

A first-order differential equation is called homogeneous if it can be written in the form

dydx=F(yx)\frac{dy}{dx} = F\left(\frac{y}{x}\right).

Here, the given equation is:

x dy−y dx=x2+y2 dxx\,dy - y\,dx = \sqrt{x^2 + y^2}\,dx

Divide through by dxdx:

xdydx−y=x2+y2x \frac{dy}{dx} - y = \sqrt{x^2 + y^2}

So

dydx=y+x2+y2x\frac{dy}{dx} = \frac{y + \sqrt{x^2 + y^2}}{x}

The right-hand side depends only on y/xy/x because:

y+x2+y2x=yx+1+(yx)2\frac{y + \sqrt{x^2 + y^2}}{x} = \frac{y}{x} + \sqrt{1 + \left(\frac{y}{x}\right)^2}

That’s exactly F(y/x)F(y/x). So the substitution y=vxy = vx will work.

Tip

Always check homogeneity by rewriting the RHS in terms of v=y/xv = y/x. If you can, the substitution is valid.


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}

Plug into the equation:

v+xdvdx=vx+x2+v2x2xv + x\frac{dv}{dx} = \frac{vx + \sqrt{x^2 + v^2 x^2}}{x}

Simplify the RHS:

v+xdvdx=v+1+v2v + x\frac{dv}{dx} = v + \sqrt{1 + v^2}

Cancel vv from both sides:

xdvdx=1+v2x\frac{dv}{dx} = \sqrt{1 + v^2}


3. Separate variables

Now we have a separable equation:

dv1+v2=dxx\frac{dv}{\sqrt{1 + v^2}} = \frac{dx}{x}

Integrate both sides.

∫dv1+v2=sinh⁡−1vorlog⁡(v+1+v2)+C\int \frac{dv}{\sqrt{1 + v^2}} = \sinh^{-1} v \quad \text{or} \quad \log\left(v + \sqrt{1 + v^2}\right) + C

We’ll use the logarithmic form because it’s more convenient later.


4. Integrate

Left side:

∫dv1+v2=log⁡(v+1+v2)\int \frac{dv}{\sqrt{1 + v^2}} = \log\left(v + \sqrt{1 + v^2}\right)

Right side:

∫dxx=log⁡∣x∣+log⁡C\int \frac{dx}{x} = \log|x| + \log 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.