Achievable logoAchievable logo
AP Calculus AB
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Limits
2. Derivative basics
3. Advanced differentiation
4. Contextual uses
5. Analytical uses
5.1 Important theorems
5.2 1st derivative test
5.2.1 Relative extrema
5.2.2 On critical points
5.3 2nd derivative test
5.4 Graphs & curve sketching
5.5 Optimization
6. Integration
7. Differential equations
8. Applications of integrals
Wrapping up
Achievable logoAchievable logo
5.2.1 Relative extrema
Achievable AP Calculus AB
5. Analytical uses
5.2. 1st derivative test
Our AP Calculus AB course is now in "early access" - get 50% off for a limited time.

Relative extrema

6 min read
Font
Discuss
Share
Feedback

What you’ll learn

  • How to find critical points of various functions
  • How to use the 1st derivative test and sign charts to classify critical points as relative maxima, minima, or neither

In the previous section, you learned how to find the highest and lowest values of a function on a closed interval using the Extreme value theorem, which requires comparing function values at

  • the endpoints of the interval, and
  • any critical points inside the interval.

Now, with the 1st derivative test, a critical point can be classified as a relative (local) maximum, minimum, or neither by analyzing the sign of the derivative, without directly comparing function values.

Absolute vs. relative extrema

An absolute extremum is the highest or lowest value a function attains over its entire domain.

For example, consider f(x)=x2.

The vertex (0,0) is the absolute minimum, or the lowest point on the entire domain of all real numbers. It is also classified as a relative minimum because it’s lower than the points on either side of it.

On the other hand, x2 has no absolute maximum on its full domain, because as x→±∞, x2→∞.

Note that the 1st derivative test only identifies relative and not absolute extrema.

First derivative test

Use this process to locate and classify the relative extrema of a function f(x):

Step 1: Find the critical points

Identify all values of x where

  • f(x)=0

  • f′(x) is undefined

Note that x=c is only a critical point if it lies within the domain of f(x) (meaning f(c) must exist). The next page will discuss this in more detail.

Step 2: Create a sign diagram or chart for f′(x)

Place the critical points on a number line to divide the domain into intervals. Choose a test value within each interval and plug it into f′(x) to determine whether the derivative is positive or negative.

Step 3: Interpret each critical point

Analyze the behavior of f′(x) across each critical point x=c:

  • Relative maximum if f′(x) changes from positive to negative.

    • This means f(x) increases (↗) and then decreases (↘).
  • Relative minimum if f′(x) changes from negative to positive.

    • This means f(x) decreases (↘) and then increases (↗).
  • No extremum if f′(x) does not change sign, meaning f(x) is flat at x=c but continues in the same direction.

    • e.g. y=x3 is flat at (0,0) but the function continues increasing through that point.

AP tip:

Justification of extrema on the AP exam must include statements about explicit derivative behavior. For example,

  • Correct: “f(x) has a relative maximum at x=1 because f′(x) changes from positive to negative.”

  • Incorrect: “There is a maximum because the graph goes up and then down.”

    • Too vague and does not name f or f′

Example 1: f′(c)=0

Classify the relative extrema of

f(x)=(x−2)2(x+1)3

Step 1: Find critical points

(spoiler)

Using the product rule,

f′(x)=(x−2)2⋅3(x+1)2+(x+1)3⋅2(x−2)​

Simplify by factoring out (x−2)(x+1)2:

f′(x)​=(x−2)(x+1)2[3(x−2)+2(x+1)]=(x−2)(x+1)2(5x−4)​

f′(x) is a polynomial and is defined for all x. So to find the critical points, solve f′(x)=0:

(x−2)(x+1)2(5x−4)=0x=2,−1,54​

Step 2: Create a sign chart

(spoiler)

Test a value within each interval in f′(x) to determine its sign:

Interval Test point x Sign of f′(x) Behavior of f(x)
(−∞,−1) −2 + ↗
(−1,54​) 0 + ↗
(54​,2) 1 − ↘
(2,∞) 3 + ↗

Step 3: Interpret

(spoiler)
  • At x=−1:f′(x) does not change sign → no relative extremum.

  • At x=54​:f′(x) changes from positive to negative, meaning f(x) increases and then decreases → relative maximum of f.

  • At x=2:f′(x) changes from negative to positive → relative minimum of f.

Example 2: f′(c) is undefined

Classify the extrema on

f(x)=x2/3(x−5)

Step 1: Critical points

(spoiler)

Using the product rule,

f′(x)​=x2/3+32​x−1/3(x−5)=x2/3+3x1/32(x−5)​​

First, f′(x) is undefined when the denominator equals 0, or when x=0.

Next, set f′(x)=0 and solve for x:

x2/3+3x1/32(x−5)​3x1/32(x−5)​2(x−5)2x−105xx​=0=−x2/3=−x2/3(3x1/3)=−3x=10=2​

The critical points are x=0 and x=2.

Step 2: Sign chart

(spoiler)
Interval Sign of f′(x) Behavior of f(x)
(−∞,0) + ↗
(0,2) − ↘
(2,∞) + ↗

Step 3: Interpret

(spoiler)
  • At x=0:f′(x) changes from positive to negative → relative maximum.

  • At x=2:f′(x) changes from negative to positive → relative minimum.

Increasing/decreasing intervals

The 1st derivative test works because the sign of f′(x) indicates the behavior of f(x):

  • f is increasing on an interval where f′(x)>0.
  • f is decreasing on an interval where f′(x)<0.

Many AP problems will ask you to find these intervals. The calculus process is identical: find the critical points, set up a sign chart, and identify the regions.

Let f(x)=esin(x) on the open interval (0,2π). Find the intervals on which f is increasing.

Step 1: Find critical points

(spoiler)

Differentiating f(x),

f′(x)=esin(x)⋅cos(x)

To solve f′(x)=0, we need

  • esin(x)=0 or

  • cos(x)=0

Since ex>0 for all real x, esin(x)>0.

So f′(x)=0 only when cos(x)=0.

In the open interval (0,2π),cos(x)=0 at the critical points x=2π​ and x=23π​.

Step 2: Sign chart

(spoiler)

Since f′(x)=esin(x)⋅cos(x) and esin(x) is always positive, the sign of f′(x) depends only the sign of cos(x).

Interval Sign of f′(x) f(x) behavior
(0,2π​) + ↗
(2π​,23π​) − ↘
(23π​,2π) + ↗

Step 3: Interpret

(spoiler)

f(x) is increasing when f′(x)>0, which occurs on the intervals (0,2π​) and (23π​,2π).

  • Find critical points by setting f′(x)=0 or finding where f′(x) is undefined.

  • Use a sign diagram or chart to display the sign of f′(x) in each interval around the critical points.

  • Interpret the behavior of f(x) (increasing or decreasing) based on the sign of f′(x) to justify if a critical point is a relative max or min.

Sign up for free to take 7 quiz questions on this topic

All rights reserved ©2016 - 2026 Achievable, Inc.

Relative extrema

What you’ll learn

  • How to find critical points of various functions
  • How to use the 1st derivative test and sign charts to classify critical points as relative maxima, minima, or neither

In the previous section, you learned how to find the highest and lowest values of a function on a closed interval using the Extreme value theorem, which requires comparing function values at

  • the endpoints of the interval, and
  • any critical points inside the interval.

Now, with the 1st derivative test, a critical point can be classified as a relative (local) maximum, minimum, or neither by analyzing the sign of the derivative, without directly comparing function values.

Absolute vs. relative extrema

An absolute extremum is the highest or lowest value a function attains over its entire domain.

For example, consider f(x)=x2.

The vertex (0,0) is the absolute minimum, or the lowest point on the entire domain of all real numbers. It is also classified as a relative minimum because it’s lower than the points on either side of it.

On the other hand, x2 has no absolute maximum on its full domain, because as x→±∞, x2→∞.

Note that the 1st derivative test only identifies relative and not absolute extrema.

First derivative test

Use this process to locate and classify the relative extrema of a function f(x):

Step 1: Find the critical points

Identify all values of x where

  • f(x)=0

  • f′(x) is undefined

Note that x=c is only a critical point if it lies within the domain of f(x) (meaning f(c) must exist). The next page will discuss this in more detail.

Step 2: Create a sign diagram or chart for f′(x)

Place the critical points on a number line to divide the domain into intervals. Choose a test value within each interval and plug it into f′(x) to determine whether the derivative is positive or negative.

Step 3: Interpret each critical point

Analyze the behavior of f′(x) across each critical point x=c:

  • Relative maximum if f′(x) changes from positive to negative.

    • This means f(x) increases (↗) and then decreases (↘).
  • Relative minimum if f′(x) changes from negative to positive.

    • This means f(x) decreases (↘) and then increases (↗).
  • No extremum if f′(x) does not change sign, meaning f(x) is flat at x=c but continues in the same direction.

    • e.g. y=x3 is flat at (0,0) but the function continues increasing through that point.

AP tip:

Justification of extrema on the AP exam must include statements about explicit derivative behavior. For example,

  • Correct: “f(x) has a relative maximum at x=1 because f′(x) changes from positive to negative.”

  • Incorrect: “There is a maximum because the graph goes up and then down.”

    • Too vague and does not name f or f′

Example 1: f′(c)=0

Classify the relative extrema of

f(x)=(x−2)2(x+1)3

Step 1: Find critical points

(spoiler)

Using the product rule,

f′(x)=(x−2)2⋅3(x+1)2+(x+1)3⋅2(x−2)​

Simplify by factoring out (x−2)(x+1)2:

f′(x)​=(x−2)(x+1)2[3(x−2)+2(x+1)]=(x−2)(x+1)2(5x−4)​

f′(x) is a polynomial and is defined for all x. So to find the critical points, solve f′(x)=0:

(x−2)(x+1)2(5x−4)=0x=2,−1,54​

Step 2: Create a sign chart

(spoiler)

Test a value within each interval in f′(x) to determine its sign:

Interval Test point x Sign of f′(x) Behavior of f(x)
(−∞,−1) −2 + ↗
(−1,54​) 0 + ↗
(54​,2) 1 − ↘
(2,∞) 3 + ↗

Step 3: Interpret

(spoiler)
  • At x=−1:f′(x) does not change sign → no relative extremum.

  • At x=54​:f′(x) changes from positive to negative, meaning f(x) increases and then decreases → relative maximum of f.

  • At x=2:f′(x) changes from negative to positive → relative minimum of f.

Example 2: f′(c) is undefined

Classify the extrema on

f(x)=x2/3(x−5)

Step 1: Critical points

(spoiler)

Using the product rule,

f′(x)​=x2/3+32​x−1/3(x−5)=x2/3+3x1/32(x−5)​​

First, f′(x) is undefined when the denominator equals 0, or when x=0.

Next, set f′(x)=0 and solve for x:

x2/3+3x1/32(x−5)​3x1/32(x−5)​2(x−5)2x−105xx​=0=−x2/3=−x2/3(3x1/3)=−3x=10=2​

The critical points are x=0 and x=2.

Step 2: Sign chart

(spoiler)
Interval Sign of f′(x) Behavior of f(x)
(−∞,0) + ↗
(0,2) − ↘
(2,∞) + ↗

Step 3: Interpret

(spoiler)
  • At x=0:f′(x) changes from positive to negative → relative maximum.

  • At x=2:f′(x) changes from negative to positive → relative minimum.

Increasing/decreasing intervals

The 1st derivative test works because the sign of f′(x) indicates the behavior of f(x):

  • f is increasing on an interval where f′(x)>0.
  • f is decreasing on an interval where f′(x)<0.

Many AP problems will ask you to find these intervals. The calculus process is identical: find the critical points, set up a sign chart, and identify the regions.

Let f(x)=esin(x) on the open interval (0,2π). Find the intervals on which f is increasing.

Step 1: Find critical points

(spoiler)

Differentiating f(x),

f′(x)=esin(x)⋅cos(x)

To solve f′(x)=0, we need

  • esin(x)=0 or

  • cos(x)=0

Since ex>0 for all real x, esin(x)>0.

So f′(x)=0 only when cos(x)=0.

In the open interval (0,2π),cos(x)=0 at the critical points x=2π​ and x=23π​.

Step 2: Sign chart

(spoiler)

Since f′(x)=esin(x)⋅cos(x) and esin(x) is always positive, the sign of f′(x) depends only the sign of cos(x).

Interval Sign of f′(x) f(x) behavior
(0,2π​) + ↗
(2π​,23π​) − ↘
(23π​,2π) + ↗

Step 3: Interpret

(spoiler)

f(x) is increasing when f′(x)>0, which occurs on the intervals (0,2π​) and (23π​,2π).

Key points
  • Find critical points by setting f′(x)=0 or finding where f′(x) is undefined.

  • Use a sign diagram or chart to display the sign of f′(x) in each interval around the critical points.

  • Interpret the behavior of f(x) (increasing or decreasing) based on the sign of f′(x) to justify if a critical point is a relative max or min.

More from 1st derivative test

  • On critical points