Question Error Report

Thank you for reporting, we will resolve it shortly

Back to Question

Q. If an antiderivative of $f(x)$ is $e^x$ and that of $g(x)$ is $\cos x$, then $\int f(x) \cos x d x+\int g(x) e^x d x$ is equal to
where $C$ is constant of integration.

Integrals

Solution:

$ \because \int f(x) d x=e^x \Rightarrow f(x)=e^x$
$\int g(x) d x=\cos x \Rightarrow g(x)=-\sin x$
$\text { Given expression } =\int e^x \cos x d x+\int-\sin x e^x d x $
$ =\int e^x(\cos x+(-\sin x)) d x=e^x \cos x+C$