Question
Solve the following initial value problems:
$\text{x}\frac{\text{dy}}{\text{dx}}-\text{y}=(\text{x}+1)\text{e}^{\text{x}},\text{ y}(1)=0$

Answer

We have,
$\text{x}\frac{\text{dy}}{\text{dx}}-\text{y}=(\text{x}+1)\text{e}^{\text{x}}$
$\Rightarrow\frac{\text{dy}}{\text{dx}}-\frac{1}{\text{x}}\text{y}=\Big(\frac{\text{x}+1}{\text{x}}\Big)\text{e}^{\text{x}}\ ....(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}}$ and $\text{Q}=\frac{\text{x}+1}{\text{x}}\text{e}^{-\text{x}}$
$\therefore\text{ 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}}$
Multiplying both sides of (1) by $\text{I.F.}=\frac{1}{\text{x}},$ we get
$\frac{1}{\text{x}}\Big(\frac{\text{dy}}{\text{dx}}-\frac{1}{\text{x}}\text{y}\Big)=\Big(\frac{\text{x}+1}{\text{x}^2}\Big)\text{e}^{-\text{x}}$
Integrating both sides with respect to x, we get
$\frac{1}{\text{x}}\text{y}=\int\Big(\frac{1}{\text{x}}+\frac{1}{\text{x}^2}\Big)\text{e}^{-\text{x}}\text{dx}+\text{C}$
Putting $\frac{1}{\text{x}}\text{e}^{-\text{x}}=\text{t}$
$\Rightarrow\Big(-\frac{1}{\text{x}}\text{e}^{-\text{x}}-\frac{1}{\text{x}^2}\text{e}^{-\text{x}}\Big)\text{dx}=\text{dt}$
$\Rightarrow\Big(\frac{1}{\text{x}}+\frac{1}{\text{x}^2}\Big)\text{e}^{-\text{x}}\text{dx}=-\text{dt}$
$\therefore\ \frac{1}{\text{x}}\text{y}=\int-\text{dt}+\text{C}$
$\Rightarrow\frac{\text{y}}{\text{x}}=-\text{t}+\text{C}$
$\Rightarrow\frac{\text{y}}{\text{x}}=-\frac{\text{e}^{\text{x}}}{\text{x}}+\text{C}$
$\Rightarrow\text{y}=-\text{e}^{-\text{x}}+\text{Cx}\ ...(2)$
Now,
$\text{y}(1)=0$
$\therefore0=-\text{e}^{-1}+\text{C}$
$\Rightarrow\text{y}=\text{xe}^{-1}-\text{e}^{-\text{x}}$
Hence, $\text{y}=\text{xe}^{-1}-\text{e}^{-\text{x}}$ 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

Find the equations of the line passing through the point (3, 0, 1) and parallel to the planes x + 2y = 0 and 3y - z = 0.
Solve the following differential equations:

$\cos\text{x}\cos\text{y}\frac{\text{dy}}{\text{dx}}=-\sin\text{x}\sin\text{y}$

In a game, a man wins a rupee for a six and loses a rupee for any other number when a fair die is thrown. The man decided to throw a die thrice but to quit as and when he gets a six. Find the expected value of the amount he wins/loses.
Write the minors and cofactors of element of the first column of the following matrices and hence evaluate the determinant in case:
$\text{A}=\begin{vmatrix}1&\text{a}&\text{bc}\\1&\text{b}&\text{ca}\\1&\text{c}&\text{ab} \end{vmatrix}$
Show that each of the given three vectors is a unit vector:
$ \frac{1}{7}\left( {2\hat i + 3\hat j + 6\hat k} \right), \frac{1}{7}\left( {6\hat i + 2\hat j - 3\hat k} \right), \ \frac{1}{7}\left( {3\hat i - 6\hat j + 2\hat k} \right)$ 
Also, show that they are mutually perpendicular to each other.
Evaluate the following intregals:
$\int\frac{\text{x}^2+\text{x}-1}{(\text{x}+1)^2(\text{x}+2)}\ \text{dx}$
Without expanding, show that the values of the following determinant are zero:
$\begin{vmatrix}\sqrt{23}+\sqrt{3}&\sqrt{5}&\sqrt{5}\\\sqrt{15}+\sqrt{46}&5&\sqrt{10}\\3+\sqrt{115}&\sqrt{15}&5\end{vmatrix}$
Evaluate the integral in Exercise:
$\int\limits^{1}_{0}\sin^{-1}\bigg(\frac{2\text{x}}{1+\text{x}^{2}}\bigg)\text{dx}$
Show that among all positive number x and y with x2 + y2 = r2, the sum x + y is largest when x = y =$\sqrt{2}.$
Find the area of the ragion bounded by the curve ay= x3 the y-axis and the line y = a and y = 2a.