Lemma 2.4.1 Derivative of sum and difference
Let \(f(x),g(x)\) be differentiable functions and let \(c \in \mathbb{R}\) be a constant. Then
That is, the derivative of the sum is the sum of the derivatives, and so forth.
So far, we have evaluated derivatives only by applying Definition 2.2.1 to the function at hand and then computing the required limits directly. It is quite obvious that as the function being differentiated becomes even a little complicated, this procedure quickly becomes extremely unwieldy. It is many orders of magnitude more efficient to have access to
This is precisely what we did to compute limits. We started with limits of simple functions and then used “arithmetic of limits” to computed limits of complicated functions.
We have already started building our list of derivatives of simple functions. We have shown, in Examples 2.2.2, 2.2.3, 2.2.5 and 2.2.9, that
We'll expand this list later.
We now start building a collection of tools that help reduce the problem of computing the derivative of a complicated function to that of computing the derivatives of a number of simple functions. In this section we give three derivative “rules” as three separate theorems. We'll give the proofs of these theorems in the next section and examples of how they are used in the following section.
As was the case for limits, derivatives interact very cleanly with addition, subtraction and multiplication by a constant. The following result actually follows very directly from the first three points of Theorem 1.4.3.
Let \(f(x),g(x)\) be differentiable functions and let \(c \in \mathbb{R}\) be a constant. Then
That is, the derivative of the sum is the sum of the derivatives, and so forth.
Following this we can combine the three statements in this lemma into a single rule which captures the “linearity of differentiation”.
Again, let \(f(x),g(x)\) be differentiable functions, let \(\alpha, \beta \in \mathbb{R}\) be constants and define the “linear combination”
Then the derivative of \(S(x)\) at \(x=a\) exists and is
Note that we can recover the three rules in the previous lemma by setting \(\alpha=\beta=1\) or \(\alpha=1, \beta=-1\) or \(\alpha=c\text{,}\) \(\beta=0\text{.}\)
Unfortunately, the derivative does not act quite as simply on products or quotients. The rules for computing derivatives of products and quotients get their own names and theorems:
Let \(f(x),g(x)\) be differentiable functions, then the derivative of the product \(f(x)g(x)\) exists and is given by
Before we proceed to the derivative of the ratio of two functions, it is worth noting a special case of the product rule when \(g(x)=f(x)\text{.}\) In fact, since this is a useful special case, let us call it a corollary 1 Recall that a corollary is an important result that follows from one or more theorems — typically without too much extra work — as is the case here.:
Let \(f(x)\) be a differentiable function, then the derivative of its square is:
With a little work this can be generalised to other powers — but that is best done once we understand how to compute the derivative of the composition of two functions. That requires the chain rule (see Theorem 2.9.2 below). But before we get to that, we need to see how to take the derivative of a quotient of two functions.
Let \(f(x), g(x)\) be differentiable functions. Then the derivative of their quotient is
This derivative exists except at points where \(g(x)=0\text{.}\)
There is a useful special case of this theorem which we obtain by setting \(f(x)=1\text{.}\) In that case, the quotient rule tells us how to compute the derivative of the reciprocal of a function.
Let \(g(x)\) be a differentiable function. Then the derivative of the reciprocal of \(g\) is given by
and exists except at those points where \(g(x)=0\text{.}\)
So we have covered, sums, differences, products and quotients. This allows us to compute derivatives of many different functions — including polynomials and rational functions. However we are still missing trigonometric functions (for example), and a rule for computing derivatives of compositions. These will follow in the near future, but there are a couple of things to do before that — understand where the above theorems come from, and practice using them.