| Study Guides
AP · First derivative test for relative extrema · 14 min read · Updated 2026-05-10

First derivative test for relative extrema — AP Calculus BC Study Guide

For: AP Calculus BC candidates sitting AP Calculus BC.

Covers: Critical point identification, sign analysis of the first derivative around critical points, classification of interior relative (local) extrema, handling of endpoint extrema, and application of the test to polynomial, rational, and transcendental functions.

You should already know: Definition of the derivative, how to compute derivatives of common functions, definition of relative (local) extrema.

A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the AP Calculus BC style for educational use. They are not reproductions of past College Board / Cambridge / IB papers and may differ in wording, numerical values, or context. Use them to practise the technique; cross-check with official mark schemes for grading conventions.


1. What Is First derivative test for relative extrema?

The First Derivative Test is a core analytical method from Unit 5 (Analytical Applications of Differentiation) of the AP Calculus CED, accounting for approximately 4-7% of the total AP exam score, and appears on both multiple-choice (MCQ) and free-response (FRQ) sections. It is also called the First Derivative Test for Local Extrema, since "relative extrema" and "local extrema" are synonymous in AP Calculus.

The test leverages the geometric meaning of the first derivative: tells us whether is increasing () or decreasing () at any point. By analyzing how the sign of changes around a critical point (a point where the derivative is zero or undefined), we can classify whether that point is a relative maximum, relative minimum, or neither.

Unlike the Second Derivative Test, the First Derivative Test works for all critical points, including those where the second derivative is zero or undefined, making it more broadly applicable. On the AP exam, you will be expected to use this test to justify classifications of extrema, which is required for full credit on FRQs.

2. Critical Points and Basic First Derivative Test Logic

Before applying the First Derivative Test, you must first identify all critical points of the function on the interval of interest. By AP CED definition, a critical point of a function is an interior point of the domain of where either or does not exist.

Critical points are the only possible locations for relative extrema, because a relative extremum requires the function to change from increasing to decreasing (or vice versa), which can only happen at a point where the derivative can change sign. By the Intermediate Value Theorem for derivatives, if is continuous on an interval around , it can only change sign at if or is undefined.

The core rules of the First Derivative Test for interior critical points are:

  1. If changes from positive to negative at , then has a relative maximum at
  2. If changes from negative to positive at , then has a relative minimum at
  3. If does not change sign at , then has no relative extremum at

To conduct the test, split the domain of into intervals separated by critical points, then test the sign of in each interval to check for changes.

Worked Example

Find all critical points of and classify each using the First Derivative Test.

  1. Compute the first derivative:
  2. Identify critical points: is defined for all real , so set to get critical points and , both interior to the domain of .
  3. Sign analysis: Split the domain into , , . Test a point in each interval:
    • :
    • :
    • :
  4. Classify: At , changes from positive to negative → relative maximum at . At , changes from negative to positive → relative minimum at .

Exam tip: On AP FRQs, you must explicitly mention the sign change of the first derivative to earn full justification credit for classifying extrema—stating "f'(c)=0 so it's a minimum" is not sufficient justification.

3. Classifying Critical Points Where is Undefined

Many students forget that critical points can occur where does not exist, as long as is in the domain of . The First Derivative Test works exactly the same for these critical points as it does for points where . This scenario is common for functions involving absolute values, roots, and piecewise definitions, which appear regularly on the AP exam.

The only extra step required is confirming that (the point where is undefined) is actually in the domain of . If is not in the domain of , it cannot be a critical point or a relative extremum, so you can discard it immediately. Once you confirm is a valid critical point, the sign analysis process is identical to the case where .

Worked Example

Let . Find all critical points and classify each using the First Derivative Test.

  1. Compute with the product rule:
  2. Identify critical points: is undefined at , and (so is in the domain of ), so is a critical point. Set the numerator equal to zero to get , where and is defined, so is also a critical point.
  3. Sign analysis: Split into , , :
    • :
    • :
    • :
  4. Classify: At , changes from positive to negative → relative maximum at . At , changes from negative to positive → relative minimum at .

Exam tip: Always confirm that the point where f' is undefined is actually in the domain of f before calling it a critical point. If c is not in f's domain, it cannot be a relative extremum.

4. First Derivative Test for Endpoint Extrema

On a closed interval , the endpoints and can be relative extrema, because we only consider function values inside the interval when defining relative extrema. The First Derivative Test extends naturally to endpoints, since we only need to check the sign of on the side of the endpoint that is inside the interval.

For a left endpoint : if just to the right of , is decreasing away from , so is a relative maximum. If just to the right of , is increasing away from , so is a relative minimum.

For a right endpoint : if just to the left of , is increasing towards , so is a relative maximum. If just to the left of , is decreasing towards , so is a relative minimum.

Worked Example

Find all relative extrema of on the closed interval , including endpoints.

  1. Find interior critical points: , so interior critical points at and .
  2. Sign analysis for interior points: Intervals , , . Test signs: , , . So is a relative maximum, is a relative minimum.
  3. Classify endpoints: Left endpoint : is positive just right of , so increases away from → relative minimum at , . Right endpoint : is positive just left of , so increases towards → relative maximum at , .
  4. Final result: Relative minima at and ; relative maxima at and .

Exam tip: When asked to find all relative extrema on a closed interval, don’t forget to classify the endpoints—AP exam questions frequently test if you remember to include these.

5. Common Pitfalls (and how to avoid them)

  • Wrong move: Calling a critical point where is undefined but is also undefined. Why: Students automatically mark any point where f' is undefined as a critical point, without checking domain of f. Correct move: For any point where f' is undefined, confirm exists before marking it as a critical point to test.
  • Wrong move: Justifying a relative extremum only by stating , without mentioning the sign change of . Why: Students confuse the condition for a critical point with the justification for an extremum. Correct move: On all FRQ problems, explicitly state the sign change of the first derivative around c to earn full justification credit.
  • Wrong move: Forgetting to check for relative extrema at endpoints when working on a closed interval. Why: Students are taught critical points are interior points, so they ignore endpoints entirely when classifying relative extrema. Correct move: When the domain is given as a closed interval, always add the endpoints to your list of points to classify using the extended First Derivative Test.
  • Wrong move: Concluding no sign change because the test value of is zero. Why: Students sometimes accidentally test a critical point instead of a point inside the interval, getting a zero derivative and incorrectly concluding no sign change. Correct move: When testing an interval between two critical points, always pick a test point strictly inside the interval, not equal to either critical point.
  • Wrong move: Using the sign of instead of the sign of to classify extrema. Why: Students mix up function and derivative values when working quickly on exam day. Correct move: Always explicitly compute the sign of , not , during sign analysis.

6. Practice Questions (AP Calculus BC Style)

Question 1 (Multiple Choice)

Let on the interval . How many relative extrema does have on this interval, including endpoints? A) 1 B) 2 C) 3 D) 4

Worked Solution: First compute . Set to get , so interior critical points at and inside . Next, sign analysis shows is positive on , negative on , and positive on . changes from positive to negative at (relative max) and negative to positive at (relative min). For endpoints: left endpoint has positive just right of 0, so it is a relative minimum; right endpoint has positive just left of , so it is a relative maximum. Total relative extrema: 4. The correct answer is D.


Question 2 (Free Response)

Let . (a) Find all critical points of . Justify your answer. (b) Classify each critical point as a relative maximum, relative minimum, or neither using the First Derivative Test. Justify your answer. (c) Identify all relative extrema of on the interval , including endpoints.

Worked Solution: (a) Use the quotient rule to compute: The domain of excludes , so even though is undefined at , it is not a critical point. at and , both in the domain of . So critical points are and .

(b) The denominator is always positive for , so the sign of matches the sign of . Testing intervals: for , for and , and for . At , changes from positive to negative → relative maximum. At , changes from negative to positive → relative minimum.

(c) On , endpoints are and , which we already classified, and is not in the domain. The relative extrema are: relative maximum at and relative minimum at .


Question 3 (Application / Real-World Style)

A small business models its daily profit from selling units of a product as , where is measured in dollars, and . Use the First Derivative Test to find the production level that gives a relative maximum daily profit, and interpret your result.

Worked Solution:

  1. Compute the first derivative: .
  2. Find critical points: Set , which simplifies to . Solving with the quadratic formula gives one positive critical point at , which is inside the interval .
  3. Sign analysis: Test : . Test : .
  4. Classification: changes from positive to negative at , so this is a relative maximum. dollars.

Interpretation: Producing approximately 91 units per day gives the business a relative maximum daily profit of roughly $482.

7. Quick Reference Cheatsheet

Category Rule Notes
Interior Critical Point is critical if: or ( undefined and defined) Only interior domain points count as critical points
Interior Relative Maximum left of , right of Works for all critical points, including where is undefined
Interior Relative Minimum left of , right of Same broad applicability as the maximum rule
No Relative Extremum has the same sign on both sides of Common for horizontal inflection points like at
Left Endpoint Relative Maximum just right of Function decreases away from the endpoint
Left Endpoint Relative Minimum just right of Function increases away from the endpoint
Right Endpoint Relative Maximum just left of Function increases toward the endpoint
Right Endpoint Relative Minimum just left of Function decreases toward the endpoint

8. What's Next

The First Derivative Test is a foundational tool for all further work with extrema and curve sketching in AP Calculus BC. Immediately after mastering this topic, you will move on to the Second Derivative Test for extrema, an alternative method for classifying critical points where the second derivative exists and is non-zero. You will also apply the First Derivative Test to find absolute extrema on closed intervals as part of Extreme Value Theorem applications, a common FRQ topic. Without a solid understanding of the First Derivative Test and how to justify extrema classifications, you will not be able to earn full credit on curve sketching or optimization problems, which make up a significant portion of the AP exam. This topic also forms the basis for analyzing motion in parametric and polar contexts later in the course.

Second Derivative Test for Relative Extrema Absolute Extrema and the Extreme Value Theorem Curve Sketching with Derivatives Optimization Problems

← Back to topic

Stuck on a specific question?
Snap a photo or paste your problem — Ollie (our AI tutor) walks through it step-by-step with diagrams.
Try Ollie free →