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

If $\text{y}=\sqrt{\text{x}^2+\text{a}^2},$ prvoe that $\text{y}\frac{\text{dy}}{\text{dx}}-\text{x}=0$
In a culture, the bacteria count is 1,00,000. The number is increased by 10% in 2 hours. In how many hours will the count reach 2,00,000, if the rate of growth of bacteria is proportional to the number present?
Evaluate the following integrals:
$\int\limits^{\infty}_0\frac{\log\text{x}}{1+\text{x}^2}\text{ dx}$
Evaluate the following integrals as limit of sum:
$\int\limits^\text{b}_{\text{a}}\text{e}^{\text{x}}\text{ dx}$
Show that the function $\text{f} : \text{R}\rightarrow\text{R}$ defined by $\text{f(x})=\frac{\text{x}}{\text{x}^2+1},\forall\text{ x}\in\text{R}$  is neither one-one nor onto. Also, if $\text{g} : \text{R}\rightarrow\text{R}$ is defined as g(x) = 2x – 1, find fog(x).
A fair coin is tossed four times. Let X denote the longest string of heads accuring. Find the probability distribution mean and variance of X.
Integrate the function in Exercise:
$\frac{1}{\sqrt{(\text{x}-\text{a})(\text{x}-\text{b})}}$a
If $\text{y}=1+\frac{\alpha}{\big(\frac{1}{\text{x}}-\alpha\big)}+\frac{\frac{\beta}{\text{x}}}{\big(\frac{1}{\text{x}}-\alpha\big)\big(\frac{1}{\text{x}}-\beta\big)}+\frac{\frac{\gamma}{\text{x}^2}}{\big(\frac{1}{\text{x}}-\alpha\big)\big(\frac{1}{\text{x}}-\beta\big)\big(\frac{1}{\text{x}}-\gamma\big)},$ find $\frac{\text{dy}}{\text{dx}}$
Evaluate:
$\int\limits^{\pi}_{0} \frac{\text{x} \tan \text{x}}{\sec \text{x} + \tan \text{x}}\text{dx}$
A small firm manufactures gold rings and chains. The total number of rings and chains manufactured per day is at most $24.$ It takes $1$ hour to make a ring and $30$ minutes to make a chain. The maximum number of hours available per day is $16.$ If the profit on a ring is $Rs. 300$ and that on a chain is $Rs. 190,$ find the number of rings and chains that should be manufactured per day, so as to earn the maximum profit. Make it as an $\text{LPP}$ and solve it graphically.