Tutorials › AP Calculus › Deriving the Positive-Integer Power Rule

Power, Polynomial, and Rational Rules · Tutorial 123 of 999

Deriving the Positive-Integer Power Rule

Use the binomial theorem to expand a power in the difference quotient and derive the derivative formula for every positive integer exponent.

Intermediate 8 min read

What You'll Learn

  • State the derivative as a limit of difference quotients
  • Apply the binomial theorem to \((x+h)^n\)
  • Cancel the zero-increment term and divide by \(h\)
  • Explain why all terms containing positive powers of \(h\) vanish in the limit
  • Derive and check the rule for powers such as \(x^2\), \(x^3\), and \(x^4\)
  • Recognize why the derivation applies to positive integer exponents

Why Derive the Power Rule?

A differentiation rule is more useful when you know where it comes from. The positive-integer power rule can be obtained directly from the definition of the derivative: expand \((x+h)^n\), subtract \(x^n\), divide by \(h\), and take a limit.

The binomial theorem organizes the expansion so that the cancellation and the limit are easy to see. The key is to divide by \(h\) before letting \(h\) approach zero. Once that is done, the first surviving term gives the derivative, while every other term contains a positive power of \(h\) and tends to zero.

Goal: For every positive integer \(n\), derive \(\frac{d}{dx}(x^n)=nx^{n-1}\) from the difference quotient.

The Difference Quotient and the Binomial Theorem

For a function \(f\), its derivative at \(x\), when the limit exists, is defined by

$$ f'(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}. $$

Here \(h\) is a nonzero change in the input while the quotient is formed. The limit then describes what happens as that change approaches zero. For this derivation, take \(f(x)=x^n\), where \(n\) is a positive integer.

The binomial theorem states that for a positive integer \(n\),

$$ (x+h)^n=\sum_{k=0}^{n}\binom{n}{k}x^{n-k}h^k. $$

In this formula, \(\binom{n}{k}\) is the binomial coefficient, and the terms at the beginning of the expansion are

$$ (x+h)^n=x^n+nx^{n-1}h+\binom{n}{2}x^{n-2}h^2+\cdots+h^n. $$

The term \(x^n\) is the term with \(k=0\). It will cancel when we subtract \(f(x)=x^n\). The next term, \(nx^{n-1}h\), will become \(nx^{n-1}\) after division by \(h\). The later terms still contain powers of \(h\).

Worked Example: Deriving the Rule for \(x^2\)

Worked Example: Deriving the Rule for \(x^2\)

Use the difference quotient for \(f(x)=x^2\). The binomial expansion is

$$ (x+h)^2=x^2+2xh+h^2. $$

Substitute this expansion into the quotient:

$$ \begin{aligned} \frac{f(x+h)-f(x)}{h} &=\frac{(x+h)^2-x^2}{h}\\ &=\frac{x^2+2xh+h^2-x^2}{h}\\ &=\frac{2xh+h^2}{h}\\ &=2x+h,\qquad h\ne 0. \end{aligned} $$

Now take the limit as \(h\) approaches zero:

$$ f'(x)=\lim_{h\to 0}(2x+h)=2x. $$

Check the calculation at \(x=3\). The quotient becomes \(6+h\), whose limit is \(6\). The derived formula gives \(2(3)=6\), so the value agrees with the difference quotient.

Worked Example: Deriving the Rule for \(x^3\)

Worked Example: Deriving the Rule for \(x^3\)

For \(f(x)=x^3\), expand the cube using the binomial theorem:

$$ (x+h)^3=x^3+3x^2h+3xh^2+h^3. $$

Form the difference quotient and show each cancellation and division:

$$ \begin{aligned} \frac{f(x+h)-f(x)}{h} &=\frac{(x+h)^3-x^3}{h}\\ &=\frac{x^3+3x^2h+3xh^2+h^3-x^3}{h}\\ &=\frac{3x^2h+3xh^2+h^3}{h}\\ &=3x^2+3xh+h^2,\qquad h\ne 0. \end{aligned} $$

As \(h\) approaches zero, \(3xh\) and \(h^2\) approach zero, so

$$ f'(x)=\lim_{h\to 0}\left(3x^2+3xh+h^2\right)=3x^2. $$

Check at \(x=-2\). The quotient expression is \(3(-2)^2+3(-2)h+h^2=12-6h+h^2\). Its limit is \(12\). The derived formula gives \(3(-2)^2=12\), confirming the result at this input.

Worked Example: Deriving the Rule for \(x^4\)

Worked Example: Deriving the Rule for \(x^4\)

For \(f(x)=x^4\), the binomial expansion is

$$ (x+h)^4=x^4+4x^3h+6x^2h^2+4xh^3+h^4. $$

Subtract \(x^4\), divide every remaining term by \(h\), and simplify:

$$ \begin{aligned} \frac{f(x+h)-f(x)}{h} &=\frac{(x+h)^4-x^4}{h}\\ &=\frac{x^4+4x^3h+6x^2h^2+4xh^3+h^4-x^4}{h}\\ &=\frac{4x^3h+6x^2h^2+4xh^3+h^4}{h}\\ &=4x^3+6x^2h+4xh^2+h^3,\qquad h\ne 0. \end{aligned} $$

Taking the limit gives

$$ f'(x)=\lim_{h\to 0}\left(4x^3+6x^2h+4xh^2+h^3\right)=4x^3. $$

Check at \(x=2\). The quotient is \(32+24h+8h^2+h^3\), whose limit is \(32\). The derived formula gives \(4(2)^3=4(8)=32\), so the result matches.

Derivation for Every Positive Integer

The examples show the same structure for several exponents. The binomial theorem lets us establish it for an arbitrary positive integer \(n\), rather than relying on a pattern from a few examples.

Theorem: If \(n\) is a positive integer, then the function \(f(x)=x^n\) is differentiable for every real \(x\), and \(\frac{d}{dx}(x^n)=nx^{n-1}\).
1
Start with the definition.
For \(h\ne 0\), the difference quotient is \(\frac{(x+h)^n-x^n}{h}\).
2
Expand the binomial.
Write \((x+h)^n\) as \(\sum_{k=0}^{n}\binom{n}{k}x^{n-k}h^k\). Its \(k=0\) term is \(x^n\), which cancels the subtracted \(x^n\).
3
Divide the remaining terms by \(h\).
For each remaining term, \(k\ge 1\), so dividing \(h^k\) by \(h\) leaves \(h^{k-1}\).
4
Take the limit.
The \(k=1\) term becomes \(nx^{n-1}\); every term with \(k\ge 2\) contains a positive power of \(h\) and tends to zero.

In equations, start with

$$ \begin{aligned} \frac{(x+h)^n-x^n}{h} &=\frac{\displaystyle\sum_{k=0}^{n}\binom{n}{k}x^{n-k}h^k-x^n}{h}\\ &=\frac{\displaystyle\sum_{k=1}^{n}\binom{n}{k}x^{n-k}h^k}{h}\\ &=\sum_{k=1}^{n}\binom{n}{k}x^{n-k}h^{k-1}. \end{aligned} $$

The \(k=1\) term is \(\binom{n}{1}x^{n-1}h^0=nx^{n-1}\). For every \(k\) from \(2\) through \(n\), the exponent \(k-1\) is positive. Since \(x\) and the binomial coefficients are fixed while \(h\) approaches zero, each such term tends to zero. There are only finitely many terms, so the limit of their sum is the sum of their limits. Therefore,

$$ \begin{aligned} f'(x) &=\lim_{h\to 0}\sum_{k=1}^{n}\binom{n}{k}x^{n-k}h^{k-1}\\ &=nx^{n-1}. \end{aligned} $$

This proof also covers \(n=1\). In that case the sum has only the \(k=1\) term, and the difference quotient is \(1\), which agrees with \(1\cdot x^0=1\). No additional terms need to vanish.

What the Derivation Requires

The argument depends on \(n\) being a positive integer. That condition allows \((x+h)^n\) to be expanded as a finite binomial sum with powers \(h^0,h^1,\ldots,h^n\). After division by \(h\), the first term gives the claimed derivative and each later term has a positive power of \(h\).

The derivation works for every real \(x\): no step divides by \(x\), and every expression in the finite expansion is defined for real \(x\). The only division by a variable increment is by \(h\), which is allowed in the difference quotient because \(h\ne 0\); the limit is taken afterward.

This proof does not establish a power rule for zero, negative, or fractional exponents. Those cases require other arguments and conditions. The conclusion here is precisely the positive-integer rule.

A Common Mistake: Taking Limits Before Dividing

For \(f(x)=x^3\), someone might observe that \((x+h)^3-x^3\) approaches zero as \(h\) approaches zero and conclude that the derivative is zero. That is a concrete but incorrect calculation:

$$ \lim_{h\to 0}\big((x+h)^3-x^3\big)=0 \quad\text{so, incorrectly,}\quad f'(x)=0. $$

The derivative is not the limit of the numerator alone. It is the limit of the ratio of the numerator to \(h\). The numerator and denominator both approach zero, so their separate limits do not determine the limit of the quotient. Divide first:

$$ \frac{(x+h)^3-x^3}{h} =3x^2+3xh+h^2 \quad\Longrightarrow\quad f'(x)=3x^2. $$

The cancellation of one factor of \(h\) matters: the term \(3x^2h\) in the numerator becomes \(3x^2\), which does not disappear in the limit. This is why the order of the steps is essential.

Why the Power Rule Matters

The derivation connects a general differentiation formula to the definition of a derivative. Rather than memorizing the coefficient \(n\) and the exponent \(n-1\) as an unexplained pattern, you can identify where each comes from: \(n\) is the coefficient of the term linear in \(h\), and the exponent drops by one when that term is divided by \(h\).

The proof also illustrates a general strategy for limits of difference quotients: simplify the quotient while the increment is nonzero, then take the limit. For this topic, the binomial theorem produces a finite expression, so the terms that vanish are visible individually.

The result is a rule for differentiating \(x^n\) when \(n\) is a positive integer. Applying it as part of longer expressions is a separate task; the essential result here is its derivation from the derivative’s definition.

Check Your Understanding

Use the binomial expansion and the difference quotient to explain each answer.

  1. For \(f(x)=x^2\), what expression remains after subtracting \(x^2\) and dividing by \(h\)?
  2. In the expansion of \((x+h)^n\), which term produces \(nx^{n-1}\) after division by \(h\)?
  3. Why do the terms corresponding to \(k\ge 2\) tend to zero after division by \(h\)?
  4. Why must the quotient be simplified before taking the limit as \(h\) approaches zero?
  5. State the condition on \(n\) required by this derivation, and explain where that condition is used.

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon
Clinical Biostats