Polynomial Derivative Calculator
The derivative of a polynomial is found term by term with the power rule: d/dx(axⁿ) = n·a·xⁿ⁻¹. For f(x) = 3x⁴ − 2x² + 5x − 7, f′(x) = 12x³ − 4x + 5, and at x = 2 the slope is f′(2) = 93.
Last updated · By S. Dilshan · Runs in your browser, nothing is uploaded
Step-by-Step Solution
What Is the Derivative of a Polynomial?
The derivative of a function measures how fast it changes. Geometrically, f′(x) is the slope of the tangent line to the graph at x. Physically, if f is position, f′ is velocity, and if f is velocity, f′ is acceleration.
For polynomials, finding the derivative is refreshingly mechanical. A polynomial is a sum of terms like 3x⁴ or −2x², and each term can be differentiated separately using one simple rule, then the results are added. That makes polynomials the ideal place to learn calculus.
Rules You Need
| Rule | Statement | Example |
|---|---|---|
| Constant | d/dx(c) = 0 | d/dx(7) = 0 |
| Power | d/dx(xⁿ) = n·xⁿ⁻¹ | d/dx(x⁵) = 5x⁴ |
| Constant multiple | d/dx(a·f) = a·f′ | d/dx(3x⁴) = 12x³ |
| Sum / difference | d/dx(f ± g) = f′ ± g′ | d/dx(x² + x) = 2x + 1 |
Differentiating Term by Term
- Multiply each coefficient by its exponent.
- Reduce each exponent by 1.
- A term with no x (a constant) disappears, because its derivative is 0.
- The value f′(x₀) at a chosen point is the slope of the curve there.
For a single term with any real exponent, see the power rule derivative calculator. To differentiate twice, use the second derivative calculator.
Worked Example: f(x) = 3x⁴ − 2x² + 5x − 7
- 3x⁴: 4 × 3 = 12, exponent 3, giving 12x³.
- −2x²: 2 × (−2) = −4, exponent 1, giving −4x.
- 5x: 1 × 5 = 5, exponent 0, giving 5.
- −7: a constant, so the derivative is 0.
- Combine: f′(x) = 12x³ − 4x + 5.
- At x = 2: f′(2) = 12(8) − 4(2) + 5 = 96 − 8 + 5 = 93, while f(2) = 48 − 8 + 10 − 7 = 43.
So at the point (2, 43) the curve is rising steeply with a slope of 93.
Finding Critical Points: f(x) = x³ − 6x² + 9x
- f′(x) = 3x² − 12x + 9 = 3(x − 1)(x − 3).
- Setting f′ = 0 gives x = 1 and x = 3, where the tangent is horizontal.
- f(1) = 4 is a local maximum and f(3) = 0 is a local minimum.
Velocity from Position
If s(t) = t³ − 6t² + 9t metres, the velocity is v(t) = 3t² − 12t + 9. At t = 2 seconds, v = 12 − 24 + 9 = −3 m/s: the object is moving backward at 3 m/s.
The Tangent Line at x = 2
The point is (2, 43) and the slope is 93, so the tangent line is y − 43 = 93(x − 2), which simplifies to y = 93x − 143. The tangent line calculator does this automatically.
Differentiating Products by Expanding
For (x² + 1)(x³ − 2), expand first: x⁵ + x³ − 2x² − 2. Then differentiate term by term to get 5x⁴ + 3x² − 4x.
The Second Derivative
Differentiating f′(x) = 12x³ − 4x + 5 again gives f″(x) = 36x² − 4, and f″(2) = 144 − 4 = 140. A positive second derivative means the curve is bending upward (concave up) at that point.
Notation
The derivative of y = f(x) can be written f′(x), dy/dx or Df. They all mean the same thing: the instantaneous rate of change of y with respect to x.
How to Use This Polynomial Derivative Calculator
- Type your polynomial, for example
3x^4 - 2x^2 + 5x - 7. Use ^ for powers. - Enter the point x where you want the slope.
- Read the derivative f′(x), the slope f′(x₀) and the function value f(x₀).
- Open the steps to see every term differentiated.
For the equation of the tangent line, use the tangent line calculator.
Where Derivatives Are Used
- Physics: velocity and acceleration from position.
- Optimisation: setting f′(x) = 0 finds maximum profit, minimum cost or best design.
- Economics: marginal cost and marginal revenue are derivatives.
- Engineering: rates of change in heat, flow and stress.
- Data science: gradient descent minimises error by following derivatives.
What Are the Most Common Mistakes With the Polynomial Derivative Calculator?
- Forgetting to reduce the exponent. The derivative of x⁴ is 4x³, not 4x⁴.
- Differentiating constants incorrectly. The derivative of 7 is 0, not 7.
- Dropping coefficients. d/dx(3x⁴) is 12x³, so the 3 multiplies the 4.
- Using the power rule on products or quotients. For (x² + 1)(x³ − 2) expand first, or use the product rule.
- Mixing up f′(x) with f(x). f′(2) is the slope at x = 2, not the height.
- Applying it to non-polynomials. This calculator covers polynomials only.
Where Can You Verify These Formulas?
The definitions and formulas on this page follow standard references. Check them against these sources:
- OpenStax: algebra and calculus textbooks
- NIST Digital Library of Mathematical Functions
- Wolfram MathWorld
Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.
Frequently Asked Questions
What is the derivative of a polynomial?
It is the polynomial obtained by multiplying each coefficient by its exponent and lowering the exponent by 1. For 3x⁴ − 2x² + 5x − 7 it is 12x³ − 4x + 5.
What does f′(2) = 93 mean?
It means that at x = 2 the graph has a slope of 93: for a small step in x, the function value rises about 93 times as much.
What is the derivative of a constant?
Zero. A constant does not change, so its rate of change is 0.
How do I find the maximum or minimum of a polynomial?
Solve f′(x) = 0 to find critical points, then use the second derivative or the sign of f′ to decide whether each is a maximum or minimum.
What is the power rule?
d/dx(xⁿ) = n·xⁿ⁻¹ for any real exponent n. It is the main tool for differentiating polynomials.
Can I differentiate a polynomial twice?
Yes. The second derivative measures how the slope itself changes, which is acceleration if f is position.