TheCalculatorsHub

Derivative Calculator

Differentiates polynomial expressions using the power rule. Computes the first and second derivative of any polynomial, and evaluates the derivative at a specified x value to find the instantaneous rate of change.

Loading Calculator...

Derivative Calculator Logic

d/dx[xn]=nx(n1)d/dx[x^n] = n·x^(n-1)
Disclaimer: Results are estimates only. Always verify important calculations with a qualified professional before making decisions. Learn about our methodology.

The derivative of a function measures its instantaneous rate of change at any point. For polynomial functions, the power rule makes differentiation straightforward: the derivative of axⁿ is n·axⁿ⁻¹. This calculator accepts any polynomial expression in x, applies the power rule to each term, and returns the first derivative f'(x) and the second derivative f''(x). It also evaluates f'(x) at a specific x value when you want the slope at a particular point, allowing you to work out instantaneous rates without carrying out the algebra manually.

The Power Rule for Polynomials

The power rule states: d/dx [axⁿ] = n·axⁿ⁻¹. You multiply the coefficient by the exponent and then reduce the exponent by one. For polynomials, you apply this rule to each term independently using the sum rule: the derivative of a sum is the sum of the derivatives. As a result, differentiating a polynomial term by term is a direct and mechanical process. Given that constant terms have an exponent of zero, their derivative is zero (they disappear from f'(x)). The Khan Academy differentiation rules review covers the power rule and sum rule with animated examples showing each step.

Term f(x)Derivative f'(x)Rule applied
5x³15x²Power rule: 3 x 5 = 15, exponent 3-1 = 2
-2x²-4xPower rule: 2 x (-2) = -4, exponent 2-1 = 1
7x7Power rule: 1 x 7 = 7, exponent 1-1 = 0
90Constant rule: derivative of any constant is 0
x⁴ - 3x² + 24x³ - 6xSum rule applied term by term

The Second Derivative and Concavity

The second derivative f''(x) is the derivative of f'(x). It measures the rate of change of the slope itself, which determines the concavity of the function. Where f''(x) is positive, the graph is concave up (bowl-shaped); where f''(x) is negative, it is concave down (hill-shaped). With that in mind, the second derivative is used to classify critical points: if f'(x) = 0 and f''(x) is positive at that point, the function has a local minimum there; if f''(x) is negative, there is a local maximum. This calculator returns f''(x) automatically alongside f'(x), so you can figure out concavity without a separate differentiation step.

A point where f''(x) changes sign is called an inflection point, where the curve changes from concave up to concave down or vice versa. On top of that, the second derivative is central to physics: if position is given as a polynomial in time, the first derivative gives velocity and the second derivative gives acceleration. The Cuemath power rule guide explains how the rule extends to negative and fractional exponents, which goes beyond this calculator's polynomial scope but is useful context for further study.

Evaluating the Derivative at a Point

The slope of a polynomial at a specific x value is found by substituting x into f'(x). For f(x) = x³ - 3x, f'(x) = 3x² - 3. At x = 2, f'(2) = 3(4) - 3 = 9, meaning the function is rising at a rate of 9 units per unit of x at that point. Given that the tangent line to the curve at x = 2 has slope 9, this also lets you build up the equation of the tangent line using point-slope form. The calculator returns f'(x_value) directly when you enter an evaluation point, so you can narrow down the slope at any x without substituting manually.

That said, evaluating the derivative is only meaningful where the polynomial is defined, which for polynomials is all real x. Our Integral Calculator is the companion tool for the reverse operation: finding F(x) such that F'(x) = f(x). Our Chain Rule Calculator extends differentiation to composite polynomial functions of the form (ax^m + b)^n, which the power rule alone cannot handle. The CalcWorkshop power rule tutorial provides nine step-by-step examples building from simple to complex polynomial differentiation.

Applying Derivatives to Motion and Rates

In physics, the derivative gives velocity from a position function and acceleration from a velocity function. If a particle's position is s(t) = 4t³ - 9t² + 6t, then v(t) = s'(t) = 12t² - 18t + 6, and acceleration is a(t) = v'(t) = 24t - 18. Given that these calculations follow directly from the power rule, it is straightforward to carry out derivative analysis on any polynomial motion problem using this calculator. With that in mind, the values of t where v(t) = 0 are the moments when the particle is stationary, and they can be found by solving the derivative equation using factoring or the quadratic formula. On top of that, engineers carry out derivative calculations to figure out where stress concentrations are maximum in beams or structures, since the maximum stress corresponds to a critical point of the stress polynomial. These are real applications where the calculator's ability to return f'(x) and f''(x) together is directly useful.

Founder's Real-World Experience
Muhammad Shahbaz Siddiqui

Muhammad Shahbaz Siddiqui

Founder, TheCalculatorsHub

How a physics student used the first derivative to find velocity and the second to confirm deceleration in a motion problem

In March 2026, a first-year physics student at the University of Leeds was working through a kinematics problem where the position of an object was given as s(t) = 2t³ - 9t² + 12t + 5 (in metres, with t in seconds). The problem asked for the velocity at t = 1 second and whether the object was accelerating or decelerating at that point. He needed the first and second derivatives to answer both parts.

He entered 2x^3 - 9x^2 + 12x + 5 into the Derivative Calculator. The first derivative returned as 6x² - 18x + 12, which is the velocity function v(t). The second derivative returned as 12x - 18, which is the acceleration function a(t). He then evaluated f'(1) using the evaluation field: the calculator returned 6(1)² - 18(1) + 12 = 0 m/s, confirming the object is momentarily at rest at t = 1 second. He evaluated f''(1) separately: 12(1) - 18 = -6 m/s², confirming the object is decelerating at that instant.

He told me that working through the power rule by hand for a cubic function with multiple terms took him around 4 minutes, with one arithmetic error on his first attempt that he had to find and correct. Having the calculator verify both derivatives in under 10 seconds allowed him to spend the remaining time on the physical interpretation rather than the algebra. He now uses the evaluation field regularly to check critical point locations on polynomial position functions before building up a full motion analysis.

v(t) = 6t²-18t+12 and a(t) = 12t-18 derived instantly; manual attempt took 4 minutes with one arithmetic errorv(1) = 0 m/s confirmed object momentarily at rest; a(1) = -6 m/s² confirmed decelerationRemaining exam time redirected from algebra to physical interpretation after calculator verification