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

Without expanding, show that the values of the following determinant are zero:
$\begin{vmatrix}\cos(\text{x}+\text{y})&-\sin(\text{x}+\text{y})&\cos2\text{y}\\\sin\text{x}&\cos\text{x}&\sin\text{y}\\-\cos\text{x}&\sin\text{x}&-\cos\text{y} \end{vmatrix}$
Find the intervals in which the following functions are increasing or decreasing.
$f(x) = (x - 1)(x - 2)^2$
Evaluvate the following intregals:
$\int\frac{1}{3+4\cot\text{x}}\ \text{dx}$
Two institutions decided to award their employees for the three values of resourcefulness, competence and determination in the form of prices at the rate of Rs. x, y and z respectively per person. The first institution decided to award respectively 4, 3 and 2 employees with a total price money of Rs. 37000 and the second institution decided to award respectively 5, 3 and 4 employees with a total price money of Rs. 47000. If all the three prices per person together amount to Rs. 12000 then using matrix method find the value of x, y and z. What values are described in this equations?
Solve the following differential equations:
$(\text{x}^2-\text{y}^2)\text{dx}-2\text{xy dy}=0$
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}=\text{y}\tan\text{x}-2\sin\text{x}$
A cottage industry manufactures pedestal lamps and wooden shades, each requiring the use of grinding/cutting machine and sprayer. It takes 2 hours on the grinding/cutting machine and 3 hours on the sprayer to manufacture a pedestal lamp while it takes 1 hour on the grinding/cutting machine and 2 hours on the sprayer to manufacture a shade. On any day, the sprayer is available for at most 20 hours and the grinding/cutting machine for at most 12 hours. The profit from the sale of a lamp is Rs. 5.00 and a shade is Rs. 3.00. Assuming that the manufacturer can sell all the lamps and shades that he produces, how should he schedule his daily production in order to maximise his profit?
Evaluate the following integrals:
$\int\text{x}\sin^3\text{x dx}$
Find the shortest distance between the following pairs of lines whose vector equation are:
$\vec{\text{r}}=\big(2\hat{\text{i}}-\hat{\text{j}}-\hat{\text{k}}\big)+\lambda\big(2\hat{\text{i}}-5\hat{\text{j}}+2\hat{\text{k}}\big)$ and, $\vec{\text{r}}=\big(\hat{\text{i}}+2\hat{\text{j}}+\hat{\text{k}}\big)+\mu\big(\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}}\big)$
Evaluate the following integrals:
$\int(2\text{x}+5)\sqrt{10-4\text{x}-3\text{x}^2}\text{dx}$