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

Two tailors, $A$ and $B$ earn $Rs. 15$ and $Rs. 20$ per day respectively. $A$ can stitch $6$ shirts and $4$ pants while $B$ can stitch $10$ shirts and $4$ pants per day. How many days shall each work if it is desired to produce $($at least$) 60$ shirts and $32$ pants at a minimum labour cost?
If $\text{A}=\begin{bmatrix} 3\\5\\2\end{bmatrix}$ and $\text{B}=\begin{bmatrix}1&0&4\end{bmatrix},$ verify that $(AB)^T = B^TA^T.$
In a bank principal increases at the rate of $r\%$ par year. Find the value of $r$ if $₹100$ double it self in $10$ years $(\log_e 2 = 0.6931).$
Show that the lines $\frac{x-1}{3}=\frac{y+1}{2}=\frac{z-1}{5}$ and $\frac{x-2}{2}=\frac{y-1}{3}=\frac{z+1}{-2}$ intersect and find their point of intersection.
If $\text{A}=\begin{bmatrix}1&1\\0&1\end{bmatrix},$ show that $\text{A}^2=\begin{bmatrix}1&2\\0&1\end{bmatrix}$ and $\text{A}^3=\begin{bmatrix}1&3\\0&1\end{bmatrix}.$
Find the intervals in which the following functions are increasing or decreasing.
$f(x) = 6 - 9x - x^2$
Find the values of a and b if the slope of the tangent to the curve xy + ax + by = 2 at (1, 1) is 2.
If P(A) = 0.4, P(B) = 0.8, $\text{P}\Big(\frac{\text{B}}{\text{A}}\Big)=0.6$. Find $\text{P}\Big(\frac{\text{A}}{\text{B}}\Big)$ and $\text{P}(\text{A}\cap\text{B}).$
If $\text{f(x)}=\begin{cases}\text{ax}^2-\text{b}, & \text{if |x|}<1\\\frac{1}{|\text{x}|}, & \text{if |x|}\geq1\end{cases}$ is differentiable at x = 1, find a, b.
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?