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.
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,12and 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.
0.012.013−23=12.0601
Slopes of powers of x at x=2
Function
Secant slope, h=0.01
Slope at x=2
Built as
x2
4.01
4
2×21
x3
12.0601
12
3×22
x4
32.240801
32
4×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/dx means “the derivative with respect to x.” The power rule gives d/dxx3=3x2,d/dxx=1 and d/dxx1/2=(1/2)x−1/2.
dxdxn=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−5x+7 is 12x2−5.
dxdc=0,(cf)′=cf′,(f±g)′=f′±g′
dxdc=0(cf)′=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+3xh2+h3. Subtract x3 and divide by h to get 3x2+3xh+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.
h(x+h)3−x3=3x2+3xh+h2→3x2
h(x+h)3−x3=3x2+3xh+h2→3x2
The method
The method in five steps
The table differentiates h(x)=2√x+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
Step
What to do
For h(x)=2√x+1/x3
1
Rewrite each term as c⋅xn
2x1/2+x−3
2
Apply the power rule to each term
x−1/2−3x−4
3
Drop constant terms, whose derivative is 0
(none here)
4
Write the answer without negative exponents
1/√x−3/x4
5
Substitute a value for a slope
h′(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.
dxd√x=21x−1/2=2√x1
Rewrite, then differentiate
Function
As a power
Derivative
√x
x1/2
1/(2√x)
3√x
x1/3
1/(33√x2)
1/x
x−1
−1/x2
1/x2
x−2
−2/x3
1/√x
x−1/2
−1/(2x√x)
x√x
x3/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 2x⋅3x2=6x3. The derivative of (x3+6)/x2 is not 3x2/(2x). 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/(2√x) 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.
dxd2x=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)=4√x−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 3√x 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 (2x)3 equal to 3(2x)2?
No. The power rule reads only c⋅xn, and (2x)3 has 2x as its base, not x. Rewrite it first as 8x3, whose derivative is 24x2. The tempting 3(2x)2 is 12x2, half the true rate, because it misses that the base 2x 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.
dxd(n+1xn+1)=xn(n=−1)
dxd(n+1xn+1)=xn(n=−1)
Common mistakes
Keeping a constant term. The derivative of x2−2 is 2x, not 2x−2, because a constant never changes and its slope is 0.
Subtracting 1 the wrong way from a negative exponent. The derivative of x−2is −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/(2x). 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 2x⋅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/dxxn=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−5x+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)=4√x−3/x2+5, then find the slope of its graph at x=4.