Chalk−1

Math · Calculus I · Concept

The power rule and basic derivative rules

To differentiate a polynomial or a sum of powers, use three rules. The power rule says the derivative of xn is nxn−1. A constant factor stays in front, and a sum is differentiated term by term. Rewrite roots and fractions as powers of x first.

Try one — Chalk checks each line

A concrete case

A pattern in the slopes

Use the limit definition at x=2 for three powers of x, and a pattern appears. With h=0.01, the secant slope of x2 is 4.01, of x3 it is 12.0601, and of x4 it is 32.240801. As h shrinks, they settle on 4, 12 and 32.

Look at how those numbers are built. 4 is 2×2, 12 is 3×22, and 32 is 4×23. Each time, the exponent comes down in front and the power of 2 drops by one. That pattern is the power rule, and it saves you the limit every time.

2.013−230.01=12.0601
Slopes of powers of x at x=2
FunctionSecant slope, h=0.01Slope at x=2Built as
x24.0142×21
x312.0601123×22
x432.240801324×23

The rule

The power rule

For a power of x, bring the exponent down as a factor and lower the exponent by one. Here n is a constant, any real number, and x is the variable. The rule holds wherever xn is defined and has a tangent. For a negative n that excludes x=0, and for a fractional n such as 1⁢/2 it means x>0.

The notation d⁢/⁢d⁢x means “the derivative with respect to x.” The power rule gives d⁢/⁢d⁢x x3=3x2, d⁢/⁢d⁢x x=1 and d⁢/⁢d⁢x x1⁢/2 =(1⁢/2)x−1⁢/2.

dd⁢xxn=nxn−1

Constants, multiples and sums

Three more rules finish the toolkit. A constant c has derivative 0, because its graph is a horizontal line. A constant factor stays in front, so the derivative of c⋅f⁡(x) is c⋅f′(x). A sum or difference is differentiated term by term.

Together with the power rule, these differentiate any polynomial one term at a time. The derivative of 4x3−5⁢x+7 is 12x2−5.

dd⁢xc=0,(c⁢f)′=cf′,(f±g)′=f′±g′
dd⁢xc=0(c⁢f)′=cf′(f±g)′=f′±g′

Why it works

Why the exponent comes down

Run the limit definition on x3. Expanding gives (x+h)3 =x3+3x2h+3⁢xh2+h3. Subtract x3 and divide by h to get 3x2+3⁢x⁢h+h2. As h approaches 0, every term with an h vanishes, and 3x2 is left.

The same happens for every positive whole number n. In the expansion of (x+h)n, the term after xn is always nxn−1h, and every later term has h2 or a higher power of h. After dividing by h, only nxn−1 survives the limit. The exponent comes down because there are n ways to pick one h from the n factors of (x+h).

The other rules are pictures. Multiplying a function by c stretches its graph vertically by c, so every rise is c times as large over the same run. Adding two functions adds their rises, so the slopes add. The rule for negative and fractional exponents is proved later, with the chain rule.

(x+h)3−x3h=3x2+3⁢x⁢h+h2→3x2
(x+h)3−x3h=3x2+3⁢x⁢h+h2→3x2

The method

The method in five steps

The table differentiates h⁢(x)=2x+1⁢/x3 and finds its slope at x=1.

Step 1 is where most of the work is. The power rule reads only c⋅xn, so every root and every fraction must be written that way before you differentiate.

Differentiating a sum of powers
StepWhat to doFor h⁢(x) =2x+1⁢/x3
1Rewrite each term as c⋅xn2x1⁢/2+x−3
2Apply the power rule to each termx−1⁢/2−3x−4
3Drop constant terms, whose derivative is 0(none here)
4Write the answer without negative exponents1⁢/x−3⁢/x4
5Substitute a value for a slopeh′(1) =1−3 =−2

Roots and fractions as powers

These rewrites come up constantly. The middle column is what the power rule needs, and the last column is the derivative written back in the original style.

dd⁢xx=12x−1⁢/2=12x
Rewrite, then differentiate
FunctionAs a powerDerivative
xx1⁢/21⁢/⁢(2x)
x3x1⁢/31⁢/⁢(3x23)
1⁢/⁢xx−1−1⁢/x2
1⁢/x2x−2−2⁢/x3
1⁢/xx−1⁢/2−1⁢/⁢(2⁢xx)
xxx3⁢/2(3⁢/2)x

Where it breaks

Where it breaks

The power rule is for a variable base and a constant exponent. 2x is the other way around, an exponential, and its derivative is 2xln2. The power rule would give x⋅2x−1, which is wrong. The same goes for xx, where both parts vary.

The rule does not split a product or a quotient. The derivative of x2⋅x3=x5 is 5x4, not 2⁢x⋅3x2=6x3. The derivative of (x3+6)⁢/x2 is not 3x2/⁢(2⁢x). Multiply out or divide first, or use the product and quotient rules.

The rule also needs x where the power has a tangent. The square root x1⁢/2 has derivative 1⁢/⁢(2x) only for x>0, because at x=0 its graph starts with a vertical tangent. The power x−2 has no value at 0 at all.

A constant is a constant, however it looks. π2 and e3 are numbers, so each has derivative 0, not 2⁢π or 3e2.

dd⁢x2x=2xln2≠x⋅2x−1

Check your answer

Check your answer

A derivative from the rules can be tested against the function it came from.

Nudge x by 0.001. For f⁡(x)=4x−3⁢/x2+5, the derivative gives f′(4)=35⁢/32≈1.0938. The secant from 4 to 4.001 has slope about 1.0937, close enough.

Count degrees. The derivative of a polynomial has degree one lower, and its constant term has gone.

Read the graph. Where the derivative is negative the graph falls, and where it is positive the graph rises.

To have Chalk check the work, write the function on the first row of a Math box as f⁡(x)=…, any rewrite on the next row, and f′(x)=… below. A value such as f′(4)=35⁢/32 can follow. The Checker marks a wrong derivative ✗ with “Not the derivative of row 2.” Rewriting x3 as x1⁢/3 on its own row reads ✓, because Chalk reads x1⁢/3 as the real cube root, negative x included. Differentiating either form reads ✓.

Is the derivative of (2⁢x)3 equal to 3⁢(2⁢x)2?

No. The power rule reads only c⋅xn, and (2⁢x)3 has 2⁢x as its base, not x. Rewrite it first as 8x3, whose derivative is 24x2. The tempting 3⁢(2⁢x)2 is 12x2, half the true rate, because it misses that the base 2⁢x changes twice as fast as x.

Every real exponent, and the rule read backwards

For x>0, xn=enlnx for any real n. The chain rule then gives the derivative enlnx⋅n⁢/⁢x=nxn−1, which proves the power rule for every real exponent at once, even n=π.

Read backwards, the rule undoes itself. To get xn as a derivative, start from xn+1/⁢(n+1). That is the first rule of antiderivatives. It fails at exactly one exponent, n=−1, where it would divide by 0. The function with derivative 1⁢/⁢x is lnx.

dd⁢x(xn+1n+1)=xn(n≠−1)
dd⁢x(xn+1n+1)=xn(n≠−1)

Common mistakes

  • Keeping a constant term. The derivative of x2−2 is 2⁢x, not 2⁢x−2, because a constant never changes and its slope is 0.
  • Subtracting 1 the wrong way from a negative exponent. The derivative of x−2 is −2x−3, not −2x−1, because −2−1=−3.
  • Using the power rule on a quotient as written. The derivative of (x3+6)⁢/x2 is not 3x2/⁢(2⁢x). Divide first to get x+6x−2, and the derivative is 1−12x−3.
  • Multiplying the derivatives of two factors. The derivative of x2⋅x3=x5 is 5x4, not 2⁢x⋅3x2=6x3. Multiply out first, or use the product rule.
  • Using the power rule on an exponential. 2x has the variable in the exponent, so its derivative is 2xln2, not x⋅2x−1. The power rule needs a variable base and a constant exponent.

Key terms

Power rule
d⁢/⁢d⁢x xn=n⋅xn−1: bring down the exponent and lower it by one. It works for any real exponent n wherever both xn and xn−1 are defined. x, for instance, has no derivative at 0.
Constant multiple rule
The derivative of a constant times a function is the constant times the derivative: (c⋅f)′=c⋅f′. A constant factor stays in front while the function is differentiated.
Sum rule
The derivative of a sum or difference is the sum or difference of the derivatives: (f±g)′=f′±g′. A polynomial is therefore differentiated one term at a time.
Derivative
The instantaneous rate of change of a function: the limit of the average rate of change as the step shrinks to zero, when that limit exists. On a graph it is the slope of the tangent line.
Polynomial
An expression made by adding terms, each a number times whole-number powers of the variables, such as 3x2−5⁢x+2. An expression with a variable in a denominator, under a root or inside a function like sin is not a polynomial.

Work through an example

Differentiate f⁡(x)=4x−3⁢/x2+5, then find the slope of its graph at x=4.

Use the power rule on roots and fractions →

Simplify a quotient before using the power rule →

Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Check the derivative in Math Check it for x>0 in Math Trace the derivative of x3−6x2+9⁢x Study the 5 key terms Open worked example on a board Power rule in Math Reference

Your existing work stays on this device. Examples open as editable copies.