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

In the following, determine the values of constants involved in the definition so that the given function is continuous:
$\text{f(x)}=\begin{cases}\frac{\sqrt{1+\text{px}}\sqrt{1-\text{px}}}{\text{x}},&\text{if }-1\leq\text{ x}\leq-0\\\frac{2\text{x}+1}{\text{x}-2},&\text{if }0\leq\text{ x}\leq1\end{cases}$
Evaluate the following integrals:
$\int\frac{\sin^3\text{x}}{\sqrt{\cos\text{x}}}\text{dx}$
Find $\frac{\text{dy}}{\text{dx}}$ of the functions given in Exercise:
$(\cos\text{x})^\text{y}=(\cos\text{y})^\text{x}$
For $A, B$ and $C$ the chances of being selected as the manager of a firm are in the ratio $4:1:2$ respectively. The respective probabilities for them to introduce a radical change in marketing strategy are $0.3, 0.8$ and $0.5.$ If the change does take place, find the probability that it is due to the appointment of $B$ or $C.$
Without using the concept of inverse of a matrix, find the matrix $\begin{bmatrix}\text{x}&\text{y}\\\text{z}&\text{u}\end{bmatrix}$ such that $\begin{bmatrix}5&-7\\-2&3\end{bmatrix}\begin{bmatrix}\text{x}&\text{y}\\\text{z}&\text{u}\end{bmatrix}=\begin{bmatrix}-16&-6\\7&2\end{bmatrix}$
ABCD are four points in a plane and Q is the point of intersection of the lines joining the mid-points of AB and CD, BC and AD. Show that $\overrightarrow{\text{PA}}+\overrightarrow{\text{PB}}+\overrightarrow{\text{PC}}+\overrightarrow{\text{PD}}=4\ \overrightarrow{\text{PQ}}$, where P ia any point.
Find the value of $4\tan^{-1}\frac{1}{5}-\tan^{-1}\frac{1}{239}.$
Evaluate the following integrals:
$\int\frac{1}{(\text{x}^2-1)\sqrt{\text{x}^2+1}}\text{ dx}$
The function f(x) is befined as follows: $\text{f(x)}=\begin{cases}\text{x}^2+\text{ax}+\text{b},&0\leq\text{x}<2\\3\text{x}+2,&2\leq\text{x}\leq4\\2\text{ax}+5\text{b},&4<\text{x}\leq8\end{cases}$ if is continuous on [0, 8] find the value of a and b.
Find a 2 × 2 matrix A such that.
$\text{A}\begin{bmatrix}1&-2\\1&4\end{bmatrix}=6\text{I}_2$