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

For the following matrices verify the associativity of multiplication i.e., (AB) C = A(BC):
$\text{A}=\begin{bmatrix}1&2&0\\-1&0&1\end{bmatrix},\text{B}=\begin{bmatrix}1&0\\-1&2\\0&3\end{bmatrix}$ and $\text{C}=\begin{bmatrix}1\\-1\end{bmatrix}$
The standard weight of a special purpose brick is 5 kg and it must contain two basic ingredients $\text{B}_{1} \text{and} \text{B}_{2}. \text{B}_{1}$ costs 5 per kg and $\text{B}_{2}$ costs 8 per kg. Strength considerations dictate that the brick should contain not more than 4 kg of $\text{B}_{1}$ and minimum 2 kg of $\text{B}_{2}$. Since the demand for the product is likely to be related to the price of the brick, find the minimum cost of brick satisfying the above conditions. Formulate this situation as an LPP and solve it graphically.
$\text{A}=\begin{bmatrix}1&-2&0\\ 2&1&3\\ 0&-2&1\end{bmatrix}\text{and }\text{B}=\begin{bmatrix}7&2&-6\\ -2&1&-3\\ -4&2&5\end{bmatrix}$, find AB. Hence, solve the system of equations:
x - 2y = 10, 2x + y + 3z = 8 and -2y + z = 7
Find the probability of throwing at most 2 sixes in 6 throws of a single die.
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.
Evaluate the following integrals:
$\int\cos^3\sqrt{\text{x}}\text{dx}$
Find the condition that the curves $2x = y^2$ and $2xy = k$ intersect orthogonally.
Prove that the relation R on Z defined by $(\text{a, b})\in\text{R}\Leftrightarrow\ \text{a}-\text{b}$ is divisible by 5 is an equivalence relation on Z.
The probability distribution of a random variable x is given as under:
$\text{P}(\text{X}=\text{x})=\begin{cases}\text{k}\text{x}^2 & \text{for}\text{ x}= 1,2,3\\2\text{kx} & \text{for}\text{ x } =4,5,6\\0&\text{otherwise} \end{cases}$
where k is a constant. Calculate
  1. $\text{E}(\text{X})$
  2. $\text{E}(3\text{X}^2)$
  3. $\text{P}(\text{X}\geq4)$
Prove that the least perimeter of an isosceles triangle in which a circle of radius r can be inscribed is $6\sqrt{3}\text{ r}$.