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

The surface area of a balloon being inflated, changes at a rate proportional to time t. If initially its radius is 1 unit and after 3 seconds it is 2 units, find the radius after time t.
Evaluate the following integrals:$\int(\log\text{x})^2\cdot\text{x dx}$
Solve the following differential equation : $\sqrt{1+x^2+y^2+x^2 y^2}+x y \frac{d y}{d x}=0$
Find the intervals in which the following functions are increasing or decreasing.
$\text{f}(\text{x})=\log(2+\text{x})-\frac{2\text{x}}{2+\text{x}},\text{x}\in\text{R}$
Evaluate the following integrals as limit of sum:
$\int\limits^2_0(\text{x}+3)\text{dx}$
If the straight line $\text{x}\cos\alpha+\text{y}\sin\alpha=\text{p}$ touches the curve $\frac{\text{x}^2}{\text{a}^2}-\frac{\text{y}^2}{\text{b}^2}=1,$ then prove that $\text{a}\cos^2\alpha-\text{b}^2\sin^2\alpha=\text{p}^2.$
At what points on the curve $y = x^2 - 4x + 5$ is the tangent perpendicular to the line $2y + x = 7?$
From a lot containing 25 items, 5 of which are defective, 4 are choosen at random. Let X be the number of defective found. Obtain the probability distribution of X if the item are chosen without replacement.
One kind of cake requires 300gm of flour and 15gm of fat, another kind of cake requires 150gm of flour and 30gm of fat. Find the maximum number of cakes which can be made from 7.5kg of flour and 600gm of fat, assuming that there is no shortage of the other ingradients used in making the cake. Make it as an LPP and solve it graphically.
Using integration, find the area of the region bounded by the triangle whose vertices are (-1, 0), (1, 3) and (3, 2).