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

Evaluate the following integrals:
$\int\limits^{\frac{\pi}{4}}_{-\frac{\pi}{4}}\frac{\tan^{2}\text{x}}{1+\text{e}^{\text{x}}}\text{ dx}$
Find the points on the curve $\frac{\text{x}^2}{4}+\frac{\text{y}^2}{25}=1$ at which the tangent are parallel to the
  1. x-axis
  2. y-axis.
Differentiate $\sin^{-1}\sqrt{1-\text{x}^2}$ with respect to $\cos^{-1}\text{x},$ if
$\text{x}\in(-1,0)$
If $xy^2 = 1$, prove that $2\frac{\text{dy}}{\text{dx}}+\text{y}^3=0$
A card is drawn and replaced in an ordinary pack of 52 cards. How many times must a card be drawn so that.
  1. there is at least an even chance of drawing a heart.
  2. the probability of drawing a heart is greater than $\frac{3}{4}$?
A small firm manufactures necklaces and bracelets. The total number of necklaces and bracelets that it can handle per day is at most 24. It takes one hour to make a bracelet and half an hour to make a necklace. The maximum number of hours available per day is 16. If the profit on a necklace is Rs. 100 and that on a bracelet is Rs. 300. Formulate on L.P.P. for finding how many of each should be produced daily to maximize the profit?
It is being given that at least one of each must be produced.
Find the intervals in which the following functions are increasing or decreasing.
$\text{f}(\text{x})=\frac{3}{2}\text{x}^4-4\text{x}^3-45\text{x}^2+51$
Solve the Linear Programming Problem graphically:
Maximize Z = 3x + 2y subject to $x + 2y \leq 10,3x + y \leq 15,x,y \geq0$
$\int\frac{\text{x}}{\sqrt{\text{x}+\text{a}}-\sqrt{\text{x}+\text{b}}}\text{dx}$
Evaluate the following integrals:$\int\tan^{-1}\Big(\frac{2\text{x}}{1-\text{x}^2}\Big)\text{dx}$