3.4 Differentiation Rules
Up until now, our toolkit for finding derivatives has been robust but primitive. We have relied entirely on the definition. While technically sufficient, returning to the definition every time we encounter a new combination of functions is akin to building a house using only a spoon.
Recall from Chapter 1 that a complicated function is usually built from compositions, products, sums, and inverse relationships acting on old, familiar functions. In this section, we will observe how these arithmetic operations interact with differentiation. Our ultimate goal is to construct a machinery of differentiation—a set of rigorous, algebraic rules that can take the derivative of a horribly complicated function and systematically dismantle it into bite-sized pieces that we can easily differentiate.
3.4.1 Linearity: The Easiest Combinations
Let us start with the most straightforward arithmetic operations: addition, subtraction, and multiplication by a constant.
If and are differentiable at , and is any constant, then , , and are differentiable at , and:
Always remember that differentiation is, at its core, simply a limit taking place under the hood. Because the limit operator interacts so predictably with basic arithmetic operations, the derivative inherits these pleasant properties seamlessly.
The proofs of all three assertions are straightforward and are based on limit rules, specifically observations that relate the difference quotients of , , and to those of and . We also rely on the existence of the individual derivatives and .
For the sum rule, we compute:
The proof that follows an identical structure. Finally, for the constant multiple:
This completes the proof. ∎
Let us see this in action.
Consider the function . We can decompose this into and . By the sum rule, Example 3.1.6, and Example 3.1.4, we find:
Similarly, if , we can let , meaning . The constant multiple rule and Example 3.1.5 yield:
Do we have ?
Hint: Group as a single function and apply the two-function sum rule.
Similarly, use this logic to convince yourself that the linearity principle holds for any finite sum of functions:
3.4.2 The Product Rule
If limits play so nicely with sums, one might naively hope that the derivative of a product is simply the product of the derivatives. Let us disabuse ourselves of this notion immediately.
In our last example, suppose we redefine our constant as a function, letting . Then our function can be written as . The result seems to say that:
But this clean formulation is merely an artifact of being a constant! If is a bona-fide function that changes as varies, the fundamental symmetry of the expression suggests something more profound: since and play the exact same role in the product, they must play the same role in the derivative. The symmetry suggests the appearance of an additional term. Indeed, we have the following.
If and are differentiable at , then their product is differentiable at , and
Even the giants of mathematics stumble. When Gottfried Wilhelm Leibniz first investigated the derivative of a product in 1672, he erroneously assumed that was simply . It wasn’t until a few years later, after recognizing the internal inconsistencies of this assumption, that he discovered the correct formulation. Today, the product rule is affectionately known as the Leibniz rule.
To prove this, we must evaluate the difference quotient for the product. The algebraic hurdle is that both and are changing simultaneously. A classic problem-solving strategy in mathematics is to change only one variable at a time. This motivates the middle-man trick—adding and subtracting a mixed term—mentioned in Section 3.3.
We evaluate the limit of the difference quotient:
We now introduce our middle-man by adding and subtracting in the numerator:
∎
In the last two steps of the proof, we distributed the limit and evaluated . This is legally permissible only because we assumed is differentiable at , which rigorously guarantees that is also continuous at .
You have seen the middle-man trick save the proof again! For those who prefer visual intuition, we have a geometric picture of them too: see Figure 3.5.
3.4.3 The Power Rule: Climbing the Ladder
Having mastered the product rule, we are naturally led to ask: what happens when a function is multiplied by itself?
Note that the function is a product. By the product rule:
The function is also a product, so:
A clear pattern emerges: the exponent “drops down” to become a coefficient, and the new exponent is reduced by one. This brings us to a sweeping generalization.
For every positive integer ,
Mathematical induction is a profoundly elegant method for proving that a statement is true for all natural numbers. It is akin to climbing an infinitely tall ladder or knocking over an endless line of dominoes. To succeed, you must establish two things:
-
1.
The Base Case: You can get onto the bottom rung of the ladder ().
-
2.
The Inductive Step: From any given rung , you are guaranteed to be able to step up to the next rung .
Once both conditions are met, you have established the truth of the statement for all natural numbers.
We use mathematical mathematical induction. We prove the inductive step: if the result holds for , then it holds for . Since the result fundamentally holds for , namely , its validity will then cascade for This is precisely the type of step we made in Example 3.4.7, in going from knowledge of to .
To prove the inductive step, we write and apply the product rule:
Using the assumed validity of the previous rung, , we get:
The result holds for , completing the proof. ∎
Armed with the rules of linearity and the power rule, we have effectively constructed a machine that can effortlessly devour any polynomial.
Let be a general polynomial function of the form:
Using the rules for differentiating a sum, a constant multiple, and the formula already verified for the derivative of , we immediately obtain:
If , then our newly minted machinery yields:
Find the derivative of .
Suppose , and are differentiable on . Is differentiable? If so, what is the product rule for ? Can you generalize this result to functions ?