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

Let Z be the set of integers. Show that the relation R = {(a, b): a, b ∈ Z and a + b is even} is an equivalence relation on Z.
A random variable X takes the values 0, 1, 2 and 3 such that:
P(X = 0) = P(X > 0) = P(X < 0); P(X = -3) = P(X = -2) = P(X = -1); P(X = 1) = P(X = 2) = P(X = 3).
Obtain the probability distribution of X.
Five forces $\overrightarrow{\text{AB}},\ \overrightarrow{\text{AC}},\ \overrightarrow{\text{AD}},\ \overrightarrow{\text{AE}}\text{ and }\overrightarrow{\text{AF}}$ act at the vertex of a regular hexagon ABCDEF. Prove that the resultant is:

$6\ \overrightarrow{\text{AO}}$, where o is the center of hexagon.

If P is a point and ABCD is a quadrilateral and $\overrightarrow{\text{AP}}+\overrightarrow{\text{PB}}+\overrightarrow{\text{PD}}=\overrightarrow{\text{PC}}$, show that ABCD is a parallelogram.
The probability that a student entering a university will graduate is 0.4. Find the probability that out of 3 students of the university.
  1. none will graduate.
  2. only one will graduate.
  3. all will graduate.
Find the inverse matrix of matrix $\left[\begin{array}{ccc}3 & -2 & 3 \\ 2 & 1 & -1 \\ 4 & -3 & 2\end{array}\right]$ and after that with the help of this, find the solution of system of equations :$\left[\begin{array}{lll}3 & 0 & 3 \\2 & 1 & 0 \\4 & 0 & 2\end{array}\right]\left[\begin{array}{l}x \\y \\z\end{array}\right]=\left[\begin{array}{l}8 \\1 \\4\end{array}\right]+\left[\begin{array}{c}2 y \\z \\3 y\end{array}\right]$
If $\text{x}=\cos\text{t}(3-2\cos^2\text{t}),\text{y}\sin\text{t}(3-2\sin^2\text{t})$ find the value of $\frac{\text{dy}}{\text{dx}}\text{ at t}=\frac{\pi}{4}$
Find the shortest distance between the lines $\frac{\text{x}-1}{2}=\frac{\text{y}-3}{4}=\frac{\text{z}+2}{1}$ and 3x - y - 2z + 4 = 0 = 2x + y + z + 1.
In a class, 5% of the boys and 10% of the girls have an IQ of more than 150. In this class, 60% of the students are boys. If a student is selected at random and found to have an IQ of more than 150, find the probability that the student is a boy.
Evalute the following integrals:
$\int\frac{\sec\text{x}}{\log(\sec\text{x}+\tan\text{x})}\text{dx}$