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 equation:${(\text{x}^{2}-1)}\frac{\text{dy}}{\text{dx}}+\text{2xy}=\frac{1}{\text{x}^{2}-1};|\text{x}|\neq1$.
Show that the lines $\frac{\text{x}+1}{-3}=\frac{\text{y}-3}{2}=\frac{\text{z}+2}{1}$ and $\frac{\text{x}}{1}=\frac{\text{y}-7}{-3}=\frac{\text{z}+7}{2}$ are coplanar. Also, find the equation of the plane containing them.
$\text{Evaluate} \lim\limits_{x \rightarrow\frac{\pi}{4}} \bigg( \frac{ \sin x - \cos x}{x- \frac{\pi}{4}} \bigg)$
Find all points of discontinuity of $f,$ where $f$ is defined by: $\text{f(x)}= \begin{cases}\text{x}^{10} - 1,\ \ \text{if x}\leq 1 \\\text{x}^2,\ \ \ \ \ \ \ \ \ \ \text{if x}>1\end{cases}$ 
A factory manufactures two types of screws, A and B. Each type of screw requires the use of two machines, an automatic and a hand operated. It takes 4 minutes on the automatic and 6 minutes on hand operated machines to manufacture a package of screws A, while it takes 6 minutes on automatic and 3 minutes on the hand operated machines to manufacture a package of screws B. Each machine is available for at the most 4 hours on any day. The manufacturer can sell a package of screws A at a profit of Rs 7 and screws B at a profit of Rs 10. Assuming that he can sell all the screws he manufactures, how many packages of each type should the factory owner produce in a day in order to maximise his profit? Determine the maximum profit.
A salesman has the following record of sales during three months for three items A, B and C which have different rates of commission.
Month
Sale of units
Total commission drawn (in Rs.)
 
A
B
C
 
Jan
90
100
20
800
Feb
130
50
40
900
March
60
100
30
850
 
Find out the rates of commission on items A, B and C by using determinant method.
Solve the following differential equation : $\left(x^2+1\right) \frac{d y}{d x}+2 x y=\sqrt{x^2+4}$
Show that the points whose position vectors are$\vec{\text{a}}=4\hat{\text{i}}-3\hat{\text{j}}+\hat{\text{k}}, \vec{\text{b}}=2\hat{\text{i}}-4\hat{\text{j}}+5\hat{\text{k}},\vec{\text{c}}=\hat{\text{i}}-\hat{\text{j}}$ from a right triangle.
Using vectors find the area of the triangle with vertices, A(2, 3, 5), B(3, 5, 8) and C(2, 7, 8).
If the value of c prescribed in Roll's theorem for the function$\text{f}(\text{x})=2\text{x}(\text{x}-3)^{\text{n}}$ on the interval $\big[0,2\sqrt3\big]$ is $\frac{3}{4},$ write the value of n (a positive integers).