Skip to main content
Logo image

Active Calculus

Section 1.3 The derivative of a function at a point

The instantaneous rate of change of a function is an idea that sits at the foundation of calculus. It is a generalization of the notion of instantaneous velocity and measures how fast a particular function is changing at a given point. If the original function represents the position of a moving object, this instantaneous rate of change is precisely the velocity of the object. In other contexts, instantaneous rate of change could measure the number of cells added to a bacteria culture per day, the number of additional gallons of gasoline consumed by increasing a car’s velocity one mile per hour, or the number of dollars added to a mortgage payment for each percentage point increase in interest rate. The instantaneous rate of change can also be interpreted geometrically on the function’s graph, and this connection is fundamental to many of the main ideas in calculus.
Recall that for a moving object with position function \(s\text{,}\) its average velocity on the time interval \(t = a\) to \(t = a+h\) is given by the quotient
\begin{equation*} AV_{[a,a+h]} = \frac{s(a+h)-s(a)}{h}\text{.} \end{equation*}
In a similar way, we make the following definition for an arbitrary function \(y = f(x)\text{.}\)

Definition 1.3.1.

For a function \(f\text{,}\) the average rate of change of \(f\) on the interval \([a,a+h]\) is given by the value
\begin{equation*} AV_{[a,a+h]} = \frac{f(a+h)-f(a)}{h}\text{.} \end{equation*}
Equivalently, if we want to consider the average rate of change of \(f\) on \([a,b]\text{,}\) we compute
\begin{equation*} AV_{[a,b]} = \frac{f(b)-f(a)}{b-a}\text{.} \end{equation*}
It is essential that you understand how the average rate of change of \(f\) on an interval is connected to its graph.

Preview Activity 1.3.1.

The diagram below shows the graph of a function \(f\) along with points \(P\) and \(R\text{,}\) which lie on the graph. Point \(Q\) is chosen so that \(\triangle PQR\) is a right triangle. (Click on the graph to display a larger version.)

(a) Part a.

In terms of \(a\text{,}\) \(f\text{,}\) and \(h\text{,}\) give the coordinates of points \(P\) and \(R\text{.}\)
\(P\) has coordinates \((\) \(,\) \()\text{.}\)
\(R\) has coordinates \((\) \(,\) \()\text{.}\)

(b) Part b.

In terms of \(a\text{,}\) \(f\text{,}\) and \(h\text{,}\) give the lengths of the legs of this right triangle.
\(PQ\) has length .
\(QR\) has length .

(c) Parts c and d.

Give a formula, in terms of \(a\text{,}\) \(f\text{,}\) and \(h\text{,}\) for the slope of the line through points \(P\) and \(R\text{.}\)
Slope = .
Recall that the average rate of change of a function \(f\) on the interval \([a,a+h]\) is defined by the formula
\begin{equation*} AV_{[a,a+h]} = \frac{f(a+h)-f(a)}{h}. \end{equation*}
How is the slope of the line through the points \(P\) and \(R\) related to this average rate of change of \(f\text{?}\)

Subsection 1.3.1 The Derivative of a Function at a Point

Just as we defined instantaneous velocity in terms of average velocity, we now define the instantaneous rate of change of a function at a point in terms of the average rate of change of the function \(f\) over related intervals. This instantaneous rate of change of \(f\) at \(a\) is called “the derivative of \(f\) at \(a\text{,}\)” and is denoted by \(f'(a)\text{.}\)

Definition 1.3.2.

Let \(f\) be a function and \(x = a\) a value in the function’s domain. We define the derivative of \(f\) with respect to \(x\) evaluated at \(x = a\), denoted \(f'(a)\text{,}\) by the formula
\begin{equation*} f'(a) = \lim_{h \to 0} \frac{f(a+h)-f(a)}{h}\text{,} \end{equation*}
provided this limit exists.
Aloud, we read the symbol \(f'(a)\) as either “\(f\)-prime at \(a\)” or “the derivative of \(f\) evaluated at \(x = a\text{.}\)” Much of the next several chapters will be devoted to understanding, computing, applying, and interpreting derivatives. For now, we observe the following important things.

Note 1.3.3.

  • The derivative of \(f\) at the value \(x = a\) is defined as the limit of the average rate of change of \(f\) on the interval \([a,a+h]\) as \(h \to 0\text{.}\) This limit may not exist, so not every function has a derivative at every point.
  • We say that a function is differentiable at \(x = a\) if it has a derivative at \(x = a\text{.}\)
  • The derivative is a generalization of the instantaneous velocity of a position function: if \(y = s(t)\) is a position function of a moving body, \(s'(a)\) tells us the instantaneous velocity of the body at time \(t=a\text{.}\)
  • Because the units on \(\frac{f(a+h)-f(a)}{h}\) are “units of \(f(x)\) per unit of \(x\text{,}\)” the derivative has these very same units. For instance, if \(s\) measures position in feet and \(t\) measures time in seconds, the units on \(s'(a)\) are feet per second.
  • Because the quantity \(\frac{f(a+h)-f(a)}{h}\) represents the slope of the line through \((a,f(a))\) and \((a+h, f(a+h))\text{,}\) when we compute the derivative we are taking the limit of a collection of slopes of lines. Thus, the derivative itself represents the slope of a particularly important line.
We first consider the derivative at a given value as the slope of a certain line.
When we compute an instantaneous rate of change, we allow the interval \([a,a+h]\) to shrink as \(h \to 0\text{.}\) We can think of one endpoint of the interval as “sliding towards” the other. In particular, provided that \(f\) has a derivative at \((a,f(a))\text{,}\) the point \((a+h,f(a+h))\) will approach \((a,f(a))\) as \(h \to 0\text{.}\) Because the process of taking a limit is a dynamic one, it can be helpful to use computing technology to visualize it. One option is a java applet in which the user is able to control the point that is moving. For a helpful collection of examples, consider the work of David Austin
 1 
gvsu.edu/s/5r
of Grand Valley State University, and this particularly relevant example
 2 
gvsu.edu/s/5s
. For applets that have been built in Geogebra
 3 
You can even consider building your own examples; the fantastic program Geogebra is available for free download and is easy to learn and use.
, see Marc Renault’s library
 4 
gvsu.edu/s/5p
via Shippensburg University, with this example
 5 
gvsu.edu/s/5q
being especially fitting for our work in this section.
Figure 1.3.4 shows a sequence of figures with several different lines through the points \((a, f(a))\) and \((a+h,f(a+h))\text{,}\) generated by different values of \(h\text{.}\) These lines (shown in the first three figures in magenta), are often called secant lines to the curve \(y = f(x)\text{.}\) A secant line to a curve is simply a line that passes through two points on the curve. For each such line, the slope of the secant line is \(m = \frac{f(a+h) - f(a)}{h}\text{,}\) where the value of \(h\) depends on the location of the point we choose. We can see in the diagram how, as \(h \to 0\text{,}\) the secant lines start to approach a single line that passes through the point \((a,f(a))\text{.}\) If the limit of the slopes of the secant lines exists, we say that the resulting value is the slope of the tangent line to the curve. This tangent line (shown in the right-most figure in green) to the graph of \(y = f(x)\) at the point \((a,f(a))\) has slope \(m = f'(a)\text{.}\)
Figure 1.3.4. A sequence of secant lines approaching the tangent line to \(f\) at \((a,f(a))\text{.}\)
If the tangent line at \(x = a\) exists, the graph of \(f\) looks like a straight line when viewed up close at \((a,f(a))\text{.}\) In Figure 1.3.5 we combine the four graphs in Figure 1.3.4 into the single one on the left, and zoom in on the box centered at \((a,f(a))\) on the right. Note how the tangent line sits relative to the curve \(y = f(x)\) at \((a,f(a))\) and how closely it resembles the curve near \(x = a\text{.}\)
Figure 1.3.5. A sequence of secant lines approaching the tangent line to \(f\) at \((a,f(a))\text{.}\) At right, we zoom in on the point \((a,f(a))\text{.}\) The slope of the tangent line (in green) to \(f\) at \((a,f(a))\) is given by \(f'(a)\text{.}\)

Note 1.3.6.

The instantaneous rate of change of \(f\) with respect to \(x\) at \(x = a\text{,}\) \(f'(a)\text{,}\) also measures the slope of the tangent line to the curve \(y = f(x)\) at \((a,f(a))\text{.}\)
The following example demonstrates several key ideas involving the derivative of a function.

Example 1.3.7. Using the limit definition of the derivative.

For the function \(f(x) = x - x^2\text{,}\) use the limit definition of the derivative to compute \(f'(2)\text{.}\) In addition, discuss the meaning of this value and draw a labeled graph that supports your explanation.
Solution.
From the limit definition, we know that
\begin{equation*} f'(2) = \lim_{h \to 0} \frac{f(2+h)-f(2)}{h}\text{.} \end{equation*}
Now we use the rule for \(f\text{,}\) and observe that \(f(2) = 2 - 2^2 = -2\) and \(f(2+h) = (2+h) - (2+h)^2\text{.}\) Substituting these values into the limit definition, we have that
\begin{equation*} f'(2) = \lim_{h \to 0} \frac{(2+h) - (2+h)^2 - (-2)}{h}\text{.} \end{equation*}
In order to let \(h \to 0\text{,}\) we must simplify the quotient. Expanding and distributing in the numerator,
\begin{equation*} f'(2) = \lim_{h \to 0} \frac{2+h - 4 - 4h - h^2 + 2}{h}\text{.} \end{equation*}
Combining like terms, we have
\begin{equation*} f'(2) = \lim_{h \to 0} \frac{ -3h - h^2}{h}\text{.} \end{equation*}
Next, we remove a common factor of \(h\) in both the numerator and denominator and find that
\begin{equation*} f'(2) = \lim_{h \to 0} (-3-h)\text{.} \end{equation*}
Finally, we are able to take the limit as \(h \to 0\text{,}\) and thus conclude that \(f'(2) = -3\text{.}\) We note that \(f'(2)\) is the instantaneous rate of change of \(f\) at the point \((2,-2)\text{.}\) It is also the slope of the tangent line to the graph of \(y = x - x^2\) at the point \((2,-2)\text{.}\) Figure 1.3.8 shows both the function and the line through \((2,-2)\) with slope \(m = f'(2) = -3\text{.}\)
Figure 1.3.8. The tangent line to \(y = x - x^2\) at the point \((2,-2)\text{.}\)
The following activities will help you explore a variety of key ideas related to derivatives.

Activity 1.3.2.

Consider the function \(f\) whose formula is \(\displaystyle f(x) = 3 - 2x\text{.}\)
  1. What familiar type of function is \(f\text{?}\) What can you say about the slope of \(f\) at every value of \(x\text{?}\)
  2. Compute the average rate of change of \(f\) on the intervals \([1,4]\text{,}\) \([3,7]\text{,}\) and \([5,5+h]\text{;}\) simplify each result as much as possible. What do you notice about these quantities?
  3. Use the limit definition of the derivative to compute the exact instantaneous rate of change of \(f\) with respect to \(x\) at the value \(a = 1\text{.}\) That is, compute \(f'(1)\) using the limit definition. Show your work. Is your result surprising?
  4. Without doing any additional computations, what are the values of \(f'(2)\text{,}\) \(f'(\pi)\text{,}\) and \(f'(-\sqrt{2})\text{?}\) Why?

Activity 1.3.3.

A water balloon is tossed vertically in the air from a window. The balloon’s height in feet at time \(t\) in seconds after being launched is given by \(s(t) = -16t^2 + 16t + 32\text{.}\) Use this function to respond to each of the following questions.
  1. Sketch an accurate, labeled graph of \(s\) on the axes provided in Figure 1.3.9. You should be able to do this without using computing technology.
    Figure 1.3.9. Axes for plotting \(y = s(t)\) in Activity 1.3.3.
  2. Compute the average rate of change of \(s\) on the time interval \([1,2]\text{.}\) Include units on your answer and write one sentence to explain the meaning of the value you found.
  3. Use the limit definition to compute the instantaneous rate of change of \(s\) with respect to time, \(t\text{,}\) at the instant \(a = 1\text{.}\) Show your work using proper notation, include units on your answer, and write one sentence to explain the meaning of the value you found.
  4. On your graph in (a), sketch two lines: one whose slope represents the average rate of change of \(s\) on \([1,2]\text{,}\) the other whose slope represents the instantaneous rate of change of \(s\) at the instant \(a=1\text{.}\) Label each line clearly.
  5. For what values of \(a\) do you expect \(s'(a)\) to be positive? Why? Answer the same questions when “positive” is replaced by “negative” and “zero.”

Activity 1.3.4.

A rapidly growing city in Arizona has its population \(P\) at time \(t\text{,}\) where \(t\) is the number of decades after the year 2010, modeled by the formula \(P(t) = 25000 e^{t/5}\text{.}\) Use this function to respond to the following questions.
  1. Sketch an accurate graph of \(P\) for \(t = 0\) to \(t = 5\) on the axes provided in Figure 1.3.10. Label the scale on the axes carefully.
    Figure 1.3.10. Axes for plotting \(y = P(t)\) in Activity 1.3.4.
  2. Compute the average rate of change of \(P\) between 2030 and 2050. Include units on your answer and write one sentence to explain the meaning (in everyday language) of the value you found.
  3. Use the limit definition to write an expression for the instantaneous rate of change of \(P\) with respect to time, \(t\text{,}\) at the instant \(a = 2\text{.}\) Explain why this limit is difficult to evaluate exactly.
  4. Estimate the limit in (c) for the instantaneous rate of change of \(P\) at the instant \(a = 2\) by using several small \(h\) values. Once you have determined an accurate estimate of \(P'(2)\text{,}\) include units on your answer, and write one sentence (using everyday language) to explain the meaning of the value you found.
  5. On your graph above, sketch two lines: one whose slope represents the average rate of change of \(P\) on \([2,4]\text{,}\) the other whose slope represents the instantaneous rate of change of \(P\) at the instant \(a=2\text{.}\)
  6. In a carefully-worded sentence, describe the behavior of \(P'(a)\) as \(a\) increases in value. What does this reflect about the behavior of the given function \(P\text{?}\)

Subsection 1.3.2 Summary

  • The average rate of change of a function \(f\) on the interval \([a,b]\) is \(\frac{f(b)-f(a)}{b-a}\text{.}\) The units on the average rate of change are units of \(f(x)\) per unit of \(x\text{,}\) and the numerical value of the average rate of change represents the slope of the secant line between the points \((a,f(a))\) and \((b,f(b))\) on the graph of \(y = f(x)\text{.}\) If we view the interval as being \([a,a+h]\) instead of \([a,b]\text{,}\) the meaning is still the same, but the average rate of change is now computed by \(\frac{f(a+h)-f(a)}{h}\text{.}\)
  • The instantaneous rate of change with respect to \(x\) of a function \(f\) at a value \(x = a\) is denoted \(f'(a)\) (read “the derivative of \(f\) evaluated at \(a\)” or “\(f\)-prime at \(a\)”) and is defined by the formula
    \begin{equation*} f'(a) = \lim_{h \to 0} \frac{f(a+h)-f(a)}{h}\text{,} \end{equation*}
    provided the limit exists. Note particularly that the instantaneous rate of change at \(x = a\) is the limit of the average rate of change on \([a,a+h]\) as \(h \to 0\text{.}\)
  • Provided the derivative \(f'(a)\) exists, its value tells us the instantaneous rate of change of \(f\) with respect to \(x\) at \(x = a\text{,}\) which geometrically is the slope of the tangent line to the curve \(y = f(x)\) at the point \((a,f(a))\text{.}\) We even say that \(f'(a)\) is the “slope of the curve” at the point \((a,f(a))\text{.}\)
  • Limits allow us to move from the rate of change over an interval to the rate of change at a single point.

Exercises 1.3.3 Exercises

1.

Match the points labeled on the curve below with the given slopes in the following table.
slope -2 -1 -1/2 0 1 2
label
  • A
  • B
  • C
  • D
  • E
  • F
  • A
  • B
  • C
  • D
  • E
  • F
  • A
  • B
  • C
  • D
  • E
  • F
  • A
  • B
  • C
  • D
  • E
  • F
  • A
  • B
  • C
  • D
  • E
  • F
  • A
  • B
  • C
  • D
  • E
  • F

2.

Consider the graph of the function \(f(x)\) shown below.
Using this graph, for each of the following pairs of numbers decide which is larger. Be sure that you can explain your answer.
A. \(f(8)\)
  • <
  • =
  • >
\(f(10)\)
B. \(f(8) - f(6)\)
  • <
  • =
  • >
\(f(6) - f(4)\)
C. \(\frac{f(6) - f(4)}{6 - 4}\)
  • <
  • =
  • >
\(\frac{f(8) - f(4)}{8 - 4}\)
D. \(f'(4)\)
  • <
  • =
  • >
\(f'(10)\)

3.

If \(f(x) = \frac { 1 } {x^2}\text{,}\) find \(f'( 2 )\text{,}\) using the definition of derivative.
\(f'( 2 )\) is the limit as \(h\to\) of the expression
The value of this limit is

4.

Let \(f(x)\) be the function whose graph is shown below.
Determine \(f'(a)\) for \(a = 1,2,4,7\text{.}\)
\(f'(1) =\)
\(f'(2) =\)
\(f'(4) =\)
\(f'(7) =\)

5.

Consider the function \(y = f(x)\) graphed below.
Give the \(x\)-coordinate of a point where:
A. the derivative of the function is positive: \(x =\)
B. the value of the function is positive: \(x =\)
C. the derivative of the function is largest: \(x =\)
D. the derivative of the function is zero: \(x =\)
E. the derivative of the function is approximately the same as the derivative at \(x = 0.75\) (be sure that you give a point that is distinct from \(x = 0.75\text{!}\)): \(x =\)

6.

The figure below shows a function \(g(x)\) and its tangent line at the point \(B = (4.4,2.6)\text{.}\) If the point \(A\) on the tangent line is \((4.36,2.53)\text{,}\) fill in the blanks below to complete the statements about the function \(g\) at the point \(B\text{.}\)
\(g(\) \() =\)
\(g'(\) \() =\)

7.

Let \(f(x) = x^2 + 6 x\text{.}\)
(A) Find the slope of the secant line joining \((3, f(3))\) and \((9, f(9))\text{.}\)
Slope of secant line =
(B) Find the slope of the secant line joining \((5, f(5))\) and \((5 + h, f(5 + h))\text{.}\)
Slope of secant line =
(C) Find the slope of the tangent line at \((5, f(5))\text{.}\)
Slope of tangent line =
(D) Find the equation of the tangent line at \((5, f(5))\text{.}\)
\(y =\)

8.

Find \(f'(a)\) for
\begin{equation*} f(x) = 3+8x-5x^{2}. \end{equation*}
\(f'(a)\) =

9.

Find \(f'(a)\) for
\begin{equation*} f(x) =\frac{5}{\sqrt{3-10 x}}. \end{equation*}
\(f'(a)\) =

10.

Consider the graph of \(y = f(x)\) provided in Figure 1.3.11.
  1. On the graph of \(y = f(x)\text{,}\) sketch and label the following quantities:
    • the secant line to \(y = f(x)\) on the interval \([-3,-1]\) and the secant line to \(y = f(x)\) on the interval \([0,2]\text{.}\)
    • the tangent line to \(y = f(x)\) at \(x = -3\) and the tangent line to \(y = f(x)\) at \(x = 0\text{.}\)
  2. What is the approximate value of the average rate of change of \(f\) on \([-3,-1]\text{?}\) On \([0,2]\text{?}\) How are these values related to your work in (a)?
  3. What is the approximate value of the instantaneous rate of change of \(f\) at \(x = -3\text{?}\) At \(x = 0\text{?}\) How are these values related to your work in (a)?
Figure 1.3.11. Plot of \(y = f(x)\text{.}\)

11.

For each of the following prompts, sketch a graph on the provided axes in Figure 1.3.12 of a function that has the stated properties.
Figure 1.3.12. Axes for plotting \(y = f(x)\) in (a) and \(y = g(x)\) in (b).
  1. \(y = f(x)\) such that
    • the average rate of change of \(f\) on \([-3,0]\) is \(-2\) and the average rate of change of \(f\) on \([1,3]\) is 0.5, and
    • the instantaneous rate of change of \(f\) at \(x = -1\) is \(-1\) and the instantaneous rate of change of \(f\) at \(x = 2\) is 1.
  2. \(y = g(x)\) such that
    • \(\frac{g(3)-g(-2)}{5} = 0\) and \(\frac{g(1)-g(-1)}{2} = -1\text{,}\) and
    • \(g'(2) = 1\) and \(g'(-1) = 0\)

12.

Suppose that the population, \(P\text{,}\) of China (in billions) can be approximated by the function \(P(t) = 1.15(1.014)^t\) where \(t\) is the number of years since the start of 1993.
  1. According to the model, what was the total change in the population of China between January 1, 1993 and January 1, 2000? What will be the average rate of change of the population over this time period? Is this average rate of change greater or less than the instantaneous rate of change of the population on January 1, 2000? Explain and justify, being sure to include proper units on all your answers.
  2. According to the model, what is the average rate of change of the population of China in the ten-year period starting on January 1, 2012?
  3. Write an expression involving limits that, if evaluated, would give the exact instantaneous rate of change of the population on today’s date. Then estimate the value of this limit (discuss how you chose to do so) and explain the meaning (including units) of the value you have found.
  4. Find an equation for the tangent line to the function \(y = P(t)\) at the point where the \(t\)-value is given by today’s date.

13.

The goal of this problem is to compute the value of the derivative at a point for several different functions, where for each one we do so in three different ways, and then to compare the results to see that each produces the same value.
For each of the following functions, use the limit definition of the derivative to compute the value of \(f'(a)\) using three different approaches: strive to use the algebraic approach first (to compute the limit exactly), then test your result using numerical evidence (with small values of \(h\)), and finally plot the graph of \(y = f(x)\) near \((a,f(a))\) along with the appropriate tangent line to estimate the value of \(f'(a)\) visually. Compare your findings among all three approaches; if you are unable to complete the algebraic approach, still work numerically and graphically.
  1. \(f(x) = x^2 - 3x\text{,}\) \(a = 2\)
  2. \(f(x) = \frac{1}{x}\text{,}\) \(a = 1\)
  3. \(f(x) = \sqrt{x}\text{,}\) \(a = 1\)
  4. \(f(x) = 2 - |x-1|\text{,}\) \(a = 1\)
  5. \(f(x) = \sin(x)\text{,}\) \(a = \frac{\pi}{2}\)
You have attempted of activities on this page.