sciandu
Mathematics

Mathematics

Rules of differentiation

Three short rules that let you differentiate any polynomial in one line, with no limit needed.

What you need first

For f(x)=x2f(x) = x^2 you have already worked the limit out by hand and got f(x)=2xf'(x) = 2x. Repeating that for every new function would be endless busywork. Luckily nobody has to: the limit has been worked out once and for all for whole families of functions. What remains are three short rules that let you differentiate an expression like 4x35x2+6x94x^3 - 5x^2 + 6x - 9 in a single line.

The power rule

The most important rule covers all powers xnx^n. It says: the moves to the front as a factor, and the exponent itself drops by 1. So x3x^3 becomes 3x23x^2, x5x^5 becomes 5x45x^4, and x2x^2 becomes 2x12x^1, that is 2x2x. This matches exactly the result you already know for the . Even plain xx follows the rule, because x=x1x = x^1 turns into 1x0=11 \cdot x^0 = 1: the line y=xy = x has slope 1 everywhere.

f(x)=xnf(x)=nxn1f(x) = x^n \quad \Rightarrow \quad f'(x) = n \cdot x^{\,n-1}
Exponent to the front, exponent one smaller: the power rule in one line.

Constant factors and sums

If a number sits in front of the power, it simply stays there while you differentiate. For f(x)=5x3f(x) = 5x^3 you differentiate x3x^3 to 3x23x^2 and keep the 5, which gives f(x)=15x2f'(x) = 15x^2. That is the constant factor rule, and it makes visual sense: a graph stretched five times as tall runs five times as steeply at every point. If the function is made of several terms, the sum rule helps: you differentiate each term on its own and put the results back together with plus or minus. So x3+x2x^3 + x^2 becomes 3x2+2x3x^2 + 2x.

Coordinate grid
a1
c1
-6-6-4-4-2-2224466
y = 1+ 1opens upwards
Set cc to 0 and the factor aa to 1, and you see the plain parabola y=x2y = x^2. Then move aa to 2: the curve runs twice as steep everywhere, which is exactly what the constant factor rule says.

That leaves the numbers without an xx. The graph of f(x)=7f(x) = 7 is a horizontal line at height 7, it rises nowhere and falls nowhere. Its slope is 0 everywhere, so f(x)=0f'(x) = 0. That is why the 7 in x2+7x^2 + 7 disappears when you differentiate: the 7 only shifts the parabola 7 units upwards, and shifting never changes the steepness at any point. So x2+100x^2 + 100 also has the 2x2x.

A polynomial step by step

Now everything together on f(x)=4x35x2+6x9f(x) = 4x^3 - 5x^2 + 6x - 9. Term by term: 4x34x^3 becomes 43x2=12x24 \cdot 3x^2 = 12x^2, 5x2-5x^2 becomes 52x=10x-5 \cdot 2x = -10x, 6x6x becomes 66, and the 9-9 drops out. Put back together this gives f(x)=12x210x+6f'(x) = 12x^2 - 10x + 6. Notice how the degree falls by 1: a function of degree three turns into a derivative of degree two. From ff' you can then read off every individual slope: substitute a position and you get the slope exactly there. The other way round, f(x)=0f'(x) = 0 finds the positions where the graph runs flat.

Exercises

0 of 6 solved

Time to try it yourself. You can't break anything, every attempt counts.

What is the derivative of f(x)=x3f(x) = x^3?

What is the derivative of f(x)=8f(x) = 8?

Let f(x)=x4f(x) = x^4. What is the slope at x=2x = 2?

With the power rule the exponent moves to the front as a , and the exponent itself drops by 1.

What is the derivative of f(x)=5x3f(x) = 5x^3?

Match each function to its derivative.

f(x)=x2f(x) = x^2
f(x)=x3f(x) = x^3
f(x)=5xf(x) = 5x
f(x)=7f(x) = 7