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

A dealer in rural area wishes to purchase a number of sewing machines. He has only ₹ 5,760 to invest and has space for at most 20 items for storage. An electronic sewing machine costs him  360 and a manually operated sewing machine 240. He can sell the sewing machine at a profit of ₹ 22 and a manually operated sewing machine at a profit of ₹ 18. Assuming that he can sell all the items that he can buy, how should he invest his money in order to maximize his profit? Make it as an LPP and solve it graphically.
Show that $\text{y}=\text{ae}^{2\text{x}}+\text{be}^{-\text{x}}$ is a solution of the differential equation $\frac{\text{d}^2\text{y}}{\text{dx}^2}-\frac{\text{dy}}{\text{dx}}-2\text{y}=0$
Solve the following system of equations by matrix method:
3x + 4y + 7z = 14
2x - y + 3z = 4
x + 2y - 3z = 0
If $\text{A}=\begin{bmatrix}3&-2\\4&-2\end{bmatrix},$ find k such that A2 = kA - 2I2.
Let $\vec a = \hat i + 4\hat j + 2\hat k$, $\vec b = 3\hat i - 2\hat j + 7\hat k$ and $\vec c = 2\hat i - \hat j + 4\hat k$. Find a vector $\vec d$ which is perpendicular to both $\vec a$ and $\vec b$, and $\vec c.\vec d = 15$.
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{3}}_{\frac{\pi}{6}}\frac{\sqrt{\tan\text{x}}}{\sqrt{\tan\text{x}}+\sqrt{\cot\text{x}}}\text{ dx}$
Two schools A and B want to award their selected students on the values of sincerity, truthfulness and helpfulness. The school A wants to award ₹ x each, ₹ y each and ₹ z each for the three respective values to 3, 2 and 1 students respectively with a total award money of ₹ 1,600School B wants to spend ₹ 2,300 to award its 4, 1 and 3 students on the respective values (by giving the same award money to the three values as before). If the total amount of award for one prize on each value is ₹ 900, using matrices, find the award money for each value. Apart from these three values, suggest one more value which should be considered for award.
Evaluate the following integrals:
$\int\limits^{\text{b}}_{\text{a}}\frac{\text{x}^{\frac{1}{\text{n}}}}{\text{x}^\frac{1}{\text{n}}+\big(\text{a}+\text{b}-\text{x}\big)^{\frac{1}{\text{n}}}}\text{ dx},\text{ n}\in\text{N},\text{n}\leq2$
Evaluate the following integrals:
$\int\tan^{-1}(\sqrt{\text{x}})\text{dx}$
Find $\frac{\text{dy}}{\text{dx}},\text{if y = sin}^{-1}[\text{x}\sqrt{1 - x}-\sqrt{x}\sqrt{1 - x^{2}}]$.