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

Find the intervals in which $\text{f(x)} = \sin 3x - \cos 3x, 0 < x < \pi.$ is strictly increasing or strictly decreasing.
Evaluate the following integrals:
$\int\frac{\cot\text{x}}{\sqrt{\sin\text{x}}}\text{dx}$
Solve the following equation:
$\text{x}\frac{\text{dy}}{\text{dx}}+\text{y}=\text{y}^2$
Solve the following systems of linear equations by cramer's rule:
2x + 3y = 10,
x + 6y = 4
If the points $(x, -2), (5, 2), (8, 8)$ are collinear, find $x$ using determinants.
Show that among all positive number x and y with $x^2 + y^2 = r^2$, the sum x + y is largest when x = y =$\sqrt{2}.$
Find the area of the minor segment of the circle $x^2+ y^2 = a^2$ cut off by the line $\text{x}=\frac{\text{a}}{2}.$
Evaluate the following integrals:
$\int^\limits{\pi}_0\sin^3\text{x}(1+2\cos\text{x})(1+\cos\text{x})^2\text{ dx}$
Determine whether the following pair of lines intersect or not:
$\frac{\text{x}-5}{4}=\frac{\text{y}-7}{4}=\frac{\text{z}+3}{-5}$ and $\frac{\text{x}-8}{7}=\frac{\text{y}-4}{1}=\frac{3-5}{3}$
A manufacturer has employed 5 skilled men and 10 semi-skilled men and makes two models A and B of an article. The making of one item of model A requires 2 hours work by a skilled man and 2 hours work by a semi-skilled man. One item of model B requires 1 hour by a skilled man and 3 hours by a semi-skilled man. No man is expected to work more than 8 hours per day. The manufacturer’s profit on an item of model A is Rs. 15 and on an item of model B is Rs. 10. How many of items of each model should be made per day in order to maximize daily profit? Formulate the above LPP and solve it graphically and find the maximum profit.