---
title: "AP Calculus 5.8: Sketching Graphs of Functions and Derivatives"
description: "Review AP Calculus 5.8 sketching graphs of functions and derivatives, including f', f'', critical points, increasing and decreasing intervals, concavity, extrema, and inflection points."
canonical: "https://fiveable.me/ap-calc/unit-5/sketching-graphs-functions-their-derivatives/study-guide/aT1iYD0w3cZ4vq9YNoLG"
type: "study-guide"
subject: "AP Calculus AB/BC"
unit: "Unit 5 – Analytical Applications of Differentiation"
lastUpdated: "2026-06-07"
---

# AP Calculus 5.8: Sketching Graphs of Functions and Derivatives

## Summary

Review AP Calculus 5.8 sketching graphs of functions and derivatives, including f', f'', critical points, increasing and decreasing intervals, concavity, extrema, and inflection points.

## Guide

## TLDR
In AP Calculus, sketching a [function](/ap-calc/unit-1/defining-continuity-at-point/study-guide/JbsR9iQfAzCznNOCG6JK "fv-autolink") and its derivatives means using the signs of $f'$ and $f''$ to figure out where a function increases, decreases, peaks, dips, and changes curve. Once you know [critical points](/ap-calc/key-terms/critical-points "fv-autolink"), increasing/decreasing intervals, extrema, concavity, and inflection points, you can build a full picture of the graph or read key features straight from a derivative graph.

## Why This Matters for the AP Calculus Exam

This topic ties together everything from earlier in [Unit 5](/ap-calc/unit-5 "fv-autolink"): critical points, increasing/decreasing behavior, extrema, concavity, and inflection points. On the exam, you often get the graph of $f'$ and have to reason about $f$, or you get $f$ and have to describe $f'$ and $f''$.

You will use this in multiple-choice questions that ask you to match a function to its derivative or pick out where a graph is [concave up](/ap-calc/key-terms/concave-up "fv-autolink"). It also shows up in free-response questions where you justify conclusions about $f$ using information from $f'$ and $f''$. Writing precise, derivative-based justifications is important for clear exam work, so always name $f$, $f'$, and $f''$ instead of saying "it" or "the graph."

## Key Takeaways

- The sign of $f'$ tells you where $f$ is increasing (positive) or decreasing (negative); critical points happen where $f'=0$ or $f'$ is undefined.
- The [First Derivative](/ap-calc/key-terms/first-derivative "fv-autolink") Test finds extrema by checking sign changes in $f'$; a sign change from positive to negative is a local max, negative to positive is a local min.
- The sign of $f''$ tells you concavity: positive means concave up, negative means [concave down](/ap-calc/key-terms/concave-down "fv-autolink").
- A point of inflection occurs only where $f''$ changes sign, not just where $f''=0$.
- When reading a graph of $f'$, the height of $f'$ is the [slope](/ap-calc/key-terms/slope "fv-autolink") of $f$, and where $f'$ is increasing, $f$ is concave up.
- Justify conclusions about $f$ by referring directly to features of $f'$ or $f''$, and name each function clearly.

## Sketching Graphs

Drawing the graphs of functions and their derivatives helps you find key features. From a graph, you can identify discontinuities, critical points, and extrema, plus many other important elements of a function.

Here is a step-by-step approach to sketching a graph. It may look like a lot, but each step is something you already practiced earlier in Unit 5.

1. Find the [domain](/ap-calc/key-terms/domain "fv-autolink") of the function and check for any discontinuities.
2. Identify key features such as intercepts and symmetry.
3. Find critical points.
4. Determine where the function increases and decreases.
5. Find the extrema of the function.
    - An alternative to steps 4 and 5 is to use the [Second Derivative](/ap-calc/unit-3/calculating-higher-order-derivatives/study-guide/Mh7ZnLES3ycIzEEKWl95 "fv-autolink") Test to determine the extrema.

6. Determine [points of inflection](/ap-calc/key-terms/points-of-inflection "fv-autolink") and intervals of concavity.

Once you have these pieces, you have an overview of what the function looks like and can sketch its graph.

### Sketching Graphs Walkthrough

Let's go deeper into each step and sketch this function:

$$f(x)=(x+2)^2(x-1)$$

#### Step 1: Find the domain and look for discontinuities

A useful fact: all [polynomial functions](/ap-calc/unit-1/confirming-continuity-over-an-interval/study-guide/HVxTuBB73RiPPODABBib "fv-autolink") have a domain of all real numbers. Since this is a polynomial, the domain is all real numbers.

When looking for discontinuities, check whether the function is rational or has points where $f(x)$ is not defined. There are no such points here, so this function is [continuous](/ap-calc/key-terms/continuous "fv-autolink") everywhere in its domain.

#### Step 2: Identify key features such as intercepts and symmetry

First, look for x-intercepts, where $f(x)=0$.

$$
0=(x+2)^2(x-1)
$$

Set each factor equal to zero and solve for x.

$$
(x+2)^2=0
$$

$$
x+2=0
$$

$$
x=-2
$$

Now set $x-1$ equal to 0.

$$
(x-1)=0
$$

$$
x=1
$$

This gives two x-intercepts: $x=-2$ and $x=1$. Their coordinates are $(-2,0)$ and $(1,0)$.

Now look for the y-intercept, where $x=0$.

$$
f(0)=(0+2)^2(0-1)
$$

$$
f(0)=(2)^2(-1)=\boxed{-4}
$$

The y-intercept is $(0,-4)$.

Lastly, check for symmetry. A function is symmetric about a line if reflecting across that line gives back the same function. There are two types:

1. **Even**: symmetric across the y-axis. $f(-x)=f(x)$ for all $x$ in the domain.
2. **Odd**: symmetric about the origin. $f(-x)=-f(x)$ for all $x$ in the domain.

If neither holds, the function has no symmetry. That is the case here, so this function has no symmetry.

So far, we know:

- The function is continuous.
- We can plot $(-2,0)$, $(1,0)$, and $(0,-4)$.

#### Step 3: Find critical points

Critical points occur where the first derivative equals zero or is undefined.

The first derivative, using [the product rule](/ap-calc/unit-2/product-rule/study-guide/qQXYTmpHvjsqAWOVzcEw "fv-autolink"), is:

$$
f'(x)=2(x+2)(x-1)+(x+2)^2
$$

Setting this equal to zero and solving for x gives $x=-2$ and $x=0$ as the critical points.

#### Step 4: Determine where the function increases and decreases

Using these critical points, find the intervals where the function increases and decreases.

- If $f'$ is positive on an interval, $f$ is increasing there.
- If $f'$ is negative on an interval, $f$ is decreasing there.

For a deeper explanation, revisit the [AP Calculus 5.3 Determining Intervals on Which a Function Is Increasing or Decreasing](/ap-calc/unit-5/determining-intervals-on-which-function-is-increasing-or-decreasing/study-guide/Y2fgjyl7H1dKPI2YsB4Y) guide.

Evaluate $f'$ around each [critical point](/ap-calc/key-terms/critical-point "fv-autolink"):

| Interval | $x$ | $f'(x)$ | Verdict |
|---|---|---|---|
| $(-\infty,-2)$ | $x=-3$ | $f'(-3)=9$ | $f$ is increasing |
| $(-2,0)$ | $x=-1$ | $f'(-1)=-3$ | $f$ is decreasing |
| $(0,\infty)$ | $x=1$ | $f'(1)=9$ | $f$ is increasing |

So $f$ is increasing on $(-\infty,-2)$ and $(0,\infty)$ and decreasing on $(-2,0)$.

#### Step 5: Find the extrema of the function

Apply the First Derivative Test to the information above.

- A critical point where $f$ decreases on its left and increases on its right is a [local minimum](/ap-calc/key-terms/local-minimum "fv-autolink").
- A critical point where $f$ increases on its left and decreases on its right is a [local maximum](/ap-calc/key-terms/local-maximum "fv-autolink").

For a refresher, see the [AP Calculus 5.4 Using the First Derivative Test to Determine Relative (Local) Extrema](/ap-calc/unit-5/using-first-derivative-test-to-determine-relative-local-extrema/study-guide/BjnQNCShz0uQiZGhSl2g) guide.

To the left of $x=-2$ the function is increasing, and to the right it is decreasing, so $x=-2$ is a local maximum.

At $x=0$ the function decreases on its left and increases on its right, so $x=0$ is a local minimum.

#### Alternative to Steps 4 and 5

Instead of steps 4 and 5, you can use the Second Derivative Test:

- If $f''$ at a critical point is negative, $f$ has a [relative maximum](/ap-calc/key-terms/relative-maximum "fv-autolink") there (concave down).
- If $f''$ at a critical point is positive, $f$ has a [relative minimum](/ap-calc/key-terms/relative-minimum "fv-autolink") there (concave up).

See the [AP Calculus 5.7 Using the Second Derivative Test to Determine Extrema](/ap-calc/unit-5/using-second-derivative-test-determine-extrema/study-guide/g8rSveVmLeEuKLK4T7ep) guide.

#### Step 6: Determine points of inflection and concavity

A function has a possible point of inflection where its second derivative equals zero. To confirm, check whether the function switches from concave up to concave down or vice versa (the second derivative changes sign) across the point.

For more, revisit the [AP Calculus 5.6 Determining Concavity of Functions over Their Domains](/ap-calc/unit-5/determining-concavity/study-guide/ORBIficQDT458eUIhJ0V) guide.

The second derivative of $f(x)$ is:

$$
f''(x)=6x+6
$$

Find the possible point of inflection by setting it equal to 0.

$$
0=6x+6
$$

$$
-6=6x
$$

$$
x=-1
$$

Now analyze the sign of the second derivative to confirm.

| $x$ | $f''(x)$ | Concavity |
|---|---|---|
| $-2$ | $-6$ | Concave down |
| $0$ | $6$ | Concave up |

Since the second derivative changes sign and concavity changes, $x=-1$ is a point of inflection.

#### Putting It All Together

Compiling everything:

- The function is continuous.
- We can plot $(-2,0)$, $(1,0)$, and $(0,-4)$.
- $f$ is increasing on $(-\infty,-2)$ and $(0,\infty)$.
- $f$ is decreasing on $(-2,0)$.
- $x=-2$ is a local maximum.
- $x=0$ is a local minimum.
- Concavity changes at $x=-1$ from concave down to concave up.

You may not have needed every piece of information, but having it all helps you double-check your sketch.

## How to Use This on the AP Calculus Exam

### MCQ

Multiple-choice questions often give you the graph of $f'$ and ask about $f$, or the reverse. Remember these reading rules:

- Where $f'$ is positive, $f$ is increasing; where $f'$ is negative, $f$ is decreasing.
- Where $f'$ crosses zero and changes sign, $f$ has a local extremum.
- Where $f'$ is increasing, $f$ is concave up; where $f'$ is decreasing, $f$ is concave down.
- A point of inflection of $f$ lines up with a local max or min of $f'$.

### Free Response

Free-response questions ask you to justify conclusions about $f$ using $f'$ and $f''$. Build your answer on what the derivative shows. For example, "$f$ is concave up on $a<x<b$ because $f'$ is increasing on that interval." Start by restating the conclusion using the language in the question, then give the derivative-based reason.

### Problem Solving

When sketching from scratch, work through the steps in order: domain, intercepts, critical points, increasing/decreasing, extrema, then concavity and inflection. Plotting the key points and labeling behavior between them keeps your sketch organized.

### Common Trap

Do not assume $f''=0$ automatically means an inflection point. You must show the second derivative actually changes sign there.

## Practice: Sketching Graphs

Try sketching this function on your own. What does the graph of $f(x)$ look like?

$$
f(x)=x^{3}+3x^{2}+3
$$

Work through each step before checking the [solution](/ap-calc/unit-7/verifying-solutions-for-differential-equations/study-guide/s2nX7AhIBDxGIWwlL82x "fv-autolink").

### Sketching Graphs Solution

We'll go through each step briefly. This time, instead of steps 4 and 5, we'll use the alternative.

1. Find the domain and check for discontinuities.
    - Since this is a polynomial, the domain is all real numbers and there are no discontinuities.

2. Identify key features such as intercepts and symmetry.
    - The x-intercept is $(-3.279,0)$ and the y-intercept is $(0,3)$.
    - This function has neither even nor odd symmetry.

3. Find critical points.
    - Setting $f'(x)=3x^2+6x$ equal to 0 and [factoring](/ap-calc/unit-1/determining-limits-using-algebraic-manipulation/study-guide/rf9HZ2V3D6dDLvWD595E "fv-autolink") gives critical points at $x=-2$ and $x=0$.

4. Alternative method: use the Second Derivative Test.
    - $f''(x)=6x+6$
    - $f''(-2)=-6$. Since $-6<0$, the function is concave down here, so by the Second Derivative Test $x=-2$ is a maximum.
    - $f''(0)=6$. Since $6>0$, the function is concave up here, so by the Second Derivative Test $x=0$ is a minimum.

5. Determine points of inflection and intervals of concavity.
    - $x=-1$ is the only possible point of inflection. Checking concavity on each side shows the function is concave down to the left and concave up to the right.
    - Since concavity changes at $x=-1$, it is a point of inflection.

6. Putting it all together.
    - The y-intercept is $(0,3)$.
    - $x=-2$ is a maximum.
    - $x=0$ is a minimum.
    - $x=-1$ is a point of inflection (concave down to the left, concave up to the right).

Plug these x-values into $f(x)$ to get exact y-values. With this information, $f(x)=x^{3}+3x^{2}+3$ has the shape you predicted from its key features.

## Common Misconceptions

- **Mixing up the graph of $f$ with the graph of $f'$.** Features of a derivative graph describe how $f$ behaves, not what $f$ itself looks like. The height of $f'$ is the slope of $f$, not the value of $f$.
- **Thinking $f'=0$ always means an extremum.** A critical point is only a local max or min if $f'$ actually changes sign there. A flat spot can be a stationary inflection point instead.
- **Assuming every $f''=0$ point is an inflection point.** The second derivative must change sign across the point for concavity to change.
- **Using vague language like "it" in justifications.** Always name $f$, $f'$, or $f''$ so it is clear which function your reasoning is about.
- **Confusing increasing $f'$ with increasing $f$.** When $f'$ is increasing, $f$ is concave up, but $f$ could still be decreasing if $f'$ is negative.
- **Forgetting that critical points include where $f'$ is undefined.** Cusps, corners, and vertical tangents can be critical points even though $f'$ is not zero there.

## Related AP Calculus Guides

- [Unit 5 Overview: Analytical Applications of Differentiation](/ap-calc/unit-5/review/study-guide/22AdFpcITnvM0bXKRl55)
- [5.1 Using the Mean Value Theorem](/ap-calc/unit-5/using-mean-value-theorem/study-guide/79sP2PXcyvRvBsjb3HRq)
- [5.2 Extreme Value Theorem, Global vs Local Extrema, and Critical Points](/ap-calc/unit-5/extreme-value-theorem-global-vs-local-extrema-critical-points/study-guide/xcQI1ZzNbmWJ5uRNiFCo)
- [5.3 Determining Intervals on Which a Function is Increasing or Decreasing](/ap-calc/unit-5/determining-intervals-on-which-function-is-increasing-or-decreasing/study-guide/Y2fgjyl7H1dKPI2YsB4Y)
- [5.4 Using the First Derivative Test to Determine Relative (Local) Extrema](/ap-calc/unit-5/using-first-derivative-test-to-determine-relative-local-extrema/study-guide/BjnQNCShz0uQiZGhSl2g)
- [5.11 Solving Optimization Problems](/ap-calc/unit-5/solving-optimization-problems/study-guide/u2Y3MpOG6kkTtbLH38S7)

## FAQs

### How do you sketch a function from its derivative?

Use f prime to find where f is increasing or decreasing, identify critical points, apply the First Derivative Test, then use f double prime to determine concavity and inflection points.

### How do you know where a function is increasing or decreasing?

A function is increasing where f prime is positive and decreasing where f prime is negative. Critical points occur where f prime equals zero or is undefined.

### How do you identify extrema from a derivative graph?

Use sign changes in f prime. If f prime changes from positive to negative, f has a local maximum. If f prime changes from negative to positive, f has a local minimum.

### How do you find concavity when sketching a graph?

Use f double prime. If f double prime is positive, f is concave up. If f double prime is negative, f is concave down.

### What is the common mistake in AP Calculus 5.8?

A common mistake is mixing up f, f prime, and f double prime. The height of f prime gives the slope of f, while whether f prime is increasing or decreasing describes concavity of f.

### How is AP Calculus 5.8 tested?

AP Calculus 5.8 is tested with graph matching, derivative graph interpretation, and written justifications about increasing, decreasing, extrema, concavity, and inflection points.

## Structured Data

```json
{"@context":"https://schema.org","@type":"FAQPage","inLanguage":"en","mainEntity":[{"@type":"Question","@id":"https://fiveable.me/ap-calc/unit-5/sketching-graphs-functions-their-derivatives/study-guide/aT1iYD0w3cZ4vq9YNoLG#how-do-you-sketch-a-function-from-its-derivative","name":"How do you sketch a function from its derivative?","acceptedAnswer":{"@type":"Answer","text":"Use f prime to find where f is increasing or decreasing, identify critical points, apply the First Derivative Test, then use f double prime to determine concavity and inflection points."}},{"@type":"Question","@id":"https://fiveable.me/ap-calc/unit-5/sketching-graphs-functions-their-derivatives/study-guide/aT1iYD0w3cZ4vq9YNoLG#how-do-you-know-where-a-function-is-increasing-or-decreasing","name":"How do you know where a function is increasing or decreasing?","acceptedAnswer":{"@type":"Answer","text":"A function is increasing where f prime is positive and decreasing where f prime is negative. Critical points occur where f prime equals zero or is undefined."}},{"@type":"Question","@id":"https://fiveable.me/ap-calc/unit-5/sketching-graphs-functions-their-derivatives/study-guide/aT1iYD0w3cZ4vq9YNoLG#how-do-you-identify-extrema-from-a-derivative-graph","name":"How do you identify extrema from a derivative graph?","acceptedAnswer":{"@type":"Answer","text":"Use sign changes in f prime. If f prime changes from positive to negative, f has a local maximum. If f prime changes from negative to positive, f has a local minimum."}},{"@type":"Question","@id":"https://fiveable.me/ap-calc/unit-5/sketching-graphs-functions-their-derivatives/study-guide/aT1iYD0w3cZ4vq9YNoLG#how-do-you-find-concavity-when-sketching-a-graph","name":"How do you find concavity when sketching a graph?","acceptedAnswer":{"@type":"Answer","text":"Use f double prime. If f double prime is positive, f is concave up. If f double prime is negative, f is concave down."}},{"@type":"Question","@id":"https://fiveable.me/ap-calc/unit-5/sketching-graphs-functions-their-derivatives/study-guide/aT1iYD0w3cZ4vq9YNoLG#what-is-the-common-mistake-in-ap-calculus-58","name":"What is the common mistake in AP Calculus 5.8?","acceptedAnswer":{"@type":"Answer","text":"A common mistake is mixing up f, f prime, and f double prime. The height of f prime gives the slope of f, while whether f prime is increasing or decreasing describes concavity of f."}},{"@type":"Question","@id":"https://fiveable.me/ap-calc/unit-5/sketching-graphs-functions-their-derivatives/study-guide/aT1iYD0w3cZ4vq9YNoLG#how-is-ap-calculus-58-tested","name":"How is AP Calculus 5.8 tested?","acceptedAnswer":{"@type":"Answer","text":"AP Calculus 5.8 is tested with graph matching, derivative graph interpretation, and written justifications about increasing, decreasing, extrema, concavity, and inflection points."}}]}
```
