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

Show that the lines $\frac{\text{x}+1}{-3}=\frac{\text{y}-3}{2}=\frac{\text{z}+2}{1}$ and $\frac{\text{x}}{1}=\frac{\text{y}-7}{-3}=\frac{\text{z}+7}{2}$ are coplanar. Also, find the equation of the plane containing them.
Find $\frac{\text{dy}}{\text{dx}}$
$\text{y}=\text{x}^{\text{x}}+\text{x}^\frac{1}{\text{x}}$
Solve the following differential equation:$(\text{x}^{2}+1)\frac{\text{dy}}{\text{dx}}+\text{2xy}=\sqrt{\text{x}^{2}+4}$.
$A$ factory has three machines $X, Y$ and $Z$ producing $1000, 2000$ and $3000$ bolts per day respectively. The machine $X$ produces $1\%$ defective bolts $,Y$ produces $1.5\%$ and $Z$ produces $2\%$ defective bolts. At the end of a day, a bolt is drawn at random and is found to be defective. What is the probability that this defective bolt has been produced by machine $X$?
Solve the following initial value problems:
$\text{x}\frac{\text{dy}}{\text{dx}}-\text{y}=(\text{x}+1)\text{e}^{\text{x}},\text{ y}(1)=0$
Discuss the continuity of the following functions at the indicated point:
$\text{f(x)}=\begin{cases}\frac{\text{x}^\text{x}-1}{\log(1+2\text{x})}&,\text{ if x}\neq0&\\ \ &&\text{at x}=0\\7&,\text{ if x}=0\end{cases}$
If a unit vector $\vec a$ makes angles $\frac{\pi}{3}$ with $\hat i$, $\frac{\pi}{4}$ with $\hat j$ and an acute angle $\theta$ with $\hat k$, then find $\theta$ and hence, the components of $\vec a $.
Reshma wishes to mix two types of food P and Q in such a way that the vitamin contents of the mixture contains at least 8 units of vitamin A and 11 units of vitamin B. Food P costs Rs 60/kg and food Q costs Rs 80/kg. Food P contains 3 units/kg of vitamin A and 5 units/kg of vitamin B while food Q contains 4 units/kg of vitamin A and 2 units/kg of vitamin B. Determine the minimum cost of the mixture.
Prove that the diagonals of a rhombus are perpendicular bisectors of each other.
Evaluate the following integrals:
$\int^\limits{\frac{\pi}{2}}_{0}\frac{\cos\text{x}}{\big(\cos\frac{\text{x}}{2}+\sin\frac{\text{x}}{2}\big)^\text{n}}\text{ dx}$