Question
Solve the following differential equation:
$\text{x}\frac{\text{dy}}{\text{dx}}-\text{y}=(\text{x}-1)\text{e}^{\text{x}}$

Answer

Here, $\text{x}\frac{\text{dy}}{\text{dx}}-\text{y}=(\text{x}-1)\text{e}^{\text{x}}$
$\frac{\text{dy}}{\text{dx}}-\frac{\text{y}}{\text{x}}=\Big(\frac{\text{x}-1}{\text{x}}\Big)\text{e}^{\text{x}}$
It is a linear differential equation. comparing the equation by,
$\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
$\text{P}=-\frac{1}{\text{x}},\text{Q}=\Big(\frac{\text{x}-1}{\text{x}}\Big)\text{e}^{\text{x}}$
I.F. $=\text{e}^{\int\text{Pdx}}=\text{e}^{-\int\frac{1}{\text{x}}\text{dx}}$
$\text{e}^{-\log|\text{x}|}=\frac{1}{\text{x}},\text{x}>0$
Solution of the equation is given by,
$\text{y}\times(\text{I.F.})=\int\text{Q}\times(\text{I.F.})\text{dx + C}$
$\text{y}\Big(\frac{1}{\text{x}}\Big)=\int\Big(\frac{\text{x}-1}{\text{x}}\Big)\text{e}^{\text{x}}\text{dx + C}$
$\frac{\text{y}}{\text{x}}=\int\Big(\frac{1}{\text{x}}-\frac{1}{\text{x}^2}\Big)\text{e}^{\text{x}}\text{dx + C}$
$\frac{\text{y}}{\text{x}}=\frac{1}{\text{x}}\text{e}^{\text{x}}+\text{C}$
Since $\int[\text{f(x)}+\text{f}'(\text{x})]\text{e}^{\text{x}}\text{dx}=\text{f(x)}\text{e}^{\text{x}}+\text{C}$
$\text{y}=\text{e}^{\text{x}}+\text{Cx},\text{x}>0$

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

Differentiate the following functions with respect to x:
$\sin^{-1}\big\{\sqrt{1-\text{x}^2}\big\},0<\text{x}<1$
In a culture, the bacteria count is 100000. The number is increased by 10% in 2 hours. In how many hours will the count reach 200000, if the rate of growth of bacteria is proportional to the number present?
If $\text{A}=\begin{bmatrix} 3\\5\\2\end{bmatrix}$ and $\text{B}=\begin{bmatrix}1&0&4\end{bmatrix},$ verify that $(AB)^T = B^TA^T$.
A hospital dietician wishes to find the cheapest combination of two foods, A and B, that contains at least 0.5 milligram of thiamin and at least 600 calories. Each unit of A contains 0.12 milligram of thiamin and 100 calories, while each unit of B contains 0.10 milligram of thiamin and 150 calories. If each food costs 10 paise per unit, how many units of each should be combined at a minimum cost?
Evaluate the following integrals:
$\int\cos\Big\{2\cot^{-1}\sqrt{\frac{1+\text{x}}{1-\text{x}}}\Big\}\text{dx}$
Show that the curves $2x = y^2$ and $2xy = k$ cut at right angles, if $k^2 = 8.$
A bag contains 7 white, 5 black and 4 red balls. Four balls are drawn without replacement. Find the probability that at least three balls are black.
Solve the following differential equations:
$(\text{x}^2-\text{y}^2)\text{dx}-2\text{xy dy}=0$
If f(x) is a continuous function defind on [-a, a], then prove that:
$\int\limits^{\text{a}}_{-\text{a}}\text{f(x)}\text{dx}=\int\limits^{\text{a}}_0\big\{\text{f(x)}+\text{f}(-\text{x})\big\}\text{dx}$
Evaluate the definite integral in Exercise:
$\int^{4}_{1}[\text{x}-1|+|\text{x}-2|+|\text{x}-3|]\text{dx}$