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

$\text{Find}:\int\frac{(3\sin x-2)\cos x}{13\ -\ \cos^2x \ - \ 7\sin x}\text{d}x$
A dealer in rural area wishes to purchase a number of sewing machines. He has only 5,760 to invest and has space for at most 20 items for storage. An electronic sewing machine costs him 360 and a manually operated sewing machine 240. He can sell the sewing machine at a profit of 22 and a manually operated sewing machine at a profit of 18. Assuming that he can sell all the items that he can buy, how should he invest his money in order to maximize his profit? Make it as an LPP and solve it graphically.
Prove that the points $\hat{\text{i}}-\hat{\text{j}},\ 4\hat{\text{i}}+3\hat{\text{j}}+\hat{\text{k}}$ and $2\hat{\text{i}}-4\hat{\text{j}}+5\hat{\text{k}}$ are the vertices of a right-angled triangle.
Evaluate the following integrals:
$\int\tan\text{x}\sec^2\text{x}\sqrt{1-\tan^2\text{x}}\text{ dx}$
Find the particular solution of the differential equation $\frac{\text{dy}}{\text{dx}}=\frac{\text{xy}}{\text{x}^2+\text{y}^2}$ given that y = 1 when x = 0.
Find the point on the curvey $y^2= 2x$ which is at a minimum distance from the point $(1, 4)$.
Solve the following initial value problems:
$(1+\text{y}^2)\text{dx}+(\text{x}-\text{e}^{\tan^{-1}\text{y}})\text{dy}=0,\text{ y}(0)=0$
Solve the following differential equation :
$\left(y+3 x^2\right) \frac{d x}{d y}=x$
Check the commutativity and associativity of the following binary operations:
'*' on Q defined by $\text{a}\ ^*\ \text{b}=\frac{\text{ab}}{4}$ for all a, b ∈ Q.
If $\text{x}=\text{a}\sin2\text{t}(1+\cos 2\text{t})$ and $\text{y}=\text{b}\cos\text{t}(1-\cos2\text{t}),$ show that at $\text{t}=\frac{\pi}{4},\frac{\text{dy}}{\text{dx}}=\frac{\text{b}}{\text{a}}\text{ t}=\frac{\pi}{4},\frac{\text{dy}}{\text{dx}}=\frac{\text{b}}{\text{a}}$