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 ff be a function. The derivative function, denoted by ff^{\prime}, is the function whose domain consists of those values of xx such that the following limit exists:

f(x)=limh0f(x+h)f(x)hf^{\prime}(x)=\underset{h\to 0}{\lim}\frac{f(x+h)-f(x)}{h}.

A function f(x)f(x) is said to be differentiable at aa if f(a)f^{\prime}(a) exists. More generally, a function is said to be differentiable on SS if it is differentiable at every point in an open set SS, and a differentiable function is one in which f(x)f^{\prime}(x) 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 f(x)=xf(x)=\sqrt{x}.

Answer:

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

f(x)=limh0x+hxhSubstitutef(x+h)=x+handf(x)=xintof(x)=limh0f(x+h)f(x)h.=limh0x+hxhx+h+xx+h+xMultiply numerator and denominator byx+h+xwithout distributing in thedenominator.=limh0hh(x+h+x)Multiply the numerators and simplify.=limh01(x+h+x)Cancel theh.=12xEvaluate the limit.\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}

Finding the Derivative of a Quadratic Function

Find the derivative of the function f(x)=x22xf(x)=x^2-2x.

Answer:

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

f(x)=limh0((x+h)22(x+h))(x22x)hSubstitutef(x+h)=(x+h)22(x+h)andf(x)=x22xintof(x)=limh0f(x+h)f(x)h.=limh0x2+2xh+h22x2hx2+2xhExpand(x+h)22(x+h).=limh02xh2h+h2hSimplify.=limh0h(2x2+h)hFactor outhfrom the numerator.=limh0(2x2+h)Cancel the common factor ofh.=2x2Evaluate the limit.\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}

Find the derivative of f(x)=x2f(x)=x^2.

Answer:

f(x)=2xf^{\prime}(x)=2x

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 f(x)=x22xf(x)=x^2-2x, then f(x)=2x2f^{\prime}(x)=2x-2. If we had expressed this function in the form y=x22xy=x^2-2x, we could have expressed the derivative as y=2x2y^{\prime}=2x-2 or dydx=2x2\frac{dy}{dx}=2x-2. We could have conveyed the same information by writing ddx(x22x)=2x2\frac{d}{dx}(x^2-2x)=2x-2. Thus, for the function y=f(x)y=f(x), each of the following notations represents the derivative of f(x)f(x):

f(x),dydx,y,ddx(f(x))f^{\prime}(x), \, \frac{dy}{dx}, \, y^{\prime}, \, \frac{d}{dx}(f(x)).

In place of f(a)f^{\prime}(a) we may also use dydxx=a\frac{dy}{dx}\Big|_{x=a} Use of the dydx\frac{dy}{dx} 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 ΔyΔx\frac{\Delta y}{\Delta x} where Δy\Delta y is the difference in the yy values corresponding to the difference in the xx values, which are expressed as Δx\Delta x ((Figure)). Thus the derivative, which can be thought of as the instantaneous rate of change of yy with respect to xx, is expressed as

dydx=limΔx0ΔyΔx\frac{dy}{dx}=\underset{\Delta x\to 0}{\lim}\frac{\Delta y}{\Delta x}.
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 dydx=limΔx0ΔyΔx\frac{dy}{dx}=\underset{\Delta x\to 0}{\lim}\frac{\Delta y}{\Delta x}.

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 f(x)f^{\prime}(x) gives the rate of change of a function f(x)f(x) (or slope of the tangent line to f(x)f(x)).

In (Figure) we found that for f(x)=x,f(x)=1/2xf(x)=\sqrt{x}, \, f^{\prime}(x)=1/2\sqrt{x}. 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 f(x)f(x) is increasing over its entire domain, which means that the slopes of its tangent lines at all points are positive. Consequently, we expect f(x)>0f^{\prime}(x)>0 for all values of xx in its domain. Furthermore, as xx increases, the slopes of the tangent lines to f(x)f(x) are decreasing and we expect to see a corresponding decrease in f(x)f^{\prime}(x). We also observe that f(0)f(0) is undefined and that limx0+f(x)=+\underset{x\to 0^+}{\lim}f^{\prime}(x)=+\infty, corresponding to a vertical tangent to f(x)f(x) 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 f(x)f^{\prime}(x) is positive everywhere because the function f(x)f(x) is increasing.

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

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

Sketching a Derivative Using a Function

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

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 f(x)f(x) is increasing and f(x)>0f^{\prime}(x)>0 on (2,3)(–2,3). Also, f(x)f(x) is decreasing and f(x)<0f^{\prime}(x)<0 on (,2)(−\infty ,-2) and on (3,+)(3,+\infty). Also note that f(x)f(x) has horizontal tangents at -2 and 3, and f(2)=0f^{\prime}(-2)=0 and f(3)=0f^{\prime}(3)=0.

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 f(x)=x24f(x)=x^2-4. On what interval is the graph of f(x)f^{\prime}(x) above the xx-axis?

Answer:

(0,+)(0,+\infty)

Hint

The graph of f(x)f^{\prime}(x) is positive where f(x)f(x) 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 f(x)f(x) be a function and aa be in its domain. If f(x)f(x) is differentiable at aa, then ff is continuous at aa.

Proof

If f(x)f(x) is differentiable at aa, then f(a)f^{\prime}(a) exists and

f(a)=limxaf(x)f(a)xaf^{\prime}(a)=\underset{x\to a}{\lim}\frac{f(x)-f(a)}{x-a}.

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

limxaf(x)=limxa(f(x)f(a)+f(a))=limxa(f(x)f(a)xa(xa)+f(a))Multiply and dividef(x)f(a)byxa.=(limxaf(x)f(a)xa)(limxa(xa))+limxaf(a)=f(a)0+f(a)=f(a).\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}

Therefore, since f(a)f(a) is defined and limxaf(x)=f(a)\underset{x\to a}{\lim}f(x)=f(a), we conclude that ff is continuous at aa. _\blacksquare

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 f(x)=xf(x)=|x|. This function is continuous everywhere; however, f(0)f^{\prime}(0) is undefined. This observation leads us to believe that continuity does not imply differentiability. Let’s explore further. For f(x)=xf(x)=|x|,

f(0)=limx0f(x)f(0)x0=limx0x0x0=limx0xxf^{\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}.

This limit does not exist because

limx0xx=1andlimx0+xx=1\underset{x\to 0^-}{\lim}\frac{|x|}{x}=-1 \, \text{and} \, \underset{x\to 0^+}{\lim}\frac{|x|}{x}=1.

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 f(x)=xf(x)=|x| 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 f(x)=x3f(x)=\sqrt[3]{x}:

f(0)=limx0x30x0=limx01x23=+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.

Thus f(0)f^{\prime}(0) does not exist. A quick look at the graph of f(x)=x3f(x)=\sqrt[3]{x} 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 f(x)=x3f(x)=\sqrt[3]{x} has a vertical tangent at x=0x=0. It is continuous at 0 but is not differentiable at 0.

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

f(0)=limx0xsin(1/x)0x0=limx0sin(1x)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}).

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 f(x)={xsin(1x)ifx00ifx=0f(x)=\begin{cases} x \sin(\frac{1}{x}) & \text{if} \, x \ne 0 \\ 0 & \text{if} \, x = 0 \end{cases} 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 f(x)=xf(x)=|x| 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 f(x)=x3f(x)=\sqrt[3]{x}, a function fails to be differentiable at a point where there is a vertical tangent line.
  4. As we saw with f(x)={xsin(1x)ifx00ifx=0f(x)=\begin{cases} x \sin(\frac{1}{x}) & \text{if} \, x \ne 0 \\ 0 & \text{if} \, x = 0 \end{cases} 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 f(x)={110x2+bx+cifx<1014x+52ifx10f(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}, where xx and f(x)f(x) are in inches. For the car to move smoothly along the track, the function f(x)f(x) must be both continuous and differentiable at -10. Find values of bb and cc that make f(x)f(x) 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 x=10,limx10f(x)=f(10)x=-10, \, \underset{x\to 10^-}{\lim}f(x)=f(-10). Thus, since

limx10f(x)=110(10)210b+c=1010b+c\underset{x\to −10^-}{\lim}f(x)=\frac{1}{10}(-10)^2-10b+c=10-10b+c

and f(10)=5f(-10)=5, we must have 1010b+c=510-10b+c=5. Equivalently, we have c=10b5c=10b-5.

For the function to be differentiable at -10,

f(10)=limx10f(x)f(10)x+10f^{\prime}(10)=\underset{x\to −10}{\lim}\frac{f(x)-f(-10)}{x+10}

must exist. Since f(x)f(x) 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:

limx10f(x)f(10)x+10=limx10110x2+bx+c5x+10=limx10110x2+bx+(10b5)5x+10Substitutec=10b5.=limx10x2100+10bx+100b10(x+10)=limx10(x+10)(x10+10b)10(x+10)Factor by grouping.=b2\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}

We also have

limx10+f(x)f(10)x+10=limx10+14x+525x+10=limx10+(x+10)4(x+10)=14\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}

This gives us b2=14b-2=-\frac{1}{4}. Thus b=74b=\frac{7}{4} and c=10(74)5=252c=10(\frac{7}{4})-5=\frac{25}{2}.

Find values of aa and bb that make f(x)={ax+bifx<3x2ifx3f(x)=\begin{cases} ax+b & \text{if} \, x < 3 \\ x^2 & \text{if} \, x \ge 3 \end{cases} both continuous and differentiable at 3.

Answer:

a=6a=6 and b=9b=-9

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 y=f(x)y=f(x) can be expressed in any of the following forms:

f(x),f(x),f(4)(x),,f(n)(x)f''(x), \, f'''(x), \, f^{(4)}(x), \cdots ,f^{(n)}(x)
y,y,y(4),,y(n)y'', \, y''', \, y^{(4)}, \cdots ,y^{(n)}
d2ydx2,d3ydx3,d4ydx4,,dnydxn\frac{d^2y}{dx^2}, \, \frac{d^3y}{dx^3}, \, \frac{d^4y}{dx^4}, \cdots,\frac{d^ny}{dx^n}.

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

Finding a Second Derivative

For f(x)=2x23x+1f(x)=2x^2-3x+1, find f(x)f''(x).

Answer:

First find f(x)f^{\prime}(x).

f(x)=limh0(2(x+h)23(x+h)+1)(2x23x+1)hSubstitutef(x)=2x23x+1andf(x+h)=2(x+h)23(x+h)+1intof(x)=limh0f(x+h)f(x)h.=limh04xh+h23hhSimplify the numerator.=limh0(4x+h3)Factor out thehin the numeratorand cancel with thehin thedenominator.=4x3Take the limit.\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}

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

f(x)=limh0f(x+h)f(x)hUsef(x)=limh0f(x+h)f(x)hwithf(x)inplace off(x).=limh0(4(x+h)3)(4x3)hSubstitutef(x+h)=4(x+h)3andf(x)=4x3.=limh04Simplify.=4Take the limit.\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}

Find f(x)f''(x) for f(x)=x2f(x)=x^2.

Answer:

f(x)=2f''(x)=2

Hint

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

Finding Acceleration

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

Answer:

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

s(t)=limh0s(t+h)s(t)h=limh03(t+h)24(t+h)+1(3t24t+1)h=6t4\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}

Next,

s(t)=limh0s(t+h)s(t)h=limh06(t+h)4(6t4)h=6\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}

Thus, a=6m/s2a=6 \, \text{m/s}^2.

For s(t)=t3s(t)=t^3, find a(t)a(t).

Answer:

a(t)=6ta(t)=6t

Hint

Use (Figure) as a guide.

Key Concepts

  • The derivative of a function f(x)f(x) is the function whose value at xx is f(x)f^{\prime}(x).
  • The graph of a derivative of a function f(x)f(x) is related to the graph of f(x)f(x). Where f(x)f(x) has a tangent line with positive slope, f(x)>0f^{\prime}(x)>0. Where f(x)f(x) has a tangent line with negative slope, f(x)<0f^{\prime}(x)<0. Where f(x)f(x) has a horizontal tangent line, f(x)=0f^{\prime}(x)=0.
  • 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 nthn\text{th} derivative.

Key Equations

  • The derivative function f(x)=limh0f(x+h)f(x)hf^{\prime}(x)=\underset{h\to 0}{\lim}\frac{f(x+h)-f(x)}{h}

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

1. f(x)=6f(x)=6

2. f(x)=23xf(x)=2-3x

Answer:

-3

3. f(x)=2x7+1f(x)=\frac{2x}{7}+1

4. f(x)=4x2f(x)=4x^2

Answer:

8x8x

5. f(x)=5xx2f(x)=5x-x^2

6. f(x)=2xf(x)=\sqrt{2x}

Answer:

12x\frac{1}{\sqrt{2x}}

7. f(x)=x6f(x)=\sqrt{x-6}

8. f(x)=9xf(x)=\frac{9}{x}

Answer:

9x2\frac{-9}{x^2}

9. f(x)=x+1xf(x)=x+\frac{1}{x}

10. f(x)=1xf(x)=\frac{1}{\sqrt{x}}

Answer:

12x3/2\frac{-1}{2x^{3/2}}

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

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 y=f(x)y=f(x) at x=ax=a. Find f(x)f(x) and aa.

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

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

Answer:

f(x)=3x2+2,a=2f(x)=3x^2+2, \, a=2

17. limh0cos(π+h)+1h\underset{h\to 0}{\lim}\frac{\cos(\pi+h)+1}{h}

18. limh0(2+h)416h\underset{h\to 0}{\lim}\frac{(2+h)^4-16}{h}

Answer:

f(x)=x4,a=2f(x)=x^4, \, a=2

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

20. limh0eh1h\underset{h\to 0}{\lim}\frac{e^h-1}{h}

Answer:

f(x)=ex,a=0f(x)=e^x, \, a=0

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 x=1x=1.

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

22. f(x)={3ifx<13xifx1f(x)=\begin{cases} 3 & \text{if} \, x<1 \\ 3x & \text{if} \, x \ge 1 \end{cases}

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. limh133hlimh1+3hh\underset{h\to 1^-}{\lim}\frac{3-3}{h}\ne \underset{h\to 1^+}{\lim}\frac{3h}{h}

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

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

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. limh12hhlimh1+2x+h2xh\underset{h\to 1^-}{\lim}\frac{2h}{h}\ne \underset{h\to 1^+}{\lim}\frac{\frac{2}{x+h}-\frac{2}{x}}{h}.

For the following graphs,

  1. determine for which values of x=ax=a the limxaf(x)\underset{x\to a}{\lim}f(x) exists but ff is not continuous at x=ax=a, and
  2. determine for which values of x=ax=a the function is continuous but not differentiable at x=ax=a.
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. x=1x=1, b. x=2x=2

27. Use the graph to evaluate a. f(0.5)f^{\prime}(-0.5), b. f(0)f^{\prime}(0), c. f(1)f^{\prime}(1), d. f(2)f^{\prime}(2), and e. f(3)f^{\prime}(3), 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 f(x)=limh0f(x+h)f(x)hf''(x)=\underset{h\to 0}{\lim}\frac{f^{\prime}(x+h)-f^{\prime}(x)}{h} to find f(x)f''(x).

28. f(x)=23xf(x)=2-3x

Answer:

0

29. f(x)=4x2f(x)=4x^2

30. f(x)=x+1xf(x)=x+\frac{1}{x}

Answer:

2x3\frac{2}{x^3}

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

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

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

Answer:

f(x)=6x+2f^{\prime}(x)=6x+2

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] f(x)=x+3xf(x)=\sqrt{x}+3x

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

Answer:

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

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] f(x)=1+x+1xf(x)=1+x+\frac{1}{x}

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

Answer:

f(x)=3x2f^{\prime}(x)=3x^2

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. f(x+h)f(x)h\frac{f(x+h)-f(x)}{h}
  2. f(x)=limh0f(x+h)f(x)hf^{\prime}(x)=\underset{h\to 0}{\lim}\frac{f(x+h)-f(x)}{h}

37. P(x)P(x) denotes the population of a city at time xx in years.

38. C(x)C(x) denotes the total amount of money (in thousands of dollars) spent on concessions by xx 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 xx customers spent money on concessions in thousands per customer.

39. R(x)R(x) denotes the total cost (in thousands of dollars) of manufacturing xx clock radios.

40. g(x)g(x) denotes the grade (in percentage points) received on a test, given xx 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 xx hours.

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

42. p(x)p(x) denotes atmospheric pressure at an altitude of xx 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 xx feet.

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

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

44. Suppose temperature TT in degrees Fahrenheit at a height xx in feet above the ground is given by y=T(x)y=T(x).

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

Answer:

a. The rate (in degrees per foot) at which temperature is increasing or decreasing for a given height xx. 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 y=P(x)y=P(x) thousand dollars when xx units of an item are sold.

  1. What does P(b)P(a)ba\frac{P(b)-P(a)}{b-a} for 0<a<b0<a<b measure, and what are the units?
  2. What does P(x)P^{\prime}(x) measure, and what are the units?
  3. Suppose that P(30)=5P^{\prime}(30)=5. 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 N(t)N(t) who have come down with the flu tt weeks after its initial outbreak in a town with a population of 50,000 citizens.

  1. Describe what N(t)N^{\prime}(t) represents and how it behaves as tt 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 tt 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 hh of the Saturn V rocket for the Apollo 11 mission tt 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 h(t)h^{\prime}(t)? What are the units?

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

Answer:

Time (seconds) h(t)h^{\prime}(t) (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 H(t)=7.229t4.905H(t)=7.229t-4.905, where HH is the height of the rocket (in meters) and tt is the time elapsed since takeoff. From this equation, determine H(t)H^{\prime}(t). Graph H(t)H(t) with the given data and, on a separate coordinate plane, graph H(t)H^{\prime}(t).

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

Answer:

G(t)=2.858t+0.0857G^{\prime}(t)=2.858t+0.0857

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 F(t)=0.2037t3+2.956t22.705t+0.4683F(t)=0.2037t^3+2.956t^2-2.705t+0.4683, where FF is the height of the rocket (in m) and tt is the time elapsed since take off. From this equation, determine F(t)F^{\prime}(t). Graph F(t)F(t) with the given data and, on a separate coordinate plane, graph F(t)F^{\prime}(t). 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 H(t),G(t)H''(t), \, G''(t), and F(t)F''(t) are. What are the physical meanings of H(t),G(t)H''(t), \, G''(t), and F(t)F''(t), and what are their units?

Answer:

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

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 aa
a function for which f(a)f^{\prime}(a) exists is differentiable at aa
differentiable on SS
a function for which f(x)f^{\prime}(x) exists for each xx in the open set SS is differentiable on SS
differentiable function
a function for which f(x)f^{\prime}(x) exists is a differentiable function
higher-order derivative
a derivative of a derivative, from the second derivative to the nnth derivative, is called a higher-order derivative

Licenses & Attributions