A function is a rule that associates a unique output with each input value. When we look at the graph of a function, the points on the graph are placed so that the input value is the first coordinate (e.g., \(x\)) and the output value is the second coordinate (e.g., \(y\)). Using the graph, we can find the value of the function for a given input by looking for the input along the horizontal (\(x\)) axis and then finding the point on the graph intersecting the corresponding vertical line. The height of that point gives the output value of the function.

If that point of the graph has a well-defined tangent line, then we could define another function that has as its output the slope of the tangent line at that point. This function is called the derivative function. The following website provides an interactive illustration of this concept: http://www.intmath.com/differentiation/derivative-graphs.php

Consider the figure illustrated below. The graph of a function \(y=f(x)\)is given and short segments of the tangent lines at various points have also been included. The point at \(x=-1\) has a \(y\)-value of 2 and a slope of 0 (horizontal tangent line). So \(f(-1)=2\) while \(f'(-1)=0\text{.}\) The point at \(x=0\) has a \(y\)-value of 0 and a slope of -3, so \(f(0)=0\) and \(f'(0)=-3\text{.}\) The third point, at \(x=2\) has a \(y\)-value of 2 and a slope of 9, corresponding to \(f(2)=2\) and \(f'(2)=9\text{.}\) The equations of these tangent lines, listed in the same order as described above, and written in point–slope form, are given by

\begin{align*}
y &= 2, \\
y &= -3x, \\
y &= 9(x-2)+2.
\end{align*}

Definition6.4.2The Derivative

Suppose \(f\) is a function. The derivative of \(f\) is a new function \(f'\) that for every input \(x\) has as output \(f'(x)\)the instantaneous rate of change of \(f\) (slope of the tangent line) at the input point, so long as that value can be defined. That is,

Recall that the definition of the instantaneous rate of change (which is what the derivative is measuring) is the limiting value of an average rate of change of the function between two points as the second point approaches the first. When computing the derivative, we will use two points at symbolic values \(x\) (the point of interest) and \(x+h\) (the second point), where \(h\) is the spacing between the two points. The second point approaches the first when \(h \to 0\text{.}\) The basic process is outlined in the following steps:

Compute \(f(x+h)\) using the rule for \(f(x)\text{.}\) (Find the output for the second point.)

Compute \(f(x+h)-f(x)\) and simplify. (Find the change in output.)

Simplify \(\displaystyle \frac{\Delta f}{\Delta x} = \frac{f(x+h)-f(x)}{h}\text{.}\) (Determine a simplified formula for the average rate of change.)

Determine \(\displaystyle \lim_{h \to 0} \frac{f(x+h)-f(x)}{h}\text{.}\) (Evaluate the limiting value as the second point approaches the first.)

Example6.4.3

Use the definition of the derivative to find \(f'(x)\) where \(f(x) = x^2-3x\text{.}\)

So we have found the derivative function, \(f'(x) = 2x-3\text{.}\)

Often it is more convenient to combine some of these steps together. However, just be careful that you create valid equations. Always have an equation that says what you are computing, and do not write that two things are equal when they are not the same. In the previous example, note how each time I started to compute a new thing, I created a new system of equations.

In this next example, we are reminded of the need to find a common denominator when a fraction is involved. Also, it is useful to recall that division by a number \(h\)is the same as multiplication by its inverse \(1/h\text{.}\)

Example6.4.4

Use the definition of the derivative to find \(f'(x)\) where \(\displaystyle f(x) = \frac{1}{2x+3}\text{.}\)

Here is where we will need to use a common denominator. Recall from ordinary fractions that a common denominator is formed by multiplying the top and bottom by a missing factor.

Simplify the average rate of change between the two points. However, it is dangerous to write a fraction divided by something, so we will write division by \(h\) as multiplication by \(1/h\) and simplify the resulting expression:

For our last example, we consider finding the derivative using the definition when the function involves the square root. We will find it necessary to use a trick from algebra involving conjugate pairs. Recall that \((a+b)(a-b) = a^2-b^2\text{.}\) If \(a\) or \(b\) is a square root of some value, then the product of these conjugate pairs will have the square of the square root, thereby no longer involving the square root. For example,