We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > Calculus Volume 1

The Derivative as a Function

Learning Objectives

  • Define the derivative function of a given function.
  • Graph a derivative function from the graph of a given function.
  • State the connection between derivatives and continuity.
  • Describe three conditions for when a function does not have a derivative.
  • Explain the meaning of a higher-order derivative.

As we have seen, the derivative of a function at a given point gives us the rate of change or slope of the tangent line to the function at that point. If we differentiate a position function at a given time, we obtain the velocity at that time. It seems reasonable to conclude that knowing the derivative of the function at every point would produce valuable information about the behavior of the function. However, the process of finding the derivative at even a handful of values using the techniques of the preceding section would quickly become quite tedious. In this section we define the derivative function and learn a process for finding it.

Derivative Functions

The derivative function gives the derivative of a function at each point in the domain of the original function for which the derivative is defined. We can formally define a derivative function as follows.

Definition

Let [latex]f[/latex] be a function. The derivative function, denoted by [latex]f^{\prime}[/latex], is the function whose domain consists of those values of [latex]x[/latex] such that the following limit exists:

[latex]f^{\prime}(x)=\underset{h\to 0}{\lim}\frac{f(x+h)-f(x)}{h}[/latex].

A function [latex]f(x)[/latex] is said to be differentiable at [latex]a[/latex] if [latex]f^{\prime}(a)[/latex] exists. More generally, a function is said to be differentiable on [latex]S[/latex] if it is differentiable at every point in an open set [latex]S[/latex], and a differentiable function is one in which [latex]f^{\prime}(x)[/latex] exists on its domain.

In the next few examples we use (Figure) to find the derivative of a function.

Finding the Derivative of a Square-Root Function

Find the derivative of [latex]f(x)=\sqrt{x}[/latex].

Answer:

Start directly with the definition of the derivative function. Use (Figure).

[latex]\begin{array}{lllll}f^{\prime}(x)& =\underset{h\to 0}{\lim}\frac{\sqrt{x+h}-\sqrt{x}}{h} & & & \begin{array}{l}\text{Substitute} \, f(x+h)=\sqrt{x+h} \, \text{and} \, f(x)=\sqrt{x} \\ \text{into} \, f^{\prime}(x)=\underset{h\to 0}{\lim}\frac{f(x+h)-f(x)}{h}. \end{array} \\ & =\underset{h\to 0}{\lim}\frac{\sqrt{x+h}-\sqrt{x}}{h}\cdot \frac{\sqrt{x+h}+\sqrt{x}}{\sqrt{x+h}+\sqrt{x}} & & & \begin{array}{l}\text{Multiply numerator and denominator by} \\ \sqrt{x+h}+\sqrt{x} \, \text{without distributing in the} \\ \text{denominator.} \end{array} \\ & =\underset{h\to 0}{\lim}\frac{h}{h(\sqrt{x+h}+\sqrt{x})} & & & \text{Multiply the numerators and simplify.} \\ & =\underset{h\to 0}{\lim}\frac{1}{(\sqrt{x+h}+\sqrt{x})} & & & \text{Cancel the} \, h. \\ & =\frac{1}{2\sqrt{x}} & & & \text{Evaluate the limit.} \end{array}[/latex]

Finding the Derivative of a Quadratic Function

Find the derivative of the function [latex]f(x)=x^2-2x[/latex].

Answer:

Follow the same procedure here, but without having to multiply by the conjugate.

[latex]\begin{array}{lllll}f^{\prime}(x) & =\underset{h\to 0}{\lim}\frac{((x+h)^2-2(x+h))-(x^2-2x)}{h} & & & \begin{array}{l}\text{Substitute} \, f(x+h)=(x+h)^2-2(x+h) \, \text{and} \\ f(x)=x^2-2x \, \text{into} \\ f^{\prime}(x)=\underset{h\to 0}{\lim}\frac{f(x+h)-f(x)}{h}. \end{array} \\ & =\underset{h\to 0}{\lim}\frac{x^2+2xh+h^2-2x-2h-x^2+2x}{h} & & & \text{Expand} \, (x+h)^2-2(x+h). \\ & =\underset{h\to 0}{\lim}\frac{2xh-2h+h^2}{h} & & & \text{Simplify.} \\ & =\underset{h\to 0}{\lim}\frac{h(2x-2+h)}{h} & & & \text{Factor out} \, h \, \text{from the numerator.} \\ & =\underset{h\to 0}{\lim}(2x-2+h) & & & \text{Cancel the common factor of} \, h. \\ & =2x-2 & & & \text{Evaluate the limit.} \end{array}[/latex]

Find the derivative of [latex]f(x)=x^2[/latex].

Answer:

[latex]f^{\prime}(x)=2x[/latex]

Hint

Use (Figure) and follow the example.

We use a variety of different notations to express the derivative of a function. In (Figure) we showed that if [latex]f(x)=x^2-2x[/latex], then [latex]f^{\prime}(x)=2x-2[/latex]. If we had expressed this function in the form [latex]y=x^2-2x[/latex], we could have expressed the derivative as [latex]y^{\prime}=2x-2[/latex] or [latex]\frac{dy}{dx}=2x-2[/latex]. We could have conveyed the same information by writing [latex]\frac{d}{dx}(x^2-2x)=2x-2[/latex]. Thus, for the function [latex]y=f(x)[/latex], each of the following notations represents the derivative of [latex]f(x)[/latex]:

[latex]f^{\prime}(x), \, \frac{dy}{dx}, \, y^{\prime}, \, \frac{d}{dx}(f(x))[/latex].

In place of [latex]f^{\prime}(a)[/latex] we may also use [latex]\frac{dy}{dx}\Big|_{x=a}[/latex] Use of the [latex]\frac{dy}{dx}[/latex] notation (called Leibniz notation) is quite common in engineering and physics. To understand this notation better, recall that the derivative of a function at a point is the limit of the slopes of secant lines as the secant lines approach the tangent line. The slopes of these secant lines are often expressed in the form [latex]\frac{\Delta y}{\Delta x}[/latex] where [latex]\Delta y[/latex] is the difference in the [latex]y[/latex] values corresponding to the difference in the [latex]x[/latex] values, which are expressed as [latex]\Delta x[/latex] ((Figure)). Thus the derivative, which can be thought of as the instantaneous rate of change of [latex]y[/latex] with respect to [latex]x[/latex], is expressed as

[latex]\frac{dy}{dx}=\underset{\Delta x\to 0}{\lim}\frac{\Delta y}{\Delta x}[/latex].
The function y = f(x) is graphed and it shows up as a curve in the first quadrant. The x-axis is marked with 0, a, and a + Δx. The y-axis is marked with 0, f(a), and f(a) + Δy. There is a straight line crossing y = f(x) at (a, f(a)) and (a + Δx, f(a) + Δy). From the point (a, f(a)), a horizontal line is drawn; from the point (a + Δx, f(a) + Δy), a vertical line is drawn. The distance from (a, f(a)) to (a + Δx, f(a)) is denoted Δx; the distance from (a + Δx, f(a) + Δy) to (a + Δx, f(a)) is denoted Δy. Figure 1. The derivative is expressed as [latex]\frac{dy}{dx}=\underset{\Delta x\to 0}{\lim}\frac{\Delta y}{\Delta x}[/latex].

Graphing a Derivative

We have already discussed how to graph a function, so given the equation of a function or the equation of a derivative function, we could graph it. Given both, we would expect to see a correspondence between the graphs of these two functions, since [latex]f^{\prime}(x)[/latex] gives the rate of change of a function [latex]f(x)[/latex] (or slope of the tangent line to [latex]f(x)[/latex]).

In (Figure) we found that for [latex]f(x)=\sqrt{x}, \, f^{\prime}(x)=1/2\sqrt{x}[/latex]. If we graph these functions on the same axes, as in (Figure), we can use the graphs to understand the relationship between these two functions. First, we notice that [latex]f(x)[/latex] is increasing over its entire domain, which means that the slopes of its tangent lines at all points are positive. Consequently, we expect [latex]f^{\prime}(x)>0[/latex] for all values of [latex]x[/latex] in its domain. Furthermore, as [latex]x[/latex] increases, the slopes of the tangent lines to [latex]f(x)[/latex] are decreasing and we expect to see a corresponding decrease in [latex]f^{\prime}(x)[/latex]. We also observe that [latex]f(0)[/latex] is undefined and that [latex]\underset{x\to 0^+}{\lim}f^{\prime}(x)=+\infty[/latex], corresponding to a vertical tangent to [latex]f(x)[/latex] at 0.

The function f(x) = the square root of x is graphed as is its derivative f’(x) = 1/(2 times the square root of x). Figure 2. The derivative [latex]f^{\prime}(x)[/latex] is positive everywhere because the function [latex]f(x)[/latex] is increasing.

In (Figure) we found that for [latex]f(x)=x^2-2x, \, f^{\prime}(x)=2x-2[/latex]. The graphs of these functions are shown in (Figure). Observe that [latex]f(x)[/latex] is decreasing for [latex]x<1[/latex]. For these same values of [latex]x, \, f^{\prime}(x)<0[/latex]. For values of [latex]x>1, \, f(x)[/latex] is increasing and [latex]f^{\prime}(x)>0[/latex]. Also, [latex]f(x)[/latex] has a horizontal tangent at [latex]x=1[/latex] and [latex]f^{\prime}(1)=0[/latex].

The function f(x) = x squared – 2x is graphed as is its derivative f’(x) = 2x − 2. Figure 3. The derivative [latex]f^{\prime}(x)<0[/latex] where the function [latex]f(x)[/latex] is decreasing and [latex]f^{\prime}(x)>0[/latex] where [latex]f(x)[/latex] is increasing. The derivative is zero where the function has a horizontal tangent.

Sketching a Derivative Using a Function

Use the following graph of [latex]f(x)[/latex] to sketch a graph of [latex]f^{\prime}(x)[/latex].

The function f(x) is roughly sinusoidal, starting at (−4, 3), decreasing to a local minimum at (−2, 2), then increasing to a local maximum at (3, 6), and getting cut off at (7, 2).

Answer:

The solution is shown in the following graph. Observe that [latex]f(x)[/latex] is increasing and [latex]f^{\prime}(x)>0[/latex] on [latex](–2,3)[/latex]. Also, [latex]f(x)[/latex] is decreasing and [latex]f^{\prime}(x)<0[/latex] on [latex](−\infty ,-2)[/latex] and on [latex](3,+\infty)[/latex]. Also note that [latex]f(x)[/latex] has horizontal tangents at -2 and 3, and [latex]f^{\prime}(-2)=0[/latex] and [latex]f^{\prime}(3)=0[/latex].

Two functions are graphed here: f(x) and f’(x). The function f(x) is the same as the above graph, that is, roughly sinusoidal, starting at (−4, 3), decreasing to a local minimum at (−2, 2), then increasing to a local maximum at (3, 6), and getting cut off at (7, 2). The function f’(x) is an downward-facing parabola with vertex near (0.5, 1.75), y-intercept (0, 1.5), and x-intercepts (−1.9, 0) and (3, 0).

Sketch the graph of [latex]f(x)=x^2-4[/latex]. On what interval is the graph of [latex]f^{\prime}(x)[/latex] above the [latex]x[/latex]-axis?

Answer:

[latex](0,+\infty)[/latex]

Hint

The graph of [latex]f^{\prime}(x)[/latex] is positive where [latex]f(x)[/latex] is increasing.

Derivatives and Continuity

Now that we can graph a derivative, let’s examine the behavior of the graphs. First, we consider the relationship between differentiability and continuity. We will see that if a function is differentiable at a point, it must be continuous there; however, a function that is continuous at a point need not be differentiable at that point. In fact, a function may be continuous at a point and fail to be differentiable at the point for one of several reasons.

Differentiability Implies Continuity

Let [latex]f(x)[/latex] be a function and [latex]a[/latex] be in its domain. If [latex]f(x)[/latex] is differentiable at [latex]a[/latex], then [latex]f[/latex] is continuous at [latex]a[/latex].

Proof

If [latex]f(x)[/latex] is differentiable at [latex]a[/latex], then [latex]f^{\prime}(a)[/latex] exists and

[latex]f^{\prime}(a)=\underset{x\to a}{\lim}\frac{f(x)-f(a)}{x-a}[/latex].

We want to show that [latex]f(x)[/latex] is continuous at [latex]a[/latex] by showing that [latex]\underset{x\to a}{\lim}f(x)=f(a)[/latex]. Thus,

[latex]\begin{array}{lllll} \underset{x\to a}{\lim}f(x) & =\underset{x\to a}{\lim}(f(x)-f(a)+f(a)) & & & \\ & =\underset{x\to a}{\lim}(\frac{f(x)-f(a)}{x-a}\cdot (x-a)+f(a)) & & & \text{Multiply and divide} \, f(x)-f(a) \, \text{by} \, x-a. \\ & =(\underset{x\to a}{\lim}\frac{f(x)-f(a)}{x-a}) \cdot (\underset{x\to a}{\lim}(x-a))+\underset{x\to a}{\lim}f(a) & & & \\ & =f^{\prime}(a) \cdot 0+f(a) & & & \\ & =f(a). & & & \end{array}[/latex]

Therefore, since [latex]f(a)[/latex] is defined and [latex]\underset{x\to a}{\lim}f(x)=f(a)[/latex], we conclude that [latex]f[/latex] is continuous at [latex]a[/latex]. [latex]_\blacksquare[/latex]

We have just proven that differentiability implies continuity, but now we consider whether continuity implies differentiability. To determine an answer to this question, we examine the function [latex]f(x)=|x|[/latex]. This function is continuous everywhere; however, [latex]f^{\prime}(0)[/latex] is undefined. This observation leads us to believe that continuity does not imply differentiability. Let’s explore further. For [latex]f(x)=|x|[/latex],

[latex]f^{\prime}(0)=\underset{x\to 0}{\lim}\frac{f(x)-f(0)}{x-0}=\underset{x\to 0}{\lim}\frac{|x|-|0|}{x-0}=\underset{x\to 0}{\lim}\frac{|x|}{x}[/latex].

This limit does not exist because

[latex]\underset{x\to 0^-}{\lim}\frac{|x|}{x}=-1 \, \text{and} \, \underset{x\to 0^+}{\lim}\frac{|x|}{x}=1[/latex].

See (Figure).

The function f(x) = the absolute value of x is graphed. It consists of two straight line segments: the first follows the equation y = −x and ends at the origin; the second follows the equation y = x and starts at the origin. Figure 4. The function [latex]f(x)=|x|[/latex] is continuous at 0 but is not differentiable at 0.

Let’s consider some additional situations in which a continuous function fails to be differentiable. Consider the function [latex]f(x)=\sqrt[3]{x}[/latex]:

[latex]f^{\prime}(0)=\underset{x\to 0}{\lim}\frac{\sqrt[3]{x}-0}{x-0}=\underset{x\to 0}{\lim}\frac{1}{\sqrt[3]{x^2}}=+\infty[/latex].

Thus [latex]f^{\prime}(0)[/latex] does not exist. A quick look at the graph of [latex]f(x)=\sqrt[3]{x}[/latex] clarifies the situation. The function has a vertical tangent line at 0 ((Figure)).

The function f(x) = the cube root of x is graphed. It has a vertical tangent at x = 0. Figure 5. The function [latex]f(x)=\sqrt[3]{x}[/latex] has a vertical tangent at [latex]x=0[/latex]. It is continuous at 0 but is not differentiable at 0.

The function [latex]f(x)=\begin{cases} x \sin(\frac{1}{x}) & \text{if} \, x \ne 0 \\ 0 & \text{if} \, x = 0 \end{cases}[/latex] also has a derivative that exhibits interesting behavior at 0. We see that

[latex]f^{\prime}(0)=\underset{x\to 0}{\lim}\frac{x \sin(1/x)-0}{x-0}=\underset{x\to 0}{\lim} \sin(\frac{1}{x})[/latex].

This limit does not exist, essentially because the slopes of the secant lines continuously change direction as they approach zero ((Figure)).

The function f(x) = x sin (1/2) if x does not equal 0 and f(x) = 0 if x = 0 is graphed. It looks like a rapidly oscillating sinusoidal function with amplitude decreasing to 0 at the origin. Figure 6. The function [latex]f(x)=\begin{cases} x \sin(\frac{1}{x}) & \text{if} \, x \ne 0 \\ 0 & \text{if} \, x = 0 \end{cases}[/latex] is not differentiable at 0.

In summary:

  1. We observe that if a function is not continuous, it cannot be differentiable, since every differentiable function must be continuous. However, if a function is continuous, it may still fail to be differentiable.
  2. We saw that [latex]f(x)=|x|[/latex] failed to be differentiable at 0 because the limit of the slopes of the tangent lines on the left and right were not the same. Visually, this resulted in a sharp corner on the graph of the function at 0. From this we conclude that in order to be differentiable at a point, a function must be “smooth” at that point.
  3. As we saw in the example of [latex]f(x)=\sqrt[3]{x}[/latex], a function fails to be differentiable at a point where there is a vertical tangent line.
  4. As we saw with [latex]f(x)=\begin{cases} x \sin(\frac{1}{x}) & \text{if} \, x \ne 0 \\ 0 & \text{if} \, x = 0 \end{cases}[/latex] a function may fail to be differentiable at a point in more complicated ways as well.

A Piecewise Function that is Continuous and Differentiable

A toy company wants to design a track for a toy car that starts out along a parabolic curve and then converts to a straight line ((Figure)). The function that describes the track is to have the form [latex]f(x)=\begin{cases} \frac{1}{10}x^2 + bx + c & \text{if} \, x < -10 \\ -\frac{1}{4}x + \frac{5}{2} & \text{if} \, x \ge -10 \end{cases}[/latex], where [latex]x[/latex] and [latex]f(x)[/latex] are in inches. For the car to move smoothly along the track, the function [latex]f(x)[/latex] must be both continuous and differentiable at -10. Find values of [latex]b[/latex] and [latex]c[/latex] that make [latex]f(x)[/latex] both continuous and differentiable.

A cart is drawn on a line that curves through (−10, 5) to (10, 0) with y-intercept roughly (0, 2). Figure 7. For the car to move smoothly along the track, the function must be both continuous and differentiable.

Answer:

For the function to be continuous at [latex]x=-10, \, \underset{x\to 10^-}{\lim}f(x)=f(-10)[/latex]. Thus, since

[latex]\underset{x\to −10^-}{\lim}f(x)=\frac{1}{10}(-10)^2-10b+c=10-10b+c[/latex]

and [latex]f(-10)=5[/latex], we must have [latex]10-10b+c=5[/latex]. Equivalently, we have [latex]c=10b-5[/latex].

For the function to be differentiable at -10,

[latex]f^{\prime}(10)=\underset{x\to −10}{\lim}\frac{f(x)-f(-10)}{x+10}[/latex]

must exist. Since [latex]f(x)[/latex] is defined using different rules on the right and the left, we must evaluate this limit from the right and the left and then set them equal to each other:

[latex]\begin{array}{lllll} \underset{x\to −10^-}{\lim}\frac{f(x)-f(-10)}{x+10} & =\underset{x\to −10^-}{\lim}\frac{\frac{1}{10}x^2+bx+c-5}{x+10} & & & \\ & =\underset{x\to −10^-}{\lim}\frac{\frac{1}{10}x^2+bx+(10b-5)-5}{x+10} & & & \text{Substitute} \, c=10b-5. \\ & =\underset{x\to −10^-}{\lim}\frac{x^2-100+10bx+100b}{10(x+10)} & & & \\ & =\underset{x\to −10^-}{\lim}\frac{(x+10)(x-10+10b)}{10(x+10)} & & & \text{Factor by grouping.} \\ & =b-2 & & & \end{array}[/latex]

We also have

[latex]\begin{array}{ll} \underset{x\to −10^+}{\lim}\frac{f(x)-f(-10)}{x+10} & =\underset{x\to −10^+}{\lim}\frac{-\frac{1}{4}x+\frac{5}{2}-5}{x+10} \\ & =\underset{x\to −10^+}{\lim}\frac{−(x+10)}{4(x+10)} \\ & =-\frac{1}{4} \end{array}[/latex]

This gives us [latex]b-2=-\frac{1}{4}[/latex]. Thus [latex]b=\frac{7}{4}[/latex] and [latex]c=10(\frac{7}{4})-5=\frac{25}{2}[/latex].

Find values of [latex]a[/latex] and [latex]b[/latex] that make [latex]f(x)=\begin{cases} ax+b & \text{if} \, x < 3 \\ x^2 & \text{if} \, x \ge 3 \end{cases}[/latex] both continuous and differentiable at 3.

Answer:

[latex]a=6[/latex] and [latex]b=-9[/latex]

Hint

Use (Figure) as a guide.

Higher-Order Derivatives

The derivative of a function is itself a function, so we can find the derivative of a derivative. For example, the derivative of a position function is the rate of change of position, or velocity. The derivative of velocity is the rate of change of velocity, which is acceleration. The new function obtained by differentiating the derivative is called the second derivative. Furthermore, we can continue to take derivatives to obtain the third derivative, fourth derivative, and so on. Collectively, these are referred to as higher-order derivatives. The notation for the higher-order derivatives of [latex]y=f(x)[/latex] can be expressed in any of the following forms:

[latex]f''(x), \, f'''(x), \, f^{(4)}(x), \cdots ,f^{(n)}(x)[/latex]
[latex]y'', \, y''', \, y^{(4)}, \cdots ,y^{(n)}[/latex]
[latex]\frac{d^2y}{dx^2}, \, \frac{d^3y}{dx^3}, \, \frac{d^4y}{dx^4}, \cdots,\frac{d^ny}{dx^n}[/latex].

It is interesting to note that the notation for [latex]\frac{d^2y}{dx^2}[/latex] may be viewed as an attempt to express [latex]\frac{d}{dx}(\frac{dy}{dx})[/latex] more compactly. Analogously, [latex]\frac{d}{dx}(\frac{d}{dx}(\frac{dy}{dx}))=\frac{d}{dx}(\frac{d^2y}{dx^2})=\frac{d^3y}{dx^3}[/latex].

Finding a Second Derivative

For [latex]f(x)=2x^2-3x+1[/latex], find [latex]f''(x)[/latex].

Answer:

First find [latex]f^{\prime}(x)[/latex].

[latex]\begin{array}{lllll}f^{\prime}(x) & =\underset{h\to 0}{\lim}\frac{(2(x+h)^2-3(x+h)+1)-(2x^2-3x+1)}{h} & & & \begin{array}{l}\text{Substitute} \, f(x)=2x^2-3x+1 \\ \text{and} \\ f(x+h)=2(x+h)^2-3(x+h)+1 \\ \text{into} \, f^{\prime}(x)=\underset{h\to 0}{\lim}\frac{f(x+h)-f(x)}{h}. \end{array} \\ & =\underset{h\to 0}{\lim}\frac{4xh+h^2-3h}{h} & & & \text{Simplify the numerator.} \\ & =\underset{h\to 0}{\lim}(4x+h-3) & & & \begin{array}{l}\text{Factor out the} \, h \, \text{in the numerator} \\ \text{and cancel with the} \, h \, \text{in the} \\ \text{denominator.} \end{array} \\ & =4x-3 & & & \text{Take the limit.} \end{array}[/latex]

Next, find [latex]f''(x)[/latex] by taking the derivative of [latex]f^{\prime}(x)=4x-3[/latex].

[latex]\begin{array}{lllll} f''(x)& =\underset{h\to 0}{\lim}\frac{f^{\prime}(x+h)-f^{\prime}(x)}{h} & & & \begin{array}{l}\text{Use} \, f^{\prime}(x)=\underset{h\to 0}{\lim}\frac{f(x+h)-f(x)}{h} \, \text{with} \, f^{\prime}(x) \, \text{in} \\ \text{place of} \, f(x). \end{array} \\ & =\underset{h\to 0}{\lim}\frac{(4(x+h)-3)-(4x-3)}{h} & & & \begin{array}{l}\text{Substitute} \, f^{\prime}(x+h)=4(x+h)-3 \, \text{and} \\ f^{\prime}(x)=4x-3. \end{array} \\ & =\underset{h\to 0}{\lim}4 & & & \text{Simplify.} \\ & =4 & & & \text{Take the limit.} \end{array}[/latex]

Find [latex]f''(x)[/latex] for [latex]f(x)=x^2[/latex].

Answer:

[latex]f''(x)=2[/latex]

Hint

We found [latex]f^{\prime}(x)=2x[/latex] in a previous checkpoint. Use (Figure) to find the derivative of [latex]f^{\prime}(x)[/latex]

Finding Acceleration

The position of a particle along a coordinate axis at time [latex]t[/latex] (in seconds) is given by [latex]s(t)=3t^2-4t+1[/latex] (in meters). Find the function that describes its acceleration at time [latex]t[/latex].

Answer:

Since [latex]v(t)=s^{\prime}(t)[/latex] and [latex]a(t)=v^{\prime}(t)=s''(t)[/latex], we begin by finding the derivative of [latex]s(t)[/latex]:

[latex]\begin{array}{ll}s^{\prime}(t) & =\underset{h\to 0}{\lim}\frac{s(t+h)-s(t)}{h} \\ & =\underset{h\to 0}{\lim}\frac{3(t+h)^2-4(t+h)+1-(3t^2-4t+1)}{h} \\ & =6t-4 \end{array}[/latex]

Next,

[latex]\begin{array}{ll} s''(t) & =\underset{h\to 0}{\lim}\frac{s^{\prime}(t+h)-s^{\prime}(t)}{h} \\ & =\underset{h\to 0}{\lim}\frac{6(t+h)-4-(6t-4)}{h} \\ & =6 \end{array}[/latex]

Thus, [latex]a=6 \, \text{m/s}^2[/latex].

For [latex]s(t)=t^3[/latex], find [latex]a(t)[/latex].

Answer:

[latex]a(t)=6t[/latex]

Hint

Use (Figure) as a guide.

Key Concepts

  • The derivative of a function [latex]f(x)[/latex] is the function whose value at [latex]x[/latex] is [latex]f^{\prime}(x)[/latex].
  • The graph of a derivative of a function [latex]f(x)[/latex] is related to the graph of [latex]f(x)[/latex]. Where [latex]f(x)[/latex] has a tangent line with positive slope, [latex]f^{\prime}(x)>0[/latex]. Where [latex]f(x)[/latex] has a tangent line with negative slope, [latex]f^{\prime}(x)<0[/latex]. Where [latex]f(x)[/latex] has a horizontal tangent line, [latex]f^{\prime}(x)=0[/latex].
  • If a function is differentiable at a point, then it is continuous at that point. A function is not differentiable at a point if it is not continuous at the point, if it has a vertical tangent line at the point, or if the graph has a sharp corner or cusp.
  • Higher-order derivatives are derivatives of derivatives, from the second derivative to the [latex]n\text{th}[/latex] derivative.

Key Equations

  • The derivative function [latex]f^{\prime}(x)=\underset{h\to 0}{\lim}\frac{f(x+h)-f(x)}{h}[/latex]

For the following exercises, use the definition of a derivative to find [latex]f^{\prime}(x)[/latex].

1. [latex]f(x)=6[/latex]

2. [latex]f(x)=2-3x[/latex]

Answer:

-3

3. [latex]f(x)=\frac{2x}{7}+1[/latex]

4. [latex]f(x)=4x^2[/latex]

Answer:

[latex]8x[/latex]

5. [latex]f(x)=5x-x^2[/latex]

6. [latex]f(x)=\sqrt{2x}[/latex]

Answer:

[latex]\frac{1}{\sqrt{2x}}[/latex]

7. [latex]f(x)=\sqrt{x-6}[/latex]

8. [latex]f(x)=\frac{9}{x}[/latex]

Answer:

[latex]\frac{-9}{x^2}[/latex]

9. [latex]f(x)=x+\frac{1}{x}[/latex]

10. [latex]f(x)=\frac{1}{\sqrt{x}}[/latex]

Answer:

[latex]\frac{-1}{2x^{3/2}}[/latex]

For the following exercises, use the graph of [latex]y=f(x)[/latex] to sketch the graph of its derivative [latex]f^{\prime}(x)[/latex].

11. The function f(x) starts at (−2, 20) and decreases to pass through the origin and achieve a local minimum at roughly (0.5, −1). Then, it increases and passes through (1, 0) and achieves a local maximum at (2.25, 2) before decreasing again through (3, 0) to (4, −20).
12. The function f(x) starts at (−1.5, 20) and decreases to pass through (0, 10), where it appears to have a derivative of 0. Then it further decreases, passing through (1.7, 0) and achieving a minimum at (3, −17), at which point it increases rapidly through (3.8, 0) to (4, 20).

Answer: The function starts in the third quadrant and increases to touch the origin, then decreases to a minimum at (2, −16), before increasing through the x axis at x = 3, after which it continues increasing.

13. The function f(x) starts at (−2.25, −20) and increases rapidly to pass through (−2, 0) before achieving a local maximum at (−1.4, 8). Then the function decreases to the origin. The graph is symmetric about the y-axis, so the graph increases to (1.4, 8) before decreasing through (2, 0) and heading on down to (2.25, −20).
14. The function f(x) starts at (−3, −1) and increases to pass through (−1.5, 0) and achieve a local minimum at (1, 0). Then, it decreases and passes through (1.5, 0) and continues decreasing to (3, −1).

Answer: The function starts at (−3, 0), increases to a maximum at (−1.5, 1), decreases through the origin and to a minimum at (1.5, −1), and then increases to the x axis at x = 3.

For the following exercises, the given limit represents the derivative of a function [latex]y=f(x)[/latex] at [latex]x=a[/latex]. Find [latex]f(x)[/latex] and [latex]a[/latex].

15. [latex]\underset{h\to 0}{\lim}\frac{(1+h)^{2/3}-1}{h}[/latex]

16. [latex]\underset{h\to 0}{\lim}\frac{[3(2+h)^2+2]-14}{h}[/latex]

Answer:

[latex]f(x)=3x^2+2, \, a=2[/latex]

17. [latex]\underset{h\to 0}{\lim}\frac{\cos(\pi+h)+1}{h}[/latex]

18. [latex]\underset{h\to 0}{\lim}\frac{(2+h)^4-16}{h}[/latex]

Answer:

[latex]f(x)=x^4, \, a=2[/latex]

19. [latex]\underset{h\to 0}{\lim}\frac{[2(3+h)^2-(3+h)]-15}{h}[/latex]

20. [latex]\underset{h\to 0}{\lim}\frac{e^h-1}{h}[/latex]

Answer:

[latex]f(x)=e^x, \, a=0[/latex]

For the following functions,

  1. sketch the graph and
  2. use the definition of a derivative to show that the function is not differentiable at [latex]x=1[/latex].

21. [latex]f(x)=\begin{cases} 2\sqrt{x} & \text{if} \, 0 \le x \le 1 \\ 3x-1 & \text{if} \, x>1 \end{cases}[/latex]

22. [latex]f(x)=\begin{cases} 3 & \text{if} \, x<1 \\ 3x & \text{if} \, x \ge 1 \end{cases}[/latex]

Answer:

a.

The function is linear at y = 3 until it reaches (1, 3), at which point it increases as a line with slope 3. b. [latex]\underset{h\to 1^-}{\lim}\frac{3-3}{h}\ne \underset{h\to 1^+}{\lim}\frac{3h}{h}[/latex]

23. [latex]f(x)=\begin{cases} -x^2+2 & \text{if} \, x \le 1 \\ x & \text{if} \, x>1 \end{cases}[/latex]

24. [latex]f(x)=\begin{cases} 2x & \text{if} x \le 1 \\ \frac{2}{x} & \text{if} \, x>1 \end{cases}[/latex]

Answer:

a.

The function starts in the third quadrant as a straight line and passes through the origin with slope 2; then at (1, 2) it decreases convexly as 2/x. b. [latex]\underset{h\to 1^-}{\lim}\frac{2h}{h}\ne \underset{h\to 1^+}{\lim}\frac{\frac{2}{x+h}-\frac{2}{x}}{h}[/latex].

For the following graphs,

  1. determine for which values of [latex]x=a[/latex] the [latex]\underset{x\to a}{\lim}f(x)[/latex] exists but [latex]f[/latex] is not continuous at [latex]x=a[/latex], and
  2. determine for which values of [latex]x=a[/latex] the function is continuous but not differentiable at [latex]x=a[/latex].
25. The function starts at (−6, 2) and increases to a maximum at (−5.3, 4) before stopping at (−4, 3) inclusive. Then it starts again at (−4, −2) before increasing slowly through (−2.25, 0), passing through (−1, 4), hitting a local maximum at (−0.1, 5.3) and decreasing to (2, −1) inclusive. Then it starts again at (2, 5), increases to (2.6, 6), and then decreases to (4.5, −3), with a discontinuity at (4, 2).
26. The function starts at (−3, −1) and increases to and stops at a local maximum at (−1, 3) inclusive. Then it starts again at (−1, 1) before increasing quickly to and stopping at a local maximum (0, 4) inclusive. Then it starts again at (0, 3) and decreases linearly to (1, 1), at which point there is a discontinuity and the value of this function at x = 1 is 2. The function continues from (1, 1) and increases linearly to (2, 3.5) before decreasing linearly to (3, 2).

Answer:

a. [latex]x=1[/latex], b. [latex]x=2[/latex]

27. Use the graph to evaluate a. [latex]f^{\prime}(-0.5)[/latex], b. [latex]f^{\prime}(0)[/latex], c. [latex]f^{\prime}(1)[/latex], d. [latex]f^{\prime}(2)[/latex], and e. [latex]f^{\prime}(3)[/latex], if they exist.

The function starts at (−3, 0) and increases linearly to a local maximum at (0, 3). Then it decreases linearly to (2, 1), at which point it increases linearly to (4, 5).

For the following functions, use [latex]f''(x)=\underset{h\to 0}{\lim}\frac{f^{\prime}(x+h)-f^{\prime}(x)}{h}[/latex] to find [latex]f''(x)[/latex].

28. [latex]f(x)=2-3x[/latex]

Answer:

0

29. [latex]f(x)=4x^2[/latex]

30. [latex]f(x)=x+\frac{1}{x}[/latex]

Answer:

[latex]\frac{2}{x^3}[/latex]

For the following exercises, use a calculator to graph [latex]f(x)[/latex]. Determine the function [latex]f^{\prime}(x)[/latex], then use a calculator to graph [latex]f^{\prime}(x)[/latex].

31. [T] [latex]f(x)=-\frac{5}{x}[/latex]

32. [T] [latex]f(x)=3x^2+2x+4[/latex]

Answer:

[latex]f^{\prime}(x)=6x+2[/latex]

The function f(x) is graphed as an upward facing parabola with y intercept 4. The function f’(x) is graphed as a straight line with y intercept 2 and slope 6.

33. [T] [latex]f(x)=\sqrt{x}+3x[/latex]

34. [T] [latex]f(x)=\frac{1}{\sqrt{2x}}[/latex]

Answer:

[latex]f^{\prime}(x)=-\frac{1}{(2x)^{3/2}}[/latex]

The function f(x) is in the first quadrant and has asymptotes at x = 0 and y = 0. The function f’(x) is in the fourth quadrant and has asymptotes at x = 0 and y = 0.

35. [T] [latex]f(x)=1+x+\frac{1}{x}[/latex]

36. [T] [latex]f(x)=x^3+1[/latex]

Answer:

[latex]f^{\prime}(x)=3x^2[/latex]

The function f(x) starts is the graph of the cubic function shifted up by 1. The function f’(x) is the graph of a parabola that is slightly steeper than the normal squared function.

For the following exercises, describe what the two expressions represent in terms of each of the given situations. Be sure to include units.

  1. [latex]\frac{f(x+h)-f(x)}{h}[/latex]
  2. [latex]f^{\prime}(x)=\underset{h\to 0}{\lim}\frac{f(x+h)-f(x)}{h}[/latex]

37. [latex]P(x)[/latex] denotes the population of a city at time [latex]x[/latex] in years.

38. [latex]C(x)[/latex] denotes the total amount of money (in thousands of dollars) spent on concessions by [latex]x[/latex] customers at an amusement park.

Answer:

a. Average rate at which customers spent on concessions in thousands per customer. b. Rate (in thousands per customer) at which [latex]x[/latex] customers spent money on concessions in thousands per customer.

39. [latex]R(x)[/latex] denotes the total cost (in thousands of dollars) of manufacturing [latex]x[/latex] clock radios.

40. [latex]g(x)[/latex] denotes the grade (in percentage points) received on a test, given [latex]x[/latex] hours of studying.

Answer:

a. Average grade received on the test with an average study time between two amounts. b. Rate (in percentage points per hour) at which the grade on the test increased or decreased for a given average study time of [latex]x[/latex] hours.

41. [latex]B(x)[/latex] denotes the cost (in dollars) of a sociology textbook at university bookstores in the United States in [latex]x[/latex] years since 1990.

42. [latex]p(x)[/latex] denotes atmospheric pressure at an altitude of [latex]x[/latex] feet.

Answer:

a. Average change of atmospheric pressure between two different altitudes. b. Rate (torr per foot) at which atmospheric pressure is increasing or decreasing at [latex]x[/latex] feet.

43. Sketch the graph of a function [latex]y=f(x)[/latex] with all of the following properties:

  1. [latex]f^{\prime}(x)>0[/latex] for [latex]-2\le x<1[/latex]
  2. [latex]f^{\prime}(2)=0[/latex]
  3. [latex]f^{\prime}(x)>0[/latex] for [latex]x>2[/latex]
  4. [latex]f(2)=2[/latex] and [latex]f(0)=1[/latex]
  5. [latex]\underset{x\to −\infty}{\lim}f(x)=0[/latex] and [latex]\underset{x\to \infty}{\lim}f(x)=\infty[/latex]
  6. [latex]f^{\prime}(1)[/latex] does not exist.

44. Suppose temperature [latex]T[/latex] in degrees Fahrenheit at a height [latex]x[/latex] in feet above the ground is given by [latex]y=T(x)[/latex].

  1. Give a physical interpretation, with units, of [latex]T^{\prime}(x)[/latex].
  2. If we know that [latex]{T}^{\prime }(1000)=-0.1,[/latex] explain the physical meaning.

Answer:

a. The rate (in degrees per foot) at which temperature is increasing or decreasing for a given height [latex]x[/latex]. b. The rate of change of temperature as altitude changes at 1000 feet is -0.1 degrees per foot.

45. Suppose the total profit of a company is [latex]y=P(x)[/latex] thousand dollars when [latex]x[/latex] units of an item are sold.

  1. What does [latex]\frac{P(b)-P(a)}{b-a}[/latex] for [latex]0<a<b[/latex] measure, and what are the units?
  2. What does [latex]P^{\prime}(x)[/latex] measure, and what are the units?
  3. Suppose that [latex]P^{\prime}(30)=5[/latex]. What is the approximate change in profit if the number of items sold increases from 30 to 31?

46. The graph in the following figure models the number of people [latex]N(t)[/latex] who have come down with the flu [latex]t[/latex] weeks after its initial outbreak in a town with a population of 50,000 citizens.

  1. Describe what [latex]N^{\prime}(t)[/latex] represents and how it behaves as [latex]t[/latex] increases.
  2. What does the derivative tell us about how this town is affected by the flu outbreak?

The function starts at (0, 3000) and increases quickly to an asymptote at y = 50000.

Answer:

a. The rate at which the number of people who have come down with the flu is changing [latex]t[/latex] weeks after the initial outbreak. b. The rate is increasing sharply up to the third week, at which point it slows down and then becomes constant.

For the following exercises, use the following table, which shows the height [latex]h[/latex] of the Saturn V rocket for the Apollo 11 mission [latex]t[/latex] seconds after launch.

Time (seconds) Height (meters)
0 0
1 2
2 4
3 13
4 25
5 32

47. What is the physical meaning of [latex]h^{\prime}(t)[/latex]? What are the units?

48. [T] Construct a table of values for [latex]h^{\prime}(t)[/latex] and graph both [latex]h(t)[/latex] and [latex]h^{\prime}(t)[/latex] on the same graph. (Hint: for interior points, estimate both the left limit and right limit and average them.)

Answer:

Time (seconds) [latex]h^{\prime}(t)[/latex] (m/s)
0 2
1 2
2 5.5
3 10.5
4 9.5
5 7

49. [T] The best linear fit to the data is given by [latex]H(t)=7.229t-4.905[/latex], where [latex]H[/latex] is the height of the rocket (in meters) and [latex]t[/latex] is the time elapsed since takeoff. From this equation, determine [latex]H^{\prime}(t)[/latex]. Graph [latex]H(t)[/latex] with the given data and, on a separate coordinate plane, graph [latex]H^{\prime}(t)[/latex].

50. [T] The best quadratic fit to the data is given by [latex]G(t)=1.429t^2+0.0857t-0.1429[/latex], where [latex]G[/latex] is the height of the rocket (in meters) and [latex]t[/latex] is the time elapsed since takeoff. From this equation, determine [latex]G^{\prime}(t)[/latex]. Graph [latex]G(t)[/latex] with the given data and, on a separate coordinate plane, graph [latex]G^{\prime}(t)[/latex].

Answer:

[latex]G^{\prime}(t)=2.858t+0.0857[/latex]

This graph has the points (0, 0), (1, 2), (2, 4), (3, 13), (4, 25), and (5, 32). There is a quadratic line fit to the points with y intercept near 0. This graph has a straight line with y intercept near 0 and slope slightly less than 3.

51. [T] The best cubic fit to the data is given by [latex]F(t)=0.2037t^3+2.956t^2-2.705t+0.4683[/latex], where [latex]F[/latex] is the height of the rocket (in m) and [latex]t[/latex] is the time elapsed since take off. From this equation, determine [latex]F^{\prime}(t)[/latex]. Graph [latex]F(t)[/latex] with the given data and, on a separate coordinate plane, graph [latex]F^{\prime}(t)[/latex]. Does the linear, quadratic, or cubic function fit the data best?

52. Using the best linear, quadratic, and cubic fits to the data, determine what [latex]H''(t), \, G''(t)[/latex], and [latex]F''(t)[/latex] are. What are the physical meanings of [latex]H''(t), \, G''(t)[/latex], and [latex]F''(t)[/latex], and what are their units?

Answer:

[latex]H''(t)=0, \, G''(t)=2.858[/latex], and [latex]F''(t)=1.222t+5.912[/latex] represent the acceleration of the rocket, with units of meters per second squared ([latex]\text{m/s}^2[/latex]).

Glossary

derivative function
gives the derivative of a function at each point in the domain of the original function for which the derivative is defined
differentiable at [latex]a[/latex]
a function for which [latex]f^{\prime}(a)[/latex] exists is differentiable at [latex]a[/latex]
differentiable on [latex]S[/latex]
a function for which [latex]f^{\prime}(x)[/latex] exists for each [latex]x[/latex] in the open set [latex]S[/latex] is differentiable on [latex]S[/latex]
differentiable function
a function for which [latex]f^{\prime}(x)[/latex] exists is a differentiable function
higher-order derivative
a derivative of a derivative, from the second derivative to the [latex]n[/latex]th derivative, is called a higher-order derivative

Licenses & Attributions

CC licensed content, Shared previously