Calculus

Why the Power Rule Works

See why the derivative of x to the n is n times x to the n minus 1, using pictures, algebra and arguments for every kind of exponent.

Key takeaways

  • The derivative of xⁿ is n·xⁿ⁻¹, found by bringing the exponent down and lowering it by one.
  • For positive whole numbers, the binomial expansion shows that only the term with a single factor of h survives.
  • Squares and cubes give a picture: growth happens mainly on 2 edges or 3 faces.
  • Negative, fractional and other real exponents need separate arguments and have domain restrictions.
  • The rule applies when the base varies and the exponent is constant, so it does not apply to 2ˣ.

The power rule says that the derivative of xⁿ is n·xⁿ⁻¹. It works because when you nudge x by a small amount, a product of n copies of x changes mainly in n equal ways, one for each copy, and each of those changes involves the other n − 1 copies.

So the derivative of x⁵ is 5x⁴, and the derivative of x² is 2x. The rule holds far beyond whole numbers, though the reasons have to be rebuilt for each new kind of exponent.

See it with a square and a cube

Take a square with side x. Its area is x². Lengthen each side by a small amount h. The new material consists of two thin strips of area x·h each, plus a tiny corner square of area h².

change in area = 2xh + h²
per unit of h  = 2x + h  →  2x

The 2 in the derivative counts the two edges along which the square grows. The corner is so small, being h times h, that it contributes nothing to the rate.

A cube with side x has volume x³. Increase each side by h. The main additions are three slabs on three faces, each of volume x²h. There are also three thin rods of volume x·h² and a tiny cube of volume h³. After dividing by h and letting h shrink, only the slabs remain, giving 3x².

Try numbers with x = 2 and h = 0.001. The cube of 2.001 is 8.012006001. The change is 0.012006001, and divided by h that is 12.006001, close to 3 × 2² = 12.

What grows when each side gains a small length h
Square, area x² 2 strips of area xh 1 corner of area h² Rate tends to 2x Cube, volume x³ 3 slabs of volume x²h 3 rods of volume xh² 1 small cube of volume h³ Rate tends to 3x² VS Square, area x² 2 strips of area xh 1 corner of area h² Rate tends to 2x Cube, volume x³ 3 slabs of volume x²h 3 rods of volume xh² 1 small cube of volume h³ Rate tends to 3x²

The algebra for any positive whole number

For a positive integer n, expand (x + h)ⁿ. Think of it as n brackets multiplied together. Each term of the result takes either x or h from every bracket.

  • Taking x from all n brackets gives xⁿ, exactly once.
  • Taking h from one bracket and x from the rest gives xⁿ⁻¹h. There are n choices for that bracket.
  • All other choices take h at least twice.

So the expansion reads

(x + h)ⁿ = xⁿ + n·xⁿ⁻¹·h + (terms containing h² or higher)
[(x + h)ⁿ − xⁿ]/h = n·xⁿ⁻¹ + (terms containing h)
limit as h → 0:  n·xⁿ⁻¹

The coefficient n is a count of choices. The binomial theorem describes all the other coefficients, but the derivative needs only this one.

For n = 1, the formula gives 1·x⁰, understood as the constant 1, the slope of the line y = x.

What the rule says about the shapes of power curves

Once you have n·xⁿ⁻¹, you can read the behavior of the whole family of curves y = xⁿ for x > 0.

Exponent Slope near 0 Slope for large x Example
n > 1 close to 0 grows without bound x³ starts flat and steepens
n = 1 exactly 1 exactly 1 a straight line
0 < n < 1 grows without bound fades toward 0 √x starts steep and flattens
n < 0 steeply negative fades toward 0 1/x falls and levels off

At x = 1 every one of these curves passes through the point (1, 1), and its slope there is exactly n. That gives a quick visual meaning to the exponent: it is the steepness of the curve as it crosses that shared point.

For example, the tangent to y = x⁴ at (1, 1) is y = 1 + 4(x − 1), or y = 4x − 3. The tangent to y = √x at the same point is y = 1 + (x − 1)/2, a much gentler line.

Differentiating repeatedly lowers the exponent one step at a time. The third derivative of x³ is the constant 6, which is 3 × 2 × 1. In general the nth derivative of xⁿ is n factorial, and every later derivative is zero. This is why a polynomial eventually differentiates away to nothing.

A second proof by factoring

Another route avoids expanding. The difference of two nth powers always factors:

xⁿ − aⁿ = (x − a)(xⁿ⁻¹ + xⁿ⁻²a + ... + x·aⁿ⁻² + aⁿ⁻¹)

You can verify it by multiplying out, since all the middle terms cancel in pairs. Divide by x − a, with x ≠ a, and let x → a. The second factor has n terms, and each one approaches aⁿ⁻¹. Their sum approaches n·aⁿ⁻¹.

For n = 3 this reads x³ − a³ = (x − a)(x² + xa + a²), and the bracket tends to 3a².

Induction with the product rule

A third argument builds one power from the previous one. Suppose you know that the derivative of xⁿ is n·xⁿ⁻¹. Since xⁿ⁺¹ = x · xⁿ, the product rule gives

(x · xⁿ)′ = 1 · xⁿ + x · n·xⁿ⁻¹
          = (n + 1)·xⁿ

That is the rule for n + 1. It holds for n = 1, so by mathematical induction it holds for every positive whole number.

Negative whole numbers

Let n = −m with m a positive integer, and x ≠ 0. Then xⁿ = 1/xᵐ. The difference quotient is

[1/(x + h)ᵐ − 1/xᵐ]/h
  = −[(x + h)ᵐ − xᵐ]/h × 1/[xᵐ(x + h)ᵐ]
  → −m·xᵐ⁻¹ / x²ᵐ
  = −m·x^(−m − 1)

Since −m = n, this is n·xⁿ⁻¹ again. For example, the derivative of 1/x³ is −3/x⁴.

The exponent 0 fits as well: x⁰ = 1 for x ≠ 0, and its derivative is 0.

Fractional exponents

Take y = x^(p/q) with whole numbers p and q, q positive, and x > 0. Raising both sides to the power q gives y^q = x^p, an equation involving only whole powers. Differentiate both sides with respect to x, assuming y is differentiable (which can be proved separately).

q·y^(q − 1)·y′ = p·x^(p − 1)
y′ = (p/q)·x^(p − 1) / y^(q − 1)
   = (p/q)·x^(p − 1) · x^(−p + p/q)
   = (p/q)·x^(p/q − 1)

The first line uses the chain rule on the left side, a technique called implicit differentiation.

So the derivative of √x, which is x^(1/2), is (1/2)x^(−1/2) = 1/(2√x). At x = 0 the formula breaks down, as the graph has a vertical tangent there. The cube root behaves the same way at 0.

Any real exponent

What does x^π mean? For x > 0 and real r, one defines xʳ = e^(r ln x), where ln is the natural logarithm. Then the chain rule gives

d/dx e^(r ln x) = e^(r ln x) · r/x = xʳ · r/x = r·x^(r − 1)

This single argument covers every real exponent for positive x. It relies on knowing the derivatives of the exponential and logarithm, which are established without the general power rule.

Where the rule does not apply

The pattern requires a variable base and a constant exponent.

Function Type Derivative
x⁵ variable base, constant exponent 5x⁴
2ˣ constant base, variable exponent 2ˣ ln 2
xˣ (x > 0) both vary xˣ(ln x + 1)
π² constant 0

Writing the derivative of 2ˣ as x·2ˣ⁻¹ is a very common mistake. At x = 0 it would give a slope of 0, although the graph of 2ˣ is plainly rising there.

The rule also needs adjusting when something more complicated sits in the base. The derivative of (3x + 1)⁵ is 5(3x + 1)⁴ times 3, which is 15(3x + 1)⁴.

A rule of thumb for percentage changes

Divide the derivative by the function: n·xⁿ⁻¹/xⁿ = n/x. It follows that when x changes by a small percentage, xⁿ changes by about n times that percentage, for x ≠ 0.

  • Increase the radius of a circle by 1 percent and its area, proportional to r², rises by about 2 percent (exactly 2.01 percent).
  • Increase the radius of a sphere by 1 percent and its volume, proportional to r³, rises by about 3 percent (about 3.03 percent).
  • Increase a number by 1 percent and its square root rises by about 0.5 percent.

The same idea gives fast estimates. To approximate √101, start at √100 = 10, where the slope of √x is 1/(2 × 10) = 0.05. One extra unit adds about 0.05, giving 10.05. The true value is about 10.049876.

The approximation works well for small changes only. Doubling a radius multiplies area by 4, which is a 300 percent increase, while the rule of thumb applied blindly would say 200 percent.

A common objection about dropping terms

Students sometimes ask why the terms containing h can be thrown away, when h was not zero a moment earlier. Nothing is thrown away while h is nonzero. The difference quotient for x³ is exactly 3x² + 3xh + h², with every term present.

The limit then asks what this expression approaches as h shrinks. At x = 2 and h = 0.1 it equals 12.61. At h = 0.01 it equals 12.0601, and at h = 0.001 it equals 12.006001. The extra terms can be made smaller than any tolerance, so the target is 12. That is a statement about a limit, and it involves neither rounding nor neglect.

Using it fluently

Combined with two further facts (constants factor out, and sums differentiate term by term), the power rule handles every polynomial. The derivative of 4x³ − 7x + 9 is 12x² − 7.

Rewrite roots and reciprocals as powers first. For 6/√x, write 6x^(−1/2), differentiate to get −3x^(−3/2), and convert back if you like. Run backward, the same rule gives integrals of powers, with the exception of x^(−1), whose antiderivative is the natural logarithm of the absolute value of x.

Written for 4Mathematics with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 39 articles in Calculus →

Latest news on this topic