∫Calc Practice
Home›Calculus 1›Quotient rule›Problem 2.436

Derivative of \( \displaystyle \left(x - 3\right) e^{3 - x} \)

Problem 2.436 · hard

Differentiate \( \displaystyle f(x) = \left(x - 3\right) e^{3 - x} \).
  1. \[ \frac{d}{d x} \left(x - 3\right) e^{3 - x} \]
    Start with the derivative of the function.✓ Proved
  2. \[ = \left(x - 3\right) \frac{d}{d x} e^{3 - x} + e^{3 - x} \frac{d}{d x} \left(x - 3\right) \]
    productApply the product rule.✓ Proved
  3. \[ = \left(x - 3\right) e^{3 - x} \frac{d}{d x} \left(3 - x\right) + e^{3 - x} \]
    derivativeDifferentiate the first part using the chain rule.✓ Proved
  4. \[ = - \left(x - 3\right) e^{3 - x} + e^{3 - x} \]
    derivativeDifferentiate the remaining terms.✓ Proved
  5. \[ = \left(3 - x\right) e^{3 - x} + e^{3 - x} \]
    algebraDistribute the negative sign.✓ Proved
  6. \[ = \left(4 - x\right) e^{3 - x} \]
    algebra algebra simplifyFactor out the common exponential term. Simplify the expression inside the parentheses. Final simplified form.✓ Proved
Answer \( \left(4 - x\right) e^{3 - x} \)

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 (error) — Step 3 applies two derivative rules at once (chain rule for exp(3‑x) and derivative of x‑3). Each step must change only one thing, so this is a defect.
  • qwen3.6:27b-mlx: fail (error) — Step 3 applies the chain rule to the exponential term but labels the step 'derivative', which is incorrect; the label should be 'chain'. Furthermore, the note claims to differentiate the 'first part' using the chain rule, but the step actually differentiates both terms of the product sum simultaneously, violating the one-rule-per-step constraint.
Every verdict on record (6)
  • qwen3.6:27b-mlx: fail (error) 2026-09-21 — Step 3 applies the chain rule to the exponential term but labels the step 'derivative', which is incorrect; the label should be 'chain'. Furthermore, the note claims to differentiate the 'first part' using the chain rule, but the step actually differentiates both terms of the product sum simultaneously, violating the one-rule-per-step constraint.
  • gpt-oss:20b: fail (error) 2026-09-21 — Step 3 applies two derivative rules at once (chain rule for exp(3‑x) and derivative of x‑3). Each step must change only one thing, so this is a defect.
  • qwen3.6:27b-mlx: fail (error) 2026-09-20 — Step 3 applies both the chain rule (for exp(3-x)) and the power/constant rule (for x-3) simultaneously, violating the one-rule-per-step constraint. Additionally, the label 'derivative' is incorrect for applying the chain rule, which is a distinct rule in the vocabulary.
  • gpt-oss:20b: fail (error) 2026-09-20 — Step 3 applies two derivative rules at once (chain rule for exp(3‑x) and derivative of x‑3). Each step must change only one thing, so this is a defect.
  • qwen3.6:27b-mlx: fail (error) 2026-09-20 — Step 3 is labeled 'derivative' but applies the chain rule to the exponential term; the label 'chain' is required. Additionally, Step 3 performs two distinct operations (differentiating the exponential via chain rule and differentiating the polynomial term) in a single step, violating the one-rule-per-step constraint.
  • gpt-oss:20b: pass 2026-09-20

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.