Sign in

Libre University uses your GitHub account. Signing in is only needed to sit a final test, so the score is kept on your profile.

Rules of differentiation

Computing every derivative from the limit definition would be exhausting. A handful of rules let you differentiate almost any formula by inspection.

The power rule

For any exponent n,

ddxxn=nxn-1.

So the derivative of x3 is 3x2, and of x1/2 is 12x-1/2. This one rule covers a huge range of functions.

Constants and sums

A constant does not change, so its derivative is zero. A constant multiplier rides along: ddxcf(x)=cf'(x). And derivatives split across addition: ddxbig(f+gbig)=f'+g'. Together these let you differentiate any polynomial term by term. The derivative of 5x3-2x+7 is 15x2-2.

The product rule

The derivative of a product is not the product of the derivatives. Instead,

(fg)'=f'g+fg'.

For x2sinx, that gives 2xsinx+x2cosx.

The quotient rule

For a ratio,

(fg)'=f'g-fg'g2.

The chain rule

This is the most important rule of all: it differentiates a composition, a function inside a function. If y=f(g(x)), then

dydx=f'(g(x))g'(x).

Differentiate the outer function, keep the inner one intact, then multiply by the derivative of the inner. For (3x2+1)5, the outer power gives 5(3x2+1)4 and the inner gives 6x, so the derivative is 30x(3x2+1)4. Master the chain rule and most derivatives fall out in a line or two.