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

The random variable $X$ can take only the values $0, 1, 2, 3.$ Given that $P(2) = P(3) = p$ and $P(0) = 2P(1).$ If $\Sigma p_ix_i{}^2 = 2 \Sigma p_ix_i,$ find the value of $p.$
A rectangular sheet of tin $45\ cm$ by $24\ cm$ is to be made into a box without top, in cutting off squares from each corners and folding up the flaps. What should be the side of the square to be cut off so that the volume of the box is maximum possible $?$
The bag $A$ contains $8$ white and $7$ black balls while the bag $B$ contains $5$ white and $4$ black balls. One ball is randomly picked up from the bag $A$ and mixed up with the balls in bag $B.$ Then a ball is randomly drawn out from it. Find the probability that ball drawn is white.
Find the angle of intersecting of the following curves:
$\text{x}^2+\text{y}^2-4\text{x}-1=0\text{ and }\text{x}^2+\text{y}^2-2\text{y}-9=0$
Prove that the function
$\text{f}\text{(x)}=\begin{cases}\frac{\text{x}}{|\text{x|+2}\text{x}^2}, &\text{ x}\neq0\\\text{k}, &\text{ x}=0\end{cases}$ 
remains discontinuous at x = 0, regardless the choice of k.
Solve the following initial value problems:
$\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}=2\text{x}+\text{x}^2\tan\text{x},\text{ y}(0)=1$
Let A $=\begin{bmatrix}1&-2&1\\-2&3&1\\1&1&5\end{bmatrix}.$ Verify that
  • $[adj. A]^{-1} = adj.(A^{-1})$
  • $(A^{-1})^{-1} = A$
The probability distribution of a random variable X is given below:
$\text{X}$ $0$ $1$ $2$ $3$
$\text{P}(\text{X})$ $\text{k}$ $\frac{\text{k}}{2}$ $\frac{\text{k}}{4}$ $\frac{\text{k}}{8}$
  1. Determine the value of k.
  2. Determine $\text{P}(\text{X}\leq2)$ and $\text{P}(\text{X}\geq2)$
  3. Find $\text{P}(\text{X}\leq2)+\text{P}(\text{X}\geq2)$
If $\vec{\text{a}}\text{ and }\vec{\text{b}}$ are two non-collinear vectors having the same initial point. What are the vectors represented by $\vec{\text{a}}+\vec{\text{b}}\text{ and }\vec{\text{a}}-\vec{\text{b}}$.
Prove that:
$\begin{vmatrix}\text{a}+\text{b}&\text{b}+\text{c}&\text{c}+\text{a}\\\text{b}+\text{c}&\text{c}+\text{a}&\text{a}+\text{b}\\\text{c}+\text{a}&\text{a}+\text{b}&\text{b}+\text{c}\end{vmatrix}=2\begin{vmatrix}\text{a}&\text{b}&\text{c}\\\text{b}&\text{c}&\text{a}\\\text{c}&\text{a}&\text{b} \end{vmatrix}$