∫Calc Practice

Absolute extrema on a closed interval

Problem 3.325 · hard

Find the absolute maximum and minimum values of \( \displaystyle f(x) = x^{3} - 6 x^{2} + 9 x + 4 \) on \( \displaystyle [-4, 3] \).
  1. A continuous function on a closed interval has its extreme values at critical points or endpoints.
  2. \[ \frac{d}{d x} \left(x^{3} - 6 x^{2} + 9 x + 4\right) = \left(x - 1\right) \left(3 x - 9\right) \]
    Differentiate and factor.✓ Proved
  3. Critical numbers inside [-4, 3]: 1.
  4. \[ \left. x^{3} - 6 x^{2} + 9 x + 4 \right|_{\substack{ x=-4 }} = -192 \]
    f(-4).✓ Proved
  5. \[ \left. x^{3} - 6 x^{2} + 9 x + 4 \right|_{\substack{ x=1 }} = 8 \]
    f(1).✓ Proved
  6. \[ \left. x^{3} - 6 x^{2} + 9 x + 4 \right|_{\substack{ x=3 }} = 4 \]
    f(3).✓ Proved
  7. The largest value is 8 and the smallest is -192.
Answer \( \text{max } 8 \text{ at } x=1;\ \text{min } -192 \text{ at } x=-4 \)

Lines: 4 proved, 3 not checked. 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
1Not checked—a sentence; read, not computed
2✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
3Not checked—a sentence; read, not computed
4✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
5✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
6✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
7Not checked—a sentence; read, not computed
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0f sampled at 40,001 points across the interval reaches the same max and min

Reviewers

  • gpt-oss:20b: pass
  • qwen3.6:27b-mlx: inconclusive — reviewer returned a non-object
Every verdict on record (4)
  • qwen3.6:27b-mlx: inconclusive 2026-09-29 — reviewer returned a non-object
  • gpt-oss:20b: pass 2026-09-29
  • qwen3.6:27b-mlx: pass 2026-09-29 — The solution correctly identifies all critical points within the interval, evaluates the function at critical points and endpoints, and correctly determines the absolute extrema.
  • gpt-oss:20b: pass 2026-09-29

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 generator:structured/absolute_extrema, checked 2026-09-29 with SymPy 1.14.0.