∫Calc Practice
Home›Calculus 1›Power rule›Problem 2.430

Derivative of \( \displaystyle x \left(- x^{2} + 9 x - 27\right) \)

Problem 2.430 · hard

Differentiate \( \displaystyle f(x) = x \left(- x^{2} + 9 x - 27\right) \).
  1. \[ \frac{d}{d x} x \left(- x^{2} + 9 x - 27\right) \]
    derivativeStart with the derivative of the function.✓ Proved
  2. \[ = x \frac{d}{d x} \left(- x^{2} + 9 x - 27\right) + \left(- x^{2} + 9 x - 27\right) \frac{d}{d x} x \]
    productApply the product rule.✓ Proved
  3. \[ = - x^{2} + x \frac{d}{d x} \left(- x^{2} + 9 x - 27\right) + 9 x - 27 \]
    derivative constant-multipleDifferentiate the first part of the product. The derivative of x is 1.✓ Proved
  4. \[ = - x^{2} + x \left(9 - 2 x\right) + 9 x - 27 \]
    derivativeDifferentiate the second part of the sum.✓ Proved
  5. \[ = - 3 x^{2} + 18 x - 27 \]
    algebra simplifyDistribute x into the parentheses. Combine like terms.✓ Proved
Answer \( - 3 \left(x - 3\right)^{2} \)

✓ Nihil obstat 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. Reviewers found nothing wrong with the explanation.

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
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 4 incorrectly labels the simplification of 1*(-x**2+9*x-27) to -x**2+9*x-27 as a derivative; it should be an algebra or simplify step.
  • qwen3.6:27b-mlx: fail (style) — Step 4 is labeled 'constant-multiple' but performs no operation; the simplification of 1*(...) to (...) is an algebraic simplification, not a differentiation rule application. Step 5 is labeled 'derivative' but applies the derivative to a sum inside the expression, which should be labeled 'sum' or 'derivative' depending on granularity, but the primary issue is that Step 4 is a no-op labeled incorrectly.
Every verdict on record (6)
  • qwen3.6:27b-mlx: fail (style) 2026-09-21 — Step 4 is labeled 'constant-multiple' but performs no operation; the simplification of 1*(...) to (...) is an algebraic simplification, not a differentiation rule application. Step 5 is labeled 'derivative' but applies the derivative to a sum inside the expression, which should be labeled 'sum' or 'derivative' depending on granularity, but the primary issue is that Step 4 is a no-op labeled incorrectly.
  • gpt-oss:20b: fail (style) 2026-09-21 — Step 4 incorrectly labels the simplification of 1*(-x**2+9*x-27) to -x**2+9*x-27 as a derivative; it should be an algebra or simplify step.
  • qwen3.6:27b-mlx: pass 2026-09-20
  • gpt-oss:20b: fail (style) 2026-09-20 — Step 4 is labeled "constant-multiple" but it merely simplifies the product 1*(-x**2+9*x-27) to -x**2+9*x-27, which is an algebraic simplification. The correct label should be "algebra" (or "simplify").
  • qwen3.6:27b-mlx: pass 2026-09-20
  • gpt-oss:20b: fail (style) 2026-09-20 — Step 4 incorrectly labels the simplification of 1*(-x**2 + 9*x - 27) as a "constant-multiple" rule. The operation performed is simply the application of the derivative of x (which is 1) and then multiplication; it should be labeled "derivative" or "algebra" rather than "constant-multiple".

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.