Question
Solve the following differential equations:
$\frac{\text{dy}}{\text{dx}}=\frac{\text{x + y}}{\text{x}-\text{y}}$

Answer

We have,$\frac{\text{dy}}{\text{dx}}=\frac{\text{x + y}}{\text{x}-\text{y}}$
This is a homogeneous differential equation.
Put y = vx and $\frac{\text{dy}}{\text{dx}}=\text{v + x}\frac{\text{dv}}{\text{dx}}$, we get
$\text{v + x}\frac{\text{dv}}{\text{dx}}=\frac{{\text{x}}+\text{vx}}{\text{x}-\text{vx}}$
$\Rightarrow\ \text{v + x}\frac{\text{dv}}{\text{dx}}=\frac{1+\text{v}}{1-\text{v}}$
$\Rightarrow\ \text{x}\frac{\text{dv}}{\text{dx}}=\frac{1+\text{v}}{1-\text{v}}-\text{v}$
$\Rightarrow\ \text{x}\frac{\text{dv}}{\text{dx}}=\frac{1+\text{v}^2}{1-\text{v}}$
$\frac{1-\text{v}}{1+\text{v}^2}\text{dv}=\frac{1}{\text{x}}\text{dx}$
Integrating both sides, we get
$\int\frac{1-\text{v}}{1+\text{v}^2}\text{dv}=\int\frac{1}{\text{x}}\text{dx}$
$\Rightarrow\ \int\frac{1}{1+\text{v}^2}\text{dv}-\int\frac{\text{v}}{1+\text{v}^2}\text{dv}=\int\frac{1}{\text{x}}\text{dx}$
$\Rightarrow\ \int\frac{1}{1+\text{v}^2}\text{dv}-\frac{1}2\int\frac{2\text{v}}{1+\text{v}^2}\text{dv}=\int\frac{1}{\text{x}}\text{dx}$
$\tan^{-1}\text{v}-\frac{1}2\log\big|1+\text{v}^2\big|=\log|\text{x}|+\text{C}$
Putting $\text{v}=\frac{\text{y}}{\text{x}}$, we get
$\Rightarrow\ \tan^{-1}\Big(\frac{\text{y}}{\text{x}}\Big)-\frac{1}2\log\Big|1+\frac{\text{y}^2}{\text{x}^2}\Big|=\log|\text{x}|+\text{C}$
$\Rightarrow\ \tan^{-1}\Big(\frac{\text{y}}{\text{x}}\Big)=\frac{1}2\log\Big|1+\frac{\text{y}^2}{\text{x}^2}\Big|+\log|\text{x}|+\text{C}$
$\Rightarrow\ \tan^{-1}\Big(\frac{\text{y}}{\text{x}}\Big)=\frac{1}2\log\Big|\frac{\text{x}^2+\text{y}^2}{\text{x}^2}\Big|+\log|\text{x}|+\text{C}$
$\Rightarrow\ \tan^{-1}\Big(\frac{\text{y}}{\text{x}}\Big)=\frac{1}2\log\Big|\text{x}^2+\text{y}^2\Big|-\frac{1}2\log|\text{x}^2|+\log|\text{x}|+\text{C}$
$\Rightarrow\ \tan^{-1}\Big(\frac{\text{y}}{\text{x}}\Big)=\frac{1}2\log\Big|\text{x}^2+\text{y}^2\Big|-\log|\text{x}|+\log|\text{x}|+\text{C}$
$\Rightarrow\ \tan^{-1}\Big(\frac{\text{y}}{\text{x}}\Big)=\frac{1}2\log\Big|\text{x}^2+\text{y}^2\Big|+\text{C}$
Hence, $\tan^{-1}\Big(\frac{\text{y}}{\text{x}}\Big)=\frac{1}2\log\Big|\text{x}^2+\text{y}^2\Big|+\text{C}$ is the required solution.

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

$\text{Evaluate:} \int \frac{e^{x}}{\sqrt{5 - 4c^{X} - e^{2_{x}}}} \text{dx}$
Evaluate the following integrals:
$\int\frac{1}{\text{x}^3}\sin(\log\text{x})\text{dx}$
Evaluate the following integrals:
$\int\limits^{2\pi}_0\frac{\text{e}^{\sin\text{x}}}{\text{e}^{\sin\text{x}}+\text{e}^{-\sin\text{x}}}\text{ dx}$
If $a, b, c$ are real numbers such that $\begin{vmatrix}\text{b}+\text{c}&\text{c}+\text{a}&\text{a}+\text{b}\\\text{c}+\text{a}&\text{a}+\text{b}&\text{b}+\text{c}\\\text{a}+\text{b}&\text{b}+\text{c}&\text{c}+\text{a}\end{vmatrix}=0,$ then show that either $a + b + c = 0$ or $a = b= c$.
Find the equation of a curve passing through the point (0, 1). If the slope of the tangent to the curve at any point (x, y) is equal to the sum of the x coordinate (abscissa) and the product of the x coordinate and y coordinate (ordinate) of that point.
Let $L$ be the set of all lines in $XY-$plane and $R$ be the relation in $L$ defined as $R = \{(L_1, L_2): L_1$ is parallel to $L_2\}$. Show that $R$ is an equivalence relation. Find the set of all lines related to the line $y = 2x + 4.$
Evaluate $\int^{1}_{0}\text{e}^{2-3\text{x}}\text{dx}$ as a limit of a sum:
Three schools A, B and C organised a mela for collecting funds for helping the rehabilitation of flood victims. They sold hand made fans, mats and plates from recycled material at a cost of 25, 100 and 50 each. The number of articles sold are given below:
School A B C
Article
Hand - fans 40 25 35
Mats 50 40 50
Plates 20 30 40
Find the funds collected by each school separately by selling the above articles. Also find the total funds collected for the purpose.
Write one value generated by the above situation.
Evaluate the following integrals:
$\int\frac{\text{x}\sin^{-1}\text{x}^2}{\sqrt{1-\text{x}^4}}\text{ dx}$
Solve the following differential equation:
$\big[\text{x}\sqrt{\text{x}^2+\text{y}^2}-\text{y}^2\big]\text{dx}+\text{xy dy}=0$