1. Home
  2. Explore
  3. Mathematics
  4. Graphing Derivatives

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Graphing Derivatives

Graphing Derivatives and Using the First and Second Derivatives

1. What a derivative graph represents

For a function fff, the derivative f′(x)f'(x)f′(x) gives the slope of the tangent line to the graph of fff at each value of xxx. A tangent line approximates the curve very closely near the point where it touches the curve. On a smooth graph, zooming in around a point makes the curve look increasingly like its tangent line.

To sketch a derivative from a graph of the original function:

  1. Find places where the original graph has a horizontal tangent. There, the derivative is zero.

  2. Identify where the original graph is increasing or decreasing. This determines whether the derivative is positive or negative.

  3. Estimate tangent-line slopes at selected points to judge the approximate heights of the derivative graph.

  4. Connect the resulting information in a smooth curve consistent with the expected shape.

The derivative graph records the slopes of the original graph, not the original graph’s heights.


2. Horizontal tangents and zeros of the derivative

A horizontal tangent line has slope zero, so at any smooth point where the original graph has a horizontal tangent, f′(x)=0f'(x)=0f′(x)=0.

On the example graph, the horizontal tangents appear approximately at x=−1.4x=-1.4x=−1.4 and x=2x=2x=2. These locations are therefore zeros of the derivative. The first value is only an estimate from the graph; its exact value in the example function is −43-\frac{4}{3}−34​.

A derivative graph must pass through the points where its output is zero. Thus, if f′(a)=0f'(a)=0f′(a)=0, the graph of f′f'f′ crosses or touches the horizontal axis at x=ax=ax=a.


3. The sign of the derivative and whether a function rises or falls

The sign of f′(x)f'(x)f′(x) describes how the original function is changing:

  • If f′(x)>0f'(x)>0f′(x)>0, the tangent slopes are positive and fff is increasing.

  • If f′(x)<0f'(x)<0f′(x)<0, the tangent slopes are negative and fff is decreasing.

  • If f′(x)=0f'(x)=0f′(x)=0, the tangent is horizontal at that point.

For the example graph:

  • To the left of approximately x=−1.4x=-1.4x=−1.4, the original curve rises, so f′(x)>0f'(x)>0f′(x)>0.

  • Between approximately x=−1.4x=-1.4x=−1.4 and x=2x=2x=2, the curve falls, so f′(x)<0f'(x)<0f′(x)<0.

  • To the right of x=2x=2x=2, the curve rises again, so f′(x)>0f'(x)>0f′(x)>0.

The derivative graph is therefore above the horizontal axis on the first and third intervals, and below it on the middle interval. This sign information is often more dependable than trying to estimate every slope immediately.

What sign changes at stationary points indicate

A point where f′(x)=0f'(x)=0f′(x)=0 is called a stationary point. The sign of the derivative on either side indicates the kind of turning point:

  • If f′f'f′ changes from positive to negative, fff changes from increasing to decreasing, giving a local maximum.

  • If f′f'f′ changes from negative to positive, fff changes from decreasing to increasing, giving a local minimum.

In the example, the derivative changes from positive to negative at x=−43x=-\frac{4}{3}x=−34​, so the original function has a local maximum there. At x=2x=2x=2, it changes from negative to positive, so the original function has a local minimum.


4. Estimating slope values from a graph

Once zeros and signs have been identified, slopes at selected points can help determine approximate values of the derivative.

A slope can be estimated as rise over run:

slope≈change in ychange in x\text{slope} \approx \frac{\text{change in }y}{\text{change in }x}slope≈change in xchange in y​

For example, a tangent line near x=−2.9x=-2.9x=−2.9 was estimated by comparing two points about one unit apart horizontally. Their vertical coordinates were approximately 0.70.70.7 and 333, so the rise was about 3−0.7=2.33-0.7=2.33−0.7=2.3. With a run of about 111, the slope was approximately

2.31=2.3\frac{2.3}{1}=2.312.3​=2.3

Thus, f′(−2.9)f'(-2.9)f′(−2.9) is about 2.32.32.3, placing a point near (−2.9,2.3)(-2.9,2.3)(−2.9,2.3) on the derivative graph.

The same method can be used at other points:

  1. Draw or imagine the tangent line at the chosen point.

  2. Select two convenient points on that line.

  3. Estimate the vertical change and horizontal change.

  4. Divide rise by run to estimate the derivative value.

The estimates need not be exact to reveal the overall shape. They should agree with the known signs and zeros.


5. The shape of the derivative graph

The original example is a cubic function. Its derivative is a quadratic function, so its derivative graph is a parabola. In this case, the parabola opens upward.

The graph’s key features follow from the earlier information:

  • It crosses the xxx-axis at the two locations where the original graph has horizontal tangents.

  • It is positive where the original graph is increasing.

  • It is negative where the original graph is decreasing.

  • It reaches its minimum near the point where the original graph’s slope is most negative.

A smooth parabola consistent with these features is a better sketch than an irregular curve with unexplained wiggles. More accurate tangent-slope estimates can improve the sketch, but the derivative’s zeros, signs, and overall shape provide its essential structure.


6. A cubic example and its derivative

Consider the function

f(x)=110(x+3)(x−2)2+12f(x)=\frac{1}{10}(x+3)(x-2)^2+\frac{1}{2}f(x)=101​(x+3)(x−2)2+21​

Expanding gives

f(x)=110x3−110x2−45x+1710f(x)=\frac{1}{10}x^3-\frac{1}{10}x^2-\frac{4}{5}x+\frac{17}{10}f(x)=101​x3−101​x2−54​x+1017​

The graph of this cubic has the general behavior described above: it rises, then falls, then rises again.

The power rule

The power rule states that for an exponent nnn,

ddxxn=nxn−1\frac{d}{dx}x^n=nx^{n-1}dxd​xn=nxn−1

For example:

  • ddxx3=3x2\frac{d}{dx}x^3=3x^2dxd​x3=3x2

  • ddxx2=2x\frac{d}{dx}x^2=2xdxd​x2=2x

  • ddxx=1\frac{d}{dx}x=1dxd​x=1

  • The derivative of a constant is 000

Linearity of differentiation

Differentiation is linear: for a sum or difference of terms, each term can be differentiated separately, while its constant multiplier is retained. Applying the power rule and linearity gives

f′(x)=110(3x2)−110(2x)−45(1)+0=310x2−15x−45\begin{aligned} f'(x) &=\frac{1}{10}(3x^2)-\frac{1}{10}(2x)-\frac{4}{5}(1)+0\\ &=\frac{3}{10}x^2-\frac{1}{5}x-\frac{4}{5} \end{aligned}f′(x)​=101​(3x2)−101​(2x)−54​(1)+0=103​x2−51​x−54​​

The constant term 1710\frac{17}{10}1017​ contributes zero because a constant does not change as xxx changes.

This derivative is a quadratic, so its graph is a parabola. It opens upward because the coefficient of x2x^2x2 is positive.


7. Finding where the derivative is zero

To find where the original function has horizontal tangents, set its derivative equal to zero:

310x2−15x−45=0\frac{3}{10}x^2-\frac{1}{5}x-\frac{4}{5}=0103​x2−51​x−54​=0

Multiplying both sides by 101010 removes the fractions without changing the solutions:

3x2−2x−8=03x^2-2x-8=03x2−2x−8=0

This factors as

(3x+4)(x−2)=0(3x+4)(x-2)=0(3x+4)(x−2)=0

Therefore,

x=−43orx=2x=-\frac{4}{3} \qquad\text{or}\qquad x=2x=−34​orx=2

These are exactly the values where the tangent to the original function is horizontal. The derivative is positive for x<−43x<-\frac{4}{3}x<−34​, negative for −43<x<2-\frac{4}{3}<x<2−34​<x<2, and positive for x>2x>2x>2.

The quadratic formula can also be used to find these roots. Factoring is convenient here, but the quadratic formula is a reliable method when a quadratic does not factor easily.


8. The second derivative and concavity

The second derivative is the derivative of the first derivative:

f′′(x)=ddxf′(x)f''(x)=\frac{d}{dx}f'(x)f′′(x)=dxd​f′(x)

For the example,

f′′(x)=ddx(310x2−15x−45)=35x−15\begin{aligned} f''(x) &=\frac{d}{dx}\left(\frac{3}{10}x^2-\frac{1}{5}x-\frac{4}{5}\right)\\ &=\frac{3}{5}x-\frac{1}{5} \end{aligned}f′′(x)​=dxd​(103​x2−51​x−54​)=53​x−51​​

The second derivative describes how the first derivative changes. Since the first derivative gives the slopes of the original graph, the second derivative indicates whether those slopes are increasing or decreasing.

  • When f′′(x)>0f''(x)>0f′′(x)>0, the slopes of fff are increasing, and the graph of fff is concave up—curved like a smile.

  • When f′′(x)<0f''(x)<0f′′(x)<0, the slopes of fff are decreasing, and the graph of fff is concave down—curved like a frown.

These rules concern how the slope changes; they do not say whether the function itself is increasing or decreasing. A graph can be increasing while concave down, or decreasing while concave up.


9. Inflection point and the minimum slope

To locate where the second derivative is zero, solve

35x−15=0\frac{3}{5}x-\frac{1}{5}=053​x−51​=0

This gives

x=13x=\frac{1}{3}x=31​

For x<13x<\frac{1}{3}x<31​, the second derivative is negative, so the original graph is concave down and its slopes are decreasing. For x>13x>\frac{1}{3}x>31​, the second derivative is positive, so the graph is concave up and its slopes are increasing.

Because the concavity changes at x=13x=\frac{1}{3}x=31​, the original function has an inflection point there. The derivative graph reaches its minimum at the same xxx-value: the slopes of the original graph decrease until x=13x=\frac{1}{3}x=31​ and increase afterward. For this example, the derivative’s minimum value is −56-\frac{5}{6}−65​.

The second derivative can itself be graphed. Since f′′(x)=35x−15f''(x)=\frac{3}{5}x-\frac{1}{5}f′′(x)=53​x−51​ is linear, its graph is a straight line that crosses zero at x=13x=\frac{1}{3}x=31​, is negative to the left, and is positive to the right.


10. Connecting the three graphs

The graphs of a function and its first two derivatives describe related features:

  • The original function fff shows the function’s values.

  • The first derivative f′f'f′ shows the slopes of fff. Its zeros correspond to horizontal tangents on fff, and its sign shows where fff rises or falls.

  • The second derivative f′′f''f′′ shows how the slopes of fff change. Its sign indicates concavity, and a sign change can identify an inflection point.

For the cubic example:

  • f′(x)=0f'(x)=0f′(x)=0 at x=−43x=-\frac{4}{3}x=−34​ and x=2x=2x=2.

  • fff has a local maximum at x=−43x=-\frac{4}{3}x=−34​ and a local minimum at x=2x=2x=2.

  • f′′(x)=0f''(x)=0f′′(x)=0 at x=13x=\frac{1}{3}x=31​.

  • fff changes from concave down to concave up at x=13x=\frac{1}{3}x=31​, where its slope is most negative.


11. Effective practice

Sketching derivatives combines visual interpretation with calculation. A strong approach begins with qualitative features—the zeros and signs of the derivative—before attempting detailed slope estimates. Practice is important because recognizing these relationships requires applying them to graphs, not merely hearing or reading the rules.

Useful checks include whether:

  • the derivative is zero wherever the original graph has a horizontal tangent;

  • the derivative is positive where the original graph rises and negative where it falls;

  • the derivative’s shape agrees with how the original graph’s slopes change;

  • the second derivative’s sign agrees with the original graph’s concavity.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent