What Is The Limit Definition of Derivative?
The Limit Definition of Derivative is the formula that defines the derivative $f'(x)$ as the limit of an average rate of change over a shrinking interval. For a function $f$, the derivative at $x$ is
$$f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h},$$
provided this limit exists. The fraction inside is the difference quotient: it is the slope of the straight line (a secant) joining the two points $(x, f(x))$ and $(x+h, f(x+h))$ on the graph. As $h \to 0$ the second point slides toward the first, and the secant slope closes in on the slope of the tangent line at $x$.
There is a second, equivalent form that fixes the point and lets the input move toward it. The derivative at a specific point $a$ is
$$f'(a) = \lim_{x \to a} \frac{f(x) - f(a)}{x - a}.$$
Both forms say the same thing: a derivative is a limit of ordinary slopes. The first (the $h$-form) is the one you reach for when differentiating a general $x$; the second (the point form) is cleaner when you only want the slope at one fixed place. For the broader map of how this sits beside the limit machinery, see limits and derivatives.
Why Is A Limit Needed At All?
The honest question every student asks is: why not just measure the slope directly? Because a slope needs two points, and a single instant gives you only one. The difference quotient uses a second point a distance $h$ away, so it measures an average rate over the gap, not the rate at the instant. To get the instant, you have to close the gap.
But you cannot simply set $h = 0$. Do that and the difference quotient becomes
$$\frac{f(x+0) - f(x)}{0} = \frac{0}{0},$$
which is undefined. This $\frac{0}{0}$ form is an indeterminate form: the value depends entirely on how the top and bottom shrink together, and the naked expression cannot tell you. The limit is the tool that answers the real question, "what value is the quotient heading toward as $h$ gets small," without ever dividing by zero.
The way through is algebra. For a well-behaved function, the troublesome $h$ in the denominator cancels with an $h$ that appears in the numerator once you simplify. After the cancellation the expression is safe to evaluate, and then letting $h \to 0$ gives a finite answer. That single move, simplify first and take the limit last, is the whole method of first principles.
How Do You Differentiate From First Principles? Worked Examples
Each example follows the same three steps: write the difference quotient, simplify until the denominator's $h$ cancels, then take the limit as $h \to 0$. Every result is one you can check against the standard derivative of a function rules.
Example 1: Differentiate $f(x) = x^2$.
Set up the difference quotient and expand $(x+h)^2 = x^2 + 2xh + h^2$:
$$f'(x) = \lim_{h \to 0} \frac{(x+h)^2 - x^2}{h} = \lim_{h \to 0} \frac{x^2 + 2xh + h^2 - x^2}{h} = \lim_{h \to 0} \frac{2xh + h^2}{h}$$
Both terms on top carry a factor of $h$, so factor and cancel it against the denominator:
$$f'(x) = \lim_{h \to 0} \frac{h(2x + h)}{h} = \lim_{h \to 0} (2x + h) = 2x$$
Final answer: $f'(x) = 2x$.
Example 2: Differentiate $f(x) = x^3$.
Expand $(x+h)^3 = x^3 + 3x^2 h + 3x h^2 + h^3$, then subtract $x^3$:
$$f'(x) = \lim_{h \to 0} \frac{(x+h)^3 - x^3}{h} = \lim_{h \to 0} \frac{3x^2 h + 3x h^2 + h^3}{h}$$
Every surviving term has a factor of $h$. Cancel it:
$$f'(x) = \lim_{h \to 0} \left(3x^2 + 3x h + h^2\right) = 3x^2$$
Final answer: $f'(x) = 3x^2$.
Example 3: Differentiate $f(x) = \dfrac{1}{x}$.
Here the numerator is a difference of fractions, so combine it over a common denominator first:
$$f'(x) = \lim_{h \to 0} \frac{\frac{1}{x+h} - \frac{1}{x}}{h} = \lim_{h \to 0} \frac{1}{h} \cdot \frac{x - (x+h)}{x(x+h)} = \lim_{h \to 0} \frac{1}{h} \cdot \frac{-h}{x(x+h)}$$
The $\frac{-h}{h}$ cancels to $-1$, leaving an expression that is safe at $h = 0$:
$$f'(x) = \lim_{h \to 0} \frac{-1}{x(x+h)} = \frac{-1}{x \cdot x} = -\frac{1}{x^2}$$
Final answer: $f'(x) = -\dfrac{1}{x^2}$.
Example 4: Differentiate $f(x) = \sqrt{x}$.
There is no obvious $h$ to cancel, so rationalize the numerator by multiplying by the conjugate $\sqrt{x+h} + \sqrt{x}$:
$$f'(x) = \lim_{h \to 0} \frac{\sqrt{x+h} - \sqrt{x}}{h} \cdot \frac{\sqrt{x+h} + \sqrt{x}}{\sqrt{x+h} + \sqrt{x}} = \lim_{h \to 0} \frac{(x+h) - x}{h\left(\sqrt{x+h} + \sqrt{x}\right)}$$
The numerator collapses to $h$, which cancels the denominator's $h$:
$$f'(x) = \lim_{h \to 0} \frac{1}{\sqrt{x+h} + \sqrt{x}} = \frac{1}{\sqrt{x} + \sqrt{x}} = \frac{1}{2\sqrt{x}}$$
Final answer: $f'(x) = \dfrac{1}{2\sqrt{x}}$ (valid for $x > 0$).
Example 5: Differentiate a constant $f(x) = c$.
A constant function never changes, so its difference quotient is zero before any limit is taken:
$$f'(x) = \lim_{h \to 0} \frac{c - c}{h} = \lim_{h \to 0} \frac{0}{h} = \lim_{h \to 0} 0 = 0$$
Final answer: $f'(x) = 0$. A flat line has slope zero everywhere, exactly as the picture demands.
Table: First-principles results for the standard building-block functions.
Function $f(x)$ | Difference quotient after cancelling $h$ | Derivative $f'(x)$ |
|---|---|---|
$c$ (constant) | $0$ | $0$ |
$x^2$ | $2x + h$ | $2x$ |
$x^3$ | $3x^2 + 3xh + h^2$ | $3x^2$ |
$\dfrac{1}{x}$ | $\dfrac{-1}{x(x+h)}$ | $-\dfrac{1}{x^2}$ |
$\sqrt{x}$ | $\dfrac{1}{\sqrt{x+h} + \sqrt{x}}$ | $\dfrac{1}{2\sqrt{x}}$ |
Notice the pattern in the two power cases: $x^2 \to 2x$ and $x^3 \to 3x^2$. The exponent drops by one and jumps to the front. That is the power rule, and first principles is where it comes from.
How Does First Principles Prove The Power Rule?
The results $x^2 \to 2x$ and $x^3 \to 3x^2$ are not coincidences. Take a general power $f(x) = x^n$ for a positive whole number $n$ and expand $(x+h)^n$ with the binomial theorem:
$$(x+h)^n = x^n + n,x^{n-1}h + \binom{n}{2}x^{n-2}h^2 + \cdots + h^n$$
Subtract $x^n$ and the leading term is gone. Every remaining term still contains at least one factor of $h$, so divide through:
$$\frac{(x+h)^n - x^n}{h} = n,x^{n-1} + \binom{n}{2}x^{n-2}h + \cdots + h^{n-1}$$
Now take the limit. Every term except the first still carries a factor of $h$, so each one vanishes as $h \to 0$, leaving
$$f'(x) = \lim_{h \to 0}\left[n,x^{n-1} + \binom{n}{2}x^{n-2}h + \cdots\right] = n,x^{n-1}.$$
That is the power rule in full, derived from nothing but the limit definition and the binomial expansion. The rule you later use in one line is a shortcut for this limit, which is why the shortcuts are trustworthy: each is a theorem proved once from first principles so you never have to repeat the limit.
What Is The One-Sided Version, And When Does A Derivative Not Exist?
The limit in the definition is a two-sided limit, so it requires the difference quotient to approach the same value whether $h$ shrinks from the positive side or the negative side. When the two sides disagree, the derivative does not exist, even if the function is continuous. That is where one-sided derivatives come in:
$$f'_+(x) = \lim_{h \to 0^+} \frac{f(x+h)-f(x)}{h}, \qquad f'_-(x) = \lim_{h \to 0^-} \frac{f(x+h)-f(x)}{h}.$$
The clean counterexample is the absolute-value function $f(x) = |x|$ at $x = 0$. Approaching from the right, where $|h| = h$:
$$f'_+(0) = \lim_{h \to 0^+} \frac{|0+h|-|0|}{h} = \lim_{h \to 0^+} \frac{h}{h} = 1.$$
Approaching from the left, where $|h| = -h$:
$$f'_-(0) = \lim_{h \to 0^-} \frac{|h|}{h} = \lim_{h \to 0^-} \frac{-h}{h} = -1.$$
Since $1 \neq -1$, the two-sided limit fails and $f'(0)$ does not exist. Geometrically, the graph of $|x|$ has a sharp corner at the origin: there is no single tangent line, because the slope on the left is $-1$ and on the right is $+1$. A function can be perfectly continuous and still fail to be differentiable at such a point, which is the heart of differentiability of a function.
Why Does The Limit Definition of Derivative Work?
The definition works because it turns an impossible measurement into a limit of possible ones. You cannot measure a rate at a single frozen instant directly, but you can measure the average rate over a tiny interval, and you can watch where those averages head.
The secant becomes the tangent. Each difference quotient is a real secant slope you could compute by hand. As the second point slides in, the secants rotate, and their limiting position is the tangent line. The derivative is that limiting slope.
Cancelling $h$ removes the fake singularity. The $\frac{0}{0}$ at $h = 0$ is not a true break in the function; it is an artefact of writing the average with a denominator. Simplifying cancels the $h$ and reveals the value hiding behind it.
The limit encodes "instantaneous." Speed, growth, and current are all rates that only make sense in the limit of a vanishing time step. The definition is the mathematical form of the phrase "at this exact moment."
Seen this way, the difference quotient and the derivative are two ends of one idea: the difference quotient is the average rate, and the derivative is what it converges to.
Who Shaped The Limit Behind The Derivative?
The derivative was used for nearly two centuries before anyone defined the limit that makes it rigorous. The idea arrived through intuition first, and the careful foundation came last.
Two of the founders left their mark on the notation:
Gottfried Wilhelm Leibniz (1646–1716, Germany) introduced the $\frac{dy}{dx}$ notation, which still pictures the derivative as a ratio of tiny changes.
Joseph-Louis Lagrange (1736–1813, Italy and France) introduced the prime notation $f'(x)$ used throughout this article, and pushed for a derivative defined by algebra rather than by geometry or motion.
Where Is The Limit Definition of Derivative Used In The Real World?
The limit definition is the reason "instantaneous rate" is a well-defined quantity across the sciences, not just a figure of speech.
Physics and motion: instantaneous velocity is the derivative of position, defined as the limit of average velocity over a shrinking time interval. Acceleration is the same limit applied to velocity.
Engineering: the rate at which a signal, temperature, or current changes at an instant is a derivative, computed as a limit of measured differences over shorter and shorter samples.
Economics: marginal cost and marginal revenue are derivatives of total cost and revenue, the limit of "cost of one more unit" as the extra quantity shrinks toward zero.
Biology and medicine: growth rates of populations and the rate a drug concentration falls in the blood are instantaneous rates defined by exactly this limit.
Computing and graphics: numerical differentiation approximates the difference quotient with a small fixed $h$, so the definition is quite literally the formula a computer evaluates.
One limit gives every field a rigorous meaning for "how fast, right now," which is why the difference quotient sits under so much applied mathematics.
What Are The Most Common Mistakes With The Limit Definition of Derivative?
These three errors account for most lost marks on first-principles questions, and each matches a question real students ask on r/learnmath, r/calculus, and course common-error handouts.
Substituting $h = 0$ before simplifying.
Where it slips in:
A student writes the difference quotient and immediately sets $h = 0$, producing $\frac{f(x) - f(x)}{0} = \frac{0}{0}$ and concluding the answer is $0$ or that the derivative fails to exist.
Don't do this:
Do not evaluate at $h = 0$ while $h$ is still in the denominator. The $\frac{0}{0}$ form is indeterminate, not zero.
The correct way:
Simplify first. Expand or rationalize the numerator, cancel the shared factor of $h$ against the denominator, and only then let $h \to 0$. The limit is taken last, never first.
Expanding $(x+h)^n$ incorrectly.
Where it slips in:
A student writes $(x+h)^2 = x^2 + h^2$ or $(x+h)^3 = x^3 + h^3$, dropping the cross terms, so the $h$ in the numerator never appears and nothing cancels.
Don't do this:
Do not treat $(x+h)^n$ as $x^n + h^n$. The middle terms are exactly the ones that survive the limit.
The correct way:
Expand fully: $(x+h)^2 = x^2 + 2xh + h^2$ and $(x+h)^3 = x^3 + 3x^2h + 3xh^2 + h^3$. The cross term $2xh$ or $3x^2h$ is what becomes the derivative after the constant $x^n$ cancels.
Dropping the limit symbol partway through.
Where it slips in:
A student stops writing $\lim_{h \to 0}$ after the first line, then treats a later expression that still contains $h$ as if it were the final answer.
Don't do this:
Do not discard the $\lim_{h \to 0}$ while $h$ still appears. An expression like $2x + h$ is not the derivative; it is the simplified quotient waiting for the limit.
The correct way:
Carry $\lim_{h \to 0}$ on every line until the $h$-terms are gone, then apply it. Only when substituting $h = 0$ is finally safe does the limit resolve to $f'(x)$.
Practice Problems On The Limit Definition of Derivative
Differentiate each function from first principles, then check against the answer. Answers are verified.
$f(x) = 5x + 2$.
(Answer: quotient is $\frac{5h}{h} = 5$, so $f'(x) = 5$.)$f(x) = x^2 - 3x$.
(Answer: quotient simplifies to $2x - 3 + h$, so $f'(x) = 2x - 3$.)$f(x) = \dfrac{1}{x^2}$.
(Answer: $f'(x) = -\dfrac{2}{x^3}$.)$f(x) = \sqrt{x + 1}$.
(Answer: rationalize to get $f'(x) = \dfrac{1}{2\sqrt{x+1}}$.)Find $f'(3)$ for $f(x) = x^2$ using the point form $\lim_{x \to a}\frac{f(x)-f(a)}{x-a}$.
(Answer: $\frac{x^2 - 9}{x - 3} = x + 3 \to 6$, so $f'(3) = 6$.)Show $f(x) = |x - 2|$ has no derivative at $x = 2$.
(Answer: right slope $+1$, left slope $-1$; they differ, so $f'(2)$ does not exist.)
Where Should You Go Next After The Limit Definition of Derivative?
The limit definition is the foundation, and several natural doors open from here.
Definition of the derivative. Consolidate the formal statement and the notation before layering rules on top.
Limit of a function. Strengthen the limit machinery the whole definition rests on, including one-sided limits.
Power rule. Move from the slow limit to the fast shortcut you just proved from first principles.
If your child is meeting the limit definition for the first time, a live Bhanzu trainer teaches it from the secant-to-tangent picture up, so the cancelling step feels natural, through the Bhanzu math program.
Was this article helpful?
Your feedback helps us write better content
