Question
Solve the following differential equation:
$\text{x}\frac{\text{dy}}{\text{dx}}-\text{y}=(\text{x}-1)\text{e}^{\text{x}}$

Answer

Here, $\text{x}\frac{\text{dy}}{\text{dx}}-\text{y}=(\text{x}-1)\text{e}^{\text{x}}$
$\frac{\text{dy}}{\text{dx}}-\frac{\text{y}}{\text{x}}=\Big(\frac{\text{x}-1}{\text{x}}\Big)\text{e}^{\text{x}}$
It is a linear differential equation. comparing the equation by,
$\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
$\text{P}=-\frac{1}{\text{x}},\text{Q}=\Big(\frac{\text{x}-1}{\text{x}}\Big)\text{e}^{\text{x}}$
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}},\text{x}>0$
Solution of the equation is given by,
$\text{y}\times(\text{I.F.})=\int\text{Q}\times(\text{I.F.})\text{dx + C}$
$\text{y}\Big(\frac{1}{\text{x}}\Big)=\int\Big(\frac{\text{x}-1}{\text{x}}\Big)\text{e}^{\text{x}}\text{dx + C}$
$\frac{\text{y}}{\text{x}}=\int\Big(\frac{1}{\text{x}}-\frac{1}{\text{x}^2}\Big)\text{e}^{\text{x}}\text{dx + C}$
$\frac{\text{y}}{\text{x}}=\frac{1}{\text{x}}\text{e}^{\text{x}}+\text{C}$
Since $\int[\text{f(x)}+\text{f}'(\text{x})]\text{e}^{\text{x}}\text{dx}=\text{f(x)}\text{e}^{\text{x}}+\text{C}$
$\text{y}=\text{e}^{\text{x}}+\text{Cx},\text{x}>0$

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

Integrate the function $\sqrt{1+3 x-x^{2}}$
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}=\frac{(\text{x}-\text{y})+3}{2(\text{x}-\text{y})+5}$
A factory manufactures two types of screws A and B, each type requiring the use of two machines, an automatic and a hand-operated. It takes 4 minutes on the automatic and 6 minutes on the hand-operated machines to manufacture a packet of screws ‘A’ while it takes 6 minutes on the automatic and 3 minutes on the hand-operated machine to manufacture a packet of screws ‘B’. Each machine is available for at most 4 hours on any day. The manufacturer can sell a packet of screws ‘A’ at a profit of 70 paise and screws ‘B’ at a profit of Rs. 1. Assuming that he can sell all the screws he manufactures, how many packets of each type should the factory owner produce in a day in order to maximize his profit? Formulate the above LPP and solve it graphically and find the maximum profit.
Evaluate the following integrals:
$\int^\limits{\frac{\pi}{6}}_{0}\cos^{-3}2\theta\sin2\theta\text{ d}\theta$
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}=\text{x}^2\cos^2\text{x}$
Evalute the following integrals:
$\int\frac{\cos\text{x}}{2+3\sin\text{x}}\text{dx}$
Discuss the continuity of the function f, where f is defined by:
$\text{f(x)}= \begin{cases}-2,\ \text{if}\ \text{x}\leq-1 \\\text{2x},\text{if}\ -1<\text{x}\leq1\\2,\text{if}\ \text{x}>1\end{cases}$
If $\text{A}=\begin{bmatrix}1&-1&0\\ 2&3&4\\ 0&1&2\end{bmatrix}\text{and }\text{B}=\begin{bmatrix}2&2&-4\\ -4&2&-4\\ 2&-1&5\end{bmatrix}$  are two square matrices, find AB and hence solve the system of linear equations:
x - y = 3, 2x + 3y + 4z = 17, y + 2z = 7
Find the probability that the sum of the numbers showing on two dice is 8, given that at least one die does not show five.
Find the area enclosed by the curve $y = -x^2$ and the strainght line $x + y + 2 = 0.$