Question
Solve the following differential equation
$\frac{\text{dy}}{\text{dx}}-\text{x}\text{e}^\text{x}-\frac{5}{2}+\cos^2\text{x}$

Answer

$\frac{\text{dy}}{\text{dx}}-\text{x}\text{e}^\text{x}-\frac{5}{2}+\cos^2\text{x}$
$\text{dy}=\Big(\text{xe}^\text{x}-\frac{5}{2}+\cos^2\text{x}\Big)\text{dx}$
$\int\text{dy}=\int\text{xe}^\text{x}\text{dx}-\frac{5}{2}\int\text{dx}+\cos^2\text{x dx}$
$\int\text{dy}=\int\text{xe}^\text{x}\text{dx}-\frac{5}{2}\int\text{dx}+\int\Big(\frac{1+\cos2\text{x}}{2}\Big)\text{dx}$
$=\int\text{xe}^\text{x}-\frac{5}{2}\int\text{dx}+\frac{1}{2}\int\text{dx}+\frac{1}{2}\int\cos2\text{x dx}$
$\int\text{dy}=\int\text{xe}^\text{x}-2\int\text{dx}+\frac{1}{2}\int\cos2\text{x dx}$
$\text{y}=[\text{x}\times\int\text{e}^\text{x}\text{dx}-\int(1\times\int\text{e}^\text{x}\text{dx})\text{dx}]-2\text{x}+\frac{1}{2}\frac{\sin2\text{x}}{2}+\text{C}$
Using integration by parts
$\text{y}=\text{xe}^\text{x}-\text{e}^\text{x}-2\text{x}+\frac{1}{4}\sin2\text{x}+\text{C}$
$\text{y}=\text{xe}^\text{x}-\text{e}^\text{x}-2\text{x}+\frac{1}{4}\sin2\text{x}+\text{C}$

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

Find the inverse of the matrix (if it exists) given $\left[ {\begin{array}{*{20}{c}} 2&1&3 \\ 4&{ - 1}&0 \\ { - 7}&2&1 \end{array}} \right]$
Find the equation of the plane passing through the intersection of the planes $\vec{\text{r}}\cdot(2\hat{\text{i}}+\hat{\text{j}}+3\hat{\text{k}})=7,\vec{\text{r}}\cdot(2\hat{\text{i}}+5\hat{\text{j}}+3\hat{\text{k}})=9$ and the point (2, 1, 3).
If $\text{y}^\text{x}=\text{e}^{\text{x}-\text{e}},$ prove that $\frac{\text{dy}}{\text{dx}}=\frac{(1+\log\text{y})^2}{\log\text{y}}$
Using properties of definite integrals, prove the following:$\int\limits_0^{\pi} \frac{x \tan x}{\sec x\text{ }cosec\text{ x}} dx = \frac{\pi^{2}}{4}$
Evaluate the following integrals:$\int\frac{\text{x}^2(\text{x}^4+4)}{\text{x}^2+4}\text{ dx}$
If $\text{y}=\text{e}^{\tan^{-1}\text{x}},$ prove that $(1+\text{x}^2)\text{y}_2+(2\text{x}-1)\text{y}_1=0$
Form the differential equation of the family of hyperebolas having foci on x- axis and centre at the origine.
Find the equations of the planes parallel to the plane x - 2y + 2z - 3 = 0 and which are at a unit distance from the point (1, 1, 1).
If $\text{y}=\tan^{-1}\Big(\frac{2\text{x}}{1-\text{x}^2}\Big)+\sec^{-1}\Big(\frac{1+\text{x}^2}{1-\text{x}^2}\Big),\text{x}>0,$ prove that $\frac{\text{dy}}{\text{dx}}=\frac{4}{1+\text{x}^2}$
Find the shortest distance between the following pairs of lines whose vector equation are:
$\vec{\text{r}}=3\hat{\text{i}}+8\hat{\text{j}}+3\hat{\text{k}}+\lambda\big(3\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}}\big)$ and $\vec{\text{r}}=-3\hat{\text{i}}-7\hat{\text{j}}+6\hat{\text{k}}+\mu\big(-3\hat{\text{i}}+2\hat{\text{j}}+4\hat{\text{k}}\big)$