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

Solve the differential equation:
$y + x \frac{dy}{dx} = x - y \frac{dy}{dx}$
Let f: N $\rightarrow$ N be defined by
$ \text{f(n)} = \begin{cases} \frac{\text{n + 1}}{2}, & \text{if n is odd}\\ \frac{\text{n}}{2},& \text{if n is even}\\ \end{cases}$for all n $\in$ N.
Find whether the function f is bijective.
Find the shortest distance between the following pairs of lines whose vector equation are:
$\vec{\text{r}}=(8+3\lambda)\hat{\text{i}}-(9+16\lambda)\hat{\text{j}}+(10+7\lambda)\hat{\text{k}}$ and $\vec{\text{r}}=15\hat{\text{i}}+29\hat{\text{j}}+5\hat{\text{k}}+\mu\big(3\hat{\text{i}}+8\hat{\text{j}}-5\hat{\text{k}}\big)$
Find the shortest distance between the lines $\frac{\text{x}+1}{7}=\frac{\text{y}+1}{-6}=\frac{\text{z}+1}{0}$ and $\frac{\text{x}-3}{1}=\frac{\text{y}-5}{-2}=\frac{\text{z}-7}{1}.$
If $\text{y}\sin(\text{x}^\text{x}),$ prove that $\frac{\text{dy}}{\text{dx}}=\cos(\text{x}^\text{x})\times\text{x}^\text{x}(1+\log\text{x})$
Show that $\text{f}\text{(x)}=\begin{cases}\frac{\sin 3\text{x}}{\tan2\text{x}},&\text{if } \text{x}<0\\\frac{3}{2},&\text{if }\text{x} = 0\\\frac{\log(1+3\text{x})}{\text{e}^{2\text{x}}},&\text{if}\text{ x}>0\end{cases}$ is discontinuous at x = 0.
Find the coordinates of the foot of the perependicular drawn from the origin to the plane 2x - 3y + 4z - 6 = 0.
Using vectors find the area of the triangle with vertices, A(2, 3, 5), B(3, 5, 8) and C(2, 7, 8).
Using properties of determinants, prove that
An aeroplane can carry a maximum of $200$ passengers. $A$ profit of $Rs. 400$ is made on each first class ticket and a profit of $Rs. 600$ is made on each economy class ticket. The airline reserves at least $20$ seats of first class. However, at least $4$ times as many passengers prefer to travel by economy class to the first class. Determine how many each type of tickets must be sold in order to maximize the profit for the airline. What is the maximum profit.