Question:medium

If an antiderivative of \(f(x)\) is \(e^x\) and an antiderivative of \(g(x)\) is \(cosx\), then \(\int f(x)cosx\,dx+\int g(x)e^x\,dx =\)

Show Hint

The two integrands are the parts of d(e^x cos x).
Updated On: Oct 1, 2026
  • \(e^xsinx+c\)
  • \(e^x(f(x)+g(x))+c\)
  • \(e^xcosx+c\)
  • \(e^x+c\)
Show Solution

The Correct Option is C

Solution and Explanation

Step 1: Product rule:
$\dfrac{d}{dx}(e^x\cos x)=e^x\cos x+e^x(-\sin x)$.

Step 2: Match terms:
The first term is $f\cos x$ since $f=e^x$. The second term is $g\,e^x$ since $g=-\sin x$.

Step 3: Conclude:
So the sum of the integrals is the antiderivative of that derivative, which is $e^x\cos x+c$. Option (C).

Final Answer:
The two integrands add up to the derivative of e^x cos x. \[ \boxed{C} \]
Was this answer helpful?
0