The Power Rule for Derivatives

The power rule says $\dfrac{d}{dx}x^n = n\,x^{n-1}$: bring the exponent down as a factor and reduce the exponent by one. It works for every real exponent $n$ – positive, negative and fractional – and is the rule you will use most often.

📜 Power rule formula

$$ \frac{d}{dx}\,x^n = n\,x^{n-1} \qquad \text{and with a coefficient:}\qquad \frac{d}{dx}\,a\,x^n = a\,n\,x^{n-1} $$
  • $\dfrac{d}{dx}x^5 = 5x^4$
  • $\dfrac{d}{dx}x^2 = 2x$
  • $\dfrac{d}{dx}x = \dfrac{d}{dx}x^1 = 1\cdot x^0 = 1$ (see derivative of x)
  • $\dfrac{d}{dx}7 = \dfrac{d}{dx}7x^0 = 0$ (see constant rule)

Polynomials are differentiated term by term with the sum rule: $(4x^3 - 2x^2 + 5x - 9)' = 12x^2 - 4x + 5$.

🔢 Negative and fractional exponents

Rewrite fractions and roots as powers first – then the power rule applies directly:

FunctionAs a powerDerivative
$\dfrac{1}{x}$$x^{-1}$$-x^{-2} = -\dfrac{1}{x^2}$
$\dfrac{1}{x^3}$$x^{-3}$$-3x^{-4} = -\dfrac{3}{x^4}$
$\sqrt{x}$$x^{1/2}$$\frac12 x^{-1/2} = \dfrac{1}{2\sqrt{x}}$
$\sqrt[3]{x}$$x^{1/3}$$\frac13 x^{-2/3} = \dfrac{1}{3\sqrt[3]{x^2}}$
$x\sqrt{x}$$x^{3/2}$$\frac32 x^{1/2} = \frac32\sqrt{x}$
$\dfrac{4}{\sqrt{x}}$$4x^{-1/2}$$-2x^{-3/2} = -\dfrac{2}{x\sqrt{x}}$

More on roots: root rule.

✏️ Worked examples

Example 1: $3x^4 - 5x^2 + 2$

$f'(x) = 12x^3 - 10x$


Example 2: $\dfrac{2}{x^5}$

$2x^{-5}$ → $2\cdot(-5)x^{-6}$:

$f'(x) = -\dfrac{10}{x^6}$


Example 3: $\dfrac{x^3 + x}{x}$

Simplify first: $x^2 + 1$.

$f'(x) = 2x$


Example 4: $x^{\pi}$ and $x^{-0.5}$

Any real exponent works: $(x^\pi)' = \pi x^{\pi-1}$, $(x^{-0.5})' = -0.5\,x^{-1.5}$.


Example 5: tangent slope

Slope of $f(x) = x^3$ at $x = 2$: $f'(x) = 3x^2$, so $f'(2) = 12$.

🔗 General power rule (power of a function)

If the base is a function, combine the power rule with the chain rule:

$$ \frac{d}{dx}\big(u(x)\big)^n = n\,\big(u(x)\big)^{n-1}\cdot u'(x) $$
  • $\big((2x+1)^5\big)' = 5(2x+1)^4\cdot 2 = 10(2x+1)^4$
  • $\big(\sin^3 x\big)' = 3\sin^2 x\cos x$
  • $\big(\sqrt{x^2+1}\big)' = \frac{1}{2}(x^2+1)^{-1/2}\cdot 2x = \dfrac{x}{\sqrt{x^2+1}}$

💡 The power rule needs a constant exponent. For $2^x$ use the exponential rule, for $x^x$ logarithmic differentiation (see logarithm rule).

🔍 Proof for whole numbers

By the binomial theorem, $(x+h)^n = x^n + n x^{n-1}h + \binom{n}{2}x^{n-2}h^2 + \dots + h^n$. Hence

$$ \frac{(x+h)^n - x^n}{h} = n x^{n-1} + \binom{n}{2}x^{n-2}h + \dots + h^{n-1} \;\xrightarrow{\,h\to 0\,}\; n x^{n-1}. $$

For any real exponent and $x>0$: $x^n = e^{n\ln x}$, and the chain rule gives $e^{n\ln x}\cdot\frac{n}{x} = x^n\cdot\frac{n}{x} = n x^{n-1}$.

⚠️ Common mistakes

Reducing a negative exponent the wrong way: $(x^{-2})' = -2x^{-3}$, not $-2x^{-1}$.

Using the power rule on $2^x$: $(2^x)' = 2^x\ln 2$, not $x\cdot 2^{x-1}$.

Forgetting the inner derivative: $\big((3x-1)^4\big)' = 12(3x-1)^3$, not $4(3x-1)^3$.

Differentiating the denominator alone: $\left(\frac{1}{x^2}\right)' \neq \frac{1}{2x}$; correct is $-\frac{2}{x^3}$.

🧮 Power rule calculator – try these examples

Open any of these examples in the calculator to see every single differentiation step:

Or enter your own function on the derivative calculator.

❓ Frequently asked questions

What is the power rule in calculus?

The power rule is $\frac{d}{dx}x^n = n x^{n-1}$: multiply by the exponent and lower the exponent by one.

Does the power rule work for negative exponents?

Yes. Example: $(x^{-3})' = -3x^{-4}$. That is why $\left(\frac1x\right)' = -\frac{1}{x^2}$.

Does the power rule work for fractions and roots?

Yes. Write the root as a power: $\sqrt{x} = x^{1/2}$, so $(\sqrt{x})' = \frac12 x^{-1/2} = \frac{1}{2\sqrt{x}}$.

What is the derivative of x^2?

$(x^2)' = 2x$.

What is the derivative of 1/x?

$\left(\frac1x\right)' = (x^{-1})' = -x^{-2} = -\frac{1}{x^2}$.

When can I not use the power rule?

When the exponent contains the variable, as in $2^x$ or $x^x$. Then you need the exponential rule or logarithmic differentiation.