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

If $\frac{dy}{dx} = f(x, y)$ is a homogeneous differential equation,then the general form of $f(x, y)$ is

The solution of the differential equation $(3xy + y^2)dx + (x^2 + xy)dy = 0$ is

Find the particular solution satisfying the given condition:
$x^{2} dy + (xy + y^{2}) dx = 0$; $y = 1$ where $x = 1$.

Difficult
View Solution

The substitution $y = z^{\alpha}$ transforms the differential equation $(x^2y^2 - 1)dy + 2xy^3dx = 0$ into a homogeneous differential equation for

$A$ bag contains $5$ red balls and $3$ green balls. $A$ ball is selected at random and not replaced. $A$ second ball is then selected. The probability of selecting one red ball and one green ball is

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