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 a young man drives his scooter at a speed of 25km/hr, he has to spend Rs. 2 per km on petrol. If he drives the scooter at a speed of 40km/hr, it produces air pollution and increases his expenditure on petrol to Rs. 5 per km. He has a maximum of Rs. 100 to spend on petrol and travel a maximum distance in one hour time with less polution. Express this problem as an LPP and solve it graphically. What value do you find here.
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.
$\text{f}(\text{x})=\tan^{-1}\text{x}\text{ on }[0,1]$
Find a particular solution of the differential equation $\frac{ dy }{ dx }+2 y \cot x=4 x \operatorname{cosec} x$ $(x \neq 0)$, given that $y=0$, when $x=\frac{\pi}{2}$.
If $\text{f(x)}=\frac{\tan\big(\frac{\pi}{4}-\text{x}\big)}{\cot2\text{x}}$ for $\text{x}\neq\frac{\pi}{4},$ find the value which can be assigned to f(x) at $\text{x}=\frac{\pi}{4}$ so that the function f(x) becomes continuous every where in $\Big[0,\frac{\pi}{2}\Big]$
Find the area bounded by the parabola $x = 8 + 2y - y^2$, the y-axis and the line $y = -1$ and $y = 3$
Solve the following initial value problems:
$\text{x}\frac{\text{dy}}{\text{dx}}-\text{y}=\log\text{x},\text{ y}(1)=0$
Find the general solution of the differential equation $\frac{d y}{d x}-y=\cos x$
If $\text{f}(\text{a}+\text{b}-\text{x})=\text{f(x)},$ then prove that, $\int\limits^{\text{b}}_{\text{a}}\text{xf}(\text{x})\text{dx}=\Big(\frac{\text{a}+\text{b}}{2}\Big)\int\limits^{\text{b}}_{\text{a}}\text{f}(\text{x})\text{dx}$
A pair of dice is thrown 4 times. If getting a doublet is considered a success, find the probability of two successes.
A merchant plans to sell two types of personal computers - a desktop model and a portable, model that will costRs. 25,000 andRs. 40,000 respectively. He estimates that the total monthly demand of computers will not exceed 250 units. Determine the number of units of each type of computers which the merchant should stock to get maximum profit if he does not want to invest more than Rs. 70 lakhs and his profit on the desktop model is Rs. 4,500 and on the portable model is Rs. 5,000. Make an L.P.P. and solve it graphically.