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

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

Problem 2.240 · hard Beautiful Video

Differentiate \( \displaystyle f(x) = 5 x \left(x^{2} - 9 x + 27\right) \).
  1. \[ \frac{d}{d x} 5 x \left(x^{2} - 9 x + 27\right) \]
    derivativeStart with the derivative of the function.✓ Proved
  2. \[ = 5 \frac{d}{d x} x \left(x^{2} - 9 x + 27\right) \]
    constant-multiplePull out the constant factor 5.✓ Proved
  3. \[ = 5 x \frac{d}{d x} \left(x^{2} - 9 x + 27\right) + 5 \left(x^{2} - 9 x + 27\right) \frac{d}{d x} x \]
    productApply the product rule.✓ Proved
  4. \[ = 5 x^{2} + 5 x \left(\frac{d}{d x} 27 - \frac{d}{d x} 9 x + \frac{d}{d x} x^{2}\right) - 45 x + 135 \]
    derivativeDifferentiate each term in the product.✓ Proved
  5. \[ = 5 x^{2} + 5 x \left(2 x - 9\right) - 45 x + 135 \]
    derivative algebraEvaluate the derivatives of the individual terms. Simplify the expression inside the parentheses.✓ Proved
  6. \[ = 15 x^{2} - 90 x + 135 \]
    algebra algebra algebraDistribute x into the parentheses. Combine like terms. Distribute the 5 to get the final simplified form.✓ Proved
Answer \( 15 \left(x - 3\right)^{2} \)
Top: the graph of f = 5x·(x² - 9x + 27). A tangent line slides along it, and its slope is plotted below as it goes, tracing f' = 5x² + 5x·(2x - 9) - 45x + 135.

✓ 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. How we verify

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
9✓ 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 (error) — Step 4 applies the derivative to the sum x**2 - 9*x + 27 in one move, effectively using both the derivative and sum rules simultaneously, which violates the rule that each step must change only one thing.
  • deepseek-r1:70b: pass
  • qwen3.6:27b-mlx: pass — The solution correctly applies the constant multiple, product, and derivative rules in separate steps. The algebraic simplifications are handled one operation at a time, and the final result matches the stated answer.

Senior review claude-sonnet-5-5, 2026-10-06: fail — Every line is mathematically correct and SymPy proved each one. Step 4 combines evaluating d/dx[x]=1 with splitting the derivative of the sum, so it should be two steps, with the second labelled 'sum'. This is a granularity and labelling flaw, not a math error, and a student would not learn anything false.

  • gpt-oss:20b: uphold — Step 4 both evaluates Derivative(x,x) to 1 and splits the derivative of the trinomial into a sum of derivatives (sum rule), so two independent changes happen under a single 'derivative' label.
  • agent:pipeline: uphold — Beautiful nomination: The cubic 5x(x^2-9x+27) = 5((x-3)^3+27) looks messy, but its derivative collapses to the perfect square 15(x-3)^2.
Every verdict on record (13)
  • claude-sonnet-5-5: fail (style) 2026-10-06 — Every line is mathematically correct and SymPy proved each one. Step 4 combines evaluating d/dx[x]=1 with splitting the derivative of the sum, so it should be two steps, with the second labelled 'sum'. This is a granularity and labelling flaw, not a math error, and a student would not learn anything false.
  • qwen3.6:27b-mlx: pass 2026-09-20 — The solution correctly applies the constant multiple, product, and derivative rules in separate steps. The algebraic simplifications are handled one operation at a time, and the final result matches the stated answer.
  • gpt-oss:20b: fail (error) 2026-09-20 — Step 4 applies the derivative to the sum x**2 - 9*x + 27 in one move, effectively using both the derivative and sum rules simultaneously, which violates the rule that each step must change only one thing.
  • qwen3.6:27b-mlx: pass 2026-09-20
  • gpt-oss:20b: pass 2026-09-20
  • qwen3.6:27b-mlx: pass 2026-09-19 — The solution correctly applies the constant multiple, product, and sum rules in a step-by-step manner. Each step changes only one aspect of the expression and uses valid labels from the fixed vocabulary.
  • deepseek-r1:70b: pass 2026-09-19
  • gpt-oss:20b: pass 2026-09-19
  • qwen3.6:27b-mlx: pass 2026-09-19
  • deepseek-r1:70b: pass 2026-09-19
  • gpt-oss:20b: pass 2026-09-19
  • gpt-oss:20b: pass 2026-09-17
  • deepseek-r1:70b: pass 2026-09-17

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.