AP Calculus AB and BC
Integral of sin(4x): Answer, Proof, and Steps
The integral of sin(4x) is -cos(4x)/4 + C. Integrating sine produces negative cosine, and dividing by the inner coefficient 4 cancels the factor the chain rule would create. Differentiating -cos(4x)/4 gives 4 sin(4x) divided by 4, which is sin(4x).
Two adjustments: the sign and the coefficient
Integrating gives , so the minus sign is built in. The inner coefficient adds a second adjustment, because differentiating anything with inside multiplies by .
Substitution makes the division explicit. Let , so and .
Checking by differentiating
Differentiate the answer and watch both adjustments reverse.
The chain rule brings out the , which cancels the , and the derivative of cosine supplies the second minus sign that turns the answer positive.
The mistakes students make
- Losing the minus sign and answering . Differentiating that gives .
- Answering with no division. Its derivative is , four times too large.
- Multiplying by instead of dividing, giving , whose derivative is .
- Mixing up the sign rules. Sine integrates to negative cosine; cosine integrates to positive sine.
Divide by the inner coefficient
For any constant , both and carry a factor of , which cancels the the chain rule would introduce.
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 the answer negative?
Because . To land on after differentiating, the antiderivative has to start with a minus sign, giving .
What is the integral of sin(4x) from 0 to pi/4?
.
Does the same rule apply to sin(kx) for any k?
Yes, for any nonzero constant : . It fails only when the inside is not linear, as in , where no elementary antiderivative exists.