PrepGo

Connecting a Function, Its First Derivative, and Its Second Derivative - 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 12 minutes to read.

The Core Idea: Connecting a Function, Its First Derivative, and Its Second Derivative

The fundamental goal of this topic is to understand the deep relationship between a function, , and its first and second derivatives, and . By analyzing the signs and behavior of the derivatives, we can construct a detailed picture of the original function's graph without necessarily plotting every point. The first derivative, , reveals where the function is increasing or decreasing and allows us to locate and classify local (or relative) extrema—the peaks and valleys of the graph.

The second derivative, , describes the function's concavity—whether the graph is shaped like a cup opening upwards (concave up) or a cap opening downwards (concave down). This is directly related to how the slope of the function is changing. The second derivative also helps us identify points of inflection, which are specific points on the graph where the concavity changes. By synthesizing information from both derivatives, we can accurately describe the shape and key features of the original function's graph.

Key Theorems and Tests

The First Derivative Test

This test uses the sign of the first derivative, , to classify critical points of a function as local maxima, local minima, or neither. A critical point is a point in the domain of where or is undefined.

Let be a critical point of a continuous function .

  • If changes from positive to negative at , then has a local maximum at .

  • If changes from negative to positive at , then has a local minimum at .

  • If does not change sign at , then has neither a local maximum nor a local minimum at .

The Second Derivative Test

This test uses the sign of the second derivative at a critical point to classify it as a local maximum or minimum. This test is often faster than the First Derivative Test but is less universally applicable.

Let be a twice-differentiable function such that .

  • If , then has a local minimum at .

  • If , then has a local maximum at .

  • If , the test is inconclusive. You must use the First Derivative Test to classify the critical point.

Concavity and Points of Inflection

The second derivative provides direct information about the concavity of the graph of . A point of inflection is a point on the graph where the concavity changes.

  • If on an interval, then the graph of is concave up on that interval.

  • If on an interval, then the graph of is concave down on that interval.

  • If has a point of inflection at , then or is undefined. Note that this condition identifies candidates for points of inflection; you must confirm that the sign of actually changes at .

Understanding the Connections

The rules for derivatives are not arbitrary; they describe geometric relationships between the graphs of , , and .

The most crucial connection is that the derivative of a function describes the rate of change (or slope) of that function. Therefore, is the derivative of . This single fact is the key to understanding concavity.

  • Why Concavity Relates to :

    • The graph of is concave up when its slope is increasing. The slope of is given by . For to be an increasing function, its derivative must be positive. The derivative of is . Therefore, is concave up where .

    • The graph of is concave down when its slope is decreasing. For to be a decreasing function, its derivative must be negative. Therefore, is concave down where .

  • Why the Second Derivative Test Works:

    • Imagine a point where the tangent line is horizontal ().

    • If the function is also concave up at that point (), the graph is shaped like the bottom of a cup. A horizontal tangent at the bottom of a cup must be a local minimum.

    • If the function is concave down at that point (), the graph is shaped like the top of a cap. A horizontal tangent at the top of a cap must be a local maximum.

    • If , the graph is neither definitively cup-shaped nor cap-shaped at that point (it might be flattening out), so the test is inconclusive.

Core Concepts & Rules

  • Local Extrema: Local (relative) maxima and minima can only occur at critical points, where or is undefined.

  • First Derivative Test: The key to this test is a sign change in at a critical point. No sign change means no local extremum.

  • Second Derivative Test: This test uses the sign of at a critical point where . It is a test for concavity at a single point with a horizontal tangent.

  • Inconclusive Second Derivative Test: If and , the Second Derivative Test fails. You must revert to the First Derivative Test to determine if is a local extremum.

  • Concavity: The sign of over an interval determines the concavity of on that interval.

    • is increasing is concave up.

    • is decreasing is concave down.

  • Points of Inflection: A point of inflection is a point on the graph of where the concavity changes. This requires a sign change in . Candidates for points of inflection occur where or is undefined.

Step-by-Step Example 1: Analyzing a Polynomial Function

Problem: For the function , find all local extrema and points of inflection. Justify your answers.

Step 1: Find the first and second derivatives.

Step 2: Find critical points.

Set and solve for .

The critical points are and .

Step 3: Classify critical points using the First Derivative Test.

Create a sign chart for using the critical points and .

  • Test : (Negative)

  • Test : (Negative)

  • Test : (Positive)

Interval
Sign of
Behavior of DecreasingDecreasingIncreasing
  • At , does not change sign. Therefore, there is neither a local maximum nor a local minimum at .

  • At , changes from negative to positive. Therefore, has a local minimum at .

Step 4: Find potential points of inflection.

Set and solve for .

The potential points of inflection are at and .

Step 5: Determine intervals of concavity and confirm points of inflection.

Create a sign chart for using the potential inflection points and .

  • Test : (Positive)

  • Test : (Negative)

  • Test : (Positive)

Interval
Sign of
Concavity of Concave UpConcave DownConcave Up
  • At , changes sign (from positive to negative). Therefore, has a point of inflection at .

  • At , changes sign (from negative to positive). Therefore, has a point of inflection at .

Summary:

  • Local Minimum: at because changes from negative to positive there.

  • Points of Inflection: at and because changes sign at these points.

Step-by-Step Example 2: Analysis from a Graph of the Derivative

Problem: The figure below shows the graph of , the derivative of a twice-differentiable function , on the interval .

(Imagine a graph of that starts at , increases to a local max at , decreases, crossing the x-axis at , to a local min at , and then increases, ending at .)

(a) At what values of does have a local minimum? Justify your answer.

(b) On what open intervals is the graph of concave down? Justify your answer.

(c) At what values of does the graph of have a point of inflection? Justify your answer.

Solution:

(a) Local Minimum for

  • Analysis: A local minimum for occurs at a critical point where changes from negative to positive.

  • Applying to the graph: We need to find where the graph of crosses the x-axis from below to above. The graph shows that for (in the vicinity of 1) and for . The sign change from negative to positive occurs at .

  • Answer: The function has a local minimum at because changes from negative to positive at that point.

(b) Concavity of

  • Analysis: The graph of is concave down on intervals where . Since is the derivative of , this is equivalent to finding where is a decreasing function.

  • Applying to the graph: We look for the intervals where the graph of has a negative slope. The graph is decreasing from its local maximum at to its local minimum at .

  • Answer: The graph of is concave down on the interval because is decreasing on that interval.

(c) Points of Inflection for

  • Analysis: A point of inflection for occurs where the concavity changes. This happens when changes sign, which is equivalent to changing from increasing to decreasing or vice versa.

  • Applying to the graph: We look for the points where the slope of changes sign. These are the locations of the local extrema on the graph of . The graph of changes from increasing to decreasing at , and it changes from decreasing to increasing at .

  • Answer: The graph of has points of inflection at and because changes from increasing to decreasing at and from decreasing to increasing at .

Using Your Calculator

While the justifications required on the AP Exam are analytical, a graphing calculator is a powerful tool for exploring function behavior and confirming your results.

Problem: Analyze for local extrema and points of inflection.

Steps on a TI-84 Style Calculator:

  1. Enter the functions:

    • In Y1, enter the original function: Y1 = X^3 * e^(-X)

    • In Y2, enter the first derivative: Y2 = nDeriv(Y1, X, X)

    • In Y3, enter the second derivative: Y3 = nDeriv(Y2, X, X) or nDeriv(Y1, X, X, 2)

    Pro-Tip: Deselect Y1 by moving the cursor over the = sign and pressing ENTER. This will let you see the derivatives more clearly.

  2. Find Critical Points:

    • Graph Y2 (the first derivative).

    • Use the 2nd -> TRACE (CALC) menu and select 2:zero.

    • Find the x-intercepts of Y2. You will find a zero at and . These are your critical points.

    • Observe the graph of Y2: it is positive, then touches the x-axis at (but stays positive), and then crosses from positive to negative at . This confirms a local maximum at and no extremum at .

  3. Find Potential Points of Inflection and Concavity:

    • Now, graph Y3 (the second derivative). Deselect Y2.

    • Use the -> 2:zero function to find the x-intercepts of Y3. You will find zeros at`x=0$, (approx. 1.268), and (approx. 4.732).

    • Observe the graph of Y3:

      • It is negative for . ( is concave down)

      • It changes to positive at . ( is concave up)

      • It changes to negative at . ( is concave down)

      • It changes to positive at . ( is concave up)

    • This confirms that points of inflection exist at all three x-values where because the sign of changes at each one.

AP Exam Quick Hit

Common Question Types

  • Full Analysis of a Given Function: Given a function , find the coordinates of any local extrema and points of inflection. You must show the derivative calculations and use a test (First or Second Derivative) to justify your claims.

  • Analysis from the Graph of : Given the graph of the derivative , identify the x-values for local minima of (where crosses the x-axis from negative to positive) and the x-values for points of inflection of $ (where has local extrema).

  • Analysis from a Table of Values: Given a table of selected values for a twice-differentiable function and its derivatives, determine if must have a local extremum or point of inflection on a given interval. For example, if and , you can conclude has a local maximum at .

Common Mistakes

  • Confusing the Function and its Derivatives: A very common error is to mix up the properties. For example, stating " is concave up because is positive." The correct statement is " is concave up because is positive" or " is concave up because is increasing."

  • Insufficient Justification for Extrema: Stating " has a local minimum at because ." This is not enough. The justification must be based on a sign change in (First Derivative Test) or the sign of (Second Derivative Test).

  • Misinterpreting : Incorrectly concluding that if , there must be a point of inflection at . This condition only identifies a candidate. You must show that the sign of changes at to confirm it is a point of inflection.

  • Misapplying the Second Derivative Test: Forgetting that the Second Derivative Test is inconclusive if . In this case, you cannot conclude anything about extrema from the second derivative and must use the First Derivative Test.

  • Confusing Slopes with y-values on a Derivative Graph: When looking at the graph of , the concavity of is determined by the slope of the graph, not by whether the graph is above or below the x-axis.