Question
Solve the following differential equation:$\text{x}\frac{\text{dy}}{\text{dx}}=\text{x}+\text{y}$

Answer

We have,
$\text{x}\frac{\text{dy}}{\text{dx}}=\text{x}+\text{y}$
$\Rightarrow\ \frac{\text{dy}}{\text{dx}}=1+\frac{1}{\text{x}}\text{y}$
$\Rightarrow\ \frac{\text{dy}}{\text{dx}}-\frac{1}{\text{x}}=1\ \dots(1)$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
where
$\text{P}=-\frac{1}{\text{x}}$
$\text{Q}=1$
$\therefore$ I.F. $=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{-\int\frac{1}{\text{x}}\text{dx}}$
$=\text{e}^{-\log\text{x}}$
$=\text{e}^{\log\frac{1}{\text{x}}}$
$=\frac{1}{\text{x}}$
Multiplying both sides of (1) by $\frac{1}{\text{x}},$ we get
$\frac{1}{\text{x}}\Big(\frac{\text{dy}}{\text{dx}}-\frac{1}{\text{x}}\text{y}\Big)=\frac{1}{\text{x}}\times1$
$\Rightarrow\ \frac{1}{\text{x}}\frac{\text{dy}}{\text{dx}}-\frac{1}{\text{x}^2}\text{y}=\frac{1}{\text{x}}$
Integrating both sides with respect to x, we get
$\text{y}\frac{1}{\text{x}}=\int\frac{1}{\text{x}}\text{dx + C}$
$\Rightarrow\ \frac{\text{y}}{\text{x}}=\log|\text{x}|+\text{C}$
Hence, $\frac{\text{y}}{\text{x}}=\log|\text{x}|+\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 following differential equations:
$(\text{x}^2-\text{y}^2)\text{dx}-2\text{xy dy}=0$
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}.$
If $\text{x}=\Big(\text{t}+\frac{1}{\text{t}}\Big)^\text{a},\text{y}=\text{a}^{\text{t}+\frac{1}{\text{t}}},$ find $\frac{\text{dy}}{\text{dx}}$
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 inverse of the following matrices by using elementry row transformation:$\begin{bmatrix} 1 & 1 & 2 \\ 3 & 1 & 1 \\ 2 & 3 & 1 \end{bmatrix}$
Evaluate the following integrals:$\int\frac{1}{\sqrt{7-6\text{x}-\text{x}^2}}\text{ dx}$
Find the area of the ragion bounded by the curve $ay^{2 }= x^3$ the $y-$axis and the line $y = a$ and $y = 2a.$
Show that the height of the cylinder of maximum volume that can be inscribed a sphere of radius R is $\frac{2\text{R}}{\sqrt{3}}$ .
Show that the points whose position vectors are $-2\hat{\text{i}}+3\hat{\text{j}},\hat{\text{i}}+2\hat{\text{j}}+3\hat{\text{k}}$ and $7\hat{\text{i}}-\hat{\text{k}}$ are collinear.
Solve the following initial value problems:
$\frac{\text{dy}}{\text{dx}}=\frac{\text{y}(\text{x}+2\text{y})}{\text{x}(2\text{x}+\text{y})},\text{y}(1)=2$