Question 2791
The graph of a piecewise-linear function \(f\) is shown for \(0 \le t \le 8\). Let \(g(x) = \int_0^x f(t)\, dt\). At what value of \(x\) does \(g\) attain its absolute maximum on \([0, 8]\)?

Main Solution
Strategy
Use the Fundamental Theorem of Calculus: since \(g(x) = \int_0^x f(t)\,dt\), we have \(g'(x) = f(x)\). Analyze the sign of \(f\) to determine where \(g\) is increasing or decreasing, then compare all candidate maximum values.
Key Insight
\(g\) increases when \(f(x) > 0\) and decreases when \(f(x) < 0\). From the graph, \(f(t) > 0\) for \(0 < t < 6\) and \(f(t) < 0\) for \(6 < t \le 8\). Therefore \(g\) is increasing on \([0, 6]\) and decreasing on \([6, 8]\), so the absolute maximum of \(g\) occurs at \(x = 6\).
Choice Analysis
Choice A - Correct ✓ - \(x = 6\): \(f(t) > 0\) for all \(t \in (0,6)\) (including the interval \((5,6)\) where \(f\) decreases from 3 to 0 but remains positive), so \(g\) is still increasing up to \(x=6\). After \(x=6\), \(f < 0\) so \(g\) decreases. The absolute maximum of \(g\) on \([0,8]\) is at \(x=6\).
Choice B - Incorrect - \(x = 5\): Students may think the maximum of \(g\) occurs where \(f\) reaches its plateau (\(x=5\)), but \(f\) is still positive on \((5,6)\), so \(g\) continues to increase past \(x=5\).
Choice C - Incorrect - \(x = 2\): Students may confuse where \(f\) is maximized (\(x=2\)) with where \(g\) is maximized. \(f\) remains positive well past \(x=2\), so \(g\) keeps accumulating area and increasing beyond this point.
Choice D - Incorrect - \(x = 8\): At \(x=8\), \(g(8) = g(6) + \int_6^8 f(t)\,dt = g(6) - 1\) (the area from 6 to 8 is a triangle of area 1 below the axis), which is less than \(g(6)\). Choosing \(x=8\) ignores the negative contribution of \(f\) on \((6,8)\).
Teacher Explanation
A strong AP Calculus AB student should immediately recognize this as an FTC Part 1 problem: \(g'(x) = f(x)\), so \(g\) is increasing wherever \(f\) is positive and decreasing wherever \(f\) is negative. Reading the graph carefully, \(f(t) > 0\) for all \(t \in (0,6)\) — including the decreasing segment from \((5,3)\) to \((6,0)\) — and \(f(t) < 0\) for \(t \in (6,8)\). Thus \(g\) increases on \([0,6]\) and decreases on \([6,8]\), giving an absolute maximum at \(x = 6\). The most common error is misidentifying \(x = 5\) as the maximum because it is where \(f\) transitions from its constant plateau to a decreasing segment, but that does not cause \(g\) to decrease — only a sign change in \(f\) (from positive to negative) causes \(g\) to decrease. The source's marked answer of \(x = 5\) (option C in the original) is incorrect; the correct answer is \(x = 6\).
Education Coach Advice
First, identify what this question is really testing: \(g'(x) = f(x)\) by FTC Part 1, so the maximum of \(g\) is found by analyzing the sign of \(f\), not its maximum value.
Second, read the graph carefully for the sign change of \(f\): \(f\) goes negative only after \(t = 6\), so \(g\) is increasing all the way up to \(x = 6\).
Watch for this trap: do not stop at \(x = 5\) just because \(f\) begins decreasing there — \(f\) is still positive on \((5,6)\), which means \(g\) still accumulates positive area and increases.
Review tip: always ask yourself 'where does \(f\) change sign?' for accumulation-function maximum/minimum problems, not 'where is \(f\) largest?'.
Traps
Stopping at \(x = 5\) because that is where \(f\) first levels off — students fail to notice that \(f\) is still positive on \((5,6)\), so \(g\) keeps increasing until \(x = 6\), not \(x = 5\).
Answer images




