Every rule you need to differentiate almost anything, in one place, plus a picture that shows why the product rule is what it is.
The core rules
Rule
Formula
Note
Constant
dxd[c]=0
A flat line has slope 0.
Power
dxd[xn]=nxn−1
Works for any real n.
Constant multiple
dxd[cf]=cf′
Stretching a graph stretches its slopes.
Sum / difference
(f±g)′=f′±g′
Differentiate term by term.
Product
(uv)′=u′v+uv′
Not u′v′. See the explainer below.
Quotient
(vu)′=v2u′v−uv′
Order matters in the numerator.
Chain
dxdf(g(x))=f′(g(x))g′(x)
Outer derivative times inner derivative.
Why the product rule has two terms
Think of u⋅v as the area of a rectangle with sides u and v. If both sides grow a little, the area grows by two strips and a tiny corner:
New area − old area = v·du 1.6 + u·dv 1.8 + du·dv 0.48
Shrink both sliders: the grey corner du·dv vanishes far faster than the two strips. What survives is d(uv)=udv+vdu, the product rule.
The corner is a small change times a small change, so it vanishes compared with the strips as the changes shrink. Dividing the rest by dx gives (uv)′=u′v+uv′. The quotient rule follows by applying the product and chain rules to u⋅v−1.
Derivatives of common functions
f(x)
f′(x)
ex
ex
ax
axlna
lnx
x1
logax
xlna1
sinx
cosx
cosx
−sinx
tanx
sec2x
secx
secxtanx
cscx
−cscxcotx
cotx
−csc2x
arcsinx
1−x21
arccosx
−1−x21
arctanx
1+x21
sinhx
coshx
coshx
sinhx
Each of these has its own page with the derivation and graph: e.g. ln x, sin x, tan x, or browse all of them.
Putting the rules together
Differentiate x2e3x: it is a product, and the second factor needs the chain rule. (x2)′e3x+x2(e3x)′=2xe3x+3x2e3x. The derivative calculator shows this kind of breakdown for any function you type.
Still stuck? Ask the tutor
An AI tutor reads the problem and steps above and explains them in plain words. It can make mistakes, so check it against the worked steps.
Questions students ask
What are the basic derivative rules?
Constant rule (c′=0), power rule ((xn)′=nxn−1), constant multiple rule, sum and difference rule, product rule, quotient rule and chain rule, plus the derivatives of ex, lnx and the trig functions.
How do I remember the quotient rule?
“Low d-high minus high d-low, over the square of what’s below”: (vu)′=v2vu′−uv′. The order in the numerator matters because of the minus sign.
When do I use the chain rule?
Whenever one function is plugged into another, like sin(3x), (x2+1)5 or e−x2. Differentiate the outer function, keep the inside, then multiply by the derivative of the inside.
Is the product rule just multiplying the derivatives?
No, and this is the most common mistake. (uv)′=u′v′. The explainer on this page shows why the correct formula is u′v+uv′.