The Derivative Formulas, Up Top
The derivative of a function measures its instantaneous rate of change — the slope of the tangent line at a point. Almost every derivative you will ever compute is built from a short list of basic rules:
- Constant rule: d/dx (c) = 0
- Power rule: d/dx (xⁿ) = n·xⁿ⁻¹
- Constant multiple: d/dx (c·f(x)) = c·f′(x)
- Sum and difference: d/dx (f ± g) = f′ ± g′
- Exponential: d/dx (eˣ) = eˣ
- Natural log: d/dx (ln x) = 1/x
- Sine: d/dx (sin x) = cos x
- Cosine: d/dx (cos x) = −sin x
- Tangent: d/dx (tan x) = sec²x
What the Symbols Mean
In d/dx (xⁿ), the symbol d/dx means “the derivative with respect to x”, n is any real exponent, and xⁿ⁻¹ is the original power with the exponent reduced by one. The prime notation f′(x) means the same thing as d/dx f(x). The constant c is any number that does not change with x, which is why its derivative is zero: a quantity that never changes has a rate of change of zero.
Why the Power Rule Works
The derivative is defined as a limit of difference quotients: f′(x) = lim (h→0) [f(x+h) − f(x)] / h. For f(x) = x², expanding (x+h)² gives x² + 2xh + h², so the quotient becomes (2xh + h²)/h = 2x + h, which tends to 2x as h shrinks to zero — exactly what the power rule predicts, 2·x¹. The same expansion pattern, carried out with the binomial theorem, produces n·xⁿ⁻¹ for any whole-number power, and the rule continues to hold for fractional and negative powers too.
Worked Example: d/dx (3x⁴ − 5x² + 7)
Work term by term. For 3x⁴, keep the coefficient and apply the power rule: 3 · 4x³ = 12x³. For −5x²: −5 · 2x = −10x. The constant 7 differentiates to 0. Adding the pieces: d/dx (3x⁴ − 5x² + 7) = 12x³ − 10x. Check at a point: at x = 1 the derivative is 12 − 10 = 2, so the tangent to the curve at x = 1 has slope 2. A quick numerical check agrees: between x = 1 and x = 1.001 the function grows by about 0.002, a rate of about 2 per unit.
When the Basic Rules Are Not Enough
Three combination rules extend the list. The product rule, (fg)′ = f′g + fg′, handles products such as x²·sin x. The quotient rule, (f/g)′ = (f′g − fg′) / g², handles ratios. The chain rule, d/dx f(g(x)) = f′(g(x))·g′(x), handles compositions such as sin(3x) or (x² + 1)⁵. Our step-by-step guides cover the chain rule and the product and quotient rules in full.
Common Mistakes
- Differentiating term by term inside a product. (fg)′ is not f′g′; use the product rule.
- Forgetting the minus sign on cos. The derivative of cos x is −sin x, not sin x.
- Treating eˣ like xⁿ. eˣ is its own derivative; the power rule does not apply to a variable exponent.
- Dropping the inner derivative. d/dx sin(3x) = 3cos(3x), not cos(3x) — the chain rule factor 3 is essential.
- Writing 1/x as x. d/dx (ln x) = 1/x = x⁻¹.
Reading a Derivative as a Slope
Every derivative value is a slope, and slopes have units: if position is measured in metres and time in seconds, the derivative is in metres per second. That unit check catches many errors before they grow. A positive derivative means the quantity is increasing at that instant, a negative one means it is decreasing, and a zero derivative marks a flat moment — often a maximum, a minimum or a pause between the two. When you sketch a function, the sign of its derivative tells you which way the curve leans at every point, and the size of the derivative tells you how steeply. Keep that picture in mind and the rules above stop being symbols to memorise and become descriptions of motion and change that you can sanity-check against any graph.
Check Yours With the Calculator
Practise by hand first, then verify each step in the derivative calculator. For the standard textbook treatment, see OpenStax Calculus Volume 1. More formulas live in the formulas library.