Chapter 4: Definition of the Derivative

The Derivative at a Point and the Derivative Function

日本語版

4.1 The Derivative at a Point

Building on the groundwork laid so far, we now give the formal definition of the derivative.

Definition: The Derivative at a Point

The derivative of a function $f(x)$ at $x = a$ is defined by the following limit:

$$f'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}$$

When this limit exists, we say that $f(x)$ is differentiable at $x = a$.

As shown in Figure 1, the derivative $f'(a)$ represents the slope of the tangent line to the curve $y = f(x)$ at the point $(a, f(a))$.

The meaning of f'(a): the slope of the tangent line to the curve y=f(x) at the point (a, f(a)).
Figure 1: The meaning of $f'(a)$. The slope of the tangent line (green) to the curve $y = f(x)$ at the point $(a, f(a))$ equals $f'(a)$. The purple triangle illustrates slope = rise / run.

Alternative Form

By substituting $x = a + h$ (so that $x \to a$ as $h \to 0$), the derivative can also be written as

$$f'(a) = \lim_{x \to a} \frac{f(x) - f(a)}{x - a}$$

4.2 The Derivative Function

Instead of computing the derivative at a single fixed point $a$, we can regard it as a function of the variable $x$, giving us the derivative function.

Definition: The Derivative Function

The derivative function of $f(x)$ is:

$$f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}$$
From the Derivative at a Point to the Derivative Function f'(a) Derivative at a = slope of tangent at a constant a → variable x f'(x) Derivative function
Figure 2: Replacing the constant $a$ with the variable $x$ gives the derivative function $f'(x)$.
What the Derivative Function Means

The derivative function $f'(x)$ is a new function that gives the "slope of the tangent = rate of change" at each point $x$ of the original function $f(x)$. The steeper the slope, the greater the change when $x$ is varied.

  • If $f(x)$ is "position," then $f'(x)$ is "velocity"
  • If $f(x)$ is "quantity," then $f'(x)$ is "rate of increase"
  • If $f(x)$ is a graph, then $f'(x)$ is "the slope at each point"

4.3 Notation for Derivatives

Several different notations are used for derivatives. They all mean the same thing.

Notation Read as Notes
$f'(x)$ "f prime of x" Lagrange's notation. The most common.
$\dfrac{df}{dx}$ "dee f dee x" Leibniz's notation. Can be manipulated like a fraction.
$\dfrac{dy}{dx}$ "dee y dee x" Used when $y = f(x)$. Makes the rate-of-change meaning explicit.
$\dfrac{d}{dx}f(x)$ "dee dee x of f of x" Treats $\dfrac{d}{dx}$ as a "differentiation operator."
$\dot{y}$ "y dot" Newton's notation. Used for time derivatives.
Meaning of Leibniz Notation dy dx ← infinitesimal change in y ← infinitesimal change in x "rate of change of y with respect to x"
Figure 3: The meaning of Leibniz notation $\dfrac{dy}{dx}$. The limit of the ratio of the change in $y$ ($\Delta y$) to the change in $x$ ($\Delta x$).
Caution: $\dfrac{dy}{dx}$ Is Not a Fraction

Although $\dfrac{dy}{dx}$ looks like a fraction, it does not mean that $dy$ and $dx$ are taken separately and divided. It stands for

$$\frac{dy}{dx} = \lim_{\Delta x \to 0} \frac{\Delta y}{\Delta x}$$

a single symbol representing the entire limit operation. While $\dfrac{\Delta y}{\Delta x}$ is indeed a fraction (a ratio of finite changes), after taking the limit $\Delta x \to 0$ the expression $\dfrac{dy}{dx}$ is no longer "something divided by something" — it is the limit value itself.

However, in the chain rule for composite functions,

$$\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}$$

it looks as if $du$ cancels out. In integration by substitution, too, one can write $dx = \dfrac{dx}{du}\,du$ as if $dx$ were a fraction. The fact that the rules of fractions often carry over to computations with $dy/dx$ is a major advantage of Leibniz notation.

4.4 Differentiability

Not every function is differentiable.

Definition: Differentiable

A function $f(x)$ is said to be differentiable at $x = a$ if

$$\lim_{h \to 0} \frac{f(a+h) - f(a)}{h}$$

exists (i.e., is a finite number).

A Non-Differentiable Example: A Corner

Consider $f(x) = |x|$. Let us examine the derivative at $x = 0$.

f(x)=|x| is not differentiable at x=0. The left-hand slope −1 and the right-hand slope +1 do not agree.
Figure 4: $f(x) = |x|$ is not differentiable at $x = 0$. The slope approaching from the left is $-1$ (green), while the slope approaching from the right is $+1$ (blue) — they do not agree.
Verification by Computation

Left-hand limit (when $h < 0$):

$$\lim_{h \to 0^-} \frac{|0+h| - |0|}{h} = \lim_{h \to 0^-} \frac{|h|}{h} = \lim_{h \to 0^-} \frac{-h}{h} = -1$$

Right-hand limit (when $h > 0$):

$$\lim_{h \to 0^+} \frac{|0+h| - |0|}{h} = \lim_{h \to 0^+} \frac{|h|}{h} = \lim_{h \to 0^+} \frac{h}{h} = +1$$

Since the left-hand limit $(-1)$ and the right-hand limit $(+1)$ disagree, the limit does not exist.

Therefore, $f(x) = |x|$ is not differentiable at $x = 0$.

Differentiability and Continuity

If $f(x)$ is differentiable at $x = a$, then $f(x)$ is continuous at $x = a$.

(The converse is false: a function can be continuous without being differentiable.)

4.5 Worked Examples

Example 1: Constant Function $f(x) = c$

Computation

Step 1: Set up the definition

$$f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}$$

Step 2: Substitute $f(x+h)$ and $f(x)$

Since $f(x)$ is constant, $f(x) = f(x+h) = c$. Therefore:

$$f'(x) = \lim_{h \to 0} \frac{c - c}{h} = \lim_{h \to 0} \frac{0}{h} = \lim_{h \to 0} 0 = 0$$

Result: $f'(x) = 0$

Derivative of a Constant Function y = c slope = 0 f'(x) = 0
Figure 5: The derivative of a constant function is $0$ (the slope of a horizontal line is $0$).

Example 2: Linear Function $f(x) = mx + n$

Computation

Step 1: Compute $f(x+h)$

$$f(x+h) = m(x+h) + n = mx + mh + n$$

Step 2: Compute $f(x+h) - f(x)$

$$f(x+h) - f(x) = (mx + mh + n) - (mx + n) = mh$$

Step 3: Divide by $h$

$$\frac{f(x+h) - f(x)}{h} = \frac{mh}{h} = m \quad (h \neq 0)$$

Step 4: Take the limit

$$f'(x) = \lim_{h \to 0} m = m$$

Result: $f'(x) = m$

The derivative of a linear function equals its slope $m$, which matches our intuition.

Example 3: Quadratic Function $f(x) = x^2$

Computation

Step 1: Expand $f(x+h)$

$$f(x+h) = (x+h)^2 = x^2 + 2xh + h^2$$

Step 2: Compute $f(x+h) - f(x)$

$$f(x+h) - f(x) = (x^2 + 2xh + h^2) - x^2 = 2xh + h^2$$

Step 3: Divide by $h$

$$\frac{f(x+h) - f(x)}{h} = \frac{2xh + h^2}{h} = \frac{h(2x + h)}{h} = 2x + h \quad (h \neq 0)$$

Step 4: Take the limit

$$f'(x) = \lim_{h \to 0} (2x + h) = 2x$$

Result: $(x^2)' = 2x$

Graphs of f(x)=x² and its derivative f'(x)=2x side by side
Figure 6: $f(x) = x^2$ (left, parabola) and its derivative $f'(x) = 2x$ (right, straight line). The slope of the parabola at each point is given by the line $2x$.

Chapter Summary

  • Derivative at a point: $f'(a) = \displaystyle\lim_{h \to 0} \frac{f(a+h) - f(a)}{h}$ (a constant representing the slope of the tangent at $a$)
  • Derivative function: $f'(x) = \displaystyle\lim_{h \to 0} \frac{f(x+h) - f(x)}{h}$ (a function giving the slope at each point $x$)
  • Notation: $f'(x)$, $\dfrac{df}{dx}$, $\dfrac{dy}{dx}$, etc.
  • Differentiable: the limit exists
  • Basic formulas: $(c)' = 0$, $(mx + n)' = m$, $(x^2)' = 2x$