AP · Calculus AB · Basic Differentiation Rules

The Power Rule, Sums and Constant Multiples

14 min readUpdated November 30, 2026FreeAP Calculus AB, Derivatives: Definition and Basic Rules

The power rule says that for any real number nn, the derivative of xnx^n is nxn−1nx^{n - 1}. With three companion rules (a constant has derivative 00, constant multiples carry through, and sums and differences split term by term) it differentiates any polynomial and any sum of powers of xx. On the AP® Calculus AB exam you also rewrite roots and reciprocals as powers first, then use the derivative for slopes and tangent lines.

Quick check

  1. Write x\sqrt{x} and 1x3\dfrac{1}{x^3} as powers of xx.Show answerHide answer

    x=x1/2\sqrt{x} = x^{1/2} and 1x3=x−3\dfrac{1}{x^3} = x^{-3}.

  2. What does f′(3)f'(3) tell you about the graph of ff?Show answerHide answer

    It is the slope of the tangent line to the graph of ff at x=3x = 3, which is also the instantaneous rate of change of ff there.

  3. From the limit definition, the derivative of x2x^2 is 2x2x. What would you guess the derivative of x3x^3 is?Show answerHide answer

    3x23x^2. The exponent comes down as a multiplier, and the new exponent is one less. That pattern is the power rule.

Know these already? Jump to the practice questions

What you'll be able to do

  • State the power rule and the constant, constant-multiple, sum and difference rules.
  • Rewrite roots and reciprocals as powers of xx before differentiating.
  • Calculate the derivative of a polynomial or a sum of power functions.
  • Find the slope of a curve at a point, and where the slope takes a given value.
  • Write the equation of a tangent line to a polynomial or power function.

Key terms

Power rule

For any real number nn, ddx(xn)=nxn−1\dfrac{d}{dx}\left(x^n\right) = nx^{n - 1}.

In plain English
Bring the exponent down in front, then lower the exponent by 11.
Don't write
ddx(x−2)=−2x−1\dfrac{d}{dx}\left(x^{-2}\right) = -2x^{-1}; one less than −2-2 is −3-3.

Constant multiple rule

ddx(c f(x))=c f′(x)\dfrac{d}{dx}\left(c\,f(x)\right) = c\,f'(x) for any constant cc.

In plain English
A number multiplying a function stays put while you differentiate the function.
Don't write
ddx(5x3)=0⋅3x2\dfrac{d}{dx}(5x^3) = 0 \cdot 3x^2 by differentiating the 55 as well.

Sum and difference rules

ddx(f(x)±g(x))=f′(x)±g′(x)\dfrac{d}{dx}\left(f(x) \pm g(x)\right) = f'(x) \pm g'(x).

In plain English
Differentiate a sum or difference one term at a time.
Don't write
The same splitting for a product, such as ddx(x2⋅x3)=2x⋅3x2\dfrac{d}{dx}\left(x^2 \cdot x^3\right) = 2x \cdot 3x^2.

What is the power rule?

Learn this:

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

So ddx(x7)=7x6\dfrac{d}{dx}(x^7) = 7x^6, ddx(x)=1⋅x0=1\dfrac{d}{dx}(x) = 1 \cdot x^0 = 1, and ddx(x1/2)=12x−1/2\dfrac{d}{dx}(x^{1/2}) = \frac{1}{2}x^{-1/2}.

Why does it work? For a positive whole number nn, expand (x+h)n=xn+nxn−1h+(terms with h2 or higher)(x + h)^n = x^n + nx^{n - 1}h + (\text{terms with } h^2 \text{ or higher}). In the difference quotient (x+h)n−xnh\dfrac{(x + h)^n - x^n}{h}, the xnx^n cancels, you divide by hh, and every term except nxn−1nx^{n - 1} still contains hh. Letting h→0h \to 0 leaves nxn−1nx^{n - 1}. The rule also holds for negative and fractional nn; you may use it for any real exponent.

A constant has no change at all, so its derivative is 00. Learn this: ddx(c)=0\dfrac{d}{dx}(c) = 0.

Key idea

Bring the exponent down, then subtract 11 from it; this works for every real exponent once the function is written as a power of xx.

Check yourself

Find ddx(x10)\dfrac{d}{dx}\left(x^{10}\right) and ddx(12)\dfrac{d}{dx}(12).
Show answerHide answer

10x910x^9 and 00. The constant 1212 never changes, so its rate of change is 00.

How do constants, sums and differences work?

Learn this:

ddx(c f(x))=c f′(x)ddx(f(x)±g(x))=f′(x)±g′(x)\frac{d}{dx}\left(c\,f(x)\right) = c\,f'(x) \qquad \frac{d}{dx}\left(f(x) \pm g(x)\right) = f'(x) \pm g'(x)

Together these mean you differentiate a polynomial term by term, keeping each coefficient. For example,

ddx(4x3−5x+9)=4(3x2)−5(1)+0=12x2−5\frac{d}{dx}\left(4x^3 - 5x + 9\right) = 4(3x^2) - 5(1) + 0 = 12x^2 - 5

The constant 99 disappears because its derivative is 00. The term −5x-5x becomes −5-5, because the derivative of xx is 11.

These rules do not cover products or quotients of two functions. If you see x2(x−4)x^2(x - 4), expand it first; when expanding is not possible, use the note on The Product Rule and the Quotient Rule.

Check yourself

Differentiate y=2x5−x2+3x−8y = 2x^5 - x^2 + 3x - 8.
Show answerHide answer

dydx=10x4−2x+3\dfrac{dy}{dx} = 10x^4 - 2x + 3.

How do you handle roots and reciprocals?

The power rule needs the form xnx^n, so rewrite first:

OriginalRewrittenDerivative
x\sqrt{x}x1/2x^{1/2}12x−1/2=12x\dfrac{1}{2}x^{-1/2} = \dfrac{1}{2\sqrt{x}}
1x2\dfrac{1}{x^2}x−2x^{-2}−2x−3=−2x3-2x^{-3} = -\dfrac{2}{x^3}
3x\dfrac{3}{\sqrt{x}}3x−1/23x^{-1/2}−32x−3/2-\dfrac{3}{2}x^{-3/2}
x2+1x\dfrac{x^2 + 1}{x}x+x−1x + x^{-1}1−x−21 - x^{-2}

Two habits prevent most errors. First, move the whole power of xx when you rewrite a reciprocal: 3x\dfrac{3}{\sqrt{x}} is 3x−1/23x^{-1/2}, with the 33 staying as a coefficient. Second, with a negative exponent, subtracting 11 makes it more negative: −2−1=−3-2 - 1 = -3.

A fraction with a single term on the bottom splits term by term, as in the last row. You may leave answers with negative exponents unless a question asks for another form.

Check yourself

Differentiate f(x)=4xf(x) = \dfrac{4}{x}.
Show answerHide answer

f′(x)=−4x2f'(x) = -\dfrac{4}{x^2}. Rewrite f(x)=4x−1f(x) = 4x^{-1}; then f′(x)=4(−1)x−2f'(x) = 4(-1)x^{-2}.

How do you use the derivative for slopes and tangent lines?

The derivative gives the slope at every point, so:

  • Slope at x=ax = a: evaluate f′(a)f'(a).
  • Tangent line at x=ax = a: use the point (a,f(a))(a, f(a)) and the slope f′(a)f'(a) in y−f(a)=f′(a)(x−a)y - f(a) = f'(a)(x - a).
  • Where the slope equals kk: solve f′(x)=kf'(x) = k. A horizontal tangent line has slope 00, so solve f′(x)=0f'(x) = 0.

The tangent line form comes from the note on Average Rate of Change and the Derivative; what is new here is that the power rule gives f′(a)f'(a) in one step instead of a limit.

Examiner's eye

Marks are lost when the slope is left as f′(x)f'(x) in a tangent line. Substitute x=ax = a to get a number first.

Check yourself

Where does y=x2−6xy = x^2 - 6x have a horizontal tangent line?
Show answerHide answer

At x=3x = 3. dydx=2x−6=0\dfrac{dy}{dx} = 2x - 6 = 0 gives x=3x = 3, and the point is (3,−9)(3, -9).

Which method fits the question?

What the function looks likeWhat to do first
A polynomialDifferentiate term by term
Roots, or xx in a denominatorRewrite every term as cxncx^n
A product you can expand, such as x2(x−4)x^2(x - 4)Expand, then differentiate term by term
A fraction with one term on the bottomSplit it into separate powers of xx
A product or quotient you cannot expand easilyUse the note on The Product Rule and the Quotient Rule

Worked example 1: A polynomial

Question: Find f′(x)f'(x) for f(x)=5x4−3x2+7x−2f(x) = 5x^4 - 3x^2 + 7x - 2.

What tells you the method

Every term is a constant times a power of xx, so use the power rule term by term.

  1. Step 1: Differentiate each term.

    5(4x3)−3(2x)+7(1)−05(4x^3) - 3(2x) + 7(1) - 0.

    Why

    The sum, difference and constant multiple rules let you treat each term on its own.

  2. Step 2: Simplify.

    f′(x)=20x3−6x+7f'(x) = 20x^3 - 6x + 7.

    Why

    Multiply out the coefficients.

Check it

The degree drops from 44 to 33, and the constant −2-2 has vanished, as it should.

Answer

f′(x)=20x3−6x+7f'(x) = 20x^3 - 6x + 7.

Worked example 2: Roots and reciprocals

Question: Let f(x)=6x−4x2f(x) = 6\sqrt{x} - \dfrac{4}{x^2}. Find f′(x)f'(x) and f′(4)f'(4).

What tells you the method

A root and an xx in a denominator mean rewrite as powers before using the power rule.

  1. Step 1: Rewrite.

    f(x)=6x1/2−4x−2f(x) = 6x^{1/2} - 4x^{-2}.

    Why

    The power rule needs each term in the form cxncx^n.

  2. Step 2: Differentiate.

    f′(x)=6⋅12x−1/2−4(−2)x−3=3x−1/2+8x−3f'(x) = 6 \cdot \frac{1}{2}x^{-1/2} - 4(-2)x^{-3} = 3x^{-1/2} + 8x^{-3}.

    Why

    For x−2x^{-2}, the exponent −2-2 comes down and the new exponent is −3-3; two negatives make the second term positive.

  3. Step 3: Evaluate at x=4x = 4.

    f′(4)=34+843=32+18=138f'(4) = \dfrac{3}{\sqrt{4}} + \dfrac{8}{4^3} = \dfrac{3}{2} + \dfrac{1}{8} = \dfrac{13}{8}.

    Why

    4−1/2=124^{-1/2} = \frac{1}{2} and 4−3=1644^{-3} = \frac{1}{64}.

Check it

f′(4)=1.625f'(4) = 1.625 is positive, and both original terms increase as xx increases (6x6\sqrt{x} grows, and −4x2-\frac{4}{x^2} rises toward 00), so a positive slope fits.

Answer

f′(x)=3x+8x3f'(x) = \dfrac{3}{\sqrt{x}} + \dfrac{8}{x^3}, and f′(4)=138f'(4) = \dfrac{13}{8}.

Worked example 3: Tangent line and horizontal tangents

Question: Let f(x)=x3−6x2+9x+1f(x) = x^3 - 6x^2 + 9x + 1. (a) Write an equation for the line tangent to the graph of ff at x=4x = 4. (b) Find the values of xx at which the graph of ff has a horizontal tangent line.

What tells you the method

"tangent line at x=4x = 4" needs f(4)f(4) and f′(4)f'(4); "horizontal tangent" means solve f′(x)=0f'(x) = 0.

  1. Step 1: Differentiate.

    f′(x)=3x2−12x+9f'(x) = 3x^2 - 12x + 9.

    Why

    Both parts need the slope function.

  2. Step 2: Part (a): point and slope.

    f(4)=64−96+36+1=5f(4) = 64 - 96 + 36 + 1 = 5 and f′(4)=48−48+9=9f'(4) = 48 - 48 + 9 = 9.

    Why

    The tangent line passes through (4,5)(4, 5) with slope 99.

  3. Step 3: Part (a): the line.

    y−5=9(x−4)y - 5 = 9(x - 4), so y=9x−31y = 9x - 31.

    Why

    Point-slope form, then simplify.

  4. Step 4: Part (b): solve f′(x)=0f'(x) = 0.

    3x2−12x+9=3(x−1)(x−3)=03x^2 - 12x + 9 = 3(x - 1)(x - 3) = 0, so x=1x = 1 or x=3x = 3.

    Why

    A horizontal line has slope 00.

Check it

f(4.01)≈5.0906f(4.01) \approx 5.0906 and the line gives 9(4.01)−31=5.099(4.01) - 31 = 5.09, which agree closely near x=4x = 4. Also f′(1)=3−12+9=0f'(1) = 3 - 12 + 9 = 0 and f′(3)=27−36+9=0f'(3) = 27 - 36 + 9 = 0.

Answer

(a) y=9x−31y = 9x - 31. (b) x=1x = 1 and x=3x = 3.

Your turn

Question: Let g(x)=x2(x−4)g(x) = x^2(x - 4). Find g′(x)g'(x) and g′(2)g'(2).

  1. Step 1:

    Expand first: g(x)=x3−4x2g(x) = x^3 - 4x^2.

  2. Step 2: Your go: differentiate and evaluate.

    Use the power rule on each term, then substitute x=2x = 2 before you open the solution.

Show the full solutionHide the solution

g′(x)=3x2−8xg'(x) = 3x^2 - 8x, so g′(2)=12−16=−4g'(2) = 12 - 16 = -4.

Answer: g′(x)=3x2−8xg'(x) = 3x^2 - 8x, and g′(2)=−4g'(2) = -4.

Traps

Trap

Lowering a negative exponent toward zero, as in ddx(x−2)=−2x−1\dfrac{d}{dx}\left(x^{-2}\right) = -2x^{-1}.

It seems right because "subtract 11" feels like making the number smaller in size. But −2−1=−3-2 - 1 = -3, so ddx(x−2)=−2x−3\dfrac{d}{dx}\left(x^{-2}\right) = -2x^{-3}. The exponent always moves one step to the left on the number line.

Check yourself

Is ddx(x−4)\dfrac{d}{dx}\left(x^{-4}\right) equal to −4x−3-4x^{-3} or −4x−5-4x^{-5}?
Show answerHide answer

−4x−5-4x^{-5}, because −4−1=−5-4 - 1 = -5.

Trap

Differentiating a product factor by factor.

It seems right because sums split term by term. But products do not: for x2⋅x3=x5x^2 \cdot x^3 = x^5 the derivative is 5x45x^4, while 2x⋅3x2=6x32x \cdot 3x^2 = 6x^3. Expand the product first, or use the product rule.

Check yourself

What is the derivative of x(x+5)x(x + 5): 11 or 2x+52x + 5?
Show answerHide answer

2x+52x + 5. Expanding gives x2+5xx^2 + 5x, whose derivative is 2x+52x + 5.

What's examined

The power rule and the rules for sums and constant multiples belong to Unit 2 (Derivatives: Definition and Basic Rules) of the AP® Calculus AB exam. Every later derivative technique builds on them, so speed and accuracy here pay off across the course. Expect "Find", "Calculate" and "Write an equation for the line tangent to…" in both multiple-choice and free-response sections, without a calculator.

Practice questions

  1. Recall What is ddx(x−3)\dfrac{d}{dx}\left(x^{-3}\right)?
    • A) −3x−2-3x^{-2}
    • B) −2x−4-2x^{-4}
    • C) 3x−43x^{-4}
    • D) −3x−4-3x^{-4}
Show answer

Answer: D) −3x−4-3x^{-4}.

Marking points:

  • Bring down −3-3 and subtract 11: −3x−3−1=−3x−4-3x^{-3 - 1} = -3x^{-4}.
  • A adds 11 to the exponent instead of subtracting it.
  • B uses n+1=−2n + 1 = -2 as the coefficient instead of n=−3n = -3.
  • C drops the negative sign of the exponent when bringing it down.
  1. Recall Let f(x)=7−2x+x5f(x) = 7 - 2x + x^5. What is f′(x)f'(x)?
    • A) 5x4−25x^4 - 2
    • B) 5x4−2x5x^4 - 2x
    • C) 5x4+55x^4 + 5
    • D) x4−2x^4 - 2
Show answer

Answer: A) 5x4−25x^4 - 2.

Marking points:

  • The constant 77 gives 00, −2x-2x gives −2-2, and x5x^5 gives 5x45x^4.
  • B leaves −2x-2x undifferentiated.
  • C keeps the 77 and adds it to −2-2.
  • D lowers the exponent but forgets to bring the 55 down.
  1. Apply If f(x)=8xf(x) = 8\sqrt{x}, what is f′(4)f'(4)?
    • A) 11
    • B) 22
    • C) 44
    • D) 1616
Show answer

Answer: B) 22.

Marking points:

  • f(x)=8x1/2f(x) = 8x^{1/2}, so f′(x)=4x−1/2f'(x) = 4x^{-1/2} and f′(4)=42=2f'(4) = \dfrac{4}{2} = 2.
  • A uses x−1x^{-1} instead of x−1/2x^{-1/2}: 4⋅14=14 \cdot \frac{1}{4} = 1.
  • C stops at the coefficient 8⋅12=48 \cdot \frac{1}{2} = 4 and never evaluates the power.
  • D gives f(4)=8⋅2=16f(4) = 8 \cdot 2 = 16, the value instead of the slope.
  1. Apply Which is an equation of the line tangent to y=x3−2xy = x^3 - 2x at x=2x = 2?
    • A) y=4x−4y = 4x - 4
    • B) y=10x−24y = 10x - 24
    • C) y=10x−16y = 10x - 16
    • D) y=12x−20y = 12x - 20
Show answer

Answer: C) y=10x−16y = 10x - 16.

Marking points:

  • At x=2x = 2, y=8−4=4y = 8 - 4 = 4, and dydx=3x2−2=10\dfrac{dy}{dx} = 3x^2 - 2 = 10.
  • y−4=10(x−2)y - 4 = 10(x - 2) gives y=10x−16y = 10x - 16.
  • A uses the yy-value 44 as the slope.
  • B writes y+4y + 4 instead of y−4y - 4.
  • D differentiates x3x^3 but forgets the −2-2 from −2x-2x, giving slope 1212.
  1. Apply Let g(x)=x2−4x+1xg(x) = \dfrac{x^2 - 4x + 1}{x} for x≠0x \neq 0. Find g′(x)g'(x).
Show answer

Answer: g′(x)=1−1x2g'(x) = 1 - \dfrac{1}{x^2}.

Marking points:

  • Split the fraction: g(x)=x−4+x−1g(x) = x - 4 + x^{-1}.
  • Differentiate term by term: 1−0−x−21 - 0 - x^{-2}.
  • So g′(x)=1−x−2=1−1x2g'(x) = 1 - x^{-2} = 1 - \dfrac{1}{x^2}.
  1. Exam-style Find the coordinates of every point on the curve y=x3−3x2−9x+2y = x^3 - 3x^2 - 9x + 2 at which the tangent line is horizontal.
Show answer

Answer: (−1,7)(-1, 7) and (3,−25)(3, -25).

Marking points:

  • dydx=3x2−6x−9=3(x−3)(x+1)\dfrac{dy}{dx} = 3x^2 - 6x - 9 = 3(x - 3)(x + 1).
  • Setting this equal to 00 gives x=−1x = -1 or x=3x = 3.
  • y(−1)=−1−3+9+2=7y(-1) = -1 - 3 + 9 + 2 = 7 and y(3)=27−27−27+2=−25y(3) = 27 - 27 - 27 + 2 = -25.
  1. Exam-style The cost, in dollars, of producing xx units of a product is C(x)=0.02x2+15x+400C(x) = 0.02x^2 + 15x + 400. Find C′(50)C'(50) and, using correct units, explain its meaning.
Show answer

Answer: C′(50)=17C'(50) = 17 dollars per unit: when 5050 units are being produced, the cost is increasing at 1717 dollars per additional unit.

Marking points:

  • C′(x)=0.04x+15C'(x) = 0.04x + 15.
  • C′(50)=0.04(50)+15=2+15=17C'(50) = 0.04(50) + 15 = 2 + 15 = 17.
  • The units are dollars per unit, and the interpretation names x=50x = 50.

Key points

Recall, then reveal

Say the main points from memory first, then check them.

Show key pointsHide key points
  • ddx(xn)=nxn−1\frac{d}{dx}(x^n) = nx^{n - 1} for any real nn, and a constant differentiates to 00.
  • Coefficients carry through, and sums and differences are differentiated one term at a time.
  • Rewrite roots as fractional powers and reciprocals as negative powers before using the rule.
  • Products are not split factor by factor: expand them first.
  • Tangent line at x=ax = a: y−f(a)=f′(a)(x−a)y - f(a) = f'(a)(x - a); horizontal tangents come from f′(x)=0f'(x) = 0.

Keep learning

Explore AP Calculus AB tutoring →

View the full Calculus AB syllabus →

More in this unit

Derivatives: Definition and Basic Rules

All Basic Differentiation Rules notes

Part of Novark's AP Calculus AB notes