AP Calculus AB and BC
Integral of sin x/(1+cos x)
The integral of sin x over 1 plus cos x is negative the natural log of the absolute value of 1 plus cos x, plus C. The denominator differentiates to negative sin x, so the substitution works with a minus sign out front.
Substituting the denominator
The minus is not optional and it is not a convention: it is the derivative of cosine showing up in .
The denominator can vanish
is zero at odd multiples of , where the integrand has a vertical asymptote. The antiderivative is valid only between those points.
Common mistakes
- Losing the minus sign.
- Substituting and then forgetting the when writing the answer.
- Splitting the fraction into separate integrals.
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 sin x/(1+cos x)?
It is .
Why the minus sign?
Because , so the substitution introduces it.