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 which of the function:
$\text{f(x)}=\begin{cases}|\text{x}-\text{a}|\sin\frac{1}{\text{x}},&\text{if x}\neq0\\0,&\text{if x }=\text{a}\end{cases}$
at x = a
A metal box with a square base and vertical sides is to contain $1024\ cm^3.$ The material for the top and bottom costs $₹\ 5\ per\ cm^2 $ and the material for the sides costs $₹\ 2.50\ per\ cm^2.$ Find the least cost of the box.
A bag A contains 2 white and 3 red balls and a bag B contains 4 white and 5 red balls. One ball is drawn at random from one of the bags and is found to be red. Find the probability that it was drawn from bag B.
Without expanding, show that the values of the following determinant are zero:
$\begin{vmatrix}0&\text{x}&\text{y}\\-\text{x}&0&\text{z}\\-\text{y}&-\text{z}&0\end{vmatrix}$
If $A =$ diag$(a, b, c),$ show that $A^n =$ diag$(a^n, b^n, c^n)$ for all positive integer $n.$
Show that the relation R on the set A = {x ∈ Z; 0 ≤ x ≤ 12}, given by R = {(a, b): a = b}, is an equivalence relation. Find the set of all elements related to 1.
Evaluate: $\int\limits_0^{\pi/2} 2 \sin x \cos x \tan^{-1}(\sin x) dx.$
A total amount of ₹ $7000$ is deposited in three different saving bank accounts with annual interest rates $5\%, 8\%$ and $8\frac{1}{2}$% respectively. The total annual interest from these three accounts is ₹ $550$. Equal amounts have been deposited in the 5% and $8\%$ saving accounts. Find the amount deposited in each of the three accounts, with the help of matrices.
Solve the following differential equation:
$(\text{x}+2\text{y})\text{dx}-(2\text{x}-\text{y})\text{dy}=0$
A fruit grower can use two types of fertilizer in his garden, brand P and Q. The amounts (in kg) of nitrogen, phosphoric acid, potash, and chlorine in a bag of each brand are given in the table. Tests indicate that the garden needs at least 240kg of phosphoric acid, at least 270kg of potash and at most 310kg of chlorine.
Kg per bag
 
Brand P
Brand P
Nitrogen
32
3.5
Phosphoric
1
2
Potash
3
1.5
Chlorine
1.5
2
If the grower wants to minimize the amount of nitrogen added to the garden, how many bags of each brand should be used? What is the minimum amount of nitrogen added in the garden?