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{d y}{d x}=\frac{y^2}{x y-x^2}$ is

The solution of the differential equation $x \, dy - y \, dx = \sqrt{x^2 + y^2} \, dx$ is

The general solution of $y^2 dx + (x^2 - xy + y^2) dy = 0$ is:

$I: y^{\prime}=\frac{y+x}{x} ; \quad II: y^{\prime}=\frac{x^2+y}{x^3} ; \quad III: y^{\prime}=\frac{2xy}{y^2-x^2}$
$S1$: Differential equations given by $I$ and $II$ are homogeneous differential equations.
$S2$: Differential equations given by $II$ and $III$ are homogeneous differential equations.
$S3$: Differential equations given by $I$ and $III$ are homogeneous differential equations.

The solution of the equation $x\frac{dy}{dx} = y - x\tan \left( \frac{y}{x} \right)$ 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