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

For the following pairs of matrices verify that $(AB)^{-1} = B^{-1} A^{-1}$​​​​​​​:$\text{A}=\begin{bmatrix}3 & 2 \\7 & 5 \end{bmatrix}\text{ and B}=\begin{bmatrix}4 & 6 \\3 & 2 \end{bmatrix}$
Maximize : z = 3x + 5y subject to x + 4y ≤ 24, 3x + y ≤ 21, x + y ≤ 9, x ≥ 0, y ≥ 0 also find maximum value of z.
If $\text{x}=2\cos\text{t}-\cos2\text{t},\text{y}=2\sin\text{t}-\sin2\text{t},$ find $\frac{\text{d}^2\text{y}}{\text{dx}^2}\ \text{at}\ \text{t}=\frac{\pi}{2}.$
Evaluate the following integrals:$\int^\limits{\text{a}}_0\text{x}\sqrt{\frac{\text{a}^2-\text{x}^2}{\text{a}^2+\text{x}^2}}\text{ dx}$
Evaluate the following integrals:
$\int\text{x}\sin^3\text{x dx}$
Let $\text{F}(\alpha)=\begin{bmatrix}\cos\alpha & -\sin\alpha & 0 \\ \sin\alpha & \cos\alpha & 0 \\ 0 & 0 & 1\end{bmatrix}$ and$\text{G}(\beta)=\begin{bmatrix} \cos\beta & 0 & \sin\beta \\ 0 & 1 & 0 \\ -\sin\beta & 0 & \cos\beta \end{bmatrix}$
Show that$\big[\text{F}(\alpha)\big]^{-1}=\text{F}(-\alpha)$
A square piece of tin of side $18\ cm$ is to be made into a box without top by cutting a square from each corner and folding up the flaps to form a box. What should be the side of the square to be cut off so that the volume of the box is maximum? Find this maximum volume.
Verify Lagrange's mean value theorem for the following function on the indicated intervals. find a point 'c' in the indicated interval as stated by the Lagrange's mean value theorem.
$f(x) = 2x - x^2$ on $[0, 1]$
If $\text{y}=\log\sqrt{\frac{1+\tan\text{x}}{1-\tan\text{x}}},$ prove that $\frac{\text{dy}}{\text{dx}}=\sec2\text{x}$
Solve the following for x and y.$\begin{bmatrix}3&-4\\9&2\end{bmatrix}\begin{bmatrix}\text{x}\\\text{y}\end{bmatrix}=\begin{bmatrix}10\\2\end{bmatrix}$