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 the value of 'a' for which the function f defined as
$ \begin{matrix} & \text{a sin}\frac{\pi}{2}\text{(x + 1)}, & x\leq0 \\ \text{f(x)} \\ & \frac{\text{tan x - sin x}}{\text{x}^{3}}, & x<0 \\ \end{matrix}$

is continuous at X = 0.
If the interest is compounded continuously at 6% per annum, how much worth Rs 100 will be after 10 years? How long will it take to double Rs 1000?
$\text{Evaluate:} \int\limits_{-a}^{a} \sqrt\frac{{a - x}}{a + x} {dx}$
If $\vec{\text{a}},\vec{\text{b}}$ are two non-collinear vectors, prove that the points with position vectors $\vec{\text{a}}+\vec{\text{b}},\ \vec{\text{a}}-\vec{\text{b}}$ and $\vec{\text{a}}+\lambda\vec{\text{b}}$ are collinear for all real values of $\lambda$.
Solve the matrix equation $\begin{bmatrix}5 & 4 \\1 & 1 \end{bmatrix}\text{X}=\begin{bmatrix}1 & -2 \\1 & 3 \end{bmatrix},$ where $X$ is a $2 \times 2$ matrix.
Solve the following differential equation:
$\text{x}\frac{\text{dy}}{\text{dx}}=\text{y}-\text{x}\cos^2\Big(\frac{\text{y}}{\text{x}}\Big)$
Differentiate w.r.t. x the function in Exercise:
$\text{x}^{\text{x}^2-3}+(\text{x}-3)^{\text{x}^2},$ for x > 3
Find $\frac{\text{dy}}{\text{dx}},\text{if y = sin}^{-1}[\text{x}\sqrt{1 - x}-\sqrt{x}\sqrt{1 - x^{2}}]$.
In a game, a man wins Rs 5 for getting a number greater than 4 and loses Rs 1 otherwise, when a fair die is thrown. The man decided to thrown a die thrice but to quit as and when he gets a number greater then 4. Find the expected value of the amount he wins or loses.
Find the equation of the tangent to the curve $x^2 + 3y − 3 = 0,$ which is parallel to the line $y = 4x − 5.$