Section 2.3 Basic Differentiation Rules
The derivative is a powerful tool but is admittedly awkward given its reliance on limits. Fortunately, one thing mathematicians are good at is abstraction. For instance, instead of continually finding derivatives at a point, we abstracted and found the derivative function.
Let's practice abstraction on linear functions, \(y=mx+b\text{.}\) What is \(y'\text{?}\) Without limits, recognize that linear functions are characterized by being functions with a constant rate of change (the slope). The derivative, \(y'\text{,}\) gives the instantaneous rate of change; with a linear function, this is constant, \(m\text{.}\) Thus \(y'=m\text{.}\)
Let's abstract once more. Let's find the derivative of the general quadratic function, \(f(x) = ax^2+bx+c\text{.}\) Using the definition of the derivative, we have:
So if \(y = 6x^2+11x13\text{,}\) we can immediately compute \(y' = 12x+11\text{.}\)
In this section (and in some sections to follow) we will learn some of what mathematicians have already discovered about the derivatives of certain functions and how derivatives interact with arithmetic operations. We start with a theorem.
Theorem 2.3.1. Derivatives of Common Functions.
 Constant Rule
\(\lzoo{x}{c} = 0\text{,}\) where \(c\) is a constant.
 Power Rule
\(\lzoo{x}{x^n}= nx^{n1}\text{,}\) where \(n\) is an integer, \(n \gt 0\text{.}\)
 Other common functions

\(\lzoo{x}{\sin(x)} = \cos(x)\)
\(\lzoo{x}{\cos(x)} = {\sin(x)}\)
\(\lzoo{x}{e^x} = e^x\)
\(\lzoo{x}{\ln(x)} = \frac{1}{x}\text{,}\) for \(x \gt 0\text{.}\)
This theorem starts by stating an intuitive fact: constant functions have zero rate of change as they are constant. Therefore their derivative is \(0\) (they change at the rate of \(0\)). The theorem then states some fairly amazing things. The Power Rule states that the derivatives of Power Functions (of the form \(y=x^n\)) are very straightforward: multiply by the power, then subtract \(1\) from the power. We see something incredible about the function \(y=e^x\text{:}\) it is its own derivative. We also see a new connection between the sine and cosine functions.
One special case of the Power Rule is when \(n=1\text{,}\) i.e., when \(f(x) = x\text{.}\) What is \(\fp(x)\text{?}\) According to the Power Rule,
In words, we are asking āAt what rate does \(f\) change with respect to \(x\text{?}\)ā Since \(f\) is \(x\text{,}\) we are asking āAt what rate does \(x\) change with respect to \(x\text{?}\)ā The answer is: \(1\text{.}\) They change at the same rate. We can also interpret the derivative as the slope of the tangent line to the function at a point \((c,f(c))\text{.}\) Since \(f(x)=x\) is a linear function with constant slope \(1\text{,}\) we can say that the derivative of \(f(x)=x\) is \(\fp(x)=1\text{.}\)
TheoremĀ 2.3.1 states that the natural exponential function has a remarkable propery: it is equal to its own derivative! The video in FigureĀ 2.3.3 explains why this is the case.
Let's practice using this theorem.
Example 2.3.4. Using common derivative rules to find, and use, derivatives.
Let \(f(x)=x^3\text{.}\)
Find \(\fp(x)\text{.}\)
Find the equation of the line tangent to the graph of \(f\) at \(x=1\text{.}\)
Use the tangent line to approximate \((1.1)^3\text{.}\)
Sketch \(f\text{,}\) \(\fp\) and the tangent line from ItemĀ 2 on the same axis.
The Power Rule states that if \(f(x) = x^3\text{,}\) then \(\fp(x) = 3x^2\text{.}\)
To find the equation of the line tangent to the graph of \(f\) at \(x=1\text{,}\) we need a point and the slope. The point is \((1,f(1)) = (1, 1)\text{.}\) The slope is \(\fp(1)= 3\text{.}\) Thus the tangent line has equation \(y = 3(x(1))+(1) = 3x+2\text{.}\)

We can use the tangent line to approximate \((1.1)^3\) since \(1.1\) is close to \(1\text{.}\) We have
\begin{equation*} (1.1)^3 \approx 3(1.1)+2 = 1.3\text{.} \end{equation*}We can easily find the actual value: \((1.1)^3 = 1.331\text{.}\)
See FigureĀ 2.3.5.
TheoremĀ 2.3.1 gives useful information, but we will need much more. For instance, using the theorem, we can easily find the derivative of \(y=x^3\text{,}\) but it does not tell how to compute the derivative of \(y=2x^3\text{,}\) \(y=x^3+\sin(x)\) nor \(y=x^3\sin(x)\text{.}\) The following theorem helps with the first two of these examples (the third is answered in the next section).
Theorem 2.3.6. Properties of the Derivative.
Let \(f\) and \(g\) be differentiable on an open interval \(I\) and let \(c\) be a real number. Then:
 Sum/Difference Rule
 \begin{align*} \lzoo{x}{f(x) \pm g(x)} \amp= \lzoo{x}{f(x)} \pm \lzoo{x}{g(x)}\\ \amp= \fp(x)\pm g'(x) \end{align*}
 Constant Multiple Rule
 \begin{align*} \lzoo{x}{c\cdot f(x)} \amp= c\cdot\lzoo{x}{f(x)}\\ \amp = c\cdot\fp(x)\text{.} \end{align*}
While we will be mainly focused on using these rules, it can also be interesting to see where they come from. Fortunately, it is not too difficult to establish these rules using the definition of the derivative. The video in FigureĀ 2.3.8 shows why the sum rule is true.
TheoremĀ 2.3.6 allows us to find the derivatives of a wide variety of functions. It can be used in conjunction with the Power Rule to find the derivatives of any polynomial. Recall in ExampleĀ 2.1.22 that we found, using the limit definition, the derivative of \(f(x) = 3x^2+5x7\text{.}\) We can now find its derivative without expressly using limits:
We were a bit pedantic here, showing every step. Normally we would do all the arithmetic and steps in our head and readily find \(\lzoo{x}{3x^2+5x+7}= 6x+5\text{.}\)
Example 2.3.9. Using the tangent line to approximate a function value.
Let \(f(x) = \sin(x) + 2x+1\text{.}\) Approximate \(f(3)\) using an appropriate tangent line.
This problem is intentionally ambiguous; we are to approximate using an appropriate tangent line. How good of an approximation are we seeking? What does āappropriateā mean?
In the āreal world,ā people solving problems deal with these issues all time. One must make a judgment using whatever seems reasonable. In this example, the actual answer is \(f(3) = \sin(3) + 7\text{,}\) where the real problem spot is \(\sin(3)\text{.}\) What is \(\sin(3)\text{?}\)
Since \(3\) is close to \(\pi\text{,}\) we can assume \(\sin(3) \approx \sin(\pi) = 0\text{.}\) Thus one guess is \(f(3) \approx 7\text{.}\) Can we do better? Let's use a tangent line as instructed and examine the results; it seems best to find the tangent line at \(x=\pi\text{.}\)
Using TheoremĀ 2.3.1 we find \(\fp(x) = \cos(x) + 2\text{.}\) The slope of the tangent line is thus \(\fp(\pi) = \cos(\pi) + 2 =1\text{.}\) Also, \(f(\pi) = 2\pi+1 \approx 7.28\text{.}\) So the tangent line to the graph of \(f\) at \(x=\pi\) is \(y=1(x\pi)+ 2\pi+1 =x+\pi+1 \approx x+4.14\text{.}\) Evaluated at \(x=3\text{,}\) our tangent line gives \(y=3+4.14 = 7.14\text{.}\) Using the tangent line, our final approximation is that \(f(3) \approx 7.14\text{.}\)
Using a calculator, we get an answer accurate to four places after the decimal: \(f(3) = 7.1411\text{.}\) Our initial guess was \(7\text{;}\) our tangent line approximation was more accurate, at \(7.14\text{.}\)
The point is not āHere's a cool way to do some math without a calculator.ā Sure, that might be handy sometime, but your phone could probably give you the answer. Rather, the point is to say that tangent lines are a good way of approximating, and many scientists, engineers and mathematicians often face problems too hard to solve directly. So they approximate.
The graphs in FigureĀ 2.3.10 shows the graph of the function \(f(x)\) along with the tangent line constructed at \(x=\pi\text{.}\) The graph in FigureĀ 2.3.10 shows the same tangent line and function. Once zoomed in, you can barely distinguish the tangent line from the function. This indicates that the tangent line is a good a approximation of the function so long as we are near the point of tangency.
Subsection 2.3.1 Higher Order Derivatives
The derivative of a function \(f\) is itself a function, therefore we can take its derivative. The following definition gives a name to this concept and introduces its notation.
Definition 2.3.12. Higher Order Derivatives.
Let \(y=f(x)\) be a differentiable function on \(I\text{.}\) The following are defined, provided the corresponding limits exist.

The second derivative of \(f\) is:
\begin{equation*} \fp'(x) = \lzoo{x}{\fp(x)} = \lzoo{x}{\lz{y}{x}} = \lzn{2}{y}{x}=y''\text{.} \end{equation*} 
The third derivative of \(f\) is:
\begin{equation*} \fp''(x) = \lzoo{x}{\fp'(x)} = \lzoo{x}{\lzn{2}{y}{x}} = \lzn{3}{y}{x}=y'''\text{.} \end{equation*} 
The \(n\)th derivative of \(f\) is:
\begin{equation*} f^{(n)}(x) = \lzoo{x}{f^{(n1)}(x)} = \lzoo{x}{\lzn{n1}{y}{x}} = \lzn{n}{y}{x}=y^{(n)}\text{.} \end{equation*}
In general, when finding the fourth derivative and on, we resort to the \(f\,^{(4)}(x)\) notation, not \(\fp'''(x)\text{;}\) after a while, too many ticks is confusing.
Let's practice using this new concept.
Example 2.3.14. Finding higher order derivatives.
Find the first four derivatives of the following functions:
\(\displaystyle f(x) = 4x^2\)
\(\displaystyle f(x) = \sin(x)\)
\(\displaystyle f(x) = 5e^x\)

Using the Power and Constant Multiple Rules, we have: \(\fp(x) = 8x\text{.}\) Continuing on, we have
\begin{align*} \fp'(x)\amp=\lzoo{x}{8x}=8\amp\fp''(x)\amp=0\amp f^{(4)}(x)\amp=0\text{.} \end{align*}Notice how all successive derivatives will also be \(0\text{.}\)

We employ TheoremĀ 2.3.1 repeatedly.
\begin{align*} \fp(x)\amp=\cos(x)\amp \fp''(x)\amp= \cos(x)\\ \fp'(x)\amp= \sin(x)\amp f^{(4)}(x)\amp = \sin(x) \end{align*}Note how we have come right back to \(f(x)\) again. (Can you quickly figure what \(f^{(23)}(x)\) is?)

Employing TheoremĀ 2.3.1 and the Constant Multiple Rule, we can see that
\begin{equation*} \fp(x) = \fp'(x) = \fp''(x) = f^{(4)}(x) = 5e^x\text{.} \end{equation*}
Subsection 2.3.2 Interpreting Higher Order Derivatives
What do higher order derivatives mean? What is the practical interpretation?
Our first answer is a bit wordy, but is technically correct and beneficial to understand. That is,
The second derivative of a function \(f\) is the rate of change of the rate of change of \(f\text{.}\)
One way to grasp this concept is to let \(f\) describe a position function. Then, as stated in Key IdeaĀ 2.2.3, \(\fp\) describes the rate of position change: velocity. We now consider \(\fp'\text{,}\) which describes the rate of velocity change. Sports car enthusiasts talk of how fast a car can go from \(0\) to 60 mph; they are bragging about the acceleration of the car.
We started this chapter with amusement park riders freefalling with position function \(f(t) = 16t^2+150\text{.}\) It is easy to compute \(\fp(t)=32t\) ft/s and \(\fp'(t) = 32\) (ft/s)/s. We may recognize this latter constant; it is the acceleration due to gravity. In keeping with the unit notation introduced in the previous section, we say the units are āfeet per second per second.ā This is usually shortened to āfeet per second squared,ā written as āft/s\(^2\text{.}\)ā
It can be difficult to consider the meaning of the third, and higher order, derivatives. The third derivative is āthe rate of change of the rate of change of the rate of change of \(f\text{.}\)ā That is essentially meaningless to the uninitiated. In the context of our position/velocity/acceleration example, the third derivative is the ārate of change of acceleration,ā commonly referred to as ājerk.ā
Make no mistake: higher order derivatives have great importance even if their practical interpretations are hard (or āimpossibleā) to understand. The mathematical topic of series makes extensive use of higher order derivatives.
Exercises 2.3.3 Exercises
Terms and Concepts
1.
What is the name of the rule which states that \(\lzoo{x}{x^n} = nx^{n1}\text{,}\) where \(n \gt 0\) is an integer?
2.
What is \(\lzoo{x}{\ln(x)}\text{?}\)
3.
Give an example of a function \(f(x)\) where \(\fp(x) = f(x)\text{.}\)
4.
Give an example of a function \(f(x)\) where \(\fp(x) = 0\text{.}\)
5.
The derivative rules introduced in SectionĀ 2.3 explain how to compute the derivative of which of the following functions?
\(\displaystyle \sin(x) \cos(x)\)
\(\displaystyle e^{x^2}\)
\(\displaystyle \sqrt{x}\)
\(\displaystyle \frac{3}{x^2}\)
\(\displaystyle 3x^2x+17\)
\(\displaystyle 5\ln(x)\)
6.
Explain in your own words how to find the third derivative of a function \(f(x)\text{.}\)
7.
Give an example of a function where \(\fp(x) \neq 0\) and \(\fpp(x) = 0\text{.}\)
8.
Explain in your own words what the second derivative āmeansā.
9.
If \(f(x)\) describes a position function, then \(\fp(x)\) describes what kind of function? What kind of function is \(\fpp(x)\text{?}\)
10.
Let \(f(x)\) be a function measured in pounds (lb), where \(x\) is measured in feet (ft). What are the units of \(\fpp(x)\text{?}\)
Problems
Exercise Group.
Compute the derivative of the given function.
11.
\(f(x) = {\left(4x^{2}+8x+2\right)}\)
12.
\(g(x) = {16x^{2}4x^{3}+24x+28}\)
13.
\(m(t) = {3t^{5}{\frac{1}{2}}t^{3}4t+5}\)
14.
\(f(\theta) = {8\sin\!\left(\theta\right)17\cos\!\left(\theta\right)}\)
15.
\(f(r) = {6e^{r}}\)
16.
\(g(t) = {16t^{3}+\cos\!\left(t\right)+7\sin\!\left(t\right)}\)
17.
\(f(x) = {\left(9\ln\!\left(x\right)+9x\right)}\)
18.
\(p(s) = {{\frac{1}{4}}s^{4}+{\frac{1}{3}}s^{3}+{\frac{1}{2}}s^{2}+s+1}\)
19.
\(h(t) = {\cos\!\left(t\right)\left(e^{t}+\sin\!\left(t\right)\right)}\)
20.
\(f(x) = {\ln\!\left(4x^{8}\right)}\)
21.
\(f(t) = {\ln\!\left(10\right)+e^{7}+\cos\!\left(\frac{\pi }{3}\right)}\)
22.
\(g(t) = {\left(6+3t\right)^{2}}\)
23.
\(g(x) = {\left(3x+4\right)^{3}}\)
24.
\(f(x) = {\left(4+x\right)^{3}}\)
25.
\(f(x) = {\left(9+3x\right)^{2}}\)
26.
A property of logarithms is that \(\log_a(x) = \frac{\log_b(x)}{\log_b(a)}\text{,}\) for all bases \(a,b \gt 0,\neq 1\text{.}\)
Rewrite this identity when \(b=e\text{,}\) i.e., using \(\log_e(x) =\ln(x)\text{,}\) with \(a=10\text{.}\)
Use part (a) to find the derivative of \(y=\log_{10}(x)\text{.}\)
Find the derivative of \(y=\log_a(x)\) for any \(a\gt0,\neq1\text{.}\)
Exercise Group.
Compute the first four derivatives of the given function.
27.
\(f(x) = {x^{5}}\)
28.
\(g(x) = {5\sin\!\left(x\right)}\)
29.
\(h(t) = {3tt^{2}+e^{t}}\)
30.
\(p(\theta) = {\theta^{6}\theta^{5}}\)
31.
\(f(\theta) = {\sin\!\left(\theta\right)\cos\!\left(\theta\right)}\)
32.
\(f(x) = {1342}\)
Exercise Group.
Find the equations of the tangent and normal lines to the graph of the function at the given point.
33.
\(f(x)={x^{3}x}\) at \(x=2\)
34.
\(f(t)={e^{t}7}\) at \(t=3\)
35.
\(g(x)=\ln(x)\) at \(x=1\)
36.
\(f(x)={2\cos\!\left(x\right)}\) at \(x=\pi/2\)
37.
\(f(x)={8\sin\!\left(x\right)}\) at \(x=\pi/2\)
38.
\(f(x)={4x+5}\) at \(x=3\)
Review
39.
Given that \(e^0=1\text{,}\) approximate the value of \(e^{0.1}\) using the tangent line to \(f(x) = e^x\) at \(x=0\text{.}\)
40.
Approximate the value of \((3.1)^{4}\) using the tangent line to \(f(x) = {x^{4}}\) at \(x=3\text{.}\)