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

If $\text{A}=\begin{bmatrix}3&2&0\\1&4&0\\0&0&5\end{bmatrix},$ show that A2 - 7A + 10I3 = 0.
Solve the following differential equations:

$(1+\text{y}^2)\tan^{-1}\text{xdx}+2\text{y}(1+\text{x}^2)\text{dy}=0$

Solve the following systems of linear equations by cramer's rule:
2x - 3z + w = 1,
x - y + 2w = 1,
-3y + z + w = 1,
x + y + z = 1
If A and B are two events such that $2\text{P(A)}=\text{P(B)}=\frac{5}{13}$ and $\text{P}\Big(\frac{\text{A}}{\text{B}}\Big)=\frac{2}{5}$ find $\text{P}(\text{A}\cap\text{B}).$
An item is manufactured by three machines A, B and C. Out of the total number of items manufactured during a specified period, 50% are manufactured on machine A, 30% on B and 20% on C, 2% of the items produced on A and 2% of items produced on B are defective and 3% of these produced on C are defective. All the items stored at one godown. One item is drawn at random and is found to be defective. What is the probability that it was manufactured on machine A?
Find the area of the region bounded by the curve y2 = 2x and x2 + y2 = 4x.
Evaluate the following integrals:

$\int\frac{1}{\sqrt{7-3\text{x}-2\text{x}^2}}\text{ dx}$

Prove that $\frac{\text{dy}}{\text{dx}}\Big\{\frac{\text{x}}{2}\sqrt{\text{a}^2-\text{x}^2}+\frac{\text{a}^2}{2}\sin^{-1}\frac{\text{x}}{\text{a}}\Big\}=\sqrt{\text{a}^2-\text{x}^2}$
Show that the following triads of vectors are coplanar:
$\vec{\text{a}}=\hat{\text{i}}-2\hat{\text{j}}+3\hat{\text{k}},\vec{\text{b}}=-2\hat{\text{i}}+3\hat{\text{j}}-4\hat{\text{k}},\vec{\text{c}}=\hat{\text{i}}-3\hat{\text{j}}+5\hat{\text{k}}$
If $\text{x}=\text{a}(\theta-\sin\theta),\text{y}=\text{a}(1+\cos\theta)$ find $\frac{\text{d}^2\text{y}}{\text{dx}^2}$