Question
Solve the following differential equation:
$(\text{x}-\text{y})\frac{\text{dy}}{\text{dx}}=\text{x + 2y}$

Answer

Here, $(\text{x}-\text{y})\frac{\text{dy}}{\text{dx}}=\text{x + 2y}$
$\Rightarrow\ \frac{\text{dy}}{\text{dx}}=\frac{\text{x}+2\text{y}}{\text{x}-\text{y}}$
It is a homogeneous equation.
Put x = vy
and $\frac{\text{dy}}{\text{dx}}=\text{v + x}\frac{\text{dv}}{\text{dx}}$
So,
$\text{v + x}\frac{\text{dv}}{\text{dx}}=\frac{\text{x}+2\text{vx}}{\text{x}-\text{vx}}$
$\text{x}\frac{\text{dv}}{\text{dx}}=\frac{1+2\text{v}}{1+\text{v}}-\text{v}$
$\text{x}\frac{\text{dv}}{\text{dx}}=\frac{1+2\text{v}-\text{v + v}^2}{1-\text{v}}$
$\text{x}\frac{\text{dv}}{\text{dx}}=\frac{1+\text{v + v}^2}{1-\text{v}}$
$\frac{1-\text{v}}{\text{v}^2+\text{v}+1}\text{dv}=\frac{\text{dx}}{\text{x}}$
$-\frac{\text{v}-1}{\text{v}^2+\text{v}+1}\text{dv}=\frac{\text{dx}}{\text{x}}$
$\frac{1}2\times\frac{2\text{v}-2}{\text{v}^2+\text{v}+1}\text{dv}=\frac{-\text{dx}}{\text{x}}$
$\int\frac{(2\text{v}+1)-3}{\text{v}^2+\text{v}+1}\text{dv}=-\int\frac{2\text{dx}}{\text{x}}$
$\int\frac{2\text{v}+1}{\text{v}^2+\text{v}+1}\text{dv}-\int\frac{3}{\text{v}^2+2\text{v}\big(\frac{1}2\big)+\big(\frac{1}2\big)^2-\big(\frac{1}2\big)^2+1}=-2\int\frac{\text{dx}}{\text{x}}$
$\int\frac{2\text{v}+1}{\text{v}^2+\text{v}+1}\text{dv}-\int\frac{3}{\big(\text{v}+\frac{1}2\big)^2+\big(\frac{\sqrt3}2\big)^2}\text{dv}=-2\int\frac{\text{dx}}{\text{x}}$
$\log|\text{v}^2+\text{v}+1|-3\Big(\frac{2}{\sqrt3}\Big)\tan^{-1}\Bigg(\frac{\text{v}+\frac{1}2}{\frac{\sqrt3}{2}}\Bigg)=-2\log|\text{x}|+\text{C}$
$\log|\text{y}^2+\text{xy}+\text{x}^2|=2\sqrt3\tan^{-1}\Big(\frac{2\text{y + x}}{\text{x}\sqrt3}\Big)+\text{C}$

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

Find the angle between the lines whose direction cosines are given by the equations:
l + m +n = 0 and l2 + m2 + n2 = 0
Solve the following systems of linear equations by cramer's rule:
x + y = 5,
y + z = 3,
x + z = 4
Find the equation of the perpendicular drawn from the point P(-1, 3, 2) to the line $\vec{\text{r}}=\big(2\hat{\text{j}}+3\hat{\text{k}}\big)+\lambda\big(2\hat{\text{i}}+\hat{\text{j}}+3\hat{\text{k}}\big).$ Also, find the coordinates of the foot of the perpendicular from P.
Let R be the relation defined on the set A = {1, 2, 3, 4, 5, 6, 7} by R = {(a, b): both a and b are either odd or even}. Show that R is an equivalence relation. Further, show that all the elements of the subset {1, 3, 5, 7} are related to each other and all the elements of the subset {2, 4, 6} are related to each other, but no element of the subset {1, 3, 5, 7} is related to any element of the subset {2, 4, 6}.
Evaluate the following definite integrals:
$\int\limits_{0}^{\frac{\pi}{6}}\cos\text{x }\cos2\text{x}\text{ dx}$
Solve the following differential equation :
$
\left(y+3 x^2\right) \frac{d x}{d y}=x
$
Prove that $\frac{d}{d x}\left[\frac{x}{2} \sqrt{a^2-x^2}+\frac{a^2}{2} \sin ^{-1} \frac{x}{a}\right]=\sqrt{a^2-x^2}$
Find matrix A such that
$\begin{pmatrix} 2 & -1 \\ 1 & 0 \\ -3 & 4 \end{pmatrix}\text{A} = \begin{pmatrix} -1 & -8 \\ 1 & -2 \\ 9 & 22 \end{pmatrix}$
If $\text{A}=\begin{bmatrix} 1 & 2 & 2 \\ 2 & 1 & 2 \\ 2 & 2 & 1 \end{bmatrix},$ find A-1 and prove that A2 - 4A - 5I = 0.
The slope of the tangent at a point P(x, y) on a curve is $\frac{-\text{x}}{\text{y}}$. If the curve passs es through the point (3, -4). Find the equation of the curve.