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

Let $A = R - {3}, B = R - {1}.$ Let $f : A \rightarrow B$ be defined by $\text{f}(\text{x})=\frac{\text{x}-2}{\text{x}-3}\ \forall\ \text{x}\in\text{A}.$ Then show that f is bijective.
Show that the semi-vertical angle of the cone of the maximum value and of given slant height is ${\tan ^{ - 1}}\sqrt 2$
If $\text{f}\text{(x)}=\begin{cases}\text{e}^\frac{1}{\text {x}}, & \text{if} \text{ x}\neq 0\\1, & \text{if}\text{x} = 0\end{cases}$ find whethe f is continuous at x = 0.
A random variable X takes the values 0, 1, 2 and 3 such that:
P(X = 0) = P(X > 0) = P(X < 0); P(X = -3) = P(X = -2) = P(X = -1); P(X = 1) = P(X = 2) = P(X = 3).
Obtain the probability distribution of X.
Evaluate the following integrals:
$\int\text{cosec x}\log({\text{cosec x}-\cot\text{x})}\text{dx}$
Verify Rolle's theorem of the following function on the indicated interval
$\text{f}(\text{x})=\sin3\text{x}\text{ on }[0,\pi]$
Using properties of determinants, prove that:
$\begin{vmatrix} \text{(b + c)}^{2} & \text{a}^{2} & \text{bc} \\ \text{(c + a)}^{2} & \text{b}^{2} & \text{ca} \\ \text{(a + b)}^{2} & \text{c}^{2} & \text{ab} \end{vmatrix} = {(a - b) (b - c) (c - a) (a + b + c)}\text{(a}^{2} + \text{b}^{2} + \text{c}^{2}) $
Find the intervals in which $\text{f}(\text{x})=\sin\text{x}-\cos\text{x},$ where $0<\text{x}<2\pi$ is increasing or decreasing.
Find the area of the region lying in the first quadrant and bounded by $y = 4x^2, x = 0, y = 1$ and $y = 4$.
A and B throw a pair of dice alternately. A wins the game if he gets a total of 7 and B wins the game if he gets a total of 10. If A starts the game, then find the probability that B wins.