Show that the differential equation $(x-y) \frac{dy}{dx} = x+2y$ is homogeneous and solve it.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) The given differential equation can be expressed as
$\frac{dy}{dx} = \frac{x+2y}{x-y}$ ............$(1)$
Let $F(x, y) = \frac{x+2y}{x-y}$.
Now $F(\lambda x, \lambda y) = \frac{\lambda(x+2y)}{\lambda(x-y)} = \lambda^0 \cdot F(x, y)$.
Therefore,$F(x, y)$ is a homogeneous function of degree zero. So,the given differential equation is a homogeneous differential equation.
Alternatively,
$\frac{dy}{dx} = \frac{1+2(y/x)}{1-(y/x)} = g(y/x)$ .............$(2)$
Since the $R.H.S.$ is a function of $y/x$,it is a homogeneous function of degree zero.
To solve it,we make the substitution $y = vx$ ...........$(3)$
Differentiating with respect to $x$,we get $\frac{dy}{dx} = v + x \frac{dv}{dx}$ ...........$(4)$
Substituting $(3)$ and $(4)$ into $(1)$:
$v + x \frac{dv}{dx} = \frac{1+2v}{1-v}$
$x \frac{dv}{dx} = \frac{1+2v}{1-v} - v = \frac{1+2v-v+v^2}{1-v} = \frac{v^2+v+1}{1-v}$
$\frac{v-1}{v^2+v+1} dv = -\frac{dx}{x}$
Integrating both sides:
$\int \frac{v-1}{v^2+v+1} dv = -\int \frac{dx}{x}$
$\frac{1}{2} \int \frac{2v+1-3}{v^2+v+1} dv = -\log|x| + C_1$
$\frac{1}{2} \log|v^2+v+1| - \frac{3}{2} \int \frac{1}{(v+1/2)^2 + (\sqrt{3}/2)^2} dv = -\log|x| + C_1$
$\frac{1}{2} \log|v^2+v+1| - \frac{3}{2} \cdot \frac{2}{\sqrt{3}} \tan^{-1}\left(\frac{2v+1}{\sqrt{3}}\right) = -\log|x| + C_1$
$\frac{1}{2} \log|v^2+v+1| + \log|x| = \sqrt{3} \tan^{-1}\left(\frac{2v+1}{\sqrt{3}}\right) + C_1$
$\frac{1}{2} \log|x^2(v^2+v+1)| = \sqrt{3} \tan^{-1}\left(\frac{2v+1}{\sqrt{3}}\right) + C_1$
Substituting $v = y/x$:
$\log|x^2+xy+y^2| = 2\sqrt{3} \tan^{-1}\left(\frac{2y+x}{\sqrt{3}x}\right) + C$.

Explore More

Similar Questions

The solution of $\frac{dy}{dx} = \frac{y}{x} + \tan \frac{y}{x}$ is

The solution of $x \frac{d y}{d x} = y(\log y - \log x + 1)$ is

Show that the given differential equation is homogeneous and solve it:
$y \, dx + x \log \left(\frac{y}{x}\right) dy - 2x \, dy = 0$

Difficult
View Solution

The integral curve satisfying $y' = \frac{x^2 + y^2}{x^2 - y^2}$ with $y(1) = 2$ has a slope at the point $(1, 0)$ equal to:

Find the particular solution satisfying the given condition: $\left[x \sin ^{2}\left(\frac{y}{x}\right)-y\right] d x+x d y=0$; $y=\frac{\pi}{4}$ when $x=1$.

Difficult
View Solution

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo