Skip to main content
Daily Math Minute

The Power Rule for Derivatives

The power rule turns the derivative of x to the n into n times x to the n minus 1. Learn why it works, how to use it with roots, fractions, and negative exponents, and the mistakes that trip students up most.

CalculusIntermediateDaily Math Minute5 min read

What you'll learn

  • What the power rule says
  • Why it's true, for positive whole-number exponents
  • How to combine it with the constant multiple and sum rules to differentiate any polynomial
  • How to rewrite roots and fractions as powers so the rule applies
  • When the power rule does not apply

Introduction

The power rule is the shortcut for finding the derivative of xx raised to a constant power: bring the exponent down in front, then subtract 1 from the exponent. For example, the derivative of x5x^5 is 5x45x^4. It replaces pages of limit calculations with a single step, and it's the rule you'll use more than any other in calculus.

Why this matters

Computing a derivative from the limit definition works, but even x5x^5 takes a lot of algebra. The power rule gets the same answer immediately. Combined with two simple rules for constants and sums, it lets you differentiate any polynomial, and with a little rewriting it also handles square roots, cube roots, and fractions like 1x2\tfrac{1}{x^2}.

The concept

Theorem — The power rule

For any real number nn,

ddx(xn)=nxn−1\frac{d}{dx}\left(x^n\right) = n x^{n - 1}
(1)

The rule holds for every value of xx where both xnx^n and xn−1x^{n-1} are defined. In words: multiply by the old exponent, then lower the exponent by 1.

Example — Checking against the limit definition

The limit definition gives the derivative of x2x^2 as 2x2x. The power rule agrees: with n=2n = 2, the derivative is 2x2−1=2x2x^{2 - 1} = 2x.

Why it works

We'll prove the rule for positive whole-number exponents. The other cases need tools from later in calculus, but the rule itself works the same way for them.

Proof

Let nn be a positive whole number. When you multiply out (x+h)n(x + h)^n, the first term is xnx^n. The second term is nxn−1hnx^{n-1}h, because there are nn ways to choose one factor of hh and take xx from every other factor. Every remaining term contains h2h^2 or a higher power of hh:

(x+h)n=xn+nxn−1h+(terms containing h2 or higher)(x + h)^n = x^n + nx^{n-1}h + (\text{terms containing } h^2 \text{ or higher})

Subtract xnx^n and divide by hh. The first term cancels, the second term becomes nxn−1nx^{n-1}, and every remaining term still contains at least one factor of hh:

(x+h)n−xnh=nxn−1+(terms containing h)\frac{(x + h)^n - x^n}{h} = nx^{n-1} + (\text{terms containing } h)

As h→0h \to 0, every term containing hh goes to 0, leaving nxn−1nx^{n-1}.

Two companion rules

To differentiate more than a single power, you need two more rules, which both follow directly from the limit definition:

  • Constant multiple rule: ddx(c⋅f(x))=c⋅f′(x)\frac{d}{dx}\big(c \cdot f(x)\big) = c \cdot f'(x). A constant factor just comes along for the ride.
  • Sum and difference rule: ddx(f(x)±g(x))=f′(x)±g′(x)\frac{d}{dx}\big(f(x) \pm g(x)\big) = f'(x) \pm g'(x). Differentiate term by term.

Also, the derivative of a constant is 0. A constant function's graph is a horizontal line, and a horizontal line has slope 0.

Worked examples

Example — Worked example 1: a single power

Problem: Differentiate f(x)=x5f(x) = x^5.

Answer: By equation (1) with n=5n = 5: f′(x)=5x4f'(x) = 5x^4.

Example — Worked example 2: a polynomial

Problem: Differentiate f(x)=4x3−7x2+2x−9f(x) = 4x^3 - 7x^2 + 2x - 9.

Step 1: Differentiate term by term, keeping each coefficient:

  • 4x34x^3 becomes 4⋅3x2=12x24 \cdot 3x^2 = 12x^2
  • −7x2-7x^2 becomes −7⋅2x=−14x-7 \cdot 2x = -14x
  • 2x=2x12x = 2x^1 becomes 2⋅1x0=22 \cdot 1x^0 = 2
  • −9-9 is a constant, so it becomes 0

Answer: f′(x)=12x2−14x+2f'(x) = 12x^2 - 14x + 2

Example — Worked example 3: a square root

Problem: Differentiate f(x)=xf(x) = \sqrt{x}.

Step 1: Rewrite the root as a power: x=x1/2\sqrt{x} = x^{1/2}.

Step 2: Apply the power rule with n=12n = \tfrac{1}{2}, so the new exponent is 12−1=−12\tfrac{1}{2} - 1 = -\tfrac{1}{2}:

f′(x)=12x−1/2=12xf'(x) = \frac{1}{2}x^{-1/2} = \frac{1}{2\sqrt{x}}

Answer: f′(x)=12xf'(x) = \frac{1}{2\sqrt{x}}, for x>0x > 0.

Example — Worked example 4: a fraction

Problem: Differentiate f(x)=3x2f(x) = \frac{3}{x^2}.

Step 1: Rewrite with a negative exponent: 3x2=3x−2\frac{3}{x^2} = 3x^{-2}.

Step 2: With n=−2n = -2, the new exponent is −2−1=−3-2 - 1 = -3:

f′(x)=3⋅(−2)x−3=−6x−3=−6x3f'(x) = 3 \cdot (-2)x^{-3} = -6x^{-3} = -\frac{6}{x^3}

Answer: f′(x)=−6x3f'(x) = -\frac{6}{x^3}

Example — Worked example 5: rewrite before differentiating

Problem: Differentiate f(x)=x2+1xf(x) = \frac{x^2 + 1}{x}.

Step 1: There's no power rule for a quotient, but you can split this fraction into separate powers:

x2+1x=x2x+1x=x+x−1\frac{x^2 + 1}{x} = \frac{x^2}{x} + \frac{1}{x} = x + x^{-1}

Step 2: Differentiate term by term:

f′(x)=1−x−2=1−1x2f'(x) = 1 - x^{-2} = 1 - \frac{1}{x^2}

Answer: f′(x)=1−1x2f'(x) = 1 - \frac{1}{x^2}

Example — Worked example 6: where is the tangent line horizontal?

Problem: Find the points on f(x)=x3−12xf(x) = x^3 - 12x where the tangent line is horizontal.

Step 1: A horizontal tangent line has slope 0, so solve f′(x)=0f'(x) = 0. The derivative is f′(x)=3x2−12f'(x) = 3x^2 - 12.

Step 2: 3x2−12=03x^2 - 12 = 0 gives x2=4x^2 = 4, so x=2x = 2 or x=−2x = -2.

Step 3: Find the yy-values: f(2)=8−24=−16f(2) = 8 - 24 = -16 and f(−2)=−8+24=16f(-2) = -8 + 24 = 16.

Answer: (2,−16)(2, -16) and (−2,16)(-2, 16). These are the curve's turning points.

Common mistakes

Warning — Mishandling negative exponents

Subtracting 1 from a negative exponent makes it more negative. The derivative of x−2x^{-2} is −2x−3-2x^{-3}, not −2x−1-2x^{-1}.

Warning — Applying the rule to a product, factor by factor

The derivative of x2⋅x3x^2 \cdot x^3 is not 2x⋅3x2=6x32x \cdot 3x^2 = 6x^3. Combine the factors first: x2⋅x3=x5x^2 \cdot x^3 = x^5, whose derivative is 5x45x^4. When you can't simplify a product, you need the product rule instead.

Warning — Differentiating the denominator of a fraction

The derivative of 1x3\frac{1}{x^3} is not 13x2\frac{1}{3x^2}. Rewrite it as x−3x^{-3} first. Its derivative is −3x−4=−3x4-3x^{-4} = -\frac{3}{x^4}.

Warning — Using the power rule on an exponential function

The power rule needs the variable in the base and a constant in the exponent. For 2x2^x, the variable is in the exponent, so the derivative is not x⋅2x−1x \cdot 2^{x-1}. Exponential functions have their own rule, which you'll meet later.

Practice questions

  1. Differentiate f(x)=6x4−3x+11f(x) = 6x^4 - 3x + 11.

    Show answer

    f′(x)=24x3−3f'(x) = 24x^3 - 3. The term 6x46x^4 becomes 24x324x^3, the term −3x-3x becomes −3-3, and the constant 11 becomes 0.

  2. Differentiate g(x)=8xg(x) = 8\sqrt{x}.

    Show answer

    g′(x)=4xg'(x) = \frac{4}{\sqrt{x}}. Rewrite as 8x1/28x^{1/2}. Its derivative is 8⋅12x−1/2=4x−1/28 \cdot \tfrac{1}{2}x^{-1/2} = 4x^{-1/2}.

  3. Differentiate h(x)=2x5−xh(x) = \frac{2}{x^5} - x.

    Show answer

    h′(x)=−10x6−1h'(x) = -\frac{10}{x^6} - 1. Rewrite as 2x−5−x2x^{-5} - x. The derivative is −10x−6−1-10x^{-6} - 1.

  4. Differentiate f(x)=(2x−1)2f(x) = (2x - 1)^2.

    Show answer

    f′(x)=8x−4f'(x) = 8x - 4. Expand first: (2x−1)2=4x2−4x+1(2x - 1)^2 = 4x^2 - 4x + 1. Then differentiate term by term to get 8x−48x - 4.

  5. What is the slope of the tangent line to y=x3y = x^3 at x=−2x = -2?

    Show answer
    1. The derivative is 3x23x^2, and 3(−2)2=3⋅4=123(-2)^2 = 3 \cdot 4 = 12. The slope is positive even though xx is negative. Squaring makes 3x23x^2 positive for every xx except 0, so x3x^3 is never sloping downward.

Summary

  • Power rule: ddx(xn)=nxn−1\frac{d}{dx}(x^n) = nx^{n-1}. Bring the exponent down, then subtract 1.
  • Constants multiply through, sums and differences are differentiated term by term, and constants have derivative 0.
  • Rewrite roots and fractions as powers first, such as x=x1/2\sqrt{x} = x^{1/2} and 1x3=x−3\tfrac{1}{x^3} = x^{-3}.
  • The power rule applies only when the variable is the base and the exponent is a constant.

For more practice, work through the power, product, and quotient rules lesson in the Calculus curriculum.