Question
Evaluate the following integrals:
$\int\text{e}^{\text{x}}(\cos\text{x}-\sin\text{x})\text{dx}$

Answer

Let $\text{I}=\int\text{e}^{\text{x}}(\cos\text{x}-\sin\text{x})\text{dx}$
$=\int\text{e}^{\text{x}}\cos\text{x dx}-\int\text{e}^{\text{x}}\sin\text{x dx}$
Integrating by parts
$=\text{e}^{\text{x}}\cos\text{x}-\int\text{e}^{\text{x}}\Big(\frac{\text{d}}{\text{dx}}\cos\text{x}\Big)\text{dx}-\int\text{e}^{\text{x}}\sin\text{x dx}$
$=\text{e}^{\text{x}}\cos\text{x}+\int\text{e}^{\text{x}}\sin\text{x dx}-\int\text{e}^{\text{x}}\sin\text{x dx}$
$=\text{e}^{\text{x}}\cos\text{x}+\text{C}$
$\therefore\int\text{e}^{\text{x}}(\cos\text{x}-\sin\text{x})\text{dx}=\text{e}^{\text{x}}\cos\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 projection of $\vec{\text{b}}+\vec{\text{c}}$ on $\vec{\text{a}},$ where $\vec{\text{a}}=2\hat{\text{i}}-2\hat{\text{j}}+\hat{\text{k}},\vec{\text{b}}=\hat{\text{i}}+2\hat{\text{j}}-2\hat{\text{k}}$ and $\vec{\text{c}}=2\hat{\text{i}}-\hat{\text{j}}+4\hat{\text{k}}.$
Differentiate the following functions with respect to x:
$\sin^2(2\text{x}+1)$
Differentiate the following functions with respect to x:
$\text{e}^{\sin\sqrt{\text{x}}}$
Solve the following differential equation
$\frac{\text{dy}}{\text{dx}}=\frac{1-\cos2\text{y}}{1+\cos2\text{y}}$
In the following, determine the values of constants involved in the definition so that the given function is continuous:
$\text{f(x)}=\begin{cases}\frac{\sin2\text{x}}{5\text{x}},&\text{if }\text{ x}\neq0\\3\text{k},&\text{if }\text{ x}=0\end{cases}$ 
A pair of dice is thrown 4 times. If getting a doublet is considered a success, find the probability distribution of the number of successes and, hence, find its mean.
Evaluate the following definite integrals:
$\int_{0}^\limits{\pi}\Big(\sin^2\frac{\text{x}}{2}-\cos^2\frac{\text{x}}{2}\Big)\text{dx}$
An unbiased die is thrown twice. A success is getting a number greater than 4. Find the probability distribution of the number of successes.
An urn contains $5$ red and $5$ black balls. $A$ ball is drawn at random, its colour is noted and is returned to the urn. Moreover, $2$ additional balls of the colour drawn are put in the urn and then $A$ ball is drawn at random. What is the probability that the second ball is red?
If each element of a second order determinant is either zero or one, what is the probability that the value of the determinant is positive? $($Assume that the individual entries of the determinant are chosen independently, each value being assumed with probability $\frac{1}{2} ).$