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

Answer

Here, $\text{x}\frac{\text{dy}}{\text{dx}}+\text{y}=\text{x}\text{e}^{\text{x}}$ $\frac{\text{dy}}{\text{dx}}+\frac{\text{y}}{\text{x}}=\text{e}^{\text{x}}$ It is a linear differential equation, comparing it with $\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$ $\text{P}=\frac{1}{\text{x}}, \text{Q}=​​​​\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}}$ $=\text{x}$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}\times(\text{x})=\int\text{e}^{\text{x}}\times\text{xdx + C}$ $\text{xy}=\text{x}\int\text{e}^{\text{x}}\text{dx}-\int(1\times\int\text{e}^{\text{x}}\text{dx})\text{dx + C}$ Using integration by parts $=\text{x}\text{e}^{\text{x}}-\int\text{e}^{\text{x}}\text{dx}+\text{C}$ $=\text{x}\text{e}^{\text{x}}-\text{e}^{\text{x}}+\text{C}$ $\text{xy}=(\text{x}-1)\text{e}^{\text{x}}+\text{C}$ $\text{y}=\Big(\frac{\text{x}-1}{\text{x}}\Big)\text{e}^{\text{x}}+\frac{\text{C}}{\text{x}},\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

Find one-parameter families of solution curves of the following differential equation: (or solve the following differential equation)$(\text{x}\log\text{x})\frac{\text{dy}}{\text{dx}}+\text{y}=\log\text{x}$
Draw the rough sketch of $\frac{\text{x}^{2}}{4}+\frac{\text{y}^{2}}{9}=1$ and evaluate the area of the region under the area the curve and the line x-axis.
Show that the following systems of linear equations is inconsistent:
3x - y + 2z = 6,
2x - y + z = 2,
3x + 6y + 5z = 20
Find the values of p and q, for which is continuous at
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{2}}_0\sin2\text{x }\tan^{-1}(\sin\text{x})\text{dx}$
Find the coordinates of the point where the line through $(5, 1, 6)$ and $(3, 4, 1)$ crosses the $YZ$-plane.
Evaluate the following integrals:
$\int\limits^{\pi}_0\text{x}\log\sin\text{x}\text{ dx}$
An aeroplane can carry a maximum of 200 passengers. A profit of Rs. 400 is made on each first class ticket and a profit of Rs. 600 is made on each economy class ticket. The airline reserves at least 20 seats of first class. However, at least 4 times as many passengers prefer to travel by economy class to the first class. Determine how many each type of tickets must be sold in order to maximize the profit for the airline. What is the maximum profit.
Maximum Z = 3x + 4y
Subject to
$2\text{x}+2\text{y}\leq80$
$2\text{x}+4\text{y}\leq120$
Differential equation $\frac{\text{d}^2\text{y}}{\text{dx}^2}+\text{y}=0,\text{y}(0)=1,\text{y}'(0)=1$Function $\text{y}=\sin\text{x}+\cos\text{x}$