AP Calculus AB and BC
Derivative of x/sin x: Quotient Rule Proof, Mistakes
Differentiating x/sin x gives (sin x - x cos x) divided by sin^2 x. A variable on top and a trig function on the bottom means the quotient rule: bottom times derivative of top, minus top times derivative of bottom, all over the bottom squared. Order matters, since reversing it flips the sign.
Applying the quotient rule
Write on top and on the bottom, so and . The quotient rule is , and the subtraction runs in that order and no other.
Nothing cancels. The numerator has no common factor with , so this is already the finished form. An equivalent version, obtained by splitting the fraction, is .
What happens at x = 0
is the reciprocal of the famous limit , so the function is undefined at but approaches as approaches . There is a removable discontinuity there, not a vertical asymptote.
The derivative behaves the same way. Both and go to at the origin, and the ratio approaches , which fits a graph that flattens out as it fills in the hole at height . Real vertical asymptotes appear instead at and so on, where but does not.
The mistakes students make
The quotient rule punishes carelessness about order more than any other differentiation rule, and this function is a clean example of it.
- Writing , the exact negative of the correct derivative. The rule starts with the bottom times the derivative of the top, so comes first.
- Offering by differentiating the top and bottom separately. That is not a differentiation rule. Differentiating top and bottom is L'Hopital's rule, and it returns the value of a limit at a single point, not a derivative function. It is doubly confusing here because at the form really is , so L'Hopital does apply there and gives , the limit found above, which is not the slope anywhere.
- Turning the denominator into or . The squaring applies to the whole function , so it is , written .
Check yourself, not just the answer
Type derivatives and get graded on mathematical equivalence, with rule-level hints when you miss, in the Derivative Practice Checker.
Frequently asked questions
What is the derivative of x over sin x?
It is . The quotient rule with and gives it directly, and nothing simplifies further.
Is x/sin x defined at 0?
No, because . The limit as approaches is , so the graph has a hole at height rather than a vertical asymptote.
Can I use the product rule instead of the quotient rule?
Yes. Rewrite the function as , then the product rule gives , which is the same derivative in a different form.