Power Rule Calculator — Derivative of axⁿ

Apply the power rule to find the derivative of f(x) = axⁿ.
Evaluate the function and its derivative at any x.
Covers constant, linear, and polynomial terms.

Derivative

The most-used rule in calculus

The power rule is the foundation of differential calculus. Once you know it, you can differentiate any polynomial — and polynomials describe an enormous fraction of physical and economic phenomena. Position, velocity, profit functions, growth curves, distance-time relationships, and countless other quantities are modeled as power functions.

The rule itself is simple:

If f(x) = a × x^n, then f’(x) = n × a × x^(n-1)

To differentiate ax^n:

  1. Bring down the exponent as a multiplier
  2. Reduce the exponent by 1

That’s it. Two operations, every time.

Worked examples

f(x) Step 1: bring down Step 2: reduce exponent f’(x)
3x^4 4·3 = 12 4-1 = 3 12x^3
5x^2 2·5 = 10 2-1 = 1 10x
7x 1·7 = 7 1-1 = 0 7
8 0·8 = 0 -1 (irrelevant) 0
-2x^6 6·(-2) = -12 6-1 = 5 -12x^5
x^10 10·1 = 10 10-1 = 9 10x^9
(1/2)x^4 4·(1/2) = 2 4-1 = 3 2x^3

Special cases that often confuse

The derivative of a constant is always zero. Any constant c has no x, so its rate of change is 0. f(x) = 5 → f’(x) = 0. Geometrically: a horizontal line has slope 0.

The derivative of x is 1. f(x) = x is the same as f(x) = 1·x^1. By the rule: 1·1·x^0 = 1·1 = 1.

The derivative of -x is -1. By the rule: f(x) = -x = -1·x^1 → f’(x) = -1.

Negative exponents

The rule extends naturally to negative exponents:

f(x) = x^(-2) = 1/x^2 f’(x) = -2 × x^(-3) = -2/x^3

f(x) f’(x)
1/x = x^(-1) -1/x^2 = -x^(-2)
1/x^2 = x^(-2) -2/x^3 = -2x^(-3)
1/x^3 = x^(-3) -3/x^4 = -3x^(-4)
3/x^4 = 3x^(-4) -12/x^5 = -12x^(-5)

Fractional exponents

The rule works for fractional exponents too:

f(x) = √x = x^(1/2) f’(x) = (1/2) × x^(-1/2) = 1/(2√x)

f(x) = x^(2/3) (cube root squared) f’(x) = (2/3) × x^(-1/3) = 2/(3·∛x)

f(x) = ∛x = x^(1/3) f’(x) = (1/3) × x^(-2/3)

Polynomials — apply termwise

For polynomials, differentiate each term separately and add the results:

f(x) = 3x^4 + 2x^2 - 5 f’(x) = 12x^3 + 4x - 0 = 12x^3 + 4x

f(x) = x^5 - 3x^3 + 7x - 9 f’(x) = 5x^4 - 9x^2 + 7

This works because the derivative is linear — the derivative of a sum equals the sum of derivatives, and constants can be moved outside.

Where the rule comes from

The power rule isn’t just a recipe — it can be derived from the limit definition of the derivative:

f’(x) = lim[h→0] (f(x+h) - f(x))/h

For f(x) = x^n: f’(x) = lim[h→0] ((x+h)^n - x^n)/h

Expand (x+h)^n using the binomial theorem and simplify. The result is n·x^(n-1). This proof works for positive integer n. For other exponents (negative, fractional, irrational), more advanced techniques (logarithmic differentiation, implicit differentiation) confirm the rule still holds.

Geometric interpretation

A derivative is a slope. f’(x) at a specific point gives the slope of the tangent line at that x.

For f(x) = x^2:

  • At x = 0: f’(0) = 2·0 = 0 (horizontal tangent at origin)
  • At x = 1: f’(1) = 2·1 = 2 (slope = 2)
  • At x = 2: f’(2) = 2·2 = 4 (slope = 4)
  • At x = -3: f’(-3) = 2·(-3) = -6 (slope = -6)

The parabola gets steeper as you move away from the vertex — the derivative increases (or decreases for negative x).

Real-world applications

Power functions describe many natural phenomena:

Physics:

  • Position: s(t) = (1/2)at²
  • Velocity: v(t) = at (derivative of s)
  • Acceleration: a(t) = a (derivative of v)
  • Kinetic energy: KE = (1/2)mv²

Geometry:

  • Area of square: A = s²; rate of area change: dA/ds = 2s
  • Volume of cube: V = s³; dV/ds = 3s²
  • Volume of sphere: V = (4/3)πr³; dV/dr = 4πr²
  • Volume of cone: V = (1/3)πr²h

Economics:

  • Cost functions often polynomial: C(x) = ax² + bx + c
  • Marginal cost = C’(x)
  • Optimization (find max profit) requires derivatives

Biology:

  • Population growth: P(t) = at² + bt + c (early stages)
  • Drug concentration over time

Engineering:

  • Stress-strain curves
  • Beam deflection (4th-order polynomial)
  • Cantilever bending

Computer Science:

  • Algorithm complexity: O(n²), O(n³), etc.
  • Growth rate analysis

Sum and difference rules

For more complex expressions, three rules combine with the power rule:

Sum rule: (f + g)’ = f’ + g' Difference rule: (f - g)’ = f’ - g' Constant multiple rule: (cf)’ = c · f'

Combined: differentiate 4x^5 - 7x^2 + 3x - 8

  • Apply to each term: 20x^4 - 14x + 3 - 0
  • Result: 20x^4 - 14x + 3

What the power rule doesn’t do

The power rule alone can’t handle:

  • Products: (x^2)(3x + 1) — needs product rule
  • Quotients: x^2 / (x + 1) — needs quotient rule
  • Compositions: (3x + 1)^4 — needs chain rule
  • Trigonometric: sin(x), cos(x)
  • Exponential: e^x, 2^x (where x is the exponent, not the base)
  • Logarithmic: ln(x), log(x)

For these, you need additional rules. The power rule is the building block; advanced techniques extend it.

Second derivatives

Apply the power rule twice:

f(x) = x^4 f’(x) = 4x^3 f’’(x) = 12x^2

f’’(x) is the rate of change of the rate of change — concavity in geometry, acceleration in physics.

Higher-order derivatives

For f(x) = x^n (n a positive integer):

  • f’(x) = nx^(n-1)
  • f’’(x) = n(n-1)x^(n-2)
  • f’’’(x) = n(n-1)(n-2)x^(n-3)
  • f^(n)(x) = n! (a constant)
  • f^(n+1)(x) = 0

After enough differentiations, x^n becomes a constant, then zero.

Numerical example

Find f’(2) for f(x) = 3x^4 - 2x^2 + 5x - 1:

Step 1: Differentiate f’(x) = 12x^3 - 4x + 5

Step 2: Evaluate at x = 2 f’(2) = 12·8 - 4·2 + 5 = 96 - 8 + 5 = 93

The slope of the curve at x = 2 is 93.

Historical context

Differential calculus was developed independently by Isaac Newton (England, ~1666) and Gottfried Wilhelm Leibniz (Germany, ~1675). The power rule was central to both their formulations.

Newton called it the “method of fluxions.” Leibniz developed the modern notation we still use (dy/dx). Both showed that differentiation reversed the operation of integration — the Fundamental Theorem of Calculus.

The 250-year-long feud over who invented calculus first eventually settled: both made independent discoveries; Leibniz’s notation won out.

Common mistakes

  1. Forgetting to subtract 1 from the exponent: writing 4x^4 instead of 4x^3 for d/dx[x^4]
  2. Forgetting to multiply by the exponent: writing x^3 instead of 4x^3
  3. Treating x^0 as 0: x^0 = 1 (any non-zero base to the zero power)
  4. Misapplying to expressions like 2^x: this is exponential, not power; needs different rule
  5. Forgetting the constant: 3x^4 → 12x^3, not just 12 or just x^3
  6. Mishandling fractional exponents: simplify ((1/2)x^(-1/2)) to (1/(2√x))
  7. Sum rule confusion: differentiate each term separately, don’t combine first

Bottom line

The power rule: d/dx[ax^n] = nax^(n-1). Bring down the exponent, reduce the exponent by 1. Works for any real exponent (positive, negative, fractional). Apply termwise for polynomials. The derivative of a constant is 0; the derivative of x is 1. Combined with sum, difference, and constant multiple rules, the power rule differentiates any polynomial. It’s the building block for the chain rule, product rule, and quotient rule. Used everywhere — physics, economics, engineering, computer science — wherever quantities are modeled as power functions of inputs.


How we build and check this calculator

This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.

SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.

Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.