Paul's Online Notes
Home / Calculus I / Derivatives / The Definition of the Derivative
Show Mobile Notice Show All Notes Hide All Notes
Mobile Notice
You appear to be on a device with a "narrow" screen width (i.e. you are probably on a mobile phone). Due to the nature of the mathematics on this site it is best views in landscape mode. If your device is not in landscape mode many of the equations will run off the side of your device (should be able to scroll to see them) and some of the menu items will be cut off due to the narrow screen width.

### Section 3-1 : The Definition of the Derivative

In the first section of the Limits chapter we saw that the computation of the slope of a tangent line, the instantaneous rate of change of a function, and the instantaneous velocity of an object at $$x = a$$ all required us to compute the following limit.

$\mathop {\lim }\limits_{x \to a} \frac{{f\left( x \right) - f\left( a \right)}}{{x - a}}$

We also saw that with a small change of notation this limit could also be written as,

$$$\mathop {\lim }\limits_{h \to 0} \frac{{f\left( {a + h} \right) - f\left( a \right)}}{h} \label{eq:eq1}$$$

This is such an important limit and it arises in so many places that we give it a name. We call it a derivative. Here is the official definition of the derivative.

#### Defintion of the Derivative

The derivative of $$f\left( x \right)$$ with respect to x is the function $$f'\left( x \right)$$ and is defined as, $$$f'\left( x \right) = \mathop {\lim }\limits_{h \to 0} \frac{{f\left( {x + h} \right) - f\left( x \right)}}{h} \label{eq:eq2}$$$

Note that we replaced all the a’s in $$\eqref{eq:eq1}$$ with x’s to acknowledge the fact that the derivative is really a function as well. We often “read” $$f'\left( x \right)$$ as “f prime of x”.

Let’s compute a couple of derivatives using the definition.

Example 1 Find the derivative of the following function using the definition of the derivative. $f\left( x \right) = 2{x^2} - 16x + 35$
Show Solution

So, all we really need to do is to plug this function into the definition of the derivative, $$\eqref{eq:eq2}$$, and do some algebra. While, admittedly, the algebra will get somewhat unpleasant at times, but it’s just algebra so don’t get excited about the fact that we’re now computing derivatives.

First plug the function into the definition of the derivative.

\begin{align*}f'\left( x \right) & = \mathop {\lim }\limits_{h \to 0} \frac{{f\left( {x + h} \right) - f\left( x \right)}}{h}\\ & = \mathop {\lim }\limits_{h \to 0} \frac{{2{{\left( {x + h} \right)}^2} - 16\left( {x + h} \right) + 35 - \left( {2{x^2} - 16x + 35} \right)}}{h}\end{align*}

Be careful and make sure that you properly deal with parenthesis when doing the subtracting.

Now, we know from the previous chapter that we can’t just plug in $$h = 0$$ since this will give us a division by zero error. So, we are going to have to do some work. In this case that means multiplying everything out and distributing the minus sign through on the second term. Doing this gives,

\begin{align*}f'\left( x \right) & = \mathop {\lim }\limits_{h \to 0} \frac{{2{x^2} + 4xh + 2{h^2} - 16x - 16h + 35 - 2{x^2} + 16x - 35}}{h}\\ & = \mathop {\lim }\limits_{h \to 0} \frac{{4xh + 2{h^2} - 16h}}{h}\end{align*}

Notice that every term in the numerator that didn’t have an h in it canceled out and we can now factor an h out of the numerator which will cancel against the h in the denominator. After that we can compute the limit.

\begin{align*}f'\left( x \right) & = \mathop {\lim }\limits_{h \to 0} \frac{{h\left( {4x + 2h - 16} \right)}}{h}\\ & = \mathop {\lim }\limits_{h \to 0} 4x + 2h - 16\\ & = 4x - 16\end{align*}

So, the derivative is,

$f'\left( x \right) = 4x - 16$
Example 2 Find the derivative of the following function using the definition of the derivative. $g\left( t \right) = \frac{t}{{t + 1}}$
Show Solution

This one is going to be a little messier as far as the algebra goes. However, outside of that it will work in exactly the same manner as the previous examples. First, we plug the function into the definition of the derivative,

\begin{align*}g'\left( t \right) & = \mathop {\lim }\limits_{h \to 0} \frac{{g\left( {t + h} \right) - g\left( t \right)}}{h}\\ & = \mathop {\lim }\limits_{h \to 0} \frac{1}{h}\left( {\frac{{t + h}}{{t + h + 1}} - \frac{t}{{t + 1}}} \right)\end{align*}

Note that we changed all the letters in the definition to match up with the given function. Also note that we wrote the fraction a much more compact manner to help us with the work.

As with the first problem we can’t just plug in $$h = 0$$. So, we will need to simplify things a little. In this case we will need to combine the two terms in the numerator into a single rational expression as follows.

\begin{align*}g'\left( t \right) & = \mathop {\lim }\limits_{h \to 0} \frac{1}{h}\left( {\frac{{\left( {t + h} \right)\left( {t + 1} \right) - t\left( {t + h + 1} \right)}}{{\left( {t + h + 1} \right)\left( {t + 1} \right)}}} \right)\\ & = \mathop {\lim }\limits_{h \to 0} \frac{1}{h}\left( {\frac{{{t^2} + t + th + h - \left( {{t^2} + th + t} \right)}}{{\left( {t + h + 1} \right)\left( {t + 1} \right)}}} \right)\\ & = \mathop {\lim }\limits_{h \to 0} \frac{1}{h}\left( {\frac{h}{{\left( {t + h + 1} \right)\left( {t + 1} \right)}}} \right)\end{align*}

Before finishing this let’s note a couple of things. First, we didn’t multiply out the denominator. Multiplying out the denominator will just overly complicate things so let’s keep it simple. Next, as with the first example, after the simplification we only have terms with h’s in them left in the numerator and so we can now cancel an h out.

So, upon canceling the h we can evaluate the limit and get the derivative.

\begin{align*}g'\left( t \right) & = \mathop {\lim }\limits_{h \to 0} \frac{1}{{\left( {t + h + 1} \right)\left( {t + 1} \right)}}\\ & = \frac{1}{{\left( {t + 1} \right)\left( {t + 1} \right)}}\\ & = \frac{1}{{{{\left( {t + 1} \right)}^2}}}\end{align*}

The derivative is then,

$g'\left( t \right) = \frac{1}{{{{\left( {t + 1} \right)}^2}}}$
Example 3 Find the derivative of the following function using the definition of the derivative. $R\left( z \right) = \sqrt {5z - 8}$
Show Solution

First plug into the definition of the derivative as we’ve done with the previous two examples.

\begin{align*}R'\left( z \right) & = \mathop {\lim }\limits_{h \to 0} \frac{{R\left( {z + h} \right) - R\left( z \right)}}{h}\\ & = \mathop {\lim }\limits_{h \to 0} \frac{{\sqrt {5\left( {z + h} \right) - 8} - \sqrt {5z - 8} }}{h}\end{align*}

In this problem we’re going to have to rationalize the numerator. You do remember rationalization from an Algebra class right? In an Algebra class you probably only rationalized the denominator, but you can also rationalize numerators. Remember that in rationalizing the numerator (in this case) we multiply both the numerator and denominator by the numerator except we change the sign between the two terms. Here’s the rationalizing work for this problem,

\begin{align*}R'\left( z \right) & = \mathop {\lim }\limits_{h \to 0} \frac{{\left( {\sqrt {5\left( {z + h} \right) - 8} - \sqrt {5z - 8} } \right)}}{h}\frac{{\left( {\sqrt {5\left( {z + h} \right) - 8} + \sqrt {5z - 8} } \right)}}{{\left( {\sqrt {5\left( {z + h} \right) - 8} + \sqrt {5z - 8} } \right)}}\\ & = \mathop {\lim }\limits_{h \to 0} \frac{{5z + 5h - 8 - \left( {5z - 8} \right)}}{{h\left( {\sqrt {5\left( {z + h} \right) - 8} + \sqrt {5z - 8} } \right)}}\\ & = \mathop {\lim }\limits_{h \to 0} \frac{{5h}}{{h\left( {\sqrt {5\left( {z + h} \right) - 8} + \sqrt {5z - 8} } \right)}}\end{align*}

Again, after the simplification we have only h’s left in the numerator. So, cancel the h and evaluate the limit.

\begin{align*}R'\left( z \right) & = \mathop {\lim }\limits_{h \to 0} \frac{5}{{\sqrt {5\left( {z + h} \right) - 8} + \sqrt {5z - 8} }}\\ & = \frac{5}{{\sqrt {5z - 8} + \sqrt {5z - 8} }}\\ & = \frac{5}{{2\sqrt {5z - 8} }}\end{align*}

And so we get a derivative of,

$R'\left( z \right) = \frac{5}{{2\sqrt {5z - 8} }}$

Let’s work one more example. This one will be a little different, but it’s got a point that needs to be made.

Example 4 Determine $$f'\left( 0 \right)$$ for $$f\left( x \right) = \left| x \right|$$.
Show Solution

Since this problem is asking for the derivative at a specific point we’ll go ahead and use that in our work. It will make our life easier and that’s always a good thing.

So, plug into the definition and simplify.

\begin{align*}f'\left( 0 \right) & = \mathop {\lim }\limits_{h \to 0} \frac{{f\left( {0 + h} \right) - f\left( 0 \right)}}{h}\\ & = \mathop {\lim }\limits_{h \to 0} \frac{{\left| {0 + h} \right| - \left| 0 \right|}}{h}\\ & = \mathop {\lim }\limits_{h \to 0} \frac{{\left| h \right|}}{h}\end{align*}

We saw a situation like this back when we were looking at limits at infinity. As in that section we can’t just cancel the h’s. We will have to look at the two one sided limits and recall that

$\left| h \right| = \left\{ {\begin{array}{lr}h&{{\mbox{if }}h \ge 0}\\{ - h}&{{\mbox{if }}h < 0}\end{array}} \right.$ \begin{align*}\mathop {\lim }\limits_{h \to {0^ - }} \frac{{\left| h \right|}}{h} & = \mathop {\lim }\limits_{h \to {0^ - }} \frac{{ - h}}{h}\hspace{0.25in}{\mbox{because $$h < 0$$ in a left-hand limit.}}\\ & = \mathop {\lim }\limits_{h \to {0^ - }} \left( { - 1} \right)\\ & = - 1\end{align*} \begin{align*}\mathop {\lim }\limits_{h \to {0^ + }} \frac{{\left| h \right|}}{h} & = \mathop {\lim }\limits_{h \to {0^ + }} \frac{h}{h}\hspace{0.25in}{\mbox{because $$h > 0$$ in a right-hand limit.}}\\ & = \mathop {\lim }\limits_{h \to {0^ + }} 1\\ & = 1\end{align*}

The two one-sided limits are different and so

$\mathop {\lim }\limits_{h \to 0} \frac{{\left| h \right|}}{h}$

doesn’t exist. However, this is the limit that gives us the derivative that we’re after.

If the limit doesn’t exist then the derivative doesn’t exist either.

In this example we have finally seen a function for which the derivative doesn’t exist at a point. This is a fact of life that we’ve got to be aware of. Derivatives will not always exist. Note as well that this doesn’t say anything about whether or not the derivative exists anywhere else. In fact, the derivative of the absolute value function exists at every point except the one we just looked at, $$x = 0$$.

The preceding discussion leads to the following definition.

#### Definition

A function $$f\left( x \right)$$ is called differentiable at $$x = a$$ if $$f'\left( a \right)$$ exists and $$f\left( x \right)$$ is called differentiable on an interval if the derivative exists for each point in that interval.

The next theorem shows us a very nice relationship between functions that are continuous and those that are differentiable.

#### Theorem

If $$f\left( x \right)$$ is differentiable at $$x = a$$ then $$f\left( x \right)$$ is continuous at $$x = a$$.

See the Proof of Various Derivative Formulas section of the Extras chapter to see the proof of this theorem.

Note that this theorem does not work in reverse. Consider $$f\left( x \right) = \left| x \right|$$ and take a look at,

$\mathop {\lim }\limits_{x \to 0} f\left( x \right) = \mathop {\lim }\limits_{x \to 0} \left| x \right| = 0 = f\left( 0 \right)$

So, $$f\left( x \right) = \left| x \right|$$ is continuous at $$x = 0$$ but we’ve just shown above in Example 4 that $$f\left( x \right) = \left| x \right|$$ is not differentiable at $$x = 0$$.

#### Alternate Notation

Next, we need to discuss some alternate notation for the derivative. The typical derivative notation is the “prime” notation. However, there is another notation that is used on occasion so let’s cover that.

Given a function $$y = f\left( x \right)$$ all of the following are equivalent and represent the derivative of $$f\left( x \right)$$ with respect to x.

$f'\left( x \right) = y' = \frac{{df}}{{dx}} = \frac{{dy}}{{dx}} = \frac{d}{{dx}}\left( {f\left( x \right)} \right) = \frac{d}{{dx}}\left( y \right)$

Because we also need to evaluate derivatives on occasion we also need a notation for evaluating derivatives when using the fractional notation. So, if we want to evaluate the derivative at $$x = a$$ all of the following are equivalent.

$f'\left( a \right) = {\left. {y'} \right|_{x = a}} = {\left. {\frac{{df}}{{dx}}} \right|_{x = a}} = {\left. {\frac{{dy}}{{dx}}} \right|_{x = a}}$

Note as well that on occasion we will drop the $$\left( x \right)$$ part on the function to simplify the notation somewhat. In these cases the following are equivalent.

$f'\left( x \right) = f'$

As a final note in this section we’ll acknowledge that computing most derivatives directly from the definition is a fairly complex (and sometimes painful) process filled with opportunities to make mistakes. In a couple of sections we’ll start developing formulas and/or properties that will help us to take the derivative of many of the common functions so we won’t need to resort to the definition of the derivative too often.

This does not mean however that it isn’t important to know the definition of the derivative! It is an important definition that we should always know and keep in the back of our minds. It is just something that we’re not going to be working with all that much.