What the derivative formula is
The derivative formula measures how fast a function's output changes when its input changes by a tiny amount. It is the foundation of differential calculus. For a function $f(x)$, the derivative is written as $f'(x)$ or $\dfrac{df}{dx}$, and it is defined by the limit:
The Derivative Formula (First Principles):
$$f'(x) = \lim_{h \to 0} \dfrac{f(x+h) - f(x)}{h}$$
This is the formal definition. Most working calculus uses shortcut rules derived from it.
[MATH: f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}]
Variable Key
Symbol | Meaning |
|---|---|
$f(x)$ | The original function |
$f'(x)$ | The derivative of $f(x)$ — its rate of change |
$\dfrac{df}{dx}$ | Leibniz notation for the same derivative |
$h$ | A tiny change in $x$, shrinking toward zero |
$\lim_{h \to 0}$ | "As $h$ approaches zero" — the limiting value |
When To Use The Derivative Formula
Use a derivative whenever you need the rate of change at a single instant rather than over a stretch. Position changing into velocity. Velocity changing into acceleration. A drug concentration falling in the bloodstream. The slope of a curve at one specific point. Any time a problem asks "how fast," "how steep," "the rate at which," or "the marginal," a derivative is the tool.
The Full List Of Derivative Formulas
The list below is the working toolkit. Most calculus problems are solved by recognising which formula applies and substituting.
Basic derivative formulas
Function $f(x)$ | Derivative $f'(x)$ |
|---|---|
$c$ (constant) | $0$ |
$x$ | $1$ |
$x^n$ | $n \cdot x^{n-1}$ |
$\sqrt{x}$ | $\dfrac{1}{2\sqrt{x}}$ |
$\dfrac{1}{x}$ | $-\dfrac{1}{x^2}$ |
Trigonometric derivative formulas
Function $f(x)$ | Derivative $f'(x)$ |
|---|---|
$\sin x$ | $\cos x$ |
$\cos x$ | $-\sin x$ |
$\tan x$ | $\sec^2 x$ |
$\cot x$ | $-\csc^2 x$ |
$\sec x$ | $\sec x \cdot \tan x$ |
$\csc x$ | $-\csc x \cdot \cot x$ |
Exponential and logarithmic derivative formulas
Function $f(x)$ | Derivative $f'(x)$ |
|---|---|
$e^x$ | $e^x$ |
$a^x$ | $a^x \cdot \ln a$ |
$\ln x$ | $\dfrac{1}{x}$ |
$\log_a x$ | $\dfrac{1}{x \cdot \ln a}$ |
Inverse trigonometric derivative formulas
Function $f(x)$ | Derivative $f'(x)$ |
|---|---|
$\sin^{-1} x$ | $\dfrac{1}{\sqrt{1 - x^2}}$ |
$\cos^{-1} x$ | $-\dfrac{1}{\sqrt{1 - x^2}}$ |
$\tan^{-1} x$ | $\dfrac{1}{1 + x^2}$ |
$\cot^{-1} x$ | $-\dfrac{1}{1 + x^2}$ |
$\sec^{-1} x$ | $\dfrac{1}{\lvert x \rvert \sqrt{x^2 - 1}}$ |
$\csc^{-1} x$ | $-\dfrac{1}{\lvert x \rvert \sqrt{x^2 - 1}}$ |
Differentiation Rules
Rules combine the basic formulas above when functions are added, multiplied, divided, or nested.
1. Constant Multiple Rule.
$$\dfrac{d}{dx}\left[c \cdot f(x)\right] = c \cdot f'(x)$$
2. Sum and Difference Rule.
$$\dfrac{d}{dx}\left[f(x) \pm g(x)\right] = f'(x) \pm g'(x)$$
3. Product Rule.
$$\dfrac{d}{dx}\left[f(x) \cdot g(x)\right] = f'(x) \cdot g(x) + f(x) \cdot g'(x)$$
4. Quotient Rule.
$$\dfrac{d}{dx}\left[\dfrac{f(x)}{g(x)}\right] = \dfrac{f'(x) \cdot g(x) - f(x) \cdot g'(x)}{[g(x)]^2}$$
5. Chain Rule.
$$\dfrac{d}{dx}\left[f(g(x))\right] = f'(g(x)) \cdot g'(x)$$
The chain rule is the one most students misapply. The next section walks through exactly where it goes wrong.
Intuitive Derivation - Where The Formula Comes From
Picture two points on a curve: one at $x$, one a tiny step $h$ to the right at $x + h$.
The slope of the line connecting those two points is:
$$\text{slope} = \dfrac{f(x+h) - f(x)}{h}$$
That is average rate of change between the two points. Now squeeze $h$ down toward zero. The two points slide together. The connecting line stops being a chord and becomes a tangent — touching the curve at exactly one point.
The slope of that tangent is the instantaneous rate of change. That is the derivative.
[MATH IMAGE — derivative-tangent-line]
Visual: A smooth curve $f(x)$. Two points marked: $P$ at $x$ and $Q$ at $x + h$. A secant line drawn through both. A second image showing $h$ shrunk — $Q$ has slid almost on top of $P$, and the line now barely touches the curve at $P$. Slope of the tangent labelled $f'(x)$.
The derivative formula is just that idea, written precisely.
Worked Examples of Derivative Formula
Example 1: Derivative of $f(x) = x^4$
Apply the power rule: $\dfrac{d}{dx}[x^n] = n \cdot x^{n-1}$.
$f'(x) = 4 \cdot x^{4-1}$
$f'(x) = 4x^3$
Final answer: $f'(x) = 4x^3$.
Example 2: Derivative of $f(x) = 3x^5 - 2x^3 + 7x - 9$
Apply the sum/difference rule term by term, with the constant multiple rule for coefficients.
$f'(x) = 3 \cdot 5x^4 - 2 \cdot 3x^2 + 7 \cdot 1 - 0$
$f'(x) = 15x^4 - 6x^2 + 7$
Final answer: $f'(x) = 15x^4 - 6x^2 + 7$.
Example 3: Derivative of $f(x) = x^2 \cdot \sin x$ — the wrong path first
A common first instinct: differentiate each piece separately and multiply.
Wrong attempt: $f'(x) = (2x)(\cos x)$.
Test it. At $x = 0$: the wrong answer gives $f'(0) = 0$. The original function $f(x) = x^2 \sin x$ is flat at $x = 0$ — close to zero, sure — but the wrong reasoning would also say a function like $x \cdot \cos x$ has derivative $1 \cdot (-\sin x) = -\sin x$, which fails the moment you check at $x = 0$ (the actual derivative is $\cos x - x \sin x$, equal to $1$ at $x = 0$, not $0$). The shortcut breaks for products in general.
The correct tool is the product rule:
$f'(x) = (2x)(\sin x) + (x^2)(\cos x)$
$f'(x) = 2x \sin x + x^2 \cos x$
Final answer: $f'(x) = 2x \sin x + x^2 \cos x$.
Example 4: Derivative of $f(x) = \sin(x^2)$ — the chain rule
This is a composite function: an outer function ($\sin$) wrapped around an inner function ($x^2$).
Let $g(x) = x^2$ (the inside). Then $f(x) = \sin(g(x))$.
Apply the chain rule: $\dfrac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)$.
Outer derivative at $g(x)$: $\cos(x^2)$
Inner derivative: $g'(x) = 2x$
Multiply them:
$f'(x) = \cos(x^2) \cdot 2x$
$f'(x) = 2x \cos(x^2)$
Final answer: $f'(x) = 2x \cos(x^2)$.
The Derivative Beyond The Textbook
The same formula that gives the slope of a tangent line shows up across fields with no obvious connection to a math chapter.
Medicine. Pharmacokinetics — how fast a drug's concentration in the bloodstream is rising or falling — is a derivative. Dosing schedules are designed around it. (NIH overview of pharmacokinetics.)
Climate. When climate scientists talk about whether warming is accelerating, they are talking about the second derivative of global temperature with respect to time. (NASA climate change indicators.)
Finance. Marginal cost and marginal revenue are derivatives — the cost or revenue of producing one more unit. Every pricing decision in economics is built on them.
Engineering. Bridge stress analysis, aircraft wing design, and circuit response all use derivatives to track how outputs respond to small changes in inputs.
The rusher in any classroom learns derivatives as a procedure for an exam. The student who notices these connections starts to see derivatives as a way of asking how is this changing right now? — a question every quantitative field needs to answer.
The Mathematicians Behind The Derivative
The derivative was not discovered once. It was discovered twice, almost simultaneously, by two people who refused to share credit — and the dispute that followed shaped European mathematics for a century.
[MATHEMATICIANS & HISTORY CALLOUT]
Title: Two men, one idea, fifty years of war
Mathematicians: Isaac Newton (1643–1727, England) and Gottfried Wilhelm Leibniz (1646–1716, Germany)
Date and place: Roughly 1665–1684, England and Germany, working independently
The story: Newton developed his version of calculus in the mid-1660s while Cambridge was closed for the plague - the same period that produced his work on gravity.
He kept the method largely private. Leibniz, working independently in Germany about a decade later, published first, in 1684, using the notation we still use today: $\dfrac{dy}{dx}$ and the integral sign. England's Royal Society, loyal to Newton, accused Leibniz of plagiarism.
Modern historians agree they discovered it independently. The bitter priority dispute set British mathematics back by generations because British mathematicians refused to use Leibniz's superior notation on principle.
Why it matters: The most useful tools are often built independently in more than one place — and the notation a tool gets dressed in shapes how easily the next generation can use it.
Two other mathematicians shaped the modern formula:
Augustin-Louis Cauchy (1789–1857, France) — gave the derivative its rigorous limit-based definition in the 1820s. Before Cauchy, the formula worked but no one could quite say what an "infinitely small" $h$ actually was.
Pierre de Fermat (1607–1665, France) — anticipated the idea of differentiation decades before Newton or Leibniz, using a method called adequality to find tangent lines and maxima.
Common Mistakes to Avoid
1. Forgetting the chain rule on composite functions.
Where it slips in: You see $\sin(x^2)$ and write $\cos(x^2)$ as the derivative, stopping there. You apply the outer rule but forget the inner function is a function of $x$ — not just $x$.
Don't do this: Treat $\sin(x^2)$ as if its derivative were the same as $\sin x$.
The correct way: Differentiate the outside ($\cos$), keep the inside ($x^2$), then multiply by the derivative of the inside ($2x$). Final: $2x \cos(x^2)$.
2. Misapplying the product rule.
Where it slips in: You meet $f(x) \cdot g(x)$ and compute $f'(x) \cdot g'(x)$ — multiplying derivatives directly. Two right-feeling moves, one wrong combination.
Don't do this: Write $\dfrac{d}{dx}[uv] = u'v'$.
The correct way: The product rule has two terms added, not one term multiplied. Use $\dfrac{d}{dx}[uv] = u'v + uv'$. The first term differentiates the first factor and leaves the second alone; the second term does the reverse.
3. Dropping the negative sign on $\dfrac{d}{dx}[\cos x]$.
Where it slips in: The pattern $\dfrac{d}{dx}[\sin x] = \cos x$ feels symmetric, so the brain writes $\dfrac{d}{dx}[\cos x] = \sin x$. The sign disappears.
Don't do this: Drop the negative on cosine's derivative.
The correct way: $\dfrac{d}{dx}[\cos x] = -\sin x$. Memorise the negative as part of the formula, not as something to recover later.
4. Power rule confusion when the exponent is the variable.
Where it slips in: You see $2^x$ and apply the power rule, writing $x \cdot 2^{x-1}$.
Don't do this: Use the power rule on $a^x$.
The correct way: The power rule applies when the base is the variable ($x^n$). When the exponent is the variable ($a^x$), use the exponential rule: $\dfrac{d}{dx}[a^x] = a^x \cdot \ln a$.
Was this article helpful?
Your feedback helps us write better content



