AP Calculus BC
Integral of e^(3x) cos x: The Loop Trick
The integral of e to the 3x times cos x is e to the 3x times 3 cos x plus sin x, all over 10, plus C. Two passes of integration by parts return the original integral, so instead of recursing forever you solve for it algebraically.
When parts loops, solve for the integral
Call the integral . Two passes of parts return a multiple of on the right, which turns the problem from calculus into algebra.
The is , which is the general pattern: carries a denominator of .
The general formula
Knowing the shape is useful, but the exam wants the loop argument, because that is the transferable idea.
Common mistakes
- Giving up when the original integral reappears. Its reappearance is the method.
- Switching which factor is between the two passes, which unwinds the first pass and returns .
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
What is the integral of e^(3x) cos x?
It is .
Why does the integral reappear?
Because exponentials and trig functions both reproduce themselves under differentiation, so two passes return the original shape. You then solve for it.
Where does the 10 come from?
It is with and .