Tutorials › Calculus I › Proving The Positive Integer Power Rule

Basic Differentiation Rules · Tutorial 416 of 1495

Proving The Positive Integer Power Rule

Learn why the difference quotient for a positive integer power simplifies to \(nx^{n-1}\), and how to check the result in specific cases.

Beginner 9 min read

What You'll Learn

  • State the positive integer power rule and its conditions
  • Expand a power difference and factor out the increment
  • Use the difference quotient to derive the rule for every positive integer exponent
  • Evaluate difference quotients for squares, cubes, and fourth powers
  • Recognize and correct common errors involving increments and limits

From a Difference Quotient to a General Rule

The identity function has derivative one, and constant functions have derivative zero. For powers higher than one, the derivative can also be found directly from the definition of a derivative. The key is to simplify the difference quotient before taking its limit.

For a function \(f\), its derivative at \(x\), when it exists, is the limit of the average rate of change over an increment \(h\) as that increment approaches zero:

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

For \(f(x)=x^n\), where \(n\) is a positive integer, the quotient initially contains a numerator that approaches zero and a denominator that approaches zero. Substituting \(h=0\) is therefore not the method. Instead, expand the power difference and factor out \(h\). After cancellation, the limit can be evaluated.

The positive integer power rule: For every positive integer \(n\), the function \(f(x)=x^n\) is differentiable for every real number \(x\), and \[ f'(x)=nx^{n-1}. \]

Worked Examples from the Definition

The following calculations illustrate the steps that will appear in the general proof: form the difference quotient, expand, factor out the increment, cancel it, and then take the limit.

Worked Example: The Derivative of \(x^2\) at \(x=3\)

Let \(f(x)=x^2\). At \(x=3\), the difference quotient is

$$ \frac{f(3+h)-f(3)}{h} = \frac{(3+h)^2-3^2}{h}. $$

Expand the square and simplify the numerator:

$$ \frac{(3+h)^2-9}{h} = \frac{9+6h+h^2-9}{h} = \frac{6h+h^2}{h}. $$

Factor out \(h\), then cancel \(h\) for \(h\ne 0\):

$$ \frac{6h+h^2}{h} = \frac{h(6+h)}{h} = 6+h. $$

The derivative is the limit as \(h\) approaches zero:

$$ f'(3)=\lim_{h\to 0}(6+h)=6. $$

The power rule gives \(f'(x)=2x\), so at \(x=3\) it gives \(f'(3)=2(3)=6\), agreeing with the difference quotient calculation.

Worked Example: The Derivative of \(x^3\) at \(x=-1\)

Let \(f(x)=x^3\). At \(x=-1\), the difference quotient is

$$ \frac{f(-1+h)-f(-1)}{h} = \frac{(-1+h)^3-(-1)^3}{h}. $$

Expand the cube, remembering that \((-1)^3=-1\):

$$ \frac{(-1+3h-3h^2+h^3)-(-1)}{h} = \frac{3h-3h^2+h^3}{h}. $$

Factor the numerator and cancel the increment:

$$ \frac{h(3-3h+h^2)}{h} = 3-3h+h^2 \qquad (h\ne 0). $$

Now take the limit:

$$ f'(-1) = \lim_{h\to 0}(3-3h+h^2) = 3. $$

The rule \(f'(x)=3x^2\) gives \(f'(-1)=3(-1)^2=3\), which checks the result.

Worked Example: The Derivative of \(x^4\) at \(x=2\)

Let \(f(x)=x^4\). The difference quotient at \(x=2\) is

$$ \frac{f(2+h)-f(2)}{h} = \frac{(2+h)^4-2^4}{h} = \frac{(2+h)^4-16}{h}. $$

Expand the fourth power and subtract \(16\):

$$ \frac{16+32h+24h^2+8h^3+h^4-16}{h} = \frac{32h+24h^2+8h^3+h^4}{h}. $$

Factor out \(h\) and cancel:

$$ \frac{h(32+24h+8h^2+h^3)}{h} = 32+24h+8h^2+h^3 \qquad (h\ne 0). $$

Therefore,

$$ f'(2) = \lim_{h\to 0}(32+24h+8h^2+h^3) = 32. $$

The rule gives \(f'(x)=4x^3\), and \(f'(2)=4(2^3)=4(8)=32\). The calculation from the definition and the rule agree.

The Factorization Behind the Rule

The examples suggest the general pattern, but a few examples cannot establish a rule for every positive integer exponent. The proof comes from a finite factorization that works for any such exponent.

Difference-of-powers identity: For a positive integer \(n\) and real numbers \(a\) and \(b\), \[ a^n-b^n=(a-b)\left(a^{n-1}+a^{n-2}b+\cdots+ab^{n-2}+b^{n-1}\right). \] The expression in parentheses has \(n\) terms.

To see why this identity holds, multiply \(a-b\) by the sum. The product with \(a\) gives the terms \(a^n,a^{n-1}b,\ldots,ab^{n-1}\). The product with \(-b\) gives \(-a^{n-1}b,-a^{n-2}b^2,\ldots,-b^n\). Every intermediate term cancels with an equal term of opposite sign, leaving \(a^n-b^n\).

For the derivative of \(x^n\), take \(a=x+h\) and \(b=x\). Then \(a-b=h\), so the identity factors the increment \(h\) out of the numerator.

Proof of the Positive Integer Power Rule

Fix a positive integer \(n\) and a real number \(x\). Begin with the difference quotient for \(f(x)=x^n\). For \(h\ne 0\), apply the difference-of-powers identity:

$$ \begin{aligned} \frac{(x+h)^n-x^n}{h} &= \frac{((x+h)-x)\left((x+h)^{n-1}+(x+h)^{n-2}x+\cdots+(x+h)x^{n-2}+x^{n-1}\right)}{h}\\ &= (x+h)^{n-1}+(x+h)^{n-2}x+\cdots+(x+h)x^{n-2}+x^{n-1}. \end{aligned} $$

The cancellation is valid because the difference quotient is considered for \(h\ne 0\). The derivative is then found by taking the limit as \(h\to 0\). Each of the \(n\) terms in the remaining sum approaches \(x^{n-1}\). For example, the first term approaches \(x^{n-1}\), the next approaches \(x^{n-2}x=x^{n-1}\), and the last term is already \(x^{n-1}\). These limits follow from the limit laws for finite products and sums.

Since the sum has exactly \(n\) terms, its limit is the sum of \(n\) copies of \(x^{n-1}\):

$$ \begin{aligned} f'(x) &= \lim_{h\to 0}\frac{(x+h)^n-x^n}{h}\\ &= \underbrace{x^{n-1}+x^{n-1}+\cdots+x^{n-1}}_{n\text{ terms}}\\ &= nx^{n-1}. \end{aligned} $$

This proves that the difference quotient has a limit for every real \(x\), and that the limit is \(nx^{n-1}\). Thus \(x^n\) is differentiable everywhere on the real line and its derivative is \(nx^{n-1}\).

1
Start with the definition.
Write the difference quotient \(\big((x+h)^n-x^n\big)/h\).
2
Factor the difference of powers.
Use the identity to expose a factor of \(h\) in the numerator.
3
Cancel before taking the limit.
For \(h\ne 0\), cancel the common factor and then let \(h\) approach zero.
4
Count the surviving terms.
All \(n\) terms approach \(x^{n-1}\), giving \(nx^{n-1}\).

Conditions and a Common Pitfall

The proof applies when \(n\) is a positive integer. That condition matters: it ensures the power difference expands into a finite sum with exactly \(n\) terms, which is what the argument uses. The result does not, by itself, establish a derivative rule for negative or non-integer exponents.

A common mistake is to substitute \(h=0\) into the original difference quotient and conclude that the derivative is \(0/0\), or that the derivative is undefined. For example, for \(x^2\) at \(x=3\), direct substitution gives

$$ \frac{(3+0)^2-3^2}{0}=\frac{0}{0}. $$

This does not evaluate the limit. It only shows why substitution must wait until after simplification. The correct calculation factors the numerator:

$$ \frac{(3+h)^2-9}{h} = \frac{h(6+h)}{h} = 6+h \qquad (h\ne 0), $$

and then takes the limit, which equals \(6\). Cancellation is performed for nonzero \(h\); the simplified expression can then be used to find the limit as \(h\) approaches zero.

Another tempting error is to assume \((x+h)^n=x^n+h^n\). This is false in general: when \(n=2\), \((x+h)^2=x^2+2xh+h^2\), and the middle term \(2xh\) cannot be omitted. The correct expansion or difference-of-powers factorization keeps all terms, allowing the factor \(h\) to be identified accurately.

Why the Derivation Is Useful

The power rule is more than a convenient formula. Its derivation explains exactly how the change in \(x^n\) depends on a small change in \(x\): after the increment \(h\) is factored out, the quotient approaches \(n\) copies of \(x^{n-1}\). The factor \(n\) comes from the number of terms in the factorization, while the remaining power \(x^{n-1}\) is the limit of each term.

This reasoning also gives a reliable way to check the rule. For a particular positive integer exponent, one can return to the difference quotient, simplify it without setting \(h\) equal to zero, and confirm that its limit matches \(nx^{n-1}\). The method is especially valuable when first learning differentiation because it connects the general formula to the defining limit rather than treating the formula as an unexplained instruction.

Check Your Understanding

Use the difference quotient and the factorization in the proof to answer these questions.

  1. For \(f(x)=x^2\), simplify \(\big((x+h)^2-x^2\big)/h\) for \(h\ne 0\), and state its limit as \(h\to 0\).
  2. For \(f(x)=x^3\), what are the three terms in the factored difference quotient before taking the limit?
  3. In the general proof, why are there exactly \(n\) copies of \(x^{n-1}\) in the limit?
  4. Why is it valid to cancel \(h\) in the difference quotient even though the derivative concerns \(h\to 0\)?
  5. What assumption about \(n\) is used in the proof, and where does it enter?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): 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