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

Evaluate the following integrals:
$\int^{\frac{\pi}{2}}_{-\frac{\pi}{2}}\big(2\sin|\text{x}|+\cos|\text{x}|\big)\text{dx}$
A coin is tossed 5 times. What is the probability that head appears an even number of times?
Let $A = {1, 2, 3},$ and let $R_1 = {(1, 1), (1, 3), (3, 1), (2, 2), (2, 1), (3, 3)}$. Find whether or not the relations $R_1$ on $A$ is:
  1. Reflexive.
  2. Symmetric.
  3. Transitive.
Write the equation of the normal to the curve $\text{y}=\text{x}+\sin\text{x}\cos\text{x}\text{ at }\text{x}=\frac{\pi}{2}.$
Prove the following:
$\tan^{-1}\Bigg(\frac{1}{3}\Bigg)+\tan^{-1}\Bigg(\frac{1}{5}\Bigg)+\tan^{-1}\Bigg(\frac{1}{7}\Bigg)+\tan^{-1}\Bigg(\frac{1}{8}\Bigg)=\frac{\pi}{4}.$
Determine the maximum value of Z = 3x + 4y if the feasible region (shaded) for a LPP is shown in.
Show that the following planes are at right angles.
$x - 2y + 4z = 10$ and $18x + 17y + 4z = 49$
Verify Lagrange's mean value theorem for the following function on the indicated intervals. find a point 'c' in the indicated interval as stated by the Lagrange's mean value theorem.$\text{f}(\text{x})=\sin\text{x}-\sin2\text{x}-\text{x}\text{ on }[0,\pi]$
Given a non-empty set $X,$ let $*: P(X) \times P(X) \rightarrow P(X)$ be defined as $\text{A}*\text{B} =(\text{A – B})\cup(\text{B – A}),\forall\text{A},\text{B}\in\text{P(X)}.$Show that the empty set $\phi$ is the identity for the operation $*$ and all the elements $A$ of $P(X)$ are invertible with $A^{–1} = A. (\text{Hint: }(\text{A}-\phi)\cup(\phi-\text{A})=\text{A}\ \text{and }(\text{A}-\text{A})\cup(\text{A}-\text{A})=\text{A}*\text{A}=\phi).$
Show that the points whose position vectors are as given below are collinear:
$3\hat{\text{i}}-2\hat{\text{j}}+4\hat{\text{k}},\ \hat{\text{i}}+\hat{\text{j}}+\hat{\text{k}}$ and $-\hat{\text{i}}+4\hat{\text{j}}-2\hat{\text{k}}$