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 the differential equation $(x^2+y^2) dx - 5xy dy = 0$,$y(1)=0$,is :

If $P(A') = 0.6$,$P(B) = 0.8$,and $P(B/A) = 0.3$,then $P(A/B) = $

The solution of the differential equation $x^2 \frac{dy}{dx} = x^2 + xy + y^2$ is

Find the particular solution satisfying the given condition: $2xy + y^2 - 2x^2 \frac{dy}{dx} = 0$; $y = 2$ when $x = 1$.

Difficult
View Solution

The general solution of the differential equation $(x+y) y dx + (y-x) x dy = 0$ 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