2.1: Elementary Derivative Rules
 Page ID
 4299
Learning Objectives
In this section, we strive to understand the ideas generated by the following important questions:
 What are alternate notations for the derivative?
 How can we sometimes use the algebraic structure of a function \(f (x)\) to easily compute a formula for \(f'(x)\)?
 What is the derivative of a power function of the form \(f (x) = x^n\) ? What is the derivative of an exponential function of form \(f (x) = a^x\)?
 If we know the derivative of \(y = f (x)\), how is the derivative of \(y = k f (x)\) computed, where \(k\) is a constant?
 If we know the derivatives of \(y = f (x)\) and \(y = g(x)\), how is the derivative of \(y = f (x) + g(x)\) computed?
In Chapter 1, we developed the concept of the derivative of a function. We now know that the derivative \(f'\) of a function \(f\) measures the instantaneous rate of change of \(f\) with respect to \(x\) as well as the slope of the tangent line to \(y = f (x)\) at any given value of \(x\). To date, we have focused primarily on interpreting the derivative graphically or, in the context of functions in a physical setting, as a meaningful rate of change. To actually calculate the value of the derivative at a specific point, we have typically relied on the limit definition of the derivative.
In this present chapter, we will investigate how the limit definition of the derivative,
\[f'(x) = \lim_{h→0} f (x + h) − f (x) h ,\]
leads to interesting patterns and rules that enable us to quickly find a formula for \(f'(x)\) based on the formula for \(f (x)\) without using the limit definition directly. For example, we already know that if \(f (x) = x\), then it follows that \(f'(x) = 1\). While we could use the limit definition of the derivative to confirm this, we know it to be true because \(f (x)\) is a linear function with slope 1 at every value of \(x\). One of our goals is to be able to take standard functions, say ones such as
\[g(x) = 4x^7 − \sin(x) + 3e^x ,\]
and, based on the algebraic form of the function, be able to apply shortcuts to almost immediately determine the formula for \(g \prime (x)\).
Preview Activity \(\PageIndex{1}\)
Functions of the form \(f (x) = x^n\), where \(n = 1, 2, 3, \ldots\), are often called power functions. The first two questions below revisit work we did earlier in Chapter 1, and the following questions extend those ideas to higher powers of \(x\).
 Use the limit definition of the derivative to find \(f'(x)\) for \(f (x) = x^2\).
 Use the limit definition of the derivative to find \(f'(x)\) for \(f (x) = x^3\).
 Use the limit definition of the derivative to find \(f'(x)\) for \(f (x) = x^4\). (Hint: \(( a + b ) ^ { 4 } = a ^ { 4 } + 4 a ^ { 3 } b + 6 a ^ { 2 } b ^ { 2 } + 4 a b ^ { 3 } + b ^ { 4 }\). Apply this rule to \((x + h)^4\) within the limit definition.)
 Based on your work in (a), (b), and (c), what do you conjecture is the derivative of \(f (x) = x^5\)? Of \(f (x) = x^{13}\)?
 Conjecture a formula for the derivative of \(f (x) = x^n\) that holds for any positive integer \(n\). That is, given \(f (x) = x^n\) where \(n\) is a positive integer, what do you think is the formula for \(f'(x)\)?
Some Key Notation
In addition to our usual \(f'\) notation for the derivative, there are other ways to symbolically denote the derivative of a function, as well as the instruction to take the derivative. We know that if we have a function, say \(f (x) = x^2\), that we can denote its derivative by \(f'(x)\), and we write \(f'(x) = 2x\). Equivalently, if we are thinking more about the relationship between \(y\) and \(x\), we sometimes denote the derivative of \(y\) with respect to \(x\) with the symbol
\[\frac { d y } { d x }\]
which we read “deey deex.” This notation comes from the fact that the derivative is related to the slope of a line, and slope is measured by \(\frac { \Delta y } { \Delta x }\). Note that while we read \(\frac { \Delta y } { \Delta x }\) as “change in \(y\) over change in \(x\),” for the derivative symbol \(\frac { d y } { d x }\), we view this is a single symbol, not a quotient of two quantities^{1}. For example, if \(y = x^ 2\), we’ll write that the derivative is \(\frac { d y } { d x }=2x\).
Furthermore, we use a variant of \(\frac { d y } { d x }\) notation to convey the instruction to take the derivative of a certain quantity with respect to a given variable. In particular, if we write
\[\frac { d } { d x } [ \mathrm { } ]\]
this means “take the derivative of the quantity in \( [ \mathrm { } ]\) with respect to \(x\).” To continue our example above with the squaring function, here we may write \(\frac { d } { d x } \left[ x ^ { 2 } \right] = 2 x\).
It is important to note that the independent variable can be different from \(x\). If we have \(f ( z ) = z ^ { 2 }\), we then write \(f ^ { \prime } ( z ) = 2 z\). Similarly, if \(y = t ^2\), we can say \(\frac { d y } { d t } = 2\). And changing the variable and derivative notation once more, it is also true that \(\frac { d } { d q } \left[ q ^ { 2 } \right] = 2 q\). This notation may also be applied to second derivatives:
\[f ^ { \prime \prime } ( z ) = \frac { d } { d z } \left[ \frac { d f } { d z } \right] = \frac { d ^ { 2 } f } { d z ^ { 2 } }.\]
In what follows, we’ll be working to widely expand our repertoire of functions for which we can quickly compute the corresponding derivative formula
Constant, Power, and Exponential Functions
So far, we know the derivative formula for two important classes of functions: constant functions and power functions. For the first kind, observe that if \(f (x) = c \) is a constant function, then its graph is a horizontal line with slope zero at every point. Thus, \(\frac { d } { d x } [ c ] = 0\). We summarize this with the following rule.
Constant Functions:
For any real number \(c\), if \(f (x) = c\), then \(f'(x) = 0\).
Thus, if \(f (x) = 7\), then \(f'(x) = 0\).Similarly,\(\frac { d } { d x } [ \sqrt { 3 } ] = 0\).
For power functions, from your work in Preview Activity 2.1, you have conjectured that for any positive integer \(n\), if \(f (x) = x^ n\), then \(f'(x) = nx^{n−1}\). Not only can this rule be formally proved to hold for any positive integer \(n\), but also for any nonzero real number (positive or negative).
Power Functions
For any nonzero real number, if \(f (x) = x^n\), then \(f'(x) = nx^{n−1}\).
This rule for power functions allows us to find derivatives such as the following: if \(g(z) = z ^{−3}\), then \(g ' (z) = −3z^{ −4}\). Similarly, if \(h ( t ) = t ^ { 1 / 2 }\), then \(\frac { d h } { d t } = \frac { 7 } { 5 } t ^ { 2 / 5 } \) ; likewise,\( \frac { d } { d q } \left[ q ^ { \pi } \right] = \pi q ^ { \pi  1 } \).
As we next turn to thinking about derivatives of combinations of basic functions, it will be instructive to have one more type of basic function whose derivative formula we know. For now, we simply state this rule without explanation or justification; we will explore why this rule is true in one of the exercises at the end of this section, plus we will encounter graphical reasoning for why the rule is plausible in Preview Activity 2.2.
Exponential Functions
For any positive real number \(a\), if \(f (x) = a^x\), then \(f'(x) = a^x ln(a)\).
For instance, this rule tells us that if
\[f (x) = 2 x\]
then
\[f'(x) = 2^{ x} \ln(2).\]
Similarly, for
\[p(t) = 10^t\]
\[p' (t) = 10^{t} \ln(10).\]
It is especially important to note that when \(a = e\), where \(e\) is the base of the natural logarithm function, we have that
\[\frac { d } { d x } \left[ e ^ { x } \right] = e ^ { x } \ln ( e ) = e ^ { x }\]
since \(\ln(e) = 1\). This is an extremely important property of the function \(e^ x\) : its derivative function is itself!
Finally, note carefully the distinction between power functions and exponential functions: in power functions, the variable is in the base, as in \(x ^2 \), while in exponential functions, the variable is in the power, as in \(2^ x\). As we can see from the rules, this makes a big difference in the form of the derivative.
The following activity will check your understanding of the derivatives of the three basic types of functions noted above.
Activity \(\PageIndex{1}\)
Use the three rules above to determine the derivative of each of the following functions. For each, state your answer using full and proper notation, labeling the derivative with its name. For example, if you are given a function \(h(z)\), you should write “\(h ' (z) =\)” or “ \(\frac { d h } { d z } = \) ” as part of your response.
 \(f (t) = π\)
 \( g(z) = 7 z\)
 \( h(w) = w ^{3/4} \)
 \( p(x) = 3 ^{1/2}\)
 \( r(t) = ( √ 2) ^t \)
 \(\frac { d } { d q } \left[ q ^ {  1 } \right] \)
 \( m ( t ) = \frac { 1 } { t ^ { 3 } }\)
Constant Multiples and Sums of Functions
Of course, most of the functions we encounter in mathematics are more complicated than being simply constant, a power of a variable, or a base raised to a variable power. In this section and several following, we will learn how to quickly compute the derivative of a function constructed as an algebraic combination of basic functions. For instance, we’d like to be able to understand how to take the derivative of a polynomial function such as
\[p(t) = 3t^5 − 7t^4 + t^2 − 9,\]
which is a function made up of constant multiples and sums of powers of \(t\). To that end, we develop two new rules: the Constant Multiple Rule and the Sum Rule.
Say we have a function \(y = f (x)\) whose derivative formula is known. How is the derivative of \(y = k f (x)\) related to the derivative of the original function? Recall that when we multiply a function by a constant \(k\), we vertically stretch the graph by a factor of \(k\) (and reflect the graph across \(y = 0\) if \(k < 0\)). This vertical stretch affects the slope of the graph, making the slope of the function \(y = k f (x)\) be \(k\) times as steep as the slope of \(y = f (x)\). In terms of the derivative, this is essentially saying that when we multiply a function by a factor of \(k\), we change the value of its derivative by a factor of \(k\) as well. Thus^{2} , the Constant Multiple Rule holds:
The Constant Multiple Rule
For any real number \(k\), if \(f (x)\) is a differentiable function with derivative \(f'(x)\), then \(\frac { d } { d x } [ k f ( x ) ] = k f ^ { \prime } ( x) \).
In words, this rule says that “the derivative of a constant times a function is the constant times the derivative of the function.” For example, if
\[g(t) = 3 · 5 ^t,\]
we have
\[g' (t) = 3 · 5 t \ln(5).\]
Similarly,
\[\dfrac{d}{dz} [5z^{ −2} ] = 5(−2z ^{−3 }).\]
Next we examine what happens when we take a sum of two functions. If we have \(y = f (x)\) and \(y = g(x)\), we can compute a new function \(y = ( f + g)(x)\) by adding the outputs of the two functions: \(( f + g)(x) = f (x) + g(x)\). Not only does this result in the value of the new function being the sum of the values of the two known functions, but also the slope of the new function is the sum of the slopes of the known functions. Therefore^{3}, we arrive at the following Sum Rule for derivatives:
The Sum Rule
If \(f (x)\) and \(g(x)\) are differentiable functions with derivatives \(f'(x)\) and \(g ' (x)\) respectively, then \(\frac { d } { d x } [ f ( x ) + g ( x ) ] = f ^ { \prime } ( x ) + g ^ { \prime } ( x ) \) .
In words, the Sum Rule tells us that “the derivative of a sum is the sum of the derivatives.” It also tells us that any time we take a sum of two differentiable functions, the result must also be differentiable. Furthermore, because we can view the difference function
\[y = ( f −g)(x) = f (x)−g(x) \textit{ as y} = f (x)+(−1 · g(x)),\]
the Sum Rule and Constant Multiple Rules together tell us that
\[\dfrac{d}{dx} [ f (x) + (−1 · g(x))] = f'(x) − g ' (x),\]
or that “the derivative of a difference is the difference of the derivatives.” Hence we can now compute derivatives of sums and differences of elementary functions. For instance,
\[\frac { d } { d w } \left( 2 ^ { w } + w ^ { 2 } \right) = 2 ^ { w } \ln ( 2 ) + 2 w, \]
and if
\[h ( q ) = 3 q ^ { 6 }  4 q ^ {  3 } ,\]
then
\[h ^ { \prime } ( q ) = 3 \left( 6 q ^ { 5 } \right)  4 \left(  3 q ^ {  4 } \right) = 18 q ^ { 5 } + 12 q ^ {  4 }.\]
Activity \(\PageIndex{2}\)
Use only the rules for constant, power, and exponential functions, together with the Constant Multiple and Sum Rules, to compute the derivative of each function below with respect to the given independent variable. Note well that we do not yet know any rules for how to differentiate the product or quotient of functions. This means that you may have to do some algebra first on the functions below before you can actually use existing rules to compute the desired derivative formula. In each case, label the derivative you calculate with its name using proper notation such as \(f'(x)\), \(h ' (z)\), \(d r / d t\), etc.
 \(f ( x ) = x ^ { 5 / 3 }  x ^ { 4 } + 2 ^ { x } \)
 \( g ( x ) = 14 e ^ { x } + 3 x ^ { 5 }  x\)
 \(h ( z ) = \sqrt { z } + \frac { 1 } { z ^ { 4 } } + 5 ^ { 2 } \)
 \(r ( t ) = \sqrt { 53 } t ^ { 7 }  \pi e ^ { t } + e ^ { 4 } \)
 \(s ( y ) = \left( y ^ { 2 } + 1 \right) \left( y ^ { 2 }  1 \right) \)
 \(q ( x ) = \frac { x ^ { 3 }  x + 2 } { x } \)
 \(p ( a ) = 3 a ^ { 4 }  2 a ^ { 3 } + 7 a ^ { 2 }  a + 12 \)
In the same way that we have shortcut rules to help us find derivatives, we introduce some language that is simpler and shorter. Often, rather than say “take the derivative of \(f\),” we’ll instead say simply “differentiate \(f\).” This phrasing is tied to the notion of having a derivative to begin with: if the derivative exists at a point, we say “\(f\) is differentiable,” which is tied to the fact that \(f\) can be differentiated.
As we work more and more with the algebraic structure of functions, it is important to strive to develop a big picture view of what we are doing. Here, we can note several general observations based on the rules we have so far. One is that the derivative of any polynomial function will be another polynomial function, and that the degree of the derivative is one less than the degree of the original function. For instance, if
\[p(t) = 7t^5 − 4t^3 + 8t\]
\(p\) is a degree 5 polynomial, and its derivative,
\[p' (t) = 35t^4 − 12t^2 + 8,\]
is a degree 4 polynomial. Additionally, the derivative of any exponential function is another exponential function: for example, if \(g ( z ) = 7 \cdot 2 ^ { z } \), then \(g ^ { \prime } ( z ) = 7 \cdot 2 ^ { z } \ln ( 2 ) \), which is also exponential.
Furthermore, while our current emphasis is on learning shortcut rules for finding derivatives without directly using the limit definition, we should be certain not to lose sight of the fact that all of the meaning of the derivative still holds that we developed in Chapter 1. That is, anytime we compute a derivative, that derivative measures the instantaneous rate of change of the original function, as well as the slope of the tangent line at any selected point on the curve. The following activity asks you to combine the justdeveloped derivative rules with some key perspectives that we studied in Chapter 1.
Activity \(\PageIndex{3}\)
Each of the following questions asks you to use derivatives to answer key questions about functions. Be sure to think carefully about each question and to use proper notation in your responses.
 Find the slope of the tangent line to \(h ( z ) = \sqrt { z } + \frac { 1 } { z } \) at the point where \( z = 4\).
 A population of cells is growing in such a way that its total number in millions is given by the function \( P ( t ) = 2 ( 1.37 ) ^ { t } + 32\), where \(t\) is measured in days.

i. Determine the instantaneous rate at which the population is growing on day 4, and include units on your answer.
ii. Is the population growing at an increasing rate or growing at a decreasing rate on day 4? Explain.
 Find an equation for the tangent line to the curve \(p ( a ) = 3 a ^ { 4 }  2 a ^ { 3 } + 7 a ^ { 2 }  a + 12 \) at the point where \(a = −1\).
 What is the difference between being asked to find the slope of the tangent line (asked in (a)) and the equation of the tangent line (asked in (c))?
Summary
In this section, we encountered the following important ideas:
 Given a differentiable function \(y = f (x)\), we can express the derivative of f in several different notations: \(f'(x)\), \(\frac { d f } { d x } \) , \(\frac { d y } { d x } \) , and \(\frac { d } { d x } [ f ( x ) ] \).
 The limit definition of the derivative leads to patterns among certain families of functions that enable us to compute derivative formulas without resorting directly to the limit definition. For example, if \(f\) is a power function of the form \(f (x) = x^ n\), then \(f'(x) = nx^{n−1}\) for any real number \(n\) other than 0. This is called the Rule for Power Functions.
 We have stated a rule for derivatives of exponential functions in the same spirit as the rule for power functions: for any positive real number \(a\), if \(f (x) = a^ x\), then \(f'(x) = a ^{x} \ln(a)\).
 If we are given a constant multiple of a function whose derivative we know, or a sum of functions whose derivatives we know, the Constant Multiple and Sum Rules make it straightforward to compute the derivative of the overall function. More formally, if \(f (x)\) and \(g(x)\) are differentiable with derivatives \(f'(x)\) and \(g ' (x)\) and \(a\) and \(b\) are constants, then \[ \frac { d } { d x } [ a f ( x ) + b g ( x ) ] = a f ^ { \prime } ( x ) + b g ^ { \prime } ( x )\].
Contributors and Attributions
Matt Boelkins (Grand Valley State University), David Austin (Grand Valley State University), Steve Schlicker (Grand Valley State University)
________
^{1}That is, we do not say “deey over deex.”
^{2}The Constant Multiple Rule can be formally proved as a consequence of properties of limits, using the limit definition of the derivative.
^{3}Like the Constant Multiple Rule, the Sum Rule can be formally proved as a consequence of properties of limits, using the limit definition of the derivative.