PrepGo

Using the First Derivative Test to Determine Relative (Local) Extrema - AP Calculus BC Study Guide

Written by AP Content Team, Verified for 2026 AP Exams, Last updated: May 2026

Learn with study guides reviewed by top AP teachers. This guide takes about 11 minutes to read.

The Core Idea: Using the First Derivative Test to Determine Relative (Local) Extrema

The first derivative of a function, , describes the slope of the tangent line to the graph of the original function, . Where is positive, is increasing; where is negative, is decreasing. Relative (or local) extrema—the "peaks" and "valleys" of a function—occur at points where the function's behavior changes from increasing to decreasing, or vice versa.

The First Derivative Test is a formal method for identifying these extrema. It leverages the fact that such changes can only happen at critical points, which are points where the derivative is either zero (a horizontal tangent) or undefined (a sharp corner, cusp, or vertical tangent). By analyzing the sign (positive or negative) of the first derivative on either side of a critical point, we can determine if that point corresponds to a relative maximum, a relative minimum, or neither.

Key Definitions and The First Derivative Test

The process of finding relative extrema is built upon two core concepts: the definition of a critical point and the First Derivative Test itself.

Definition: Critical Point

A function has a critical point at if or if is undefined. Critical points are the only candidates for the location of relative extrema.

The First Derivative Test

Let be a critical point of a function . The test analyzes the sign of as passes through .

  1. Relative Maximum: If changes from positive to negative at , then has a relative maximum at .

    • Conceptual link: The function was increasing () and then switched to decreasing (), creating a "peak."
  2. Relative Minimum: If changes from negative to positive at , then has a relative minimum at .

    • Conceptual link: The function was decreasing () and then switched to increasing (), creating a "valley."
  3. Neither a Maximum nor a Minimum: If does not change sign at (i.e., it is positive on both sides or negative on both sides), then has neither a relative maximum nor a relative minimum at .

    • Conceptual link: The function was increasing, paused, and then continued increasing, or was decreasing, paused, and continued decreasing.

Understanding Critical Points and Sign Changes

The power of the First Derivative Test lies in its systematic approach. The crucial first step is to identify all critical points. A common mistake is to only find where and to ignore points where is undefined. Functions with cusps (like ) or corners (like ) have relative extrema at points where their derivatives are undefined.

Once critical points are found, they are used to partition the number line into intervals. The sign of is constant throughout each of these intervals. By picking a single test value within each interval and evaluating its sign in the derivative, we can determine the behavior of across its entire domain. The classification of an extremum depends entirely on the change in sign as you move from the interval on the left of a critical point to the interval on the right. No sign change means no relative extremum.

Core Concepts & Rules

  • A critical point of a function exists at if or is undefined.

  • Relative extrema can only occur at critical points.

  • The First Derivative Test determines if a critical point is a relative maximum, relative minimum, or neither by analyzing the sign of around that point.

  • Relative Maximum: Occurs at critical point if the sign of changes from positive () to negative ().

  • Relative Minimum: Occurs at critical point if the sign of changes from negative () to positive ().

  • Neither: Occurs at critical point if the sign of does not change (e.g., to or to ).

Step-by-Step Example 1: Function with a Smooth Turn

Find and classify all relative extrema for the function .

Step 1: Find the derivative.

The derivative gives us information about the slope of .

Step 2: Find all critical points.

Critical points occur where or is undefined. Since is a polynomial, it is defined for all real numbers. We only need to set .

The critical points are and .

Step 3: Create a sign chart for .

Place the critical points on a number line. These points divide the line into three intervals: , , and .

Step 4: Test the sign of in each interval.

  • Interval : Choose a test value, e.g., .

    . The sign is positive (+).

  • Interval : Choose a test value, e.g., .

    . The sign is negative (-).

  • Interval : Choose a test value, e.g., .

    . The sign is positive (+).

Step 5: Apply the First Derivative Test and state the conclusion.

  • At , the sign of changes from positive to negative. Therefore, has a relative maximum at .

  • At , the sign of changes from negative to positive. Therefore, has a relative minimum at .

Step-by-Step Example 2: Function with an Undefined Derivative

Find and classify all relative extrema for the function .

Step 1: Find the derivative.

Use the product rule: .

To analyze the sign, combine into a single fraction with a common denominator, .

Step 2: Find all critical points.

  • Find where : This occurs when the numerator is zero.

  • Find where is undefined: This occurs when the denominator is zero.

The critical points are and .

Step 3: Create a sign chart for .

Place the critical points and on a number line. This creates three intervals: , , and .

Step 4: Test the sign of in each interval.

  • Interval : Choose .

    . The sign is positive (+).

  • Interval : Choose .

    . The sign is negative (-).

  • Interval : Choose .

    . The sign is positive (+).

Step 5: Apply the First Derivative Test and state the conclusion.

  • At , the sign of changes from positive to negative. Therefore, has a relative maximum at .

  • At , the sign of changes from negative to positive. Therefore, has a relative minimum at .

Using Your Calculator

The First Derivative Test is an analytical method. Your justification on the AP Exam must be based on the sign change of the derivative, not on a picture from your calculator. However, a graphing calculator can be a powerful tool for verification and exploration, especially on calculator-active questions.

To analyze using its derivative :

  1. Graph the Derivative: Input the expression for into your calculator's graphing utility (e.g., into Y1).

  2. Find Critical Points:

    • Use the or function on the graph of to find the x-intercepts. These are the critical points where .

    • Visually inspect the graph of for discontinuities or vertical asymptotes. These may correspond to critical points where is undefined.

  3. Analyze the Sign of :

    • Where the graph of is above the x-axis, is positive.

    • Where the graph of is below the x-axis, is negative.

  4. Apply the First Derivative Test:

    • A relative maximum for occurs where the graph of crosses the x-axis from above to below (positive to negative).

    • A relative minimum for occurs where the graph of crosses the x-axis from below to above (negative to positive).

AP Exam Quick Hit

Common Question Types

  • Analytical Function Analysis: Given a function (often involving products, quotients, or chain rule), you will be asked to find the x-coordinates of any relative extrema and provide a justification.

    • Example: "For the function , find all values of at which has a relative minimum. Justify your answer."
  • Analysis of the Graph of : You will be given the graph of the derivative, , and asked to determine properties of the original function, .

    • Example: "The graph of , the derivative of a function , is shown above. At which of the following x-values does have a relative maximum? (A) a (B) b (C) c (D) d" (The correct answer would be where the graph of crosses the x-axis from positive to negative).

Common Mistakes

  • Incorrect Justification: Stating that has a maximum because . This is insufficient; you must state that changes sign from positive to negative.

  • Confusing and : Writing justifications like " changes from positive to negative," when you mean the derivative changes sign. The sign of itself tells you if the graph is above or below the x-axis, which is irrelevant to this test.

  • Ignoring Undefined Derivatives: Forgetting to find critical points where the derivative is undefined. This is a common feature in functions involving fractional exponents or absolute values.

  • Stopping After Finding Critical Points: Finding the correct critical points is only the first step. The analysis of the sign change of around those points is required to classify them.

  • Using the Calculator as Justification: Writing "the function has a minimum at because the calculator's graph shows a valley there" will not earn credit. The justification must be based on calculus principles, specifically the sign change of the derivative.