Derivative rules and formulas

The 18 rules and 27 standard derivatives on one page, typeset from the same engine that powers the calculator. Print it, or follow any row through to its full explanation.

The rules

Each name links to a page with five worked examples and a graph.

RuleStatement
Constant \(\frac{d}{dx}c = 0\)
Variable \(\frac{d}{dx}x = 1\)
Sum \(\left(f + g\right)' = f' + g'\)
Constant multiple \(\left(cf\right)' = c\,f'\)
Power \(\frac{d}{dx}x^{n} = n x^{n-1}\)
Product \(\left(fg\right)' = f'g + fg'\)
Quotient \(\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^{2}}\)
Chain \(\left(f \circ g\right)' = f'(g)\,g'\)
Exponential \(\frac{d}{dx}a^{x} = a^{x}\ln a\)
Logarithm \(\frac{d}{dx}\ln x = \frac{1}{x}\)
Logarithm, base a \(\frac{d}{dx}\log_{a} x = \frac{1}{x\ln a}\)
Trigonometric \(\frac{d}{dx}\sin x = \cos x\)
Inverse trig \(\frac{d}{dx}\arctan x = \frac{1}{1 + x^{2}}\)
Hyperbolic \(\frac{d}{dx}\tanh x = \operatorname{sech}^{2} x\)
Inverse hyperbolic \(\frac{d}{dx}\operatorname{artanh} x = \frac{1}{1 - x^{2}}\)
Absolute value \(\frac{d}{dx}\left|x\right| = \operatorname{sgn} x, \; x \neq 0\)
Logarithmic \(\frac{d}{dx}f^{g} = f^{g}\left(g'\ln f + \frac{gf'}{f}\right)\)
Rewrite in natural logs \(\log_{a} b = \frac{\ln b}{\ln a}\)

Powers and roots

f(x)f′(x)Open
\(x^{n}\) \(n x^{n - 1}\) steps
\(x^{2}\) \(2 x\) steps
\(x^{3}\) \(3 x^{2}\) steps
\(\sqrt{x}\) \(\frac{1}{2 \sqrt{x}}\) steps
\(\sqrt[3]{x}\) \(\frac{1}{3 x^{\frac{2}{3}}}\) steps
\(\frac{1}{x}\) \(-\frac{1}{x^{2}}\) steps
\(\frac{1}{x^{2}}\) \(-\frac{2}{x^{3}}\) steps

Exponential and logarithm

f(x)f′(x)Open
\(e^{x}\) \(e^{x}\) steps
\(a^{x}\) \(a^{x} \ln\left(a\right)\) steps
\(\ln\left(x\right)\) \(\frac{1}{x}\) steps
\(\log_{2}\left(x\right)\) \(\frac{1}{x \ln\left(2\right)}\) steps

Trigonometric

f(x)f′(x)Open
\(\sin\left(x\right)\) \(\cos\left(x\right)\) steps
\(\cos\left(x\right)\) \(-\sin\left(x\right)\) steps
\(\tan\left(x\right)\) \(\sec^{2}\left(x\right)\) steps
\(\sec\left(x\right)\) \(\sec\left(x\right) \tan\left(x\right)\) steps
\(\csc\left(x\right)\) \(-\cot\left(x\right) \csc\left(x\right)\) steps
\(\cot\left(x\right)\) \(-\csc^{2}\left(x\right)\) steps

Inverse trigonometric

f(x)f′(x)Open
\(\arcsin\left(x\right)\) \(\frac{1}{\sqrt{-x^{2} + 1}}\) steps
\(\arccos\left(x\right)\) \(-\frac{1}{\sqrt{-x^{2} + 1}}\) steps
\(\arctan\left(x\right)\) \(\frac{1}{x^{2} + 1}\) steps

Hyperbolic

f(x)f′(x)Open
\(\sinh\left(x\right)\) \(\cosh\left(x\right)\) steps
\(\cosh\left(x\right)\) \(\sinh\left(x\right)\) steps
\(\tanh\left(x\right)\) \(\operatorname{sech}^{2}\left(x\right)\) steps

Inverse hyperbolic

f(x)f′(x)Open
\(\operatorname{arsinh}\left(x\right)\) \(\frac{1}{\sqrt{x^{2} + 1}}\) steps
\(\operatorname{arcosh}\left(x\right)\) \(\frac{1}{\sqrt{x^{2} - 1}}\) steps
\(\operatorname{artanh}\left(x\right)\) \(\frac{1}{-x^{2} + 1}\) steps

Other

f(x)f′(x)Open
\(\left|x\right|\) \(\operatorname{sgn}\left(x\right)\) steps

Using the sheet

  • The rules tell you how to take an expression apart; the tables tell you what the pieces differentiate to.
  • Every standard derivative above assumes radians, and \(\ln\) means the natural logarithm.
  • \(n\) and \(a\) are constants. Where the variable sits in the exponent, use the exponential rule, not the power rule.
  • This page prints cleanly — the site's print stylesheet drops the navigation and keeps the tables.

All rule explanations Practice problems