AP Calculus AB curve sketching and optimization
AP Calculus AB · D

Analytical Applications of Differentiation

AP Calculus AB curve sketching and optimization: the key points tested in the AP Calculus AB exam, explained step by step. Unit 5 turns the derivative into a tool for describing the whole shape of a function. You use the sign of f′ to find where f increases or decreases, the sign of f″ to find concavity, and the existence theorems to guarantee that certain values must occur. It is one of the most heavily weighted units and appears on almost every free-response section, usually with a graph of f′.

What you need to be able to do D

What you need to be able to do for the AP Calculus AB exam, in our own words, based on the learning objectives of the AP Calculus AB Course and Exam Description.

  • Justify conclusions with the Mean Value Theorem and the Extreme Value Theorem, checking that their hypotheses are met.
  • Determine intervals on which a function is increasing or decreasing and locate relative extrema with the first derivative test.
  • Determine concavity and points of inflection and apply the second derivative test, reading information from graphs or tables of f′ and f″.
  • Find absolute extrema with the candidates test and solve optimization problems in context.

Existence theorems, increasing behavior and extrema

The Mean Value Theorem (MVT) says that if f is continuous on [a, b] and differentiable on (a, b), then at some point c in (a, b) the instantaneous rate of change equals the average rate of change:

f′(c) = (f(b) − f(a)) / (b − a)

The Extreme Value Theorem (EVT) says that a function continuous on a closed interval [a, b] attains both an absolute maximum and an absolute minimum there. Both theorems are worthless without their hypotheses, so on the exam always state “f is continuous on … and differentiable on …” before applying them.

A critical point is an interior value x = c where f′(c) = 0 or f′(c) does not exist. The sign of f′ controls direction:

InformationConclusion about f
f′(x) > 0 on an intervalf is increasing there
f′(x) < 0 on an intervalf is decreasing there
f′ changes from + to − at crelative maximum at x = c
f′ changes from − to + at crelative minimum at x = c
f′ does not change sign at cno relative extremum at x = c

For an absolute extremum on a closed interval use the candidates test: evaluate f at every critical point and at both endpoints; the largest value is the absolute maximum and the smallest is the absolute minimum.

Worked example. Let f(x) = x³ − 12x on [0, 3]. Then f′(x) = 3x² − 12 = 0 gives x = 2 (x = −2 is outside the interval). Candidates: f(0) = 0, f(2) = −16, f(3) = −9. The absolute maximum is 0 at x = 0 and the absolute minimum is −16 at x = 2.

Concavity, the second derivative and optimization

The second derivative describes how the slope changes. If f″(x) > 0, then f′ is increasing and the graph of f is concave up; if f″(x) < 0, f′ is decreasing and the graph is concave down. A point of inflection is a point where the graph changes concavity, which means f″ changes sign (equivalently, f′ changes from increasing to decreasing or the reverse). A zero of f″ alone is not enough: f(x) = x⁴ has f″(0) = 0 but no inflection point.

The second derivative test: if f′(c) = 0 and f″(c) < 0, f has a relative maximum at c; if f′(c) = 0 and f″(c) > 0, a relative minimum; if f″(c) = 0, the test is inconclusive.

When you are given the graph of f′ rather than f, read it carefully: where f′ is above the axis, f increases; where f′ is rising, f is concave up. Zeros of f′ with a sign change are extrema of f; turning points of f′ are inflection points of f.

Optimization follows a fixed routine: (1) write the quantity to optimize as a function of one variable, using a constraint; (2) state the domain; (3) find critical points; (4) justify that the value is a maximum or minimum (candidates test, first derivative test or second derivative test); (5) answer the question in context.

Worked example. Squares of side x are cut from the corners of a 12 cm by 12 cm sheet to make an open box. Then V(x) = x(12 − 2x)², 0 < x < 6, and V′(x) = (12 − 2x)(12 − 6x), which is zero at x = 2 in the domain. V′ changes from positive to negative at x = 2, so the maximum volume is V(2) = 128 cm³.

AP exam tip

Free-response justifications must refer to the right function. Write “f has a relative minimum at x = 3 because f′ changes from negative to positive there”, not “the graph goes down then up”. For the MVT or EVT, the point is only earned if you verify continuity (and differentiability) first. A sign chart alone, without a sentence, usually does not earn the justification point.

Common mistakes in AP Calculus AB curve sketching and optimization

  • Claiming a relative extremum wherever f′(c) = 0 without checking that f′ changes sign (f(x) = x³ at x = 0 has none).
  • Calling every zero of f″ a point of inflection; concavity must actually change.
  • Forgetting to test the endpoints when looking for an absolute maximum or minimum on a closed interval.
  • Applying the Mean Value Theorem to a function that is not differentiable on the open interval, such as |x| on [−1, 1].
Key facts · AP Calculus AB curve sketching and optimization
  • Sign of f′ gives increasing/decreasing and relative extrema; sign of f″ gives concavity and inflection points.
  • Absolute extrema on a closed interval: compare f at critical points and endpoints (candidates test).
  • MVT and EVT need their hypotheses stated; justify every conclusion with a named reason.

Ready to practice?

A quick test and 2 question sets on AP Calculus AB curve sketching and optimization in the style of AP exam questions: 13 parts, 13 points, with worked solutions.

Go to the questions

More topics · AP Calculus AB

Notes and questions based on the units of the AP Calculus AB Course and Exam Description and the exam information of the College Board. The questions are new and written by us in the style of the AP exams. AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse, this site. The College Board can change the exam format, so always check AP Central.

Reviewed by: CalcSwiftly · Last reviewed: October 2026