AP Calculus AB and BC
Integral of e^(sin x)cos(x): Answer and Proof
The integral of e^(sin x)cos(x) is e^(sin x) + C. Letting u = sin x gives du = cos x dx, so the integral becomes the integral of e^u du, which is e^u. Differentiating e^(sin x) by the chain rule gives e^(sin x) times cos x, the original integrand.
Substituting u = sin x
The exponent is and the factor outside is , exactly the derivative of that exponent. Nothing needs to be adjusted by a constant.
This is the pattern . Whenever the exponent's derivative multiplies the exponential, the antiderivative is the exponential itself.
Checking by differentiating
Differentiate with the chain rule: keep the exponential, then multiply by the derivative of the exponent.
That is the integrand, with no leftover constant, which is why the answer carries no coefficient in front.
The mistakes students make
- Adding a coefficient such as . Dividing by an inner derivative is only valid when that derivative is a constant, and is not.
- Answering by trying to antidifferentiate each factor. The is consumed by , not integrated on its own.
- Reaching for integration by parts. The integrand is already in substitution form, so parts only lengthens the work.
- Answering from a sign slip. Check by differentiating: , which is not the integrand.
Every answer on this page is machine checked
An automated test differentiates the antiderivative above and confirms it returns the integrand. A wrong sign or a missing factor fails the build, so it cannot reach you.
Frequently asked questions
Why is there no fraction in front of the answer?
Because matches the integrand exactly, with no constant left over. Coefficients like appear only when differs from what is present by a constant factor, as in .
What is the integral of e^(sin x)cos(x) from 0 to pi/2?
.
What happens without the cos x factor?
has no antiderivative in elementary functions. The is what makes this integral solvable, which is why AP problems always supply it.