What Is a Derivative? The Limit Definition Explained
A derivative measures instantaneous rate of change: the slope of a curve at a single point. See how it comes from the slope of a secant line, compute derivatives from the limit definition, and interpret them as velocity.
Before you read this
What you'll learn
- What a derivative measures, both geometrically and as a rate of change
- How the slope of a secant line becomes the slope of a tangent line
- How to compute a derivative from the limit definition
- How to find the equation of a tangent line
- How to interpret a derivative as velocity when the function gives position
Introduction
A derivative measures how fast a function is changing at one exact input. On a graph, it's the slope of the curve at a single point. A straight line has the same slope everywhere, but a curve's steepness keeps changing, and the derivative tells you the steepness at each point.
Why this matters
Speed is a derivative. Your car's speedometer doesn't show your average speed over the whole trip. It shows how fast your position is changing right now. The same idea measures the rate a population is growing, how quickly a medicine's concentration drops, or how a company's cost changes when it produces one more item. Derivatives also find the highest and lowest points of a curve, which is how optimization problems are solved.
The concept
From average to instantaneous
You already know how to find the slope between two points: rise over run. For a function , the slope between the points at and is the average rate of change over that interval:
This expression is called the difference quotient. The line through those two points is a secant line.
To get the slope at one point, slide the second point closer and closer to the first by making smaller and smaller. The secant lines approach a single line that just touches the curve at that point, called the tangent line. The slope of the tangent line is the derivative.
Example — Watching the secant slopes settle down
Take at , where . Here's the difference quotient for smaller and smaller values of :
| Secant slope | ||
|---|---|---|
| 1 | 16 | 7 |
| 0.1 | 9.61 | 6.1 |
| 0.01 | 9.0601 | 6.01 |
| 0.001 | 9.006001 | 6.001 |
The slopes are closing in on 6. That's the derivative of at .
The limit definition
The table suggests the answer, but a limit lets us find it exactly.
Definition — The derivative
The derivative of at , written , is
The derivative exists only when this limit exists. The notation means "the value this expression approaches as gets closer and closer to 0." You can't simply substitute , because that gives . Instead, simplify the expression algebraically until the in the denominator cancels, and then let go to 0.
Example — The table, confirmed exactly
For at :
As , the expression approaches 6. So , exactly what the table suggested.
Notation
The derivative of is written in several equivalent ways: (read "f prime of x"), , or . The last one, called Leibniz notation, is a reminder that a derivative is a small change in divided by a small change in .
Try it
Drag the point along the curve below. The tangent line and its slope update as you move, and the slope at each point is the value of the derivative there. Try changing the function too.
Derivative Explorer
Point of tangency
f(x), with tangent line at x = a
Derivative graph — linked to the graph above; panning or zooming either moves both
What's happening at x = a
- At x = 1, f(x) ≈ 1 — the point (1, 1).
- The derivative there is f'(1) ≈ 2: the slope of the tangent line, and the instantaneous rate of change of f at this exact point.
- That slope is positive, so f is increasing at this point.
- The second derivative is positive here, so f is concave up (curving upward) near this point.
- Near x = 1, the tangent line y ≈ 1 + 2·(x − 1) is f's best straight-line approximation — the core idea a derivative captures.
Numerical derivative comparison
| h | Forward | Backward | Central |
|---|---|---|---|
| 1 | 3 | 1 | 2 |
| 0.1 | 2.1 | 1.9 | 2 |
| 0.01 | 2.01 | 1.99 | 2 |
| 0.001 | 2.001 | 1.999 | 2 |
Analysis of f(x)
- y-intercept
- (0, 0)
- x-intercepts
- (0, 0)
- Extrema
- local min at (0, 0)
- Inflection points
- none found in view
- Vertical asymptotes
- none found in view
- Horizontal asymptotes
- none found
- Domain
- all real numbers in view
- Range (estimated)
- approximately [0, 100]
Analysis of f'(x) — its roots are f's critical points
- y-intercept
- (0, 0)
- x-intercepts
- (0, 0)
- Extrema
- none found in view
- Inflection points
- (-10, -20), (-9.92, -19.84), (-9.88, -19.76), (-9.76, -19.52), (-9.72, -19.44), (-9.64, -19.28), (-9.6, -19.2), (-9.54, -19.08), (-9.52, -19.04), (-9.48, -18.96), (-9.42, -18.84), (-9.4, -18.8), (-9.35, -18.69), (-9.3, -18.6), (-9.25, -18.51), (-9.24, -18.48), (-9.13, -18.25), (-9.12, -18.24), (-9.06, -18.12), (-9, -18), (-8.91, -17.82), (-8.88, -17.76), (-8.76, -17.52), (-8.66, -17.32), (-8.64, -17.28), (-8.6, -17.2), (-8.56, -17.12), (-8.49, -16.98), (-8.42, -16.84), (-8.4, -16.8), (-8.3, -16.6), (-8.28, -16.56), (-8.24, -16.48), (-8.2, -16.4), (-8.15, -16.3), (-8.12, -16.24), (-8.06, -16.12), (-8.03, -16.06), (-8, -16), (-7.94, -15.87), (-7.82, -15.64), (-7.76, -15.52), (-7.7, -15.39), (-7.67, -15.34), (-7.64, -15.28), (-7.57, -15.14), (-7.56, -15.11), (-7.5, -15), (-7.44, -14.88), (-7.39, -14.78), (-7.3, -14.61), (-7.25, -14.51), (-7.21, -14.42), (-7.2, -14.4), (-7.12, -14.24), (-6.93, -13.87), (-6.92, -13.83), (-6.88, -13.76), (-6.81, -13.62), (-6.8, -13.6), (-6.76, -13.52), (-6.66, -13.32), (-6.64, -13.28), (-6.59, -13.18), (-6.56, -13.12), (-6.5, -13), (-6.38, -12.76), (-6.33, -12.66), (-6.32, -12.64), (-6.25, -12.49), (-6.24, -12.48), (-6.14, -12.28), (-6.11, -12.22), (-6.08, -12.16), (-6, -12.01), (-6, -12), (-5.92, -11.84), (-5.86, -11.72), (-5.83, -11.66), (-5.76, -11.52), (-5.69, -11.38), (-5.68, -11.36), (-5.6, -11.2), (-5.6, -11.2), (-5.56, -11.12), (-5.52, -11.04), (-5.47, -10.94), (-5.44, -10.88), (-5.34, -10.68), (-5.28, -10.56), (-5.24, -10.48), (-5.16, -10.32), (-5.11, -10.22), (-5.01, -10.03), (-5, -10), (-4.89, -9.78), (-4.87, -9.74), (-4.84, -9.68), (-4.78, -9.56), (-4.76, -9.52), (-4.72, -9.44), (-4.66, -9.32), (-4.6, -9.2), (-4.56, -9.12), (-4.5, -9), (-4.44, -8.88), (-4.38, -8.76), (-4.32, -8.64), (-4.28, -8.56), (-4.22, -8.44), (-4.12, -8.24), (-4.08, -8.16), (-4.02, -8.04), (-3.94, -7.88), (-3.92, -7.84), (-3.84, -7.68), (-3.8, -7.6), (-3.76, -7.52), (-3.49, -6.99), (-3.43, -6.86), (-3.38, -6.76), (-3.33, -6.66), (-3.32, -6.64), (-3.28, -6.56), (-3.24, -6.48), (-3.16, -6.32), (-3.08, -6.16), (-3.02, -6.04), (-3, -6), (-2.92, -5.84), (-2.86, -5.72), (-2.84, -5.68), (-2.76, -5.52), (-2.69, -5.39), (-2.66, -5.32), (-2.64, -5.28), (-2.6, -5.2), (-2.54, -5.08), (-2.52, -5.04), (-2.48, -4.96), (-2.43, -4.86), (-2.36, -4.73), (-2.31, -4.62), (-2.26, -4.52), (-2.24, -4.48), (-2.2, -4.4), (-2.12, -4.24), (-2.07, -4.14), (-2.04, -4.08), (-1.96, -3.92), (-1.85, -3.7), (-1.82, -3.64), (-1.77, -3.55), (-1.68, -3.36), (-1.6, -3.2), (-1.5, -3), (-1.4, -2.8), (-1.32, -2.64), (-1.2, -2.4), (-1.15, -2.3), (-1.1, -2.2), (-1.08, -2.16), (-1.02, -2.04), (-1, -2), (-0.93, -1.86), (-0.92, -1.84), (-0.86, -1.72), (-0.8, -1.6), (-0.69, -1.39), (-0.64, -1.27), (-0.49, -0.98), (-0.48, -0.96), (-0.41, -0.82), (-0.33, -0.66), (-0.31, -0.61), (-0.24, -0.48), (-0.2, -0.4), (-0.12, -0.24), (-0.08, -0.16), (-0.04, -0.08), (0, 0), (0.04, 0.08), (0.08, 0.16), (0.16, 0.33), (0.2, 0.4), (0.24, 0.48), (0.31, 0.61), (0.33, 0.66), (0.41, 0.82), (0.48, 0.96), (0.64, 1.27), (0.69, 1.39), (0.82, 1.64), (0.85, 1.7), (0.92, 1.84), (0.98, 1.96), (1.02, 2.04), (1.04, 2.08), (1.08, 2.16), (1.19, 2.37), (1.2, 2.4), (1.31, 2.62), (1.32, 2.64), (1.37, 2.75), (1.4, 2.8), (1.5, 3), (1.6, 3.2), (1.65, 3.3), (1.68, 3.36), (1.77, 3.55), (1.82, 3.64), (1.87, 3.74), (1.96, 3.91), (2.04, 4.07), (2.04, 4.08), (2.14, 4.28), (2.18, 4.36), (2.2, 4.4), (2.24, 4.48), (2.28, 4.56), (2.38, 4.76), (2.4, 4.8), (2.46, 4.92), (2.48, 4.96), (2.52, 5.04), (2.6, 5.2), (2.72, 5.44), (2.76, 5.52), (2.8, 5.6), (2.84, 5.68), (2.92, 5.84), (3, 5.99), (3, 6), (3.08, 6.16), (3.14, 6.28), (3.16, 6.32), (3.2, 6.4), (3.24, 6.48), (3.32, 6.64), (3.4, 6.8), (3.46, 6.92), (3.7, 7.4), (3.76, 7.52), (3.81, 7.62), (3.84, 7.68), (3.9, 7.8), (3.92, 7.84), (4.02, 8.04), (4.06, 8.12), (4.08, 8.16), (4.12, 8.24), (4.22, 8.44), (4.28, 8.56), (4.32, 8.64), (4.38, 8.76), (4.4, 8.8), (4.44, 8.88), (4.48, 8.96), (4.56, 9.12), (4.6, 9.2), (4.72, 9.44), (4.76, 9.52), (4.83, 9.67), (4.84, 9.68), (4.88, 9.76), (4.94, 9.88), (5, 10), (5.04, 10.08), (5.12, 10.24), (5.16, 10.32), (5.22, 10.44), (5.24, 10.48), (5.28, 10.56), (5.38, 10.76), (5.4, 10.8), (5.44, 10.88), (5.5, 11), (5.52, 11.04), (5.56, 11.12), (5.6, 11.2), (5.68, 11.36), (5.75, 11.51), (5.76, 11.52), (5.92, 11.84), (6, 11.99), (6, 12), (6.09, 12.18), (6.21, 12.42), (6.24, 12.48), (6.32, 12.64), (6.39, 12.78), (6.5, 13), (6.64, 13.28), (6.69, 13.37), (6.72, 13.44), (6.96, 13.92), (7, 14.01), (7.1, 14.2), (7.17, 14.35), (7.2, 14.4), (7.44, 14.88), (7.5, 15), (7.54, 15.09), (7.57, 15.14), (7.64, 15.28), (7.7, 15.39), (7.73, 15.46), (7.77, 15.54), (7.82, 15.64), (7.96, 15.92), (8.06, 16.12), (8.11, 16.22), (8.12, 16.24), (8.2, 16.4), (8.24, 16.48), (8.28, 16.56), (8.4, 16.8), (8.44, 16.88), (8.49, 16.98), (8.58, 17.15), (8.6, 17.2), (8.64, 17.28), (8.72, 17.44), (8.76, 17.52), (8.87, 17.73), (8.88, 17.76), (8.92, 17.84), (9, 18), (9.09, 18.18), (9.24, 18.48), (9.35, 18.69), (9.4, 18.8), (9.48, 18.96), (9.52, 19.04), (9.64, 19.27), (9.64, 19.28), (9.7, 19.4), (9.76, 19.52), (9.85, 19.7), (9.92, 19.84), (9.97, 19.94), (10, 20)
- Vertical asymptotes
- none found in view
- Horizontal asymptotes
- none found
- Domain
- all real numbers in view
- Range (estimated)
- approximately [-20, 20]
Worked examples
Example — Worked example 1: the derivative of a line
Problem: Use the limit definition to find the derivative of .
Step 1: .
Step 2: Substitute into equation (2):
Step 3: The expression is 3 for every , so the limit is 3.
Answer: . This makes sense: a line has the same slope everywhere, and the slope of this line is 3.
Example — Worked example 2: a general formula
Problem: Find the derivative of , then evaluate it at .
Step 1: Expand :
Step 2: Subtract . The and terms cancel:
Step 3: Divide by , then take the limit:
Step 4: .
Answer: , and . At , the curve is falling with slope .
Example — Worked example 3: the tangent line
Problem: Find the equation of the tangent line to at .
Step 1: The point of tangency is .
Step 2: The slope is , found above.
Step 3: Use point-slope form, :
Answer:
Example — Worked example 4: velocity
Problem: A ball is thrown straight up. Its height after seconds is meters. How fast is it moving at second, and when does it reach the top?
Step 1: Expand :
Step 2: Subtract and divide by :
Step 3: As , this approaches . This is the velocity, in meters per second.
Step 4: At : meters per second, moving upward.
Step 5: At the top of its flight, the ball stops rising for an instant, so its velocity is 0. Solve to get seconds. Its height then is meters.
Answer: 10 m/s upward at . It reaches its highest point, 20 meters, at .
Note — Where a derivative doesn't exist
A function has no derivative at a point where its graph has a sharp corner. For at , the secant slopes from the right are all and from the left are all . They don't approach a single number, so the limit in equation (2) doesn't exist. A function also has no derivative where it isn't continuous, such as at a jump or a gap.
Common mistakes
Warning — Substituting h = 0 too early
Putting into the difference quotient right away always gives , which tells you nothing. Simplify first until the in the denominator cancels. Only then let .
Warning — Expanding a squared sum incorrectly
is , not . Missing the middle term makes the derivative of come out as 0, which can't be right for a curve that clearly isn't flat.
Warning — Confusing f'(x) with f'(a)
is a function that gives the slope at any point. is a number, the slope at one specific point. The tangent line at needs the number, not the function.
Practice questions
-
Use the limit definition to find the derivative of .
Show answer
. The difference quotient is , which approaches as .
-
Use the limit definition to find the derivative of .
Show answer
. Combine the fractions in the numerator over a common denominator first:
Dividing by gives , which approaches as .
-
An object's position is meters after seconds. What is its velocity at ?
Show answer
11 meters per second. The limit definition gives , and .
-
Find the equation of the tangent line to at .
Show answer
. The point is , and from worked example 2 the slope is . Then , which simplifies to .
Summary
- The derivative is the instantaneous rate of change of : the slope of the tangent line at .
- It's the limit of secant slopes: .
- To compute it, expand, cancel, divide out , and only then let .
- If is position, is velocity, and velocity is zero at a highest or lowest point.
Computing every derivative from the limit definition is slow. The power rule is a shortcut that handles all of the examples above in one line. For more practice, see the difference quotient lesson and the interpreting the derivative lesson in the Calculus curriculum.