∫Calc Practice

Average value of a function

Problem 4.440 · medium

Find the average value of \( \displaystyle f(x) = x^{2} \) on \( \displaystyle [0, 3] \), and every \( \displaystyle c \) in the interval with \( \displaystyle f(c) = f_{\text{ave}} \).
  1. \[ \int\limits_{0}^{3} x^{2}\, dx = 9 \]
    The integral over the interval.✓ Proved
  2. \[ 3 \]
    Divide by the length of the interval.✓ Proved
  3. \[ 3 \]
    c = sqrt(3) lies in [0, 3].✓ Proved
Answer \( f_{\text{ave}} = 3,\ c = \sqrt{3} \)

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.0simplify(lhs - rhs) reduced to 0
2✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
3✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0numerical quadrature for the average, and f evaluated at each c

Reviewers

  • gpt-oss:20b: fail (misleading) — The solution omits the crucial step that f(c)=f_ave; it only states that c=√3 lies in the interval, which does not justify that f(c)=3. The Mean Value Theorem for Integrals is not invoked or verified, so a student could be misled into thinking the conclusion follows automatically.
  • qwen3.6:27b-mlx: fail (error) — The solution fails to explicitly state the formula for the average value, making the transition from the integral to the average value opaque. Furthermore, it does not show the step of setting f(c) equal to the average value to solve for c, which is a required part of the problem statement.
Every verdict on record (4)
  • qwen3.6:27b-mlx: fail (error) 2026-10-05 — The solution fails to explicitly state the formula for the average value, making the transition from the integral to the average value opaque. Furthermore, it does not show the step of setting f(c) equal to the average value to solve for c, which is a required part of the problem statement.
  • gpt-oss:20b: fail (misleading) 2026-10-05 — The solution omits the crucial step that f(c)=f_ave; it only states that c=√3 lies in the interval, which does not justify that f(c)=3. The Mean Value Theorem for Integrals is not invoked or verified, so a student could be misled into thinking the conclusion follows automatically.
  • qwen3.6:27b-mlx: fail (error) 2026-10-05 — The solution fails to explicitly calculate the average value using the formula 1/(b-a) * integral, instead presenting tautologies. It also fails to solve f(c) = f_ave to find c, merely asserting the result.
  • gpt-oss:20b: pass 2026-10-05

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/average_value, checked 2026-10-05 with SymPy 1.14.0.