AP Calculus AB and BC
Integral of cos x / sin^2 x: The Answer Is -csc x
The integral of cos x over sin squared x is negative cosecant x, plus C. Substituting u equals sin x turns the integrand into u to the power negative two, and the resulting negative 1 over sin x is normally written as negative csc x.
One substitution, then the power rule
The numerator is exactly what differentiates to, and the denominator is nothing but a power of . That pairing is the signal to set , giving and consuming the numerator whole.
That is already correct. Since by definition, the tidy form is .
Recognising a reciprocal trig function
The step people stall on is the last one. A fraction with on top looks unfinished, so students keep manipulating looking for something better. There is nothing better: it is a named function wearing its definition instead of its name.
Differentiating backwards confirms it. .
The same integral in disguise
Split the integrand as (1/sin x)(cos x/sin x) and it reads csc x cot x, a standard derivative you already know in reverse. Spotting that form gives the answer with no substitution at all.
The mistakes students make
Two of these are sign or pattern slips; the third is a reflex triggered by seeing a fraction.
- Answering with no minus sign. The power rule sends to , and that negative belongs in the final answer.
- Confusing the integrand with and answering . The numerator here is , not , so the two problems are different.
- Writing because the integrand is a quotient. A log needs the numerator to be the derivative of the denominator, and differentiates to , not .
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 x / sin^2 x?
Both and name the same antiderivative, and either one is a complete answer.
Is -1/sin x an acceptable final answer?
Yes. It is the same function as , so a grader accepts either. Converting to notation is a matter of convention.
Why is the answer negative?
Because the power rule on raises the exponent to and divides by . The minus comes from the exponent, not from the substitution.