Skip to content
Educora
AdvancedGrades 10–1125 min60 / 82

Increments and the definition of the derivative

Increments of the argument and of the function, the average rate of change and the secant, the idea of a limit as Δx → 0, the definition and notations of the derivative, a 3-step method for finding derivatives from the definition, and how differentiability is related to continuity.

Check yourself
In this lesson you will learn
  • Compute the increments Δx and Δf, the average rate of change and the slope of a secant for a given function
  • Explain how the secant turns into the tangent as Δx → 0 and state the definition of the derivative
  • Find the derivatives of a constant, kx + b, x², x³, 1/x, √x and ax² + bx + c from the definition in 3 steps
  • Recognise points where a function is not differentiable and explain how differentiability is related to continuity

Leyla is travelling by intercity bus. The bus covers 240 km in 3 hours, so its average speed is 80 km/h. Yet the speedometer never showed a steady 80: 0 at a traffic light, 90 on a straight road, 50 on a bend. Every moment has its own speed. The question “what is the speed at one particular moment?” led the mathematicians of the 17th century to the idea of the derivative. In this lesson we follow the same path step by step: first we learn to measure change (increments), then the average rate of change, and then what happens when the interval shrinks towards zero.

The increment of the argument and of the function

The derivative describes change, so first we learn to measure change. Let y = f(x) be a function and x₀ a point of its domain. The argument moves from x₀ to another value x, and the value of the function moves from f(x₀) to f(x). We write these changes with the Greek letter Δ (“delta”), which here means “difference”.

Definition
Increment of the argument

Δx = x − x₀, the difference between the new and the old value of the argument. Δx may be positive (a step to the right) or negative (a step to the left), but never zero.

Definition
Increment of the function

Δf = f(x₀ + Δx) − f(x₀), the difference between the new and the old value of the function. If Δf > 0 the function went up, if Δf < 0 it went down, and if Δf = 0 it did not change.

Δx = x − x₀ Δf = f(x₀ + Δx) − f(x₀)
where:
  • x₀the starting point (the old value of the argument)
  • x = x₀ + Δxthe new value of the argument
  • Δxthe increment of the argument, Δx ≠ 0
  • Δfthe increment of the function (also written Δy)

An increment is always “new value minus old value”, for the argument and for the function alike.

Picture it on the graph: you stand at the point A(x₀, f(x₀)) of the graph. First you take a horizontal step of Δx, then you climb vertically by Δf until you are back on the graph (if Δf < 0, you go down). This brings you to a second point of the graph, B(x₀ + Δx, f(x₀ + Δx)). Δx is the width of this “stair step” and Δf is its height.

Δxx₀ + Δxf(x₀ + Δx)Δf
2398
1243
0.51.52.251.25
−0.50.50.25−0.75
−100−1
f(x) = x², x₀ = 1, f(x₀) = 1. Note: when Δx is halved (from 1 to 0.5), Δf drops from 3 to 1.25, by more than half. On a curved graph Δf is not proportional to Δx. A negative Δx is a step to the left.
Computing increments

1) f(x) = 3x − 1, x₀ = 2, Δx = 0.5. Find Δf. 2) f(x) = x², and the argument moves from x₀ = 3 to x = 2. Find Δx and Δf. 3) For f(x) = x², express Δf in terms of x₀ and Δx.

Show solution
1) f(2) = 3 · 2 − 1 = 5, f(2.5) = 3 · 2.5 − 1 = 6.5.
Δf = 6.5 − 5 = 1.5. Note that 1.5 = 3 · 0.5: for a linear function Δf = k · Δx always holds.
2) Δx = 2 − 3 = −1 (a step to the left).
Δf = f(2) − f(3) = 4 − 9 = −5: the function decreased.
3) Δf = (x₀ + Δx)² − x₀² = x₀² + 2x₀Δx + (Δx)² − x₀² = 2x₀Δx + (Δx)².
Check: with x₀ = 3 and Δx = −1 we get 2 · 3 · (−1) + (−1)² = −6 + 1 = −5, the same as in part 2.

The average rate of change and the secant

An increment alone says little: you can cover 10 km in 5 minutes or in 5 hours. To know how fast something changes, we divide the increment of the function by the increment of the argument. The ratio Δf / Δx is the average rate of change: by how many units the function changes, on average, when the argument changes by 1 unit. Its unit is “unit of the function per unit of the argument”: km/h, cm per year, manat per month.

Δf / Δx = (f(x₀ + Δx) − f(x₀)) / ΔxΔf / Δx = (f(x₀ + Δx) − f(x₀)) / Δx
where:
  • Δf / ΔxΔf / Δxthe average rate of change between x₀ and x₀ + Δx
  • Δfthe increment of the function
  • Δxthe increment of the argument, Δx ≠ 0

The average rate of change. For a distance–time function it is the average speed: Δs / Δt.

Average rates in real life

1) At 10:00 the bus was at kilometre 70 of the road, and at 12:00 at kilometre 230. What was its average speed during these two hours? 2) Leyla was 148 cm tall at the age of 12 and 163 cm at 15. Find the average rate of her growth. 3) Find the average rate of change of f(x) = x² on [1, 3].

Show solution
1) Δt = 12 − 10 = 2 h, Δs = 230 − 70 = 160 km.
Average speed: Δs / Δt = 160 / 2 = 80 km/h.
2) Δt = 15 − 12 = 3 years, Δh = 163 − 148 = 15 cm.
Δh / Δt = 15 / 3 = 5 cm per year. This does not mean Leyla grew exactly 5 cm every year: some years more, some less. 5 cm per year is only the average.
3) x₀ = 1, Δx = 3 − 1 = 2, Δf = f(3) − f(1) = 9 − 1 = 8.
Δf / Δx = 8 / 2 = 4: on this interval the function grows on average by 4 units per unit of x.

Now the geometry. The straight line through the points A(x₀, f(x₀)) and B(x₀ + Δx, f(x₀ + Δx)) of the graph is called a secant (it “cuts” the graph in at least two points). From linear functions you know that the slope of a line through two points is “vertical difference over horizontal difference”. For A and B the vertical difference is Δf and the horizontal one is Δx. So the average rate of change is the slope of the secant: algebra and geometry say the same thing.

Definition
Secant

A straight line through two points of the graph of a function. Its slope equals the average rate of change between these two points, Δf / Δx.

k = (y₂ − y₁) / (x₂ − x₁) = Δf / Δxk = (y₂ − y₁) / (x₂ − x₁) = Δf / Δx
where:
  • (x₁, y₁), (x₂, y₂)two points of the graph (A and B)
  • kthe slope of the secant

The slope of a secant. If k > 0 the secant rises from left to right; if k < 0 it falls.

The slope of a secant

Find the slope of the secant: 1) through the points of the parabola y = x² with x-coordinates 1 and 3; 2) through the points of the same parabola with x-coordinates −1 and 2; 3) through the points of the hyperbola y = 1/x with x-coordinates 1 and 4; 4) the general case: through the points of y = x² with x-coordinates a and a + h.

Show solution
1) A(1, 1), B(3, 9): k = (9 − 1) / (3 − 1) = 8 / 2 = 4, the same as the average rate of change we found above.
2) A(−1, 1), B(2, 4): k = (4 − 1) / (2 − (−1)) = 3 / 3 = 1.
3) A(1, 1), B(4, 1/4): k = (1/4 − 1) / (4 − 1) = (−3/4) / 3 = −1/4 < 0, so the secant falls.
4) k = ((a + h)² − a²) / h = (2ah + h²) / h = 2a + h.
In the interactive graph below the second line is exactly this secant: y = (2a + h)(x − a) + a².

Δx → 0: from the secant to the tangent

An average speed describes a whole interval, but we want the speed at one moment. A natural idea: make the interval shorter and shorter. Let us compute for f(x) = x² and x₀ = 1. By the general formula above, Δf = 2x₀Δx + (Δx)² = 2Δx + (Δx)², so Δf / Δx = 2 + Δx. Now let Δx approach zero from the right and from the left:

ΔxΔfΔf / Δx
133
0.10.212.1
0.010.02012.01
0.0010.0020012.001
−0.001−0.0019991.999
−0.01−0.01991.99
−0.1−0.191.9
f(x) = x², x₀ = 1. As Δx approaches zero (through positive and through negative values), the average rate of change approaches 2.

The ratio gets as close to 2 as we like: the smaller Δx is, the smaller the gap between Δf / Δx and 2 (the gap is exactly Δx). Mathematicians write this as lim (Δx→0) Δf / Δx = 2 and read it: “the limit of Δf / Δx as Δx tends to zero is 2”. Note: Δx never becomes zero. With Δx = 0 we would get the meaningless expression 0 / 0. A limit answers the question “which number does the ratio approach?”, not “what is the ratio when Δx = 0?”.

The geometric picture is the same. As Δx shrinks, the point B slides along the graph towards A and the secant turns around A. In the limit it reaches a limiting position: the line tangent to the graph at A. The slope of the tangent is the limit of the slopes of the secants; in our example it is 2. The same holds for the bus: the average speeds over shorter and shorter time intervals approach the instantaneous speed that the speedometer shows.

Interactive
Loading simulation…
The first graph is y = x²; the second is the secant through the points with x-coordinates a and a + h: y = (2a + h)(x − a) + a², with slope 2a + h. Move the h slider towards zero: the secant turns around the point A and becomes the tangent, and its slope approaches 2a. With a negative h the point B lies to the left of A, and the result is the same. Change a to try other points.

The definition of the derivative

Definition
Derivative

The derivative of a function f at the point x₀ is the limit of the ratio of the increment of the function to the increment of the argument as Δx tends to zero (if this limit exists and is a finite number). It is written f′(x₀).

f′(x₀) = lim (Δx→0) Δf / Δx = lim (Δx→0) (f(x₀ + Δx) − f(x₀)) / Δxf′(x₀) = lim (Δx→0) Δf / Δx = lim (Δx→0) (f(x₀ + Δx) − f(x₀)) / Δx
where:
  • f′(x₀)the derivative at x₀, a number (read “f prime of x nought”)
  • lim (Δx→0)the limit as Δx tends to zero
  • Δf, Δxthe increments of the function and of the argument

The definition of the derivative: the derivative is the instantaneous rate of change, the limit of the average rate of change as Δx → 0. In geometric terms, it is the slope of the tangent.

Definition
Differentiable function, differentiation

If f′(x₀) exists (the limit exists and is finite), f is called differentiable at x₀. A function that is differentiable at every point of an interval is differentiable on that interval. The operation of finding a derivative is called differentiation.

The derivative has several notations: f′(x) (“f prime of x”), y′ (“y prime”) and dy/dx (“dee y by dee x”). The last one recalls the definition: a tiny Δy divided by a tiny Δx. An important idea: if we let the point x₀ vary, we get a number f′(x) for every x. So the derivative is a new function. For example, for f(x) = x² we have f′(x) = 2x (we prove it below): f′(1) = 2, f′(3) = 6, f′(−2) = −4, f′(0) = 0.

  1. 1
    1. The increment of the function

    Write Δf = f(x₀ + Δx) − f(x₀) and simplify: substitute the whole expression x₀ + Δx for x, expand the brackets and collect like terms. After a correct simplification every term contains the factor Δx.

  2. 2
    2. The ratio

    Form the ratio Δf / Δx and cancel Δx. With fractions, bring them to a common denominator first; with roots, multiply the numerator and the denominator by the conjugate expression.

  3. 3
    3. The limit

    In the simplified expression let Δx → 0: now you may put 0 in place of Δx. The number you get is f′(x₀). Write x instead of x₀ and you get the function f′(x).

A constant and a linear function

Use the definition to find the derivative: 1) f(x) = 7; 2) f(x) = kx + b (k and b are numbers); 3) f(x) = 5x − 2 and g(x) = −3x + 4.

Show solution
1) Δf = f(x + Δx) − f(x) = 7 − 7 = 0.
Δf / Δx = 0 / Δx = 0.
Limit: (7)′ = 0. A constant function does not change, so its rate of change is 0: C′ = 0.
2) Δf = (k(x + Δx) + b) − (kx + b) = kΔx.
Δf / Δx = k — the ratio does not depend on Δx at all.
Limit: (kx + b)′ = k. Every secant of a straight line is the line itself, so the derivative is simply its slope.
3) (5x − 2)′ = 5, (−3x + 4)′ = −3. A special case: (x)′ = 1.
x² and x³ from the definition

1) Use the definition to find the derivative of f(x) = x² at any point x, and compute f′(3). 2) For f(x) = x³ find f′(x), f′(1) and f′(−2).

Show solution
1) Δf = (x + Δx)² − x² = 2xΔx + (Δx)².
Δf / Δx = 2x + Δx.
Δx → 0: f′(x) = 2x, f′(3) = 2 · 3 = 6.
2) (x + Δx)³ = x³ + 3x²Δx + 3x(Δx)² + (Δx)³, so Δf = 3x²Δx + 3x(Δx)² + (Δx)³.
Δf / Δx = 3x² + 3xΔx + (Δx)².
Δx → 0: f′(x) = 3x²; f′(1) = 3, f′(−2) = 3 · 4 = 12.
f′(−2) > 0: at x = −2 the cubic is rising, although the function itself is negative there (f(−2) = −8).
1/x from the definition

Use the definition to find the derivative of f(x) = 1/x (x ≠ 0). Compute f′(2), f′(−1) and f′(1/2).

Show solution
1) Bring the fractions to a common denominator: Δf = 1/(x + Δx) − 1/x = (x − (x + Δx)) / (x(x + Δx)) = −Δx / (x(x + Δx)).
2) Δf / Δx = −1 / (x(x + Δx)).
3) Δx → 0: f′(x) = −1 / (x · x) = −1/x².
f′(2) = −1/4, f′(−1) = −1/1 = −1, f′(1/2) = −1 / (1/4) = −4.
The derivative is always negative: both branches of the hyperbola fall from left to right. At x = 0 the function is not defined, so there is no derivative there either.
√x and the conjugate

Use the definition to find the derivative of f(x) = √x (x > 0). Compute f′(4), f′(9) and f′(1).

Show solution
1) Δf = √(x + Δx) − √x.
2) Δf / Δx = (√(x + Δx) − √x) / Δx. We cannot cancel Δx directly, so we multiply the numerator and the denominator by the conjugate expression √(x + Δx) + √x.
Numerator: (√(x + Δx) − √x)(√(x + Δx) + √x) = (x + Δx) − x = Δx (difference of squares).
Δf / Δx = Δx / (Δx · (√(x + Δx) + √x)) = 1 / (√(x + Δx) + √x).
3) Δx → 0: f′(x) = 1 / (√x + √x) = 1 / (2√x).
f′(4) = 1 / (2 · 2) = 1/4, f′(9) = 1 / (2 · 3) = 1/6, f′(1) = 1/2.
The quadratic function ax² + bx + c

1) Use the definition to find the derivative of f(x) = ax² + bx + c. 2) With this formula compute f′(2) for f(x) = 3x² − 5x + 1 and g′(2) for g(x) = −x² + 4x.

Show solution
1) Δf = a(x + Δx)² + b(x + Δx) + c − (ax² + bx + c) = 2axΔx + a(Δx)² + bΔx.
Δf / Δx = 2ax + b + aΔx.
Δx → 0: (ax² + bx + c)′ = 2ax + b. The constant term c disappears: it only shifts the graph up or down and does not change its steepness.
2) f′(x) = 2 · 3x − 5 = 6x − 5, f′(2) = 12 − 5 = 7.
g′(x) = −2x + 4, g′(2) = 0. This is no accident: x = 2 is the x-coordinate of the vertex of the parabola (x = −b / (2a) = −4 / (−2) = 2), and at the vertex the parabola neither rises nor falls.

Differentiability and continuity

Recall: a function f is continuous at x₀ if Δf → 0 as Δx → 0, that is, a small change of the argument causes only a small change of the function. On the graph this means there is no break or jump at x₀: you can draw the graph there without lifting your pencil.

Theorem. A function that is differentiable at a point is continuous at that point. The proof takes one line: Δf = (Δf / Δx) · Δx. As Δx → 0 the first factor approaches the number f′(x₀) and the second approaches 0, so Δf → f′(x₀) · 0 = 0. The converse is false: a function can be continuous and still have no derivative. Here are two classic examples.

y = |x|: a corner

Does y = |x| have a derivative at x₀ = 0? Is the function continuous at this point?

Show solution
1) Δf = |0 + Δx| − |0| = |Δx|.
2) Δf / Δx = |Δx| / Δx. For Δx > 0 this ratio is 1 (e.g. Δx = 0.1: 0.1 / 0.1 = 1), and for Δx < 0 it is −1 (Δx = −0.1: 0.1 / (−0.1) = −1).
3) As Δx approaches zero from the right the ratio equals 1, from the left it equals −1. The two sides give different numbers, so the limit does not exist and f′(0) does not exist.
Continuity: Δf = |Δx| → 0, so the function is continuous at 0.
Geometric meaning: the secants on the right have slope 1, those on the left have slope −1. The graph bends sharply at 0 and forms a “corner”, where there is no tangent. At all other points the derivative exists: (|x|)′ = 1 for x > 0 and (|x|)′ = −1 for x < 0.
y = ∛x: a vertical tangent

Does y = ∛x have a derivative at x₀ = 0? Is the function continuous at this point?

Show solution
1) Δf = ∛(0 + Δx) − ∛0 = ∛Δx.
2) Δf / Δx = ∛Δx / Δx = 1 / (∛Δx)². In numbers: for Δx = 0.001, ∛Δx = 0.1 and the ratio is 1 / 0.01 = 100; for Δx = 0.000001, ∛Δx = 0.01 and the ratio is 10,000; for Δx = −0.001, ∛Δx = −0.1 and the ratio is again 100.
3) As Δx → 0 the ratio grows without bound (→ +∞). There is no finite limit, so f′(0) does not exist.
Continuity: Δf = ∛Δx → 0, so the function is continuous.
Geometric meaning: the secants get steeper and steeper and in the limit become a vertical line, the y-axis (x = 0). The graph has a tangent, but a vertical line has no slope. For the same reason y = √x is not differentiable at 0: there Δf / Δx = 1 / √Δx → +∞.
CaseExampleWhat happens as Δx → 0
A break (jump)f(x) = 0 for x < 0, f(x) = 1 for x ≥ 0; x₀ = 0from the left Δf = −1 and does not approach 0: the function is not continuous, so there is no derivative
A cornery = |x|, x₀ = 0Δf / Δx is 1 from the right and −1 from the left: no limit
A vertical tangenty = ∛x and y = √x, x₀ = 0Δf / Δx → +∞: no finite limit
Three typical situations in which a function has no derivative at x₀. In the last two the function is continuous: continuity does not guarantee differentiability.
Check yourself
  1. 1.For f(x) = x², x₀ = 2 and Δx = 0.5: Δf =
  2. 2.The average rate of change of f(x) = x² on [2, 5] is
  3. 3.For f(x) = 4x² − x + 3: f′(x) =
  4. 4.For f(x) = 1/x: f′(4) =
  5. 5.For f(x) = √x: f′(25) =
  6. 6.The derivative of y = |x| at x = −3 is

Finding derivatives from the definition shows you the “engine” of the derivative, but computing a limit every time is tiring. In the next lesson we study the geometric and physical meaning of the derivative and the equation of the tangent line; then come the table of derivatives and the rules for the derivative of a sum, a product and a quotient. These formulas are derived from the definition once and then used as ready-made tools.

Key points

  • Δx = x − x₀ is the increment of the argument and Δf = f(x₀ + Δx) − f(x₀) the increment of the function; both are “new value minus old value”.
  • Δf / Δx is the average rate of change and equals the slope of the secant through two points of the graph.
  • f′(x₀) = lim (Δx→0) Δf / Δx is the instantaneous rate of change; as Δx → 0 the secant turns into the tangent.
  • A derivative from the definition takes 3 steps: simplify Δf → cancel Δx in Δf / Δx → let Δx → 0.
  • From the definition: C′ = 0, (kx + b)′ = k, (x²)′ = 2x, (x³)′ = 3x², (1/x)′ = −1/x², (√x)′ = 1/(2√x), (ax² + bx + c)′ = 2ax + b.
  • A differentiable function is continuous, but not conversely: |x| (a corner) and ∛x (a vertical tangent) are continuous at 0 but not differentiable there.

Check yourself

12 questions. Every correct answer earns XP.

1 / 12
How is the increment of the argument Δx defined?