AP Calculus AB and BC
Derivative of x sin x: Answer, Product Rule, Mistakes
The derivative of x sin x with respect to x is sin x plus x cos x. This needs the product rule, because the expression is a product of two functions that each depend on x. The derivative of a product is never the product of the derivatives.
How to differentiate x sin x
The product rule differentiates each factor in turn, keeping the other one fixed, and adds the results.
Take and , so and .
Why the product rule is necessary
If the derivative of a product were the product of the derivatives, the answer would be . Test it at : the real derivative is , while . They disagree, so the shortcut is false.
The same integrand also appears in Unit 6, where needs integration by parts, the reverse of the product rule.
Where the derivative of x sin x shows up on the AP exam
Topic 2.8 (The Product Rule) on both exams. It is the standard example because one factor is trivially differentiable, so the structure of the rule is visible without algebra getting in the way.
Common mistakes with the derivative of x sin x
- Answering , multiplying the derivatives.
- Answering and dropping the first term.
- Swapping which factor gets differentiated and writing .
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 sin x?
It is .
Why can I not just multiply the derivatives?
Because the product rule is not multiplicative. At the true derivative is while the product of derivatives is .
What is the integral of x sin x?
It is , by integration by parts, which is the product rule reversed.
What is the second derivative of x sin x?
It is , from differentiating with the product rule again.