Derivative Calculator (Polynomial)
- Power rule term by term: the derivative of 2.00x^3 is 6.00x^2, of 0.00x^2 is 0.00x, of 3.00x is 3.00, and the constant 5.00 vanishes.
- So f'(x) = 6.00x^2 + 3.00.
- At x = 2.00: f'(2.00) = 27.00 — the tangent to the curve at that point climbs 27.00 units vertically for every unit across.
- The function value there is f(2.00) = 27.00, so the tangent line touches the curve at (2.00, 27.00) with that slope.
This derivative calculator finds the derivative of polynomial functions and evaluates the result at any point you choose. Enter a polynomial such as f(x) = 2x^3 + 3x + 5, and the tool returns f'(x) = 6.00x^2 + 3.00, then reports that at x = 2 the slope is 27.00 and f(2) = 27.00. The derivative at a point is the slope of the tangent line there: positive means climbing, negative means falling, and zero means a flat turning point or inflection. For f(x) = x^3 - 3x^2 + 2x, the calculator gives f'(x) = 3.00x^2 - 6.00x + 2.00, so at x = 1 the slope is -1.00 and f(1) = 0.00. Similarly, f(x) = 4x^2 - 2x + 7 yields f'(x) = 8.00x - 2.00, so at x = 0.5 the slope is 2.00.
The calculator applies the power rule, the accepted standard for differentiating polynomials. Under this rule, the derivative of x^n is n x^(n-1), constants differentiate to zero, and sums differentiate term by term. The constant term always vanishes because shifting a curve up or down does not change its slope anywhere. This page shows the formula, step-by-step workings, worked examples, and sources so you can verify every result by hand and understand each stage of the process.
Worked examples
2x^3 + 3x + 5 at x = 2
Primary result: 27.00 — the tangent at x = 2 climbs 27 units per unit across. (2 · 0 · 3 · 5 · 2)
| Derivative at the point | 27.00 |
| Derivative f'(x) | 6.00x^2 + 3.00 |
| Function value f(x) | 27.00 |
x^3 - 3x^2 + 2x at x = 1
Primary result: -1.00 — the curve is still descending at x = 1. (1 · -3 · 2 · 0 · 1)
| Derivative at the point | -1.00 |
| Derivative f'(x) | 3.00x^2 - 6.00x + 2.00 |
| Function value f(x) | 0.00 |
4x^2 - 2x + 7 at x = 0.5
Primary result: 2.00 — a gentle climb at x = 0.5. (0 · 4 · -2 · 7 · 0.5)
| Derivative at the point | 2.00 |
| Derivative f'(x) | 8.00x - 2.00 |
| Function value f(x) | 7.00 |
The power rule, term by term
The power rule is the engine behind every polynomial derivative calculator. It states that the derivative of x^n is n times x raised to the power of n minus 1. Constants differentiate to zero, and sums differentiate term by term. For a general cubic written as a3 times x cubed plus a2 times x squared plus a1 times x plus a0, you apply the rule to each term on its own, then add the results.
Take the first term, 3 times a3 times x squared. The exponent 2 comes down to multiply the existing coefficient, giving 6 times a3 times x. The exponent then drops by one, from 2 to 1, which is why x squared becomes plain x. Move to the second term, 2 times a2 times x. Here the exponent is an understood 1, so that 1 multiplies the coefficient 2 times a2 and the exponent drops from 1 to 0. Since x to the 0 is simply 1, the x disappears entirely and you are left with 2 times a2. The third term, a1, is a constant with respect to x. Because constants differentiate to zero, a1 vanishes from the derivative. The same fate meets a0, the standalone constant term at the end of the cubic.
Why does the exponent drop, and why does the constant disappear? The power rule works by multiplying the original exponent into the coefficient and then reducing that exponent by one step. The constant disappears because shifting a curve up or down does not change its slope anywhere. A pure constant has no x, so it has no rise over run, and its contribution to the derivative is exactly zero.
Consider f of x equals 2 times x cubed plus 3 times x plus 5. Applying the power rule term by term gives f prime of x equal to 6.00 times x squared plus 3.00. The constant 5 drops out completely. At x equals 2 the slope is 27.00 and f of 2 is 27.00. Another example, f of x equals x cubed minus 3 times x squared plus 2 times x, has f prime of x equal to 3.00 times x squared minus 6.00 times x plus 2.00. At x equals 1 the slope is minus 1.00 and f of 1 is 0.00. A third case, f of x equals 4 times x squared minus 2 times x plus 7, has f prime of x equal to 8.00 times x minus 2.00, so at x equals 0.5 the slope is 2.00.
The derivative at a point is the slope of the tangent line there. A positive value means climbing, a negative value means falling, and zero means a flat turning point or inflection. Because each term is handled independently, the full derivative is simply the sum of these individual results.
Worked examples
The three worked examples below show exactly how a derivative calculator applies the power rule to polynomial functions. In each case, the derivative of x^n becomes n x^(n-1), constants differentiate to zero, and sums differentiate term by term. The constant term always vanishes — shifting a curve up or down does not change its slope anywhere.
First, consider f(x) = 2x^3 + 3x + 5. Applying the power rule to each term gives f'(x) = 6.00x^2 + 3.00. The constant 5 drops out because constants differentiate to zero. Evaluating at x = 2, the slope is 27.00. The function value f(2) = 27.00 as well, meaning the tangent line touches the curve at a point where the curve and its tangent share the same height. The positive slope of 27.00 means the curve is climbing steeply at that point.
Second, take f(x) = x^3 - 3x^2 + 2x. Differentiating term by term yields f'(x) = 3.00x^2 - 6.00x + 2.00. At x = 1, the slope is -1.00, and the function value f(1) = 0.00. A negative slope means the curve is falling at that point. This example demonstrates how a cubic polynomial can dip below the x-axis while descending, even though it will eventually rise again for larger values of x.
Third, examine f(x) = 4x^2 - 2x + 7. The derivative is f'(x) = 8.00x - 2.00, with the constant 7 vanishing as expected. At x = 0.5, the slope is 2.00. This positive value means the curve is climbing at that location. The derivative at a point is the slope of the tangent line there: positive means climbing, negative means falling, and zero means a flat turning point or inflection.
| Function | Derivative f'(x) | Evaluation Point | Slope | Function Value |
|---|---|---|---|---|
| f(x) = 2x^3 + 3x + 5 | 6.00x^2 + 3.00 | x = 2 | 27.00 | 27.00 |
| f(x) = x^3 - 3x^2 + 2x | 3.00x^2 - 6.00x + 2.00 | x = 1 | -1.00 | 0.00 |
| f(x) = 4x^2 - 2x + 7 | 8.00x - 2.00 | x = 0.5 | 2.00 | — |
What the slope at a point means
A derivative calculator does more than apply the power rule, where the derivative of x^n is n x^(n-1), constants differentiate to zero, and sums differentiate term by term. It reveals the slope of the curve at a single, exact point. That slope is the slope of the tangent line, a straight line that touches the curve at that point without cutting through it. Think of the tangent line as the best straight-line approximation of the curve at that spot. The derivative at a point tells you the steepness and direction of that line.
Reading the sign of the derivative tells you what the curve is doing. A positive slope means the curve is climbing as x increases. A negative slope means the curve is falling. A slope of zero means a flat turning point or inflection, where the curve is neither rising nor falling at that instant. This is the instantaneous rate of change, the exact speed and direction of the curve at one point rather than over an interval.
Consider f(x) = 2x^3 + 3x + 5. Using the power rule, f'(x) = 6.00x^2 + 3.00, so at x = 2 the slope is 27.00 and f(2) = 27.00. The positive slope confirms the curve is climbing steeply at that point. Now look at f(x) = x^3 - 3x^2 + 2x, which has f'(x) = 3.00x^2 - 6.00x + 2.00, so at x = 1 the slope is -1.00 and f(1) = 0.00. Here the negative slope means the curve is falling even though the function value is zero, a reminder that slope and position are separate things.
A third example shows how the constant term behaves. For f(x) = 4x^2 - 2x + 7, the derivative is f'(x) = 8.00x - 2.00, so at x = 0.5 the slope is 2.00. The constant 7 vanishes in the derivative because the constant term always vanishes, and shifting a curve up or down does not change its slope anywhere. Only the terms with x affect the slope, which is why two curves that look identical but sit at different heights have the same derivative at every matching x value.
- Positive slope: the curve is climbing at that point
- Negative slope: the curve is falling at that point
- Zero slope: the curve is flat, marking a turning point or inflection
Finding turning points
A turning point is where a polynomial curve stops climbing and starts falling, or stops falling and starts climbing. At that spot the tangent line is flat, which means the slope is zero. Since the derivative at a point is the slope of the tangent line there, you find turning points by setting the derivative equal to zero and solving for x. A positive slope means climbing, a negative slope means falling, and zero means a flat turning point or inflection. Using a derivative calculator speeds up the first step, but solving the resulting equation is still up to you.
For a quadratic derivative, setting f'(x) = 0 gives a standard quadratic equation. Take f(x) = x^3 - 3x^2 + 2x, whose derivative is f'(x) = 3.00x^2 - 6.00x + 2.00. Setting 3.00x^2 - 6.00x + 2.00 = 0 and solving yields roots near 0.42 and 1.58. These are the x-values where the curve has flat tangent lines, so they are your turning point candidates. The constant term always vanishes when you differentiate, so shifting a curve up or down does not change its slope anywhere — only the terms with x matter for locating turning points.
Once you have the roots, plug each one back into the original f(x) to get the y-coordinate of each turning point. You can also check the slope just to the left and right of each root to see whether the curve switches from climbing to falling or from falling to climbing. A switch confirms a true turning point; if the slope stays the same sign on both sides, the root marks an inflection instead.
Keep in mind that not every polynomial produces a quadratic derivative. A cubic polynomial gives a quadratic derivative, but a quadratic polynomial gives a linear one. For f(x) = 4x^2 - 2x + 7, the derivative is f'(x) = 8.00x - 2.00, so setting that to zero gives a single root at x = 0.25. That lone root is the turning point, because a parabola has exactly one vertex.
- Set f'(x) = 0 and solve for x to locate flat tangent lines.
- Plug each root back into the original f(x) to find the y-coordinate of the turning point.
- Check the slope just left and right of each root: a sign switch confirms a turning point, while no switch means an inflection.
- Remember that the constant term vanishes when differentiating, so vertical shifts do not affect where turning points sit.
FAQs
How do you differentiate a polynomial?
Apply the power rule term by term. For each term, multiply by the exponent and then reduce that exponent by one. For example, 2x^3 becomes 6x^2, 3x becomes 3, and the constant 5 becomes 0. This term-by-term approach works because differentiation is a linear operation across polynomial expressions of any degree.
What is the derivative of a constant?
Zero. A constant does not change, so its rate of change is nothing. That is why the +5 and +7 vanish in the examples. Since a constant term has no variable component, applying the power rule leaves you with multiplying by an exponent of zero, which always produces a derivative of zero for every constant term in a polynomial.
What does a negative derivative mean?
The function is decreasing at that point. In the second example the slope at x = 1 is -1.00, so the curve is falling there. A negative derivative tells you the function value drops as you move from left to right along the x-axis. The steeper the negative value, the faster the function decreases at that specific point.
How do you find where a function turns?
Solve f'(x) = 0. For x^3 - 3x^2 + 2x the derivative 3x^2 - 6x + 2 is zero near x = 0.42 and x = 1.58. These are the points where the function changes direction, switching between rising and falling. Setting the derivative equal to zero and solving gives you the x-values where the slope is flat and the curve turns.
What is the tangent line at a point?
The line through (x, f(x)) with slope f'(x). At x = 2 in the first example it passes through (2, 27.00) with slope 27.00. The tangent line just grazes the curve at that exact point, matching both the position and the steepness of the function there. It gives the best linear approximation of the function near that point.
Can this differentiate non-polynomials?
This page handles cubics. The same idea extends further, but non-polynomial functions follow different patterns. For example, e^x, sin and ln each have their own derivative rules, which the Taylor series page puts to work. Polynomials rely on the power rule, while exponentials, trigonometric functions and logarithms require separate rules covered elsewhere on the site.