AP Calculus AB and BC
Integral of cos(3x): Answer, Proof, and Steps
The integral of cos(3x) is sin(3x)/3 + C. The antiderivative of cosine is sine, and because the inside is 3x you divide by the inner coefficient 3. Differentiating sin(3x)/3 gives back cos(3x).
Setting up the antiderivative
The antiderivative of cosine is sine, and the inside function calls for a u-substitution that divides by the inner coefficient .
Let , so and .
Substituting back finishes the problem.
Verifying the 1/3
A quick derivative confirms both the coefficient and the absence of a sign flip.
The chain rule's factor of cancels the , and the derivative of sine is cosine, so the integrand comes back untouched with no leading minus.
Cosine stays positive
Integrating cosine never introduces a negative, so keep positive. The sign only appears for sine.
Common mistakes
- Forgetting the , which leaves the derivative as instead of .
- Inserting a negative sign. Integrating cosine gives positive sine.
- Dividing by out of habit. The inside is , so the divisor is .
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 cos(3x) from 0 to pi/6?
.
How does the integral of cos(3x) relate to the integral of cos(2x)?
Both divide by their inner coefficient: and . A larger coefficient gives a smaller factor out front.
What is the general integral of cos(kx)?
for any nonzero constant , with no negative sign since cosine integrates to sine.