Graphing Derivatives


Graphing Derivatives

Maria
Today we’re learning how to sketch the graph of a derivative from the graph of a function. The key idea is that the derivative tells us the slope of the original graph at each x-value. So before trying to draw a precise curve, we can ask three useful questions: Where is the slope zero, where is it positive, and where is it negative?

Corey
And the slope at a point comes from the tangent line—the straight line that best approximates a smooth curve right near that point. If you zoom in closer and closer on a smooth graph, the curve starts to look more and more like its tangent line.

Maria
Exactly. If that tangent line rises as you move to the right, its slope is positive, so the derivative is positive there. If it falls as you move to the right, the derivative is negative. And if it’s horizontal, its slope is zero, so the derivative’s value is zero.

Corey
Let’s apply that to the red curve in our example. Looking at the graph, its tangent line is horizontal at about x equals negative 1.4 and x equals 2. Those are approximate readings from the picture, but they tell us that the derivative graph should cross the x-axis around those locations.

Maria
Now check the intervals between and around those points. To the left of about negative 1.4, the red curve is rising, so its slope—and the derivative—is positive. Between about negative 1.4 and 2, the curve is falling, so the derivative is negative. To the right of 2, the curve rises again, so the derivative is positive.

Corey
That sign pattern already gives us the essential shape: positive on the left, negative in the middle, and positive on the right. The source graph is a cubic, and its derivative is a quadratic, so we expect a parabola. A parabola opening upward fits that sign pattern.

Maria
We can improve the sketch by estimating actual slopes. For example, near x equals negative 2.9, draw the tangent line and look at how much it rises when x increases by one unit. The estimated rise is about 2.3, so the slope is about 2.3.

Corey
That means the derivative graph should have a point near the coordinates negative 2.9, 2.3. In general, each point on the derivative graph has x-coordinate equal to the place you measured on the original graph, and y-coordinate equal to the estimated slope there.

Maria
We can also estimate where the derivative is most negative. On the original curve, that’s where the tangent line has its steepest downward slope. Visually, it’s around the place where the red curve changes from concave down to concave up.

Corey
At that location, an estimated tangent line falls by roughly 0.7 when x increases by one, so its slope is around negative 0.7. The derivative graph should reach its lowest point at about that height. Then we connect our estimated points smoothly, keeping the overall parabola shape.

Maria
So the recipe for sketching a derivative is: find horizontal tangents first, determine where the original graph rises and falls, and then estimate some slopes for more detail. A common mistake is to draw odd wiggles or get the signs wrong; the sign pattern and the expected shape help keep the sketch consistent.

Corey
Let’s now find the exact derivative for the example. The original function is one tenth times the quantity x plus 3 times the quantity x minus 2 squared, plus 0.5. Expanded, that’s f of x equals one tenth x cubed minus one tenth x squared minus four fifths x plus seventeen tenths.

Maria
To differentiate it, we use the power rule: the derivative of x to the n is n times x to the n minus 1. We also use linearity: differentiate each term separately, keeping its constant multiplier. The derivative of a constant is zero.

Corey
For the x cubed term, the power rule gives three x squared, and the one tenth stays in front. For the negative one tenth x squared term, we get negative one tenth times two x. For negative four fifths x, the derivative of x is one, so that term becomes negative four fifths.

Maria
And the constant seventeen tenths contributes zero. Putting the terms together gives f prime of x equals three tenths x squared minus one fifth x minus four fifths. That’s the exact derivative, and its upward-opening parabola matches the hand-drawn shape.

Corey
We can check exactly where the original function has slope zero by setting the derivative equal to zero. To make the equation easier to work with, multiply every term by 10. We get three x squared minus 2x minus 8 equals zero.

Maria
You can use the quadratic formula here. With a equal to 3, b equal to negative 2, and c equal to negative 8, the solutions are x equals 2 and x equals negative four thirds. Those are the exact locations where the derivative is zero.

Corey
And negative four thirds is negative 1.333 repeating, which is close to the rough visual estimate of negative 1.4. The exact derivative is positive to the left of negative four thirds, negative between negative four thirds and 2, and positive to the right of 2.

Maria
That’s a useful connection: solving f prime equals zero finds the x-values where the original graph has horizontal tangent lines. We can use those values to locate where the function changes from rising to falling, or from falling to rising.

Corey
There’s another derivative to consider: the second derivative. By definition, f double prime is the derivative of f prime. So we differentiate three tenths x squared minus one fifth x minus four fifths.

Maria
Using the power rule and linearity again, the result is six tenths x minus one fifth, which simplifies to three fifths x minus one fifth. The second derivative tells us how the slope of the original function is changing.

Corey
If f double prime is positive, the original graph is concave up—shaped like a smile or part of one. If f double prime is negative, the graph is concave down—shaped like a frown or part of one.

Maria
Set the second derivative equal to zero: three fifths x minus one fifth equals zero. Solving gives x equals one third. That’s where the second derivative changes sign, and in this example it’s where the original graph changes from concave down to concave up.

Corey
The derivative graph makes that easier to picture. Before x equals one third, the derivative is decreasing; after x equals one third, it’s increasing. The derivative reaches its lowest point there, which corresponds to the original function having its most negative slope around that location.

Maria
More generally, concave down means the slopes are decreasing as x increases, while concave up means the slopes are increasing. That’s why the second derivative is helpful: it describes whether the first derivative is going down or up.

Corey
And if a graph is always increasing, its derivative is positive throughout. If its slope keeps getting bigger, then the derivative itself increases. But an increasing graph can also have slopes that get smaller, so increasing doesn’t automatically mean the derivative is increasing.

Maria
The big picture is that the first derivative gives the original graph’s slope, and the second derivative tells us how that slope changes. These ideas help us sketch functions and, later, analyze more complicated functions and real-life problems.

Corey
But recognizing the rules while listening isn’t the same as being able to use them. Work through practice problems yourself: identify signs, estimate slopes, sketch the derivative, and calculate derivatives with the power rule. That active practice is how these ideas become reliable.

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