AP Calculus AB and BC
Derivative of x^2 sin x: Answer, Product Rule, Mistakes
The derivative of x squared times sin x with respect to x is 2x sin x + x^2 cos x. The product rule differentiates each factor once: 2x times sin x plus x squared times cos x. The derivative of a product is never the product of the derivatives, so the answer keeps both terms.
How to differentiate x^2 sin x
The expression is a product of and , so the product rule differentiates each factor once, holding the other fixed, and adds.
Take and , so and .
Unlike , the two terms share no common exponential or trigonometric factor to pull out. Factoring the common only gives , which is no simpler, so the expanded form is the standard answer.
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 reverse operation, , needs integration by parts applied twice.
Where the derivative of x^2 sin x shows up on the AP exam
The product rule is Topic 2.8, on both AB and BC. A polynomial times a trigonometric function is a standard example, because one factor differentiates to a simple power and the structure of the rule stays visible.
Common mistakes with the derivative of x^2 sin x
- Answering , multiplying the two derivatives instead of using the product rule.
- Answering , dropping the that multiplies in the second term.
- Answering , adding a wrong minus sign; differentiates to .
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^2 sin x?
, from the product rule.
Why isn't the answer 2x cos x?
Because the derivative of a product is not the product of the derivatives. You keep each factor once: .
What is the integral of x^2 sin x?
, by integration by parts applied twice.