To begin developing a knowledge of the derivatives of common functions, and the rules we use to find them, let’s start with the most basic of functions: I. Constant; II. Linear; and III. Power Functions. Let’s examine each in turn.
We consider first constant functions: $f(x) = c,$ where $c$ is a constant.
Consider the graphs of two constant functions, $f(x) = 20$ and $g(x) = -80.$
To start focus on the rate at which the first function, $y=f(x),$ is changing. (Hint: when you vary the input of the function just a little, how does the function’s output change? What does this tell you about the derivative?) Then imagine the graph of the corresponding derivative function, $f'(x):$ what does this graph look like?
Now think about $\dfrac{dy}{dx}$ for each point on the second graph $y = g(x),$ and imagine the graph of the corresponding derivative function, $g'(x).$ What is its shape? How does it differ from the graph of $f'(x),$ if at all?
When you have your answers in mind, open the area below to use the interactive Desmos calculator to check your reasoning.
As Exploration 1 demonstrates,
\[ \bbox[10px,border:2px solid blue]{
\begin{align*}
\textbf{Constant Functions:} & \\[4px]
\text{If $f(x) = c,$ where } c &\text{ is a constant, then $f'(x) = 0.$}
\end{align*} }\]
Here are three ways to make sense of this result:
We have $f(x) = c$, so $f(x+h) = c.$ Hence
\begin{align*}
f'(x) &= \lim_{h \to 0}\dfrac{f(x+h) – f(x)}{h} \\[8px]
&= \lim_{h \to 0}\dfrac{c\, -\, c}{h} \\[8px]
&= \lim_{h \to 0}\dfrac{0}{h} = 0 \quad \cmark
\end{align*}
Let’s consider next linear functions, which we’ll write in the familiar form $f(x) = mx + b.$
Examine the graphs of the two linear functions $f_{1}(x)$ and $f_{2}(x).$ The two lines have the same slope, but $f_1$ has a y-intercept of $b_1 = +3$ while $f_2$ has a y-intercept of $b_2 = -3.$ Imagine the graphs of the corresponding derivative functions $f_{1}'(x)$ and $f_{2}'(x).$ What are their shapes? How do they differ, if at all?
Next, examine the graphs of the two linear functions $f_1(x)$ and $f_3(x).$ They have the same y-intercept, but $f_1$ has a slope of $m_1 = +2$ while $f_3$ has a slope of $m_3 = -2.$ Imagine the graphs of the corresponding derivative functions, $f_{1}'(x)$ and $f_{3}'(x).$ What are their shapes? How do they differ, if at all?
When you have your answers in mind, open the are below to use an interactive Desmos calculator to check your reasoning.
As Exploration 2 demonstrates,
\[ \bbox[10px,border:2px solid blue]{
\begin{align*}
\textbf{Linear Functions:} & \\[4px]
\text{If }f(x) = mx+b, &\text{ then $f'(x) = \text{slope} =m.$}
\end{align*}
}\]
Here are three ways to make sense of this result:
We can visualize this result more clearly by tying it back to Leibniz notation, as shown in the following graph.
Currently a = .
At this point (and at every point on the line), dy = dx. That is, thinking of the derivative as a “measure of the function’s reactivity,” when we vary the input by the small amount dx, the function reacts by changing its output dy by times as much.
Let’s consider now functions of the form $f(x) = x^n,$ such as $x^2,$ $x^3,$ $x^{1/2} = \sqrt{x},$ and $x^{-1} = 1/x.$ We’ve actually computed each of those particular derivative functions earlier. [We’ll add these links once we make Chapter 3 available.] We’ve provided those results below, in both graphical and equation form.
Do you notice a pattern in how the derivative functions are related to the original functions? Look at this table for more examples, and the last entry, which shows how to summarize the pattern:
\[ \begin{array}{c|c|c|c|c|c|c|c|c}
f(x): & x^{-3} & x^{-2} & x^{-1} & x^0 & x^1 & x^2 & x^3 & x^n\\
\Downarrow & \Downarrow & \Downarrow & \Downarrow & \Downarrow &\Downarrow & \Downarrow & \Downarrow & \Downarrow\\
f'(x): & -3x^{-4} & -2 x^{-3} & -x^{-2} & 0 & 1 \left(x^0 \right) & 2x^{(1)} & 3x^2 & nx^{n-1}
\end{array} \]
Of course the fact that we can recognize a pattern from a small set of examples is not sufficient for us to conclude that the pattern always holds; instead, we must prove that we have in fact developed a rule we can trust, or determine when the rule holds and when it doesn’t.
Using the tools we already have, we can in fact prove that the pattern holds for any positive integer value of n:
Furthermore, later we’ll also be able to show [Link to be added] that the rule also holds for fractional values of n, such as
\[ \begin{array}{c|c|c|c|c|c|c|c|c|c|}
f(x): & x^{-2/3} & x^{-1/2} & x^{1/2} & x^{2/3} & x^n\\
\Downarrow & \Downarrow & \Downarrow & \Downarrow & \Downarrow & \Downarrow\\
f'(x): & \frac{-2}{3}x^{-5/3} & \frac{-1}{2} x^{-3/2} &\frac{1}{2}x^{-1/2} & \frac{2}{3}x^{-1/3} & nx^{n-1}
\end{array} \]
But wait, there’s more [Link again to be added]: the rule also holds for decimal values of n that can be expressed as a fraction (e.g., $0.4 = \frac{4}{10}$) – meaning all rational values of n – such as:
\[ \begin{array}{c|c|c|c|c|c|c|c|c|c|}
f(x): & x^{-0.4} & x^{-0.2} & x^{0.2} & x^{0.4} & x^n\\
\Downarrow & \Downarrow & \Downarrow & \Downarrow & \Downarrow & \Downarrow \\
f'(x): & -0.4x^{-1.4} & -0.2x^{-1.2} & 0.2x^{-0.8} & 0.4x^{-0.6} & nx^{n-1}
\end{array} \]
And finally, the rule also holds [Final link to be added] for non-rational values of n (values that cannot be expressed as a fraction) such as $\pi,$ e, and $\sqrt{2}$:
\begin{array}{c|c|c|c|c|c|c|c|c|c|}
f(x): & x^{\pi} & x^e & x^\sqrt{2} & x^n\\
\Downarrow & \Downarrow & \Downarrow & \Downarrow & \Downarrow \\
f'(x): & \pi x^{\pi-1} & ex^{e-1} & \sqrt{2}x^{\sqrt{2} – 1} & nx^{n-1}
\end{array}
Hence, the rule holds for all real values of n. Although we haven’t proven it fully yet, from this point onward we will use the general rule, known as the Power Rule:
\[ \bbox[10px,border:2px solid blue]{ \begin{align*}
\textbf{Power Rule:} & \\[4px]
\text{If }f(x) &= x^n, \text{ then } f'(x) = nx^{n-1} \\[4px]
\text{for } &\textit{any} \text{ real value of }n.
\end{align*} }\]
You can see the graph of $f(x) = x^n$ and its derivative $f'(x) = nx^{n-1}$ in the following Exploration.
The upper graph below shows the function $f(x) = x^n.$ Initially $n=3,$ so $f(x) = x^3,$ but you can change the value using the slider to any value such that $-6 \le n \le 6.$
The graph underneath shows the derivative function $f(x) = nx^{n-1}.$ It will automatically update as you change n in the upper graph.
Let’s revisit a problem from Chapter 1, where we found the linear approximation to $\sqrt{16.2}.$ At that point, we had to simply tell you the rate at which the function changes at $x = 16,$ but now you can find that rate for yourself!
On the next screen we’ll add to our toolkit of derivatives we can quickly compute, by examining the exponential function $a^x.$