TOPIC 2.2 · STUDY
Defining the Derivative of a Function and Using Derivative Notation
The derivative at a point is the limit of the difference quotient, the slope of a secant as the second point slides into the first. For $f(x)=x^2$ that limit at $x=2$ is $4$. The same number is written $f'(2)$, $y'(2)$, $\frac{dy}{dx}$ at $x=2$, or $\frac{d}{dx}[x^2]$ evaluated at $2$.
CHA-2.B
The derivative as a limit of secant slopes
Fix a point on the graph, say at input $a$, and pick a second input a step $h$ away. The secant through $(a,f(a))$ and $(a+h,f(a+h))$ has slope $\frac{f(a+h)-f(a)}{h}$. This quotient is called the difference quotient. It is an average rate on an interval of width $h$.
The derivative of $f$ at $a$, written $f'(a)$, is what that quotient approaches as $h$ approaches $0$, provided the limit exists. In symbols, $f'(a)=\lim_{h \to 0}\frac{f(a+h)-f(a)}{h}$. The limit is a single number: the slope of the tangent at $x=a$. If the limit does not exist, the function has no derivative at that input.
There is a second way to write the same limit, using a second variable $x$ instead of a step $h$: $f'(a)=\lim_{x \to a}\frac{f(x)-f(a)}{x-a}$. Here $x-a$ plays the role of $h$. Both forms measure the same shrinking secant. Use whichever one matches the given information.
The curve is $f(x)=x^2$ and the straight line is the tangent at $x=2$, namely $y=4x-4$, with slope $4$. The segment from $(2,4)$ to $(3,9)$ is the secant for $h=1$. Its slope is $5$, close to $4$, and it ends one unit above the tangent.
Compute that secant directly: $f(3)=9$, so $\frac{f(3)-f(2)}{3-2}=\frac{9-4}{1}=5$. Now let the step be a symbol. $f(2+h)=(2+h)^2=4+4h+h^2$, so $\frac{f(2+h)-4}{h}=\frac{4h+h^2}{h}=4+h$, for $h \neq 0$. The algebra is the reason the picture behaves as it does: every secant slope at this point equals $4$ plus the step size.
Check two steps with arithmetic. For $h=1$, the formula $4+h$ returns $5$, matching $\frac{9-4}{1}$. For $h=0.5$, $f(2.5)=6.25$ and $\frac{6.25-4}{0.5}=\frac{2.25}{0.5}=4.5$, which is $4+0.5$. Sending $h$ to $0$ drops the extra term, so $\lim_{h \to 0}(4+h)=4$. Therefore $f'(2)=4$. The tangent slope in the figure is that limit, not any one of the secant slopes.
CHA-2.C
Derivative notation
Several symbols name this same number, and later the function that produces it. If $y=f(x)$, then $f'(x)$, $y'$, $\frac{dy}{dx}$, and $\frac{d}{dx}[y]$ all refer to the derivative. The prime is a label on the function. The fraction-shaped symbols are Leibniz notation: $\frac{d}{dx}$ is an instruction to differentiate with respect to $x$, and $\frac{dy}{dx}$ is the result.
The instruction and the value are different jobs. $\frac{d}{dx}[x^2]$ means 'differentiate $x^2$', and the result is the function $2x$. Evaluating at $2$ gives the number $4$. So $f'(2)$, $y'(2)$, and the value of $\frac{dy}{dx}$ at $x=2$ are all $4$. The expression $\frac{d}{dx}$ by itself is not a number and not a fraction waiting to be canceled.
At this particular curve, $f(2)$ and $f'(2)$ are both $4$, so the notation is easy to scramble. Move to $x=3$: $f(3)=9$, while $f'(x)=2x$ gives $f'(3)=6$. The height is $9$ and the derivative is $6$. Writing $f'(3)=9$ would mean the slope, and it would be wrong. Writing $\frac{d}{dx}[x^2]=2x$ is the derivative function; writing $\frac{d}{dx}[x^2]=4$ is only the value at $x=2$.
| Notation | What it stands for | For $y=x^2$ at $x=3$ |
|---|---|---|
| $f(3)$ or $y(3)$ | Output, the height | $9$ |
| $f'(3)$ or $y'(3)$ | Derivative at one input | $6$ |
| $\frac{dy}{dx}$ at $x=3$ | Same number, Leibniz form | $6$ |
| $\frac{d}{dx}[x^2]$ | Derivative as a function of $x$ | $2x$, which is $6$ at $x=3$ |
When a problem says 'find the derivative of $y$', it wants the function, such as $2x$. When it says 'find the derivative at $x=3$', it wants the number $6$. Read the instruction before you substitute. The variable after 'with respect to' is the input. If the variable is $t$, differentiate with respect to $t$ and write $\frac{dy}{dt}$.
Key points
- $f'(a)=\lim_{h \to 0}\frac{f(a+h)-f(a)}{h}$ when the limit exists.
- For $f(x)=x^2$, the difference quotient at $2$ simplifies to $4+h$, so $f'(2)=4$.
- $f'(x)$, $y'$, $\frac{dy}{dx}$, and $\frac{d}{dx}[y]$ name the derivative. $\frac{d}{dx}$ is the operation.
- A derivative at a point is a number. The derivative function still depends on the input.
- $f(a)$ is the height. $f'(a)$ is the slope. They matched at $x=2$ on this curve and do not match at $x=3$.
A common mistake is to cancel the letter $d$ in $\frac{dy}{dx}$ as if it were a factor, or to treat $\frac{d}{dx}[x^2]$ as the fraction $\frac{x^2}{x}$. The symbol $\frac{d}{dx}$ is an operation. Applied to $x^2$, it produces $2x$.