Tutorials › AP Calculus › Using Accumulation Functions to Find Extrema
← All AP Calculus Tutorials
AP Calculus AB & BC Intermediate

Using Accumulation Functions to Find Extrema

How to use the Fundamental Theorem of Calculus to turn an accumulation function into a derivative problem—and then use critical points and sign changes to find relative and absolute extrema.

The Key Idea

An accumulation function is a function defined using a definite integral. A common form is

At first glance, finding where this function has a maximum or minimum may look difficult because the function is defined by an integral rather than by an ordinary algebraic formula.

The Fundamental Theorem of Calculus makes the problem much easier. If the upper limit is , then differentiating the accumulation function gives the integrand evaluated at :

That means an extrema problem involving an accumulation function can often be solved exactly like any other extrema problem: find where the derivative is zero, determine the sign of the derivative, and classify the critical points.

The AP Calculus Shortcut

If , then . You usually do not need to evaluate the integral first. Find the critical points by setting the integrand equal to zero.

Why the Integrand Controls the Extrema

Suppose

By the Fundamental Theorem of Calculus,

Therefore, the sign of is determined entirely by the sign of .

A Step-by-Step Method

  1. Identify the accumulation function. Look for a function defined by an integral whose upper limit contains the variable.
  2. Differentiate using the Fundamental Theorem of Calculus. The derivative is the integrand evaluated at the upper limit, multiplied by the derivative of the upper limit if the upper limit is something other than simply .
  3. Find critical points. Set the derivative equal to zero or identify where it is undefined.
  4. Make a sign chart. Determine whether the derivative changes from positive to negative or negative to positive.
  5. Classify the extrema. Positive-to-negative means a maximum; negative-to-positive means a minimum.
  6. For absolute extrema, compare endpoints. A relative extremum is not automatically an absolute extremum on a closed interval.

Worked Examples

Example 1: Finding a Relative Maximum

Let

Find the value of where has a relative maximum.

Step 1: Differentiate using the Fundamental Theorem of Calculus:
Step 2: Find the critical points by setting the derivative equal to zero:
Step 3: Analyze the sign of the derivative. For , the derivative is positive. For , the derivative is negative.
Step 4: The derivative changes from positive to negative at , so has a relative maximum there.
Result:
Example 2: Finding a Relative Minimum

Let

Find the relative extrema of .

Step 1: Differentiate:
Step 2: Set the derivative equal to zero:
Step 3: Check the sign around each critical point. At , the derivative changes from negative to positive.
Conclusion: Because the derivative changes from negative to positive, has a relative minimum at .
Example 3: When the Upper Limit Is a Function

Let

Find the critical points of .

Step 1: The upper limit is , so we need both the Fundamental Theorem of Calculus and the chain rule.
Step 2: Differentiate:
Step 3: Set the derivative equal to zero:
Step 4: Therefore the critical points occur at .
Important: Do not forget the factor . It comes from differentiating the upper limit.
Example 4: Finding an Absolute Maximum on an Interval

Let

Find the absolute maximum of on .

Step 1: Differentiate:
Step 2: Find the critical points:
Step 3: Determine which critical point corresponds to a maximum. The derivative changes from positive to negative at .
Step 4: Because the question asks for an absolute maximum on a closed interval, compare the function values at the critical point and both endpoints:
Result:

Relative vs. Absolute Extrema

This distinction matters frequently on AP Calculus questions.

A relative maximum only compares a point to nearby points. An absolute maximum compares it with every point in the specified interval.

For a continuous function on a closed interval , the Extreme Value Theorem guarantees that an absolute maximum and absolute minimum exist. To find them, check:

  1. All critical points in the interval.
  2. The left endpoint.
  3. The right endpoint.
Do not evaluate the integral unless you need the function value

To find where an accumulation function has an extremum, you generally only need its derivative. The Fundamental Theorem gives that derivative immediately. You only need to evaluate the original integral when the question asks for the actual value of the function at the extremum.

Common Mistakes

Setting the accumulation function equal to zero

Extrema occur where the derivative is zero, not necessarily where the accumulation function itself is zero. If , look at when searching for critical points.

Forgetting the derivative of the upper limit

If the upper limit is rather than simply , you must multiply by . This is the chain rule applied to an accumulation function.

Calling every critical point an extremum

A critical point is only a candidate. You must check the sign of the derivative. If the derivative stays positive or stays negative on both sides, there is no relative maximum or minimum.

Confusing relative and absolute extrema

A relative maximum does not automatically give the absolute maximum on an interval. For an absolute-extrema question, always check the endpoints as well as the critical points.

Practice Problems

Question 1

Let . At what value of does have a relative maximum?

Show answer
Question 2

Let . Find the relative minimum of .

Show answer
Question 3

Let . Find all critical points of .

Show answer
Question 4 (Absolute Extrema)

Let . Find the absolute maximum of on .

Show answer

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon