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 elementary row transformations, find the inverse of the matrix $\text{A}=\begin{bmatrix}1 & 2&3 \\2 & 5&7\\-2&-4&-5 \end{bmatrix}.$
Find the angle between the lines whose direction ratios are proportional to a, b, c and b - c, c - a, a - b.
Evaluate the following integrals:
$\int\frac{\log\big(1+\frac{1}{\text{x}}\big)}{\text{x}(1+\text{x})}\text{dx}$
If $\text A = \begin{bmatrix}1&2&-3\\5&0&2\\1&-1&1\end{bmatrix},\ \text B = \begin{bmatrix}3&-1&2\\4&2&5\\2&0&3\end{bmatrix} \text{and}\ \text C = \begin{bmatrix}4&1&2\\0&3&2\\1&-2&3\end{bmatrix},$ then compute (A + B) and (B - C).
Also, verify that A + (B - C) = (A + B) - C.
Evaluate the following integrals as limit of sum:
$\int\limits^{\frac{\pi}{2}}_{0}\cos\text{x dx}$
A company manufactures two types of novelty souvenirs made of plywood. Souvenirs of type A require 5 minutes each for cutting and 10 minutes each for assembling. Souvenirs of type B require 8 minutes each for cutting and 8 minutes each for assembling. There are 3 hours 20 minutes available for cutting and 4 hours for assembling. The profit is Rs 5 each for type A and Rs 6 each for type B souvenirs. How many souvenirs of each type should the company manufacture in order to maximise the profit?
Evaluate the following integrals:

$\int\sin^{-1}\Big(\frac{2\text{x}}{1+\text{x}^2}\Big)\text{dx}$

Evaluate the following integrals:
$\int\limits^{\text{a}}_{-\text{a}}\frac{1}{1+\text{a}^{\text{x}}}\text{ dx},\text{ a}>0$
Find the direction cosines of the line $\frac{\text{x}+2}{2}=\frac{2\text{y}-7}{6}=\frac{5-\text{z}}{6}.$ Also, find the vector equation of the line through the point A(-1, 2, 3) and parallel to the given line.
Solve the following differential equations:
$\frac{\text{dy}}{\text{dx}}=\frac{\text{y}-\text{x}}{\text{y + x}}$