∫Calc Practice
Home›Calculus 1›Product rule›Problem 2.575

Derivative of \( \displaystyle 9 x^{2} \cos{\left(3 x \right)} \)

Problem 2.575 · hard

Differentiate \( \displaystyle f(x) = 9 x^{2} \cos{\left(3 x \right)} \).
  1. \[ \frac{d}{d x} 9 x^{2} \cos{\left(3 x \right)} \]
    derivativeStart with the derivative of the function.✓ Proved
  2. \[ = 9 \frac{d}{d x} x^{2} \cos{\left(3 x \right)} \]
    constant-multiplePull out the constant factor 9.✓ Proved
  3. \[ = 9 x^{2} \frac{d}{d x} \cos{\left(3 x \right)} + 9 \cos{\left(3 x \right)} \frac{d}{d x} x^{2} \]
    productApply the product rule.✓ Proved
  4. \[ = 9 x^{2} \frac{d}{d x} \cos{\left(3 x \right)} + 18 x \cos{\left(3 x \right)} \]
    powerDifferentiate x**2.✓ Proved
  5. \[ = - 9 x^{2} \sin{\left(3 x \right)} \frac{d}{d x} 3 x + 18 x \cos{\left(3 x \right)} \]
    trigDifferentiate cos(3*x) using the chain rule.✓ Proved
  6. \[ = - 27 x^{2} \sin{\left(3 x \right)} + 18 x \cos{\left(3 x \right)} \]
    derivative algebra simplifyDifferentiate 3*x. Simplify the expression inside the parentheses. Distribute the 9 to get the final answer.✓ Proved
Answer \( - 27 x^{2} \sin{\left(3 x \right)} + 18 x \cos{\left(3 x \right)} \)

Every line of this solution was proved by the computer algebra system SymPy. The answer was also checked a second way, without looking at the solution. The reviewers disagree about how one step is explained; every verdict is in the receipt.

The full receipt
LineStatusChecked byDetail
1✓ Provedsympy 1.14.0line 1 is the problem as stated
2✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
3✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
4✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
5✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
6✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
7✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
8✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
answer✓ Provedsympy 1.14.0final line against the stated answer: simplify(a - b) reduced to 0
answer, a second way✓ Provedsympy 1.14.0SymPy differentiated f directly and got the stated answer

Reviewers

  • gpt-oss:20b: fail (style) — Step 5 incorrectly labels the application of the chain rule as "trig". The derivative of cos(3*x) should be identified with the chain rule, not the trig rule, and the label should be "chain".
  • qwen3.6:27b-mlx: fail (misleading) — Step 5 applies the chain rule to differentiate cos(3*x), but labels the step 'trig'. The label 'trig' typically refers to trigonometric identities or simplifications, not the chain rule. This is misleading because the core operation performed is the chain rule, not a trigonometric identity.
Every verdict on record (4)
  • qwen3.6:27b-mlx: fail (misleading) 2026-09-21 — Step 5 applies the chain rule to differentiate cos(3*x), but labels the step 'trig'. The label 'trig' typically refers to trigonometric identities or simplifications, not the chain rule. This is misleading because the core operation performed is the chain rule, not a trigonometric identity.
  • gpt-oss:20b: fail (style) 2026-09-21 — Step 5 incorrectly labels the application of the chain rule as "trig". The derivative of cos(3*x) should be identified with the chain rule, not the trig rule, and the label should be "chain".
  • qwen3.6:27b-mlx: fail (misleading) 2026-09-21 — Step 5 applies the chain rule to differentiate cos(3*x), but is labeled 'trig'. The label 'trig' typically refers to trigonometric identities or basic derivatives, whereas the step explicitly invokes the inner derivative, making 'chain' the correct label from the vocabulary.
  • gpt-oss:20b: pass 2026-09-21

Proved: SymPy reduced the difference between the two sides to zero. Checked independently: a separate method, named above, confirmed it. Checked numerically: the two sides agree at every sampled point, which is evidence, not proof. Reviewed: a model or a person read it; that is all a sentence can have. Solution by gemma4:26b, checked 2026-09-26 with SymPy 1.14.0.