01 / 21

Graphing Functions
& Their Derivatives

Learn to read a function's story through its graph, and discover how the derivative reveals every rise, fall, and turning point.

Calculus 1

What Is a Derivative, Visually?

The derivative \( f'(x) \) at any point is the slope of the tangent line to \( f(x) \) at that point. It tells you how fast the function is changing and in which direction.

x y f(x) \( \text{slope} < 0 \) \( \text{slope} > 0 \) \( \text{slope} = 0 \)

Increasing vs Decreasing

Increasing
When \( f'(x) > 0 \) on an interval, the graph of \( f \) rises from left to right.
Decreasing
When \( f'(x) < 0 \) on an interval, the graph of \( f \) falls from left to right.
Constant
When \( f'(x) = 0 \) on an entire interval, \( f \) is flat: a horizontal segment.

Critical Points & Local Extrema

A critical point occurs where \( f'(c) = 0 \) or \( f'(c) \) is undefined. These are the only candidates for local maxima or minima.

x y local min local max f(x)

The First Derivative Test

After finding a critical point \( x = c \), check the sign of \( f'(x) \) on each side to classify it.

1
Find critical points where \( f'(x) = 0 \) or \( f'(x) \) is undefined.
2
Test the sign of \( f'(x) \) in each interval between critical points.
3
If \( f' \) changes from \(+\) to \(-\): local max. From \(-\) to \(+\): local min. No change: neither.

Concavity & the Second Derivative

Concave Up
\( f''(x) > 0 \): the graph curves upward like a bowl. Slopes are increasing.
Concave Down
\( f''(x) < 0 \): the graph curves downward like a hill. Slopes are decreasing.
concave up \( f'' > 0 \) concave down \( f'' < 0 \)

\( f \) vs \( f' \) vs \( f'' \)

Feature \( f(x) \) \( f'(x) \) \( f''(x) \)
Tells us about Position / value Slope / rate Curvature / acceleration
Positive means Above \( x \)-axis Increasing Concave up
Zero means \( x \)-intercept Horizontal tangent Possible inflection
Negative means Below \( x \)-axis Decreasing Concave down

From \( f \) to \( f' \): Reading the Graph

1
Where \( f \) increases, plot \( f' \) above the \( x \)-axis (positive).
2
Where \( f \) decreases, plot \( f' \) below the \( x \)-axis (negative).
3
At every local max/min of \( f \), \( f' \) crosses zero.
4
The steeper \( f \) is, the farther from zero \( f' \) is. Steep rise = large positive \( f' \).
5
Inflection points of \( f \) become local extrema of \( f' \).

How to Sketch the Derivative

1
Mark all peaks and valleys of \( f \). Draw vertical dashed lines down to the \( x \)-axis: these are the zeros of \( f' \).
2
Label intervals between those zeros as increasing (\(+\)) or decreasing (\(-\)).
3
Estimate steepness: where \( f \) is steepest, give \( f' \) its largest magnitude.
4
Find inflection points of \( f \): the derivative graph has a local max or min there.
5
Connect smoothly. The derivative of a smooth function is also smooth.

Example 1: \( f(x) = x^2 \)

x y -2 -1 1 2 \( f(x) = x^2 \) \( f'(x) = 2x \) min: \( f' = 0 \)

Example 2: \( f(x) = x^3 - 3x \)

x y -1 1 -2 2 local max local min \( f(x) \) \( f'(x) \)

Example 3: \( f(x) = \sin x \) and \( f'(x) = \cos x \)

x y \(\frac{\pi}{2}\) \(\pi\) \(2\pi\) \(-\frac{\pi}{2}\) \(-\pi\) \( \sin x \) \( \cos x \)

From \( f' \) Back to \( f \)

Given only the graph of \( f'(x) \), you can reconstruct the shape of \( f(x) \) (up to a vertical shift).

1
Zeros of \( f' \) become the peaks, valleys, or flat points of \( f \).
2
\( f' > 0 \) means \( f \) is rising in that region.
3
\( f' < 0 \) means \( f \) is falling in that region.
4
Local extrema of \( f' \) become inflection points of \( f \).

Sketching \( f \) from a Given \( f' \)

x \( f'(x) \) a b \( f' > 0 \) \( f' < 0 \) \( f' < 0 \) x \( f(x) \) local min local max

Common Mistakes to Avoid

✕ Confusing \( f \) and \( f' \)
A zero of \( f \) is an \( x \)-intercept of the function: that is not the same as a zero of \( f' \), which is a horizontal tangent.
✕ Zero = Extremum Always
Just because \( f'(c)=0 \) does not guarantee a max or min. Example: \( f(x)=x^3 \) at \( x=0 \) has \( f'=0 \) but no extremum.
✕ Ignoring Concavity
Two functions can both be increasing, but one curves up and the other curves down. Forgetting \( f'' \) loses half the story.

Summary Cheat Sheet

If you see this on \( f' \) Then \( f \) is doing this
\( f'(x) > 0 \) Increasing (rising)
\( f'(x) < 0 \) Decreasing (falling)
\( f'(x) = 0 \), sign changes \(+\) to \(-\) Local maximum
\( f'(x) = 0 \), sign changes \(-\) to \(+\) Local minimum
\( f' \) has a local max or min Inflection point of \( f \)
\( f' \) is increasing \( f \) is concave up (\( f'' > 0 \))
\( f' \) is decreasing \( f \) is concave down (\( f'' < 0 \))

Question 1 of 5

If \( f'(x) > 0 \) for all \( x \) in \( (a, b) \), what can you conclude about \( f \) on that interval?

Question 2 of 5

The graph of \( f'(x) \) crosses the \( x \)-axis from positive to negative at \( x = 3 \). What happens to \( f \) at \( x = 3 \)?

Question 3 of 5

If the graph of \( f'(x) \) has a local minimum at \( x = 5 \), what does this tell you about the graph of \( f \)?

Question 4 of 5

Consider \( f(x) = x^3 \). At \( x = 0 \), \( f'(0) = 0 \). Is \( x=0 \) a local extremum?

Question 5 of 5

If \( f''(x) > 0 \) on an interval, which statement about the graph of \( f' \) is true on that interval?