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

Using integration, find the area of the following region:
$\Big\{(\text{x},\text{y}):\frac{\text{x}^2}{9}+\frac{\text{y}^2}{4}\leq1\leq\frac{\text{x}}{3}+\frac{\text{y}}{2}\Big\}$
Solve the following differential equation:
$2\text{xy dx}+(\text{x}^2+2\text{y}^2)\text{dy}=0$
Find the distance of the point (1, -2, 4) from plane passing throuhg the point (1, 2, 2) and perpendicular of the planes x - y + 2z = 3 and 2x - 2y + z + 12 = 0
If $\vec{\text{a}},\vec{\text{b}},\vec{\text{c}}$ are non-zero, non-coplanar vectors, prove that the vector is coplanar:
$\vec{\text{a}}-2\vec{\text{b}}+3\vec{\text{c}},\ -3\vec{\text{b}}+5\vec{\text{c}}$ and $-2\vec{\text{a}}+3\vec{\text{b}}-4\vec{\text{c}}$
$\text{Let}\ \vec{\text{a}}=4\hat{\text{i}}+5\hat{\text{j}}-\hat{\text{k}},\vec{\text{b}}=\hat{\text{i}}-4\hat{\text{j}}+5\hat{\text{k}}$ and $\vec{\text{c}}=3\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}}$ Find a vector $\vec{\text{d}}$ which is perpendicular to both $\vec{\text{c}}\ \text{and }\vec{\text{b}}\ \text{and}\ \vec{\text{d}}\cdot\vec{\text{a}}=21.$
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{4}}_{-\frac{\pi}{4}}\frac{\text{x}^{11}-3\text{x}^9+5\text{x}^7-\text{x}^5+1}{\cos^2\text{x}}\text{ dx}$
If $f(x) = x^3 + ax^2 + bx + c$ has a maximum at $x = -1$ and minimum at $x = 3$. Determine $a, b$ and $c.$
Five defective mangoes are acciedently mixed with 15 good ones. Four mangoes are drawn at random from this lot. Find the probability distribution of the number of defective mangoes.
Evaluate the following integrals:
$\int\cos^{-1}(4\text{x}^3-3\text{x})\text{dx}$
Find: $\int \frac{x \sin^{-1} x}{\sqrt{1 - x^{2}}} \text{d}x.$