Skip to content
TheCalcUniverse

Derivative Calculator — Differentiate Polynomials Step by Step

Compute derivatives of polynomial expressions using the power rule. Get step-by-step differentiation and evaluate at any point.

✓ Tested formula & cited sources Formula verified 2026-01-15 Runs in your browser — inputs never sent anywhere

The formula

f'(x) = d/dx(ax^n) = a · n · x^{n-1}

a
Coefficient
n
Exponent (Power)
f'(x)
Derivative (Rate of Change)
d/dx
Differentiation Operator
Full explanation ↓

How Derivative Calc Works

f'(x) = d/dx(ax^n) = a · n · x^{n-1}

The power rule is one of the most fundamental differentiation rules in calculus. It states that the derivative of a term ax^n is a·n·x^(n-1), where a is any real coefficient and n is any real exponent. This calculator implements the power rule for polynomials with real number coefficients and integer exponents, handling terms like 3x^2 (becomes 6x^1 = 6x), 5x (becomes 5), and constants (become 0). The derivative of a sum is the sum of the derivatives, so each term is differentiated independently.

a
CoefficientThe numerical factor multiplying the variable term. In 3x^2, a = 3. In -5x, a = -5. The coefficient scales the rate of change: a larger coefficient means a steeper slope. The coefficient carries through the differentiation: d/dx(ax^n) = a·n·x^(n-1).
n
Exponent (Power)The power to which the variable x is raised. In x^2, n = 2 (parabolic growth). In x^1 (just x), n = 1 (linear growth). Constants have n = 0 (x^0 = 1). The power rule brings down the exponent as a multiplier: a·n·x^(n-1).
f'(x)
Derivative (Rate of Change)The derivative represents the instantaneous rate of change of the function at any point x. Geometrically, it is the slope of the tangent line to the curve at that point. A positive derivative means the function is increasing, negative means decreasing, and zero means a local extremum (flat tangent).
d/dx
Differentiation OperatorThe notation d/dx means "take the derivative with respect to x." It is an operator that transforms a function into its derivative function. The process of differentiation finds the rate at which the output of a function changes as its input changes. Leibniz notation (dy/dx) and Lagrange notation (f'(x)) are the two most common ways to represent derivatives.
The derivative f'(x) at any point x is the slope of the line tangent to the curve at that point. Positive derivatives indicate increasing functions; negative derivatives indicate decreasing functions.

How to Use

  1. Enter a polynomial expression in standard form using the caret symbol (^) for exponents. Examples: "3x^2 + 2x + 1" for a quadratic, "x^3 - 4x^2 + 5x - 2" for a cubic, or "5x" for a linear term.
  2. The calculator differentiates each term using the power rule: multiply the coefficient by the exponent, then decrease the exponent by one. Constants (terms without x) differentiate to zero and are dropped.
  3. Review the step-by-step breakdown to see exactly how each term was differentiated. Each step shows the original term, the power rule applied, and the result.
  4. Optionally enter a numeric x-value to evaluate the derivative at that point. This gives you the slope of the tangent line to the original function at that x-coordinate.
  5. The result shows the derivative function f'(x), the original function f(x) for reference, the step-by-step work, and the evaluated value if an x-value was provided.

Quick Reference

d/dx(x^n)n·x^(n-1)
d/dx(constant)0
d/dx(x)1
d/dx(ax^n)a·n·x^(n-1)

Common Uses

  • Physics and engineering — calculating velocity (derivative of position) and acceleration (derivative of velocity) from motion equations, finding rates of change in electrical circuits, fluid dynamics, and thermodynamics.
  • Economics and finance — determining marginal cost, marginal revenue, and marginal profit from total functions. The derivative tells a business how much their cost or revenue changes with each additional unit produced.
  • Optimization problems — finding maximum and minimum values of functions by setting the derivative to zero. Used in optimizing manufacturing processes, portfolio allocation, route planning, and machine learning (gradient descent).
  • Data science and machine learning — computing gradients for training neural networks (backpropagation relies on the chain rule), optimizing loss functions, and performing sensitivity analysis on model parameters.
  • Curve sketching and analysis — determining where a function is increasing or decreasing (first derivative test), finding inflection points (second derivative test), and understanding the shape and behavior of graphs.

Understanding the Result

The derivative is one of the two central concepts in calculus (the other being integration). It measures the instantaneous rate of change of a function with respect to its variable. The power rule — d/dx(x^n) = n·x^(n-1) — is the first differentiation rule most students learn, and it handles polynomials efficiently. For a term like 3x^4, the derivative is 3·4·x^(4-1) = 12x^3. The coefficient (3) carries through, the exponent (4) drops down as a multiplier, and the new exponent is one less (3). This works for any real number exponent, though this calculator focuses on integer exponents. The derivative of a sum is the sum of the derivatives, so we can differentiate term by term. The constant rule states that the derivative of a constant is zero — constants do not change, so their rate of change is zero. Geometrically, the derivative at a point gives the slope of the tangent line to the curve at that point. If f'(x) > 0, the function is increasing (going up) at x. If f'(x) < 0, the function is decreasing (going down). If f'(x) = 0, the function has a horizontal tangent, which may indicate a local maximum, local minimum, or saddle point (inflection). The second derivative, f"'(x), measures the rate of change of the rate of change — it tells us about concavity. If f"'(x) > 0, the graph is concave up (like a cup, holding water). If f"'(x) < 0, it is concave down (like a frown). The power rule is the foundation for polynomial calculus. Combined with the product rule, quotient rule, chain rule, and trigonometric/exponential rules, it enables differentiation of almost any function encountered in applied mathematics.

Frequently Asked Questions

What does the derivative actually tell me?
The derivative f'(x) gives the instantaneous rate of change of the function at any point x. In practical terms, if f(x) represents position, f'(x) is velocity. If f(x) represents cost, f'(x) is marginal cost. If f(x) represents profit, f'(x) tells you how profit changes with production. A derivative of 6x means the slope of the original function at x=2 is 12 — the function is steeply increasing at that point. A derivative of 0 at a point means the tangent is horizontal, indicating a potential maximum or minimum.
Can this calculator handle more complex functions like trigonometry or exponentials?
This calculator implements the power rule for standard polynomial forms only. It can handle terms like 3x^2, -5x^3, 7, and 2x. It does not support trigonometric functions (sin, cos, tan), exponential functions (e^x), logarithmic functions, product rule, quotient rule, chain rule, or implicit differentiation. For those, you would need a full Computer Algebra System (CAS) like Wolfram Alpha or SymPy. This calculator is designed to be educational and practical for introductory calculus students working with polynomials.
Why do constants differentiate to zero?
A constant does not change, so its rate of change is zero. Graphically, y = c (a constant function) is a horizontal line — its slope is zero everywhere. The power rule confirms this: a constant is ax^0, and using the power rule, d/dx(ax^0) = a·0·x^(-1) = 0. This makes intuitive sense — if you have $5 and time passes, you still have $5 (ignoring interest). The constant term in a polynomial shifts the graph up or down but does not affect the shape or slope.
What is the difference between the first derivative and the second derivative?
The first derivative f'(x) tells you the slope of the function — whether it is increasing or decreasing. The second derivative f''(x) (the derivative of the derivative) tells you about concavity — whether the slope itself is increasing or decreasing. If f''(x) > 0, the function is concave up (curving upward like a cup), and if f''(x) < 0, it is concave down (curving downward like a frown). The second derivative can also indicate acceleration if the original function represents position. Inflection points occur where f''(x) = 0 and the concavity changes.
Can I use this for implicit differentiation or partial derivatives?
No, this calculator handles explicit differentiation of polynomials in a single variable x using the power rule. Implicit differentiation (where y is defined implicitly by an equation like x^2 + y^2 = 25) and partial derivatives (where a function has multiple variables like f(x, y, z)) require more advanced techniques. The power rule only applies directly when you have an explicit function f(x) = polynomial in x. However, the underlying principle — multiply by the exponent and reduce by one — is the same in both cases.
Was this calculator helpful?
Cite this calculator

TheCalcUniverse. "Derivative Calculator — Differentiate Polynomials Step by Step." TheCalcUniverse, 2026, https://thecalcuniverse.com/math/derivative-calculator/. Accessed July 24, 2026.

Embed this calculator on your site

Free to embed. Paste this into any HTML page — it stays up to date automatically.

Open embed ↗

You may also like