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

If $\text{x}=2\cos\theta-\cot2\theta$ and $\text{y}=2\sin\theta-\sin2\theta,$ prove that $\frac{\text{dy}}{\text{dx}}=\tan\big(\frac{3\theta}{2}\big)$
A kite is moving horizontally at a height of $151.5$ meters. If the speed of kite is $10m/ s,$ how fast is the string being let out; when the kite is $250m$ away from the boy who is flying the kite? The height of boy is $1.5m$.
Find the matrix A satisfying the matrix equation:$\begin{bmatrix}2&1\\3&2\end{bmatrix}\text{A}\begin{bmatrix}-3&2\\5&-3\end{bmatrix}=\begin{bmatrix}1&0\\0&1\end{bmatrix}.$
Two dice are thrown together and the total score is noted. The events E, F and G are ‘a total of 4’, ‘a total of 9 or more’, and ‘a total divisible by 5’, respectively. Calculate P(E), P(F) and P(G) and decide which pairs of events, if any, are independent.
Differential equation $\frac{\text{d}^2\text{y}}{\text{dx}^2}-2\frac{\text{dy}}{\text{dx}}+\text{y}=0,\text{y}(0)=1,\text{y}(0)=2$ Function $\text{y}=\text{xe}^\text{x}+\text{e}^{\text{x}}$
Solve the following differential equations:$\tan\text{y}\frac{\text{dy}}{\text{dx}}=\sin(\text{x}+\text{y})+\sin(\text{x}-\text{y})$
Solve the following differential equation
$\text{xy}(\text{y}+1)\text{dy}=(\text{x}^2+1)\text{dx}$
Using the method of integration find the area of the triangle ABC, coordinates of whose vertices are A(2, 0), B(4, 5) and C(6, 3).
Two cards are drawn successively with replacement from well shuffled pack of 52 cards. Find the probability distribution of the number of kings.
Using integration find the are of the region bounded by the parabola $y^{2} ={4x}$ and the circle $4x^{2} + 4y^{2} = 9$