TOPIC
Definition of derivativeMY PROGRESS
Pug Score
0%
Getting Started
"Let's build your foundation!"
Best Streak
0 in a row
Study Points
+0
Overview
Practice
Watch
Read
Quiz
Next Steps
Get Started
Get unlimited access to all videos, practice problems, and study tools.
Back to Menu
Topic Progress
Pug Score
0%
Getting Started
"Let's build your foundation!"
Videos Watched
0/0
Best Practice
No score
Read
Not viewed
Best Quiz
No attempts
Best Streak
0 in a row
Study Points
+0
Overview
Practice
Watch
Read
Quiz
Next Steps
Read
Definition of Derivative: The Limit Definition Formula
The definition of derivative describes the instantaneous rate of change of a function, built from the limit of a difference quotient as the interval shrinks to zero. This page walks through the formula, why it works, and how to apply it to real functions with worked examples.
What Is the Definition of a Derivative?
The definition of derivative is the formal way calculus describes how fast a function is changing at a single, specific point. Instead of asking "how much did y change over this interval?" like an average rate of change, the derivative asks "what is happening at this exact instant?" That question only makes sense because of limits: we shrink the interval down until it has essentially zero width, and see what value the rate of change is approaching.
This is the idea behind the phrase "instantaneous rate of change." Before limits, mathematicians could only compute average rates of change over an interval. The definition of derivative solves that problem by using a limit to make the interval infinitesimally small.
The Limit Definition of the Derivative
The formal, limit-based definition of the derivative of a function \(f(x)\) at a point \(x\) is:
\( f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h} \)
The expression \( \frac{f(x+h) - f(x)}{h} \) is called the difference quotient. It measures the average rate of change of \(f\) between the points \(x\) and \(x+h\). As \(h\) gets closer and closer to \(0\), those two points get closer together, and the average rate of change turns into the instantaneous rate of change at \(x\).
You may also see the definition written in terms of a fixed point \(a\) and a moving variable \(x\):
\( f'(a) = \lim_{x \to a} \frac{f(x) - f(a)}{x - a} \)
Both versions say the same thing. They just use different letters for the "shrinking gap" between two points on the curve.
Why the Limit Definition Matters
Geometrically, the difference quotient is the slope of a secant line, a line cutting through two points on the graph of \(f\). As \(h \to 0\), that secant line rotates and settles into the tangent line at the single point \(x\). So the derivative \(f'(x)\) is exactly the slope of the tangent line at \(x\). This is why the limit definition is often called the "difference quotient" or "first principles" approach: it builds the derivative from the geometry of a tangent line rather than from memorized shortcut rules.
Step-by-Step Example: Derivative of \(f(x) = x^2\)
Let's use the limit definition on \(f(x) = x^2\).
Start with the definition: \( f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h} \)
Substitute \(f(x+h) = (x+h)^2\) and \(f(x) = x^2\):
\( f'(x) = \lim_{h \to 0} \frac{(x+h)^2 - x^2}{h} \)
Expand \((x+h)^2 = x^2 + 2xh + h^2\), so the numerator becomes \(2xh + h^2\):
\( f'(x) = \lim_{h \to 0} \frac{2xh + h^2}{h} \)
Factor out an \(h\) from the numerator and cancel it with the \(h\) in the denominator (this is allowed because \(h \ne 0\) as it approaches, but never equals, zero):
\( f'(x) = \lim_{h \to 0} (2x + h) \)
Now the limit is easy to evaluate by letting \(h \to 0\):
\( f'(x) = 2x \)
So the derivative of \(f(x) = x^2\) is \(2x\). At \(x = 1\), the slope of the tangent line is \(2(1) = 2\), matching the curve shown below.
Another Example: Derivative of \(f(x) = \sqrt{x}\)
The limit definition also works for functions that are not polynomials, though the algebra usually needs a trick like rationalizing.
\( f'(x) = \lim_{h \to 0} \frac{\sqrt{x+h} - \sqrt{x}}{h} \)
Multiply the numerator and denominator by the conjugate \(\sqrt{x+h} + \sqrt{x}\):
\( f'(x) = \lim_{h \to 0} \frac{(x+h) - x}{h\left(\sqrt{x+h} + \sqrt{x}\right)} = \lim_{h \to 0} \frac{h}{h\left(\sqrt{x+h} + \sqrt{x}\right)} \)
Cancel the \(h\):
\( f'(x) = \lim_{h \to 0} \frac{1}{\sqrt{x+h} + \sqrt{x}} \)
Now let \(h \to 0\):
\( f'(x) = \frac{1}{2\sqrt{x}} \)
At \(x = 4\), this gives \(f'(4) = \frac{1}{2\sqrt{4}} = \frac{1}{4}\), the slope of the tangent line where the curve crosses \(a = 4\) below.
Common Mistakes When Using the Definition
A few errors show up again and again when students first work with the limit definition:
Plugging in \(h = 0\) too early. The whole point of the definition is that you simplify the difference quotient algebraically first, so the \(h\) in the denominator cancels, and only then let \(h \to 0\).
Expanding \((x+h)^2\) incorrectly. Remember it equals \(x^2 + 2xh + h^2\), not \(x^2 + h^2\).
Forgetting that the definition finds a general formula for \(f'(x)\), not just a single number, unless you are told to evaluate the derivative at one specific point.
From the Definition to Derivative Rules
Working through the limit definition by hand for every function would be slow, so calculus develops shortcut rules built from this exact definition, such as the power rule, product rule, and the chain rule for composite functions. Once a function's derivative is known, you can also take the derivative again to study higher order derivatives, which describe how the rate of change itself is changing. Every one of these shortcuts still traces back to the same limit definition covered here.