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

Differentiate the following functions with respect to x:
$\sin^{-1}\big\{\sqrt{1-\text{x}^2}\big\},0<\text{x}<1$
If $\text{x}=\cos\theta,\text{y}=\sin^3$ prove that $\text{y}\frac{\text{d}^2\text{y}}{\text{dx}^2}+\Big(\frac{\text{dy}}{\text{dx}^2}\Big)=3\sin^2\theta(5\cos^2\theta-1)$
Show that the line whose vector equation is $\vec{\text{r}}=2\hat{\text{i}}+5\hat{\text{j}}+7\hat{\text{k}}+\lambda(\hat{\text{i}}+3\hat{\text{j}}+4\hat{\text{k}})$ is parallel to the plane whose vector equation is $\vec{\text{r}}\cdot(\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}})=7$ Also, find the distance between thetm.
Find the values of a so that the function
$\text{f}\text{(x)}=\begin{cases}\text{ax}+5, &\text{if}\text{ x}\leq2\\\text{x}-1, &\text{if}\text{ x}>2\end{cases}$ is continuous at x = 2.
Given $\text{A}=\begin{bmatrix}5 & 0 & 4 \\2 & 3 & 2 \\ 1 & 2 & 1\end{bmatrix},\text{B}^{-1}=\begin{bmatrix}1 & 3 & 3 \\1 & 4 & 3 \\ 1 & 3 & 4\end{bmatrix}.$ Compute $(AB)^{-1}.$
Find the shortest distance between the following pairs of lines whose vector equation are:
$\vec{\text{r}}=(\lambda-1)\hat{\text{i}}+(\lambda+1)\hat{\text{j}}-(1+\lambda)\hat{\text{k}}$ and $\vec{\text{r}}=(1-\mu)\hat{\text{i}}+(2\mu-1)\hat{\text{j}}+(\mu+2)\hat{\text{k}}$
If the lines $\text{x}=5,\frac{\text{y}}{3-\alpha}=\frac{\text{z}}{-2}$ and $\text{x}=\alpha,\frac{\text{y}}{-1}=\frac{\text{z}}{2-\alpha}$ are coplanar, find the values of $\alpha.$ 
Evaluate the following: $\begin{vmatrix}\text{a}+\text{x}&\text{y}&\text{z}\\\text{x}&\text{a}+\text{y}&\text{z}\\\text{x}&\text{y}&\text{a}+\text{z}\end{vmatrix}$
A rubber company is engaged in producing three types of tyres A, B and C. Each type requires processing in two plants, Plant I and Plant II. The capacities of the two plants, in number of tyres per day, are as follows:
Plant
A
B
C
I
50
100
100
II
60
60
200
The monthly demand for tyre A, B and C is 2500, 3000 and 7000 respectively. If plant I costs Rs. 2500 per day, and plant II costs Rs. 3500 per day to operate, how many days should each be run per month to minimize cost while meeting the demand? Formulate the problem as LPP.
Determine whether the following pair of lines intersect or not:
$\frac{\text{x}-1}{2}=\frac{\text{y}+1}{3}=\text{z}$ and $\frac{\text{x}+1}{5}=\frac{\text{y}-2}{1};\text{z}=2$