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

A manufacturer produces two types of steel trunks. He has two machines $A$ and $B$. For completing, the first types of the trunk requires $3$ hours on machine $A$ and $3$ hours on machine $B$, whereas the second type of the trunk requires $3$ hours on machine $A$ and $2$ hours on machine $B$. Machines $A$ and $B$ can work at most for $18$ hours and $15$ hours per day respectively. He earns a profit of Rs. $30$ and Rs. $25$ per trunk of the first type and the second type respectively. How many trunks of each type must he make each day to make maximum profit?
If $\vec{\text{a}}$ be the position vector whose tip is (5, -3), find the coordinates of a point B such that $\overrightarrow{\text{AB}}=\vec{\text{a}}$, the coordinates of A being (4, -1).
Find the shortest distance between the following pairs of lines whose vector equation are:
$\vec{\text{r}}=\big(\hat{\text{i}}+2\hat{\text{j}}+3\hat{\text{k}}\big)+\lambda\big(2\hat{\text{i}}+3\hat{\text{j}}+4\hat{\text{k}}\big)$ and $\vec{\text{r}}=\big(2\hat{\text{i}}+4\hat{\text{j}}+5\hat{\text{k}}\big)+\mu\big(3\hat{\text{i}}+4\hat{\text{j}}+5\hat{\text{k}}\big)$
Two numbers are selected at random from integers 1 through 9. If the sum is even, find the probability that both the numbers are odd.
Solve the following differential equations:
$2\text{xy}\frac{\text{dy}}{\text{dx}}=\text{x}^2+\text{y}^2$
Find a unit vector perpendicular to the plane A B C, where the coordinates of A, B and C are A (3, -1, 2), B (1, -1, -3) and C (4, -3, 1).
If $\text{y}=1+\frac{\alpha}{\big(\frac{1}{\text{x}}-\alpha\big)}+\frac{\frac{\beta}{\text{x}}}{\big(\frac{1}{\text{x}}-\alpha\big)\big(\frac{1}{\text{x}}-\beta\big)}+\frac{\frac{\gamma}{\text{x}^2}}{\big(\frac{1}{\text{x}}-\alpha\big)\big(\frac{1}{\text{x}}-\beta\big)\big(\frac{1}{\text{x}}-\gamma\big)},$ find $\frac{\text{dy}}{\text{dx}}$
Show that $\text{f}(\text{x})=\tan^{-1}(\sin\text{x}+\cos\text{x})$ is a decreasing function on the interval $\Big(\frac{\pi}{4},\frac{\pi}{2}\Big).$
How many times must a fair coin be tossed so that the probability of getting at least one head is more than 80%?
Find the, intervals in which the following function is
  1. Strictly increasing,
  2. Strictly decreasing.