Skip to content

Derivatives

By the end of this section, you will be able to:

  • Find the derivative of a function
  • Find instantaneous rates of change
  • Find an equation of the tangent line to the graph of a function at a point
  • Find the instantaneous velocity of a particle

Device and media usage changes at different rates for different groups of people. Communication and technology companies, marketers, educators, and their advocates maintain a close watch on trends and preferences. According to data from the Pew Research Center, Millennial ownership of smartphones only increased by one percent from 2018 to 2019 (from 92% to 93%). But for people over 74 years old, the number jumped from 30% to 40% in the same period.

Other device ownership and usage trends may go in different directions by generation. From 2018 to 2019, Millennial tablet computer ownership dropped from 64% to 52%. But during the same period, the Baby Boom generation’s tablet computer ownership stayed exactly even with 52% reporting ownership. And the 74-and-older group’s tablet ownership increased from 25% to 33%.

What do these scenarios have in common? The functions representing them have changed over time. In this section, we will consider methods of computing such changes over time.

Finding the Average Rate of Change of a Function

The functions describing the examples above involve a change over time. Change divided by time is one example of a rate. The rates of change in the previous examples are each different. In other words, some changed faster than others. If we were to graph the functions, we could compare the rates by determining the slopes of the graphs.

A tangent line to a curve is a line that intersects the curve at only a single point but does not cross it there. (The tangent line may intersect the curve at another point away from the point of interest.) If we zoom in on a curve at that point, the curve appears linear, and the slope of the curve at that point is close to the slope of the tangent line at that point.

The graph below represents the function f(x)=x34xf(x)=x^3-4x. We can see the slope at various points along the curve.

  • slope at x=2x=-2 is 88
  • slope at x=1x=-1 is 1-1
  • slope at x=2x=2 is 88

Let’s imagine a point on the curve of function ff at x=ax=a, as shown below. The coordinates of the point are (a,f(a))(a,f(a)). Connect this point with a second point on the curve a little to the right of x=ax=a, with an xx-value increased by some small real number hh. The coordinates of this second point are (a+h,f(a+h))(a+h,f(a+h)) for some positive value hh.

We can calculate the slope of the line connecting the two points (a,f(a))(a,f(a)) and (a+h,f(a+h))(a+h,f(a+h)), called a secant line, by applying the slope formula,

slope=change in ychange in x\text{slope}=\tfrac{\text{change in }y}{\text{change in }x}

We use the notation msecm_{sec} to represent the slope of the secant line connecting two points.

msec=f(a+h)f(a)(a+h)(a)msec=f(a+h)f(a)a+ha \begin{array}{l} m_{sec}=\tfrac{f(a+h)-f(a)}{(a+h)-(a)} \\[4pt] \phantom{m_{sec}}=\tfrac{f(a+h)-f(a)}{a+h-a} \end{array}

The slope msecm_{sec} equals the average rate of change between two points (a,f(a))(a,f(a)) and (a+h,f(a+h))(a+h,f(a+h)).

msec=f(a+h)f(a)hm_{sec}=\tfrac{f(a+h)-f(a)}{h}

The Average Rate of Change between Two Points on a Curve. The average rate of change (AROC) between two points (a,f(a))(a,f(a)) and (a+h,f(a+h))(a+h,f(a+h)) on the curve of ff is the slope of the line connecting the two points and is given by

AROC=f(a+h)f(a)h\text{AROC}=\tfrac{f(a+h)-f(a)}{h}

Example. Find the average rate of change connecting the points (2,6)(2,-6) and (1,5)(-1,5).

Solution. We know the average rate of change connecting two points may be given by AROC=f(a+h)f(a)h\text{AROC}=\tfrac{f(a+h)-f(a)}{h}.

If one point is (2,6)(2,-6), or (2,f(2))(2,f(2)), then f(2)=6f(2)=-6.

The value hh is the displacement from 22 to 1-1, which equals 12=3-1-2=-3.

For the other point, f(a+h)f(a+h) is the yy-coordinate at a+ha+h, which is 2+(3)2+(-3) or 1-1, so f(a+h)=f(1)=5f(a+h)=f(-1)=5.

AROC=f(a+h)f(a)hAROC=5(6)3AROC=113AROC=113 \begin{array}{l} \text{AROC}=\tfrac{f(a+h)-f(a)}{h} \\[4pt] \phantom{\text{AROC}}=\tfrac{5-(-6)}{-3} \\[4pt] \phantom{\text{AROC}}=\tfrac{11}{-3} \\[4pt] \phantom{\text{AROC}}=-\tfrac{11}{3} \end{array}

Find the average rate of change connecting the points(5,1.5)(-5,1.5)and(2.5,9)(-2.5,9).

Understanding the Instantaneous Rate of Change

Now that we can find the average rate of change, suppose we make hh smaller and smaller. Then a+ha+h will approach aa as hh gets smaller, getting closer and closer to 00. Likewise, the second point (a+h,f(a+h))(a+h,f(a+h)) will approach the first point, (a,f(a))(a,f(a)). As a consequence, the connecting line between the two points, called the secant line, will get closer and closer to being a tangent to the function at x=ax=a, and the slope of the secant line will get closer and closer to the slope of the tangent at x=ax=a. See the figure below.

Because we are looking for the slope of the tangent at x=ax=a, we can think of the measure of the slope of the curve of a function ff at a given point as the rate of change at a particular instant. We call this slope the instantaneous rate of change, or the derivative of the function at x=ax=a. Both can be found by finding the limit of the slope of a line connecting the point at x=ax=a with a second point infinitesimally close along the curve. For a function ff, both the instantaneous rate of change of the function and the derivative of the function at x=ax=a are written as f(a)f'(a), and we can define them as a two-sided limit that has the same value whether approached from the left or the right.

f(a)=limh0f(a+h)f(a)hf'(a)=\lim\limits_{h\to0}\tfrac{f(a+h)-f(a)}{h}

The expression by which the limit is found is known as the difference quotient.

Definition of Instantaneous Rate of Change and Derivative. The derivative, or instantaneous rate of change, of a function ff at x=ax=a, is given by

f(a)=limh0f(a+h)f(a)hf'(a)=\lim\limits_{h\to0}\tfrac{f(a+h)-f(a)}{h}

The expression f(a+h)f(a)h\tfrac{f(a+h)-f(a)}{h} is called the difference quotient.

We use the difference quotient to evaluate the limit of the rate of change of the function as hh approaches 00.

Derivatives: Interpretations and Notation

The derivative of a function can be interpreted in different ways. It can be observed as the behavior of a graph of the function or calculated as a numerical rate of change of the function.

  • The derivative of a function f(x)f(x) at a point x=ax=a is the slope of the tangent line to the curve f(x)f(x) at x=ax=a. The derivative of f(x)f(x) at x=ax=a is written f(a)f'(a).
  • The derivative f(a)f'(a) measures how the curve changes at the point (a,f(a))(a,f(a)).
  • The derivative f(a)f'(a) may be thought of as the instantaneous rate of change of the function f(x)f(x) at x=ax=a.
  • If a function measures distance as a function of time, then the derivative measures the instantaneous velocity at time t=at=a.

Notations for the Derivative. The equation of the derivative of a function f(x)f(x) is written as y=f(x)y'=f'(x), where y=f(x)y=f(x). The notation f(x)f'(x) is read as “ff prime of xx.” Alternate notations for the derivative include the following:

f(x)=y=dydx=dfdx=ddxf(x)=Df(x)f'(x)=y'=\tfrac{dy}{dx}=\tfrac{df}{dx}=\tfrac{d}{dx}f(x)=Df(x)

The expression f(x)f'(x) is now a function of xx; this function gives the slope of the curve y=f(x)y=f(x) at any value of xx. The derivative of a function f(x)f(x) at a point x=ax=a is denoted f(a)f'(a).

How To: Given a function ff, find the derivative by applying the definition of the derivative.

  1. Calculate f(a+h)f(a+h).
  2. Calculate f(a)f(a).
  3. Substitute and simplify f(a+h)f(a)h\tfrac{f(a+h)-f(a)}{h}.
  4. Evaluate the limit if it exists: f(a)=limh0f(a+h)f(a)hf'(a)=\lim_{h\to0}\tfrac{f(a+h)-f(a)}{h}.

Example. Find the derivative of the function f(x)=x23x+5f(x)=x^2-3x+5 at x=ax=a.

Solution. We have f(a)=limh0f(a+h)f(a)hf'(a)=\lim_{h\to0}\tfrac{f(a+h)-f(a)}{h}.

Substitute f(a+h)=(a+h)23(a+h)+5f(a+h)=(a+h)^2-3(a+h)+5 and f(a)=a23a+5f(a)=a^2-3a+5.

f(a)=limh0(a+h)(a+h)3(a+h)+5(a23a+5)hf(a)=limh0a2+2ah+h23a3h+5a2+3a5hRemove parentheses.f(a)=limh02ah+h23hhSimplify.f(a)=limh0h(2a+h3)hFactor out an h.f(a)=2a+03Evaluate the limit.f(a)=2a3 \begin{array}{ll} f'(a)=\lim\limits_{h\to0}\tfrac{(a+h)(a+h)-3(a+h)+5-(a^2-3a+5)}{h} & \\[4pt] \phantom{f'(a)}=\lim\limits_{h\to0}\tfrac{a^2+2ah+h^2-3a-3h+5-a^2+3a-5}{h} & \text{Remove parentheses.} \\[4pt] \phantom{f'(a)}=\lim\limits_{h\to0}\tfrac{2ah+h^2-3h}{h} & \text{Simplify.} \\[4pt] \phantom{f'(a)}=\lim\limits_{h\to0}\tfrac{h(2a+h-3)}{h} & \text{Factor out an }h. \\[4pt] \phantom{f'(a)}=2a+0-3 & \text{Evaluate the limit.} \\[4pt] \phantom{f'(a)}=2a-3 & \end{array}

Find the derivative of the functionf(x)=3x2+7xf(x)=3x^2+7xatx=ax=a.

Finding Derivatives of Rational Functions

To find the derivative of a rational function, we will sometimes simplify the expression using algebraic techniques we have already learned.

Example. Find the derivative of the function f(x)=3+x2xf(x)=\tfrac{3+x}{2-x} at x=ax=a.

Solution.

f(a)=limh0f(a+h)f(a)hf(a)=limh03+(a+h)2(a+h)3+a2ahSubstitute f(a+h) and f(a)f(a)=limh0(2(a+h))(2a)[3+(a+h)2(a+h)3+a2a](2(a+h))(2a)(h)Multiply numerator and denominator by (2(a+h))(2a)f(a)=limh063a+2aa2+2hah6+3a+3h2a+a2+ah(2(a+h))(2a)(h)Multiply and distributef(a)=limh05h(2(a+h))(2a)(h)Combine like termsf(a)=limh05(2(a+h))(2a)Cancel like factorsf(a)=5(2(a+0))(2a)=5(2a)(2a)=5(2a)2Evaluate the limit \begin{array}{ll} f'(a)=\lim\limits_{h\to0}\tfrac{f(a+h)-f(a)}{h} & \\[4pt] \phantom{f'(a)}=\lim\limits_{h\to0}\tfrac{\tfrac{3+(a+h)}{2-(a+h)}-\tfrac{3+a}{2-a}}{h} & \text{Substitute }f(a+h)\text{ and }f(a) \\[4pt] \phantom{f'(a)}=\lim\limits_{h\to0}\tfrac{(2-(a+h))(2-a)\left[\tfrac{3+(a+h)}{2-(a+h)}-\tfrac{3+a}{2-a}\right]}{(2-(a+h))(2-a)(h)} & \text{Multiply numerator and denominator by }(2-(a+h))(2-a) \\[4pt] \phantom{f'(a)}=\lim\limits_{h\to0}\tfrac{6-3a+2a-a^2+2h-ah-6+3a+3h-2a+a^2+ah}{(2-(a+h))(2-a)(h)} & \text{Multiply and distribute} \\[4pt] \phantom{f'(a)}=\lim\limits_{h\to0}\tfrac{5h}{(2-(a+h))(2-a)(h)} & \text{Combine like terms} \\[4pt] \phantom{f'(a)}=\lim\limits_{h\to0}\tfrac{5}{(2-(a+h))(2-a)} & \text{Cancel like factors} \\[4pt] \phantom{f'(a)}=\tfrac{5}{(2-(a+0))(2-a)}=\tfrac{5}{(2-a)(2-a)}=\tfrac{5}{(2-a)^2} & \text{Evaluate the limit} \end{array}

Find the derivative of the functionf(x)=10x+115x+4f(x)=\tfrac{10x+11}{5x+4}atx=ax=a.

Finding Derivatives of Functions with Roots

To find derivatives of functions with roots, we use the methods we have learned to find limits of functions with roots, including multiplying by a conjugate.

Example. Find the derivative of the function f(x)=4xf(x)=4\sqrt{x} at x=36x=36.

Solution. We have

f(a)=limh0f(a+h)f(a)hf(a)=limh04a+h4ahSubstitute f(a+h) and f(a) \begin{array}{ll} f'(a)=\lim\limits_{h\to0}\tfrac{f(a+h)-f(a)}{h} & \\[4pt] \phantom{f'(a)}=\lim\limits_{h\to0}\tfrac{4\sqrt{a+h}-4\sqrt{a}}{h} & \text{Substitute }f(a+h)\text{ and }f(a) \end{array}

Multiply the numerator and denominator by the conjugate: 4a+h+4a4a+h+4a\tfrac{4\sqrt{a+h}+4\sqrt{a}}{4\sqrt{a+h}+4\sqrt{a}}.

f(a)=limh0(4a+h4ah)(4a+h+4a4a+h+4a)f(a)=limh0(16(a+h)16ah4(a+h+a))Multiply.f(a)=limh0(16a+16h16ah4(a+h+a))Distribute and combine like terms.f(a)=limh0(16hh(4a+h+4a))Simplify.f(a)=limh0(164a+h+4a)Evaluate the limit by letting h=0.f(a)=168a=2af(36)=236Evaluate the derivative at x=36.f(36)=26f(36)=13 \begin{array}{ll} f'(a)=\lim\limits_{h\to0}\left(\tfrac{4\sqrt{a+h}-4\sqrt{a}}{h}\right)\cdot\left(\tfrac{4\sqrt{a+h}+4\sqrt{a}}{4\sqrt{a+h}+4\sqrt{a}}\right) & \\[4pt] \phantom{f'(a)}=\lim\limits_{h\to0}\left(\tfrac{16(a+h)-16a}{h\cdot4(\sqrt{a+h}+\sqrt{a})}\right) & \text{Multiply.} \\[4pt] \phantom{f'(a)}=\lim\limits_{h\to0}\left(\tfrac{16a+16h-16a}{h\cdot4(\sqrt{a+h}+\sqrt{a})}\right) & \text{Distribute and combine like terms.} \\[4pt] \phantom{f'(a)}=\lim\limits_{h\to0}\left(\tfrac{16h}{h(4\sqrt{a+h}+4\sqrt{a})}\right) & \text{Simplify.} \\[4pt] \phantom{f'(a)}=\lim\limits_{h\to0}\left(\tfrac{16}{4\sqrt{a+h}+4\sqrt{a}}\right) & \text{Evaluate the limit by letting }h=0. \\[4pt] \phantom{f'(a)}=\tfrac{16}{8\sqrt{a}}=\tfrac{2}{\sqrt{a}} & \\[4pt] f'(36)=\tfrac{2}{\sqrt{36}} & \text{Evaluate the derivative at }x=36. \\[4pt] \phantom{f'(36)}=\tfrac{2}{6} & \\[4pt] \phantom{f'(36)}=\tfrac{1}{3} & \end{array}

Find the derivative of the functionf(x)=9xf(x)=9\sqrt{x}atx=9x=9. Enter the answer as a fraction.

Finding Instantaneous Rates of Change

Many applications of the derivative involve determining the rate of change at a given instant of a function with the independent variable time — which is why the term instantaneous is used. Consider the height of a ball tossed upward with an initial velocity of 6464 feet per second, given by s(t)=16t2+64t+6s(t)=-16t^2+64t+6, where tt is measured in seconds and s(t)s(t) is measured in feet. We know the path is that of a parabola. The derivative will tell us how the height is changing at any given point in time. The height of the ball is shown below as a function of time. In physics, we call this the “ss-tt graph.”

Example. Using the function above, s(t)=16t2+64t+6s(t)=-16t^2+64t+6, what is the instantaneous velocity of the ball at 11 second and 33 seconds into its flight?

Solution. The velocity at t=1t=1 and t=3t=3 is the instantaneous rate of change of distance per time, or velocity. Notice that the initial height is 66 feet. To find the instantaneous velocity, we find the derivative and evaluate it at t=1t=1 and t=3t=3:

s(t)=limh0s(t+h)s(t)hs(t)=limh016(t+h)2+64(t+h)+6(16t2+64t+6)hSubstitute s(t+h) and s(t).s(t)=limh016t232hth2+64t+64h+6+16t264t6hDistribute.s(t)=limh032hth2+64hhSimplify.s(t)=limh0h(32th+64)hFactor the numerator.s(t)=limh032th+64Cancel out the common factor h.s(t)=32t+64Evaluate the limit by letting h=0. \begin{array}{ll} s'(t)=\lim\limits_{h\to0}\tfrac{s(t+h)-s(t)}{h} & \\[4pt] \phantom{s'(t)}=\lim\limits_{h\to0}\tfrac{-16(t+h)^2+64(t+h)+6-(-16t^2+64t+6)}{h} & \text{Substitute }s(t+h)\text{ and }s(t). \\[4pt] \phantom{s'(t)}=\lim\limits_{h\to0}\tfrac{-16t^2-32ht-h^2+64t+64h+6+16t^2-64t-6}{h} & \text{Distribute.} \\[4pt] \phantom{s'(t)}=\lim\limits_{h\to0}\tfrac{-32ht-h^2+64h}{h} & \text{Simplify.} \\[4pt] \phantom{s'(t)}=\lim\limits_{h\to0}\tfrac{h(-32t-h+64)}{h} & \text{Factor the numerator.} \\[4pt] \phantom{s'(t)}=\lim\limits_{h\to0}-32t-h+64 & \text{Cancel out the common factor }h. \\[4pt] s'(t)=-32t+64 & \text{Evaluate the limit by letting }h=0. \end{array}

For any value of tt, s(t)s'(t) tells us the velocity at that value of tt.

Evaluate t=1t=1 and t=3t=3.

s(1)=32(1)+64=32s(3)=32(3)+64=32 \begin{array}{l} s'(1)=-32(1)+64=32 \\[4pt] s'(3)=-32(3)+64=-32 \end{array}

The velocity of the ball after 11 second is 3232 feet per second, as it is on the way up.

The velocity of the ball after 33 seconds is 32-32 feet per second, as it is on the way down.

The position of the ball is given bys(t)=16t2+64t+6s(t)=-16t^2+64t+6. What is its velocity22seconds into flight? Enter the number only.

Using Graphs to Find Instantaneous Rates of Change

We can estimate an instantaneous rate of change at x=ax=a by observing the slope of the curve of the function f(x)f(x) at x=ax=a. We do this by drawing a line tangent to the function at x=ax=a and finding its slope.

How To: Given a graph of a function f(x)f(x), find the instantaneous rate of change of the function at x=ax=a.

  1. Locate x=ax=a on the graph of the function f(x)f(x).
  2. Draw a tangent line, a line that goes through x=ax=a at aa and at no other point in that section of the curve. Extend the line far enough to calculate its slope as change in ychange in x\tfrac{\text{change in }y}{\text{change in }x}.

Example. From the graph of the function y=f(x)y=f(x) presented below, estimate each of the following: f(0)f(0), f(2)f(2), f(0)f'(0), f(2)f'(2).

Solution. To find the functional value, f(a)f(a), find the yy-coordinate at x=ax=a.

To find the derivative at x=ax=a, f(a)f'(a), draw a tangent line at x=ax=a, and estimate the slope of that tangent line. See the figure below.

  • f(0)f(0) is the yy-coordinate at x=0x=0. The point has coordinates (0,1)(0,1), thus f(0)=1f(0)=1.
  • f(2)f(2) is the yy-coordinate at x=2x=2. The point has coordinates (2,1)(2,1), thus f(2)=1f(2)=1.
  • f(0)f'(0) is found by estimating the slope of the tangent line to the curve at x=0x=0. The tangent line to the curve at x=0x=0 appears horizontal. Horizontal lines have a slope of 00, thus f(0)=0f'(0)=0.
  • f(2)f'(2) is found by estimating the slope of the tangent line to the curve at x=2x=2. Observe the path of the tangent line to the curve at x=2x=2. As the xx value moves one unit to the right, the yy value moves up four units to another point on the line. Thus, the slope is 44, so f(2)=4f'(2)=4.

Using the graph of the functionf(x)=x33xf(x)=x^3-3xshown below, estimatef(1)f(1).

Using the same graph off(x)=x33xf(x)=x^3-3x, estimatef(0)f'(0).

Using Instantaneous Rates of Change to Solve Real-World Problems

Another way to interpret an instantaneous rate of change at x=ax=a is to observe the function in a real-world context. The unit for the derivative of a function f(x)f(x) is output unitsinput unit\tfrac{\text{output units}}{\text{input unit}}. Such a unit shows by how many units the output changes for each one-unit change of input. The instantaneous rate of change at a given instant shows the same thing: the units of change of output per one-unit change of input.

One example of an instantaneous rate of change is a marginal cost. For example, suppose the production cost for a company to produce xx items is given by C(x)C(x), in thousands of dollars. The derivative function tells us how the cost is changing for any value of xx in the domain of the function. In other words, C(x)C'(x) is interpreted as a marginal cost, the additional cost in thousands of dollars of producing one more item when xx items have been produced. For example, C(11)C'(11) is the approximate additional cost in thousands of dollars of producing the 12th item after 11 items have been produced. C(11)=2.50C'(11)=2.50 means that when 11 items have been produced, producing the 12th item would increase the total cost by approximately $2,500.00.

Example. The cost in dollars of producing xx laptop computers is f(x)=x2100xf(x)=x^2-100x. At the point where 200 computers have been produced, what is the approximate cost of producing the 201st unit?

Solution. If f(x)=x2100xf(x)=x^2-100x describes the cost of producing xx computers, f(x)f'(x) will describe the marginal cost. We need to find the derivative. For purposes of calculating the derivative, we can use the following functions:

f(x+h)=(x+h)2100(x+h)f(x)=x2100x \begin{array}{l} f(x+h)=(x+h)^2-100(x+h) \\[4pt] f(x)=x^2-100x \end{array} f(x)=limh0f(x+h)f(x)hFormula for a derivativef(x)=limh0(x+h)2100(x+h)(x2100x)hSubstitute f(x+h) and f(x).f(x)=limh0x2+2xh+h2100x100hx2+100xhMultiply polynomials, distribute.f(x)=limh02xh+h2100hhCollect like terms.f(x)=limh0h(2x+h100)hFactor and cancel like terms.f(x)=limh02x+h100Simplify.f(x)=2x100Evaluate when h=0.f(x)=2x100Formula for marginal costf(200)=2(200)100=300Evaluate for 200 units. \begin{array}{ll} f'(x)=\lim\limits_{h\to0}\tfrac{f(x+h)-f(x)}{h} & \text{Formula for a derivative} \\[4pt] \phantom{f'(x)}=\lim\limits_{h\to0}\tfrac{(x+h)^2-100(x+h)-(x^2-100x)}{h} & \text{Substitute }f(x+h)\text{ and }f(x). \\[4pt] \phantom{f'(x)}=\lim\limits_{h\to0}\tfrac{x^2+2xh+h^2-100x-100h-x^2+100x}{h} & \text{Multiply polynomials, distribute.} \\[4pt] \phantom{f'(x)}=\lim\limits_{h\to0}\tfrac{2xh+h^2-100h}{h} & \text{Collect like terms.} \\[4pt] \phantom{f'(x)}=\lim\limits_{h\to0}\tfrac{h(2x+h-100)}{h} & \text{Factor and cancel like terms.} \\[4pt] \phantom{f'(x)}=\lim\limits_{h\to0}2x+h-100 & \text{Simplify.} \\[4pt] \phantom{f'(x)}=2x-100 & \text{Evaluate when }h=0. \\[4pt] f'(x)=2x-100 & \text{Formula for marginal cost} \\[4pt] f'(200)=2(200)-100=300 & \text{Evaluate for 200 units.} \end{array}

The marginal cost of producing the 201st unit will be approximately $300.

Example. A car leaves an intersection. The distance it travels in miles is given by the function f(t)f(t), where tt represents hours. Explain the following notations: f(0)=0f(0)=0; f(1)=60f'(1)=60; f(1)=70f(1)=70; f(2.5)=150f(2.5)=150.

Solution. First we need to evaluate the function f(t)f(t) and the derivative of the function f(t)f'(t), and distinguish between the two. When we evaluate the function f(t)f(t), we are finding the distance the car has traveled in tt hours. When we evaluate the derivative f(t)f'(t), we are finding the speed of the car after tt hours.

  • f(0)=0f(0)=0 means that in zero hours, the car has traveled zero miles.
  • f(1)=60f'(1)=60 means that one hour into the trip, the car is traveling 60 miles per hour.
  • f(1)=70f(1)=70 means that one hour into the trip, the car has traveled 70 miles. At some point during the first hour, then, the car must have been traveling faster than it was at the 1-hour mark.
  • f(2.5)=150f(2.5)=150 means that two hours and thirty minutes into the trip, the car has traveled 150 miles.

A runner runs along a straight east-west road. The functionf(t)f(t)gives how many feet eastward of her starting point she is afterttseconds. What doesf(10)=150f(10)=150mean?

For the same runner, what doesf(20)=10f'(20)=-10mean?

Finding Points Where a Function’s Derivative Does Not Exist

To understand where a function’s derivative does not exist, we need to recall what normally happens when a function f(x)f(x) has a derivative at x=ax=a. Suppose we use a graphing utility to zoom in on x=ax=a. If the function f(x)f(x) is differentiable, that is, if it is a function that can be differentiated, then the closer one zooms in, the more closely the graph approaches a straight line. This characteristic is called linearity.

Look at the graph below. The closer we zoom in on the point, the more linear the curve appears.

We might presume the same thing would happen with any continuous function, but that is not so. The function f(x)=xf(x)=\lvert x\rvert, for example, is continuous at x=0x=0, but not differentiable at x=0x=0. As we zoom in close to 00 in the figure below, the graph does not approach a straight line. No matter how close we zoom in, the graph maintains its sharp corner.

We zoom in closer by narrowing the range to produce the graph below, and continue to observe the same shape. This graph does not appear linear at x=0x=0.

What are the characteristics of a graph that is not differentiable at a point? Here are some examples in which function f(x)f(x) is not differentiable at x=ax=a.

We see the graph of

f(x)={x2,x28x,x>2f(x)=\begin{cases} x^2, & x\le2 \\ 8-x, & x>2 \end{cases}

below. Notice that, as xx approaches 22 from the left, the left-hand limit may be observed to be 44, while as xx approaches 22 from the right, the right-hand limit may be observed to be 66. We see that it has a discontinuity at x=2x=2.

We see the graph of f(x)=xf(x)=\lvert x\rvert below. We see that the graph has a corner point at x=0x=0.

We see that the graph of f(x)=x23f(x)=x^{\tfrac{2}{3}} below has a cusp at x=0x=0. A cusp has a unique feature. Moving away from the cusp, both the left-hand and right-hand limits approach either infinity or negative infinity. Notice the tangent lines as xx approaches 00 from both the left and the right appear to get increasingly steeper, but one has a negative slope, the other has a positive slope.

We see that the graph of f(x)=x13f(x)=x^{\tfrac{1}{3}} below has a vertical tangent at x=0x=0. Recall that vertical tangents are vertical lines, so where a vertical tangent exists, the slope of the line is undefined. This is why the derivative, which measures the slope, does not exist there.

Differentiability. A function f(x)f(x) is differentiable at x=ax=a if the derivative exists at x=ax=a, which means that f(a)f'(a) exists.

There are four cases for which a function f(x)f(x) is not differentiable at a point x=ax=a.

  1. When there is a discontinuity at x=ax=a.
  2. When there is a corner point at x=ax=a.
  3. When there is a cusp at x=ax=a.
  4. Any other time when there is a vertical tangent at x=ax=a.

Example. Using the graph below, determine where the function is (a) continuous, (b) discontinuous, (c) differentiable, (d) not differentiable. At the points where the graph is discontinuous or not differentiable, state why.

Solution. The graph of f(x)f(x) is continuous on (,2)(2,1)(1,)(-\infty,-2)\cup(-2,1)\cup(1,\infty). The graph of f(x)f(x) has a removable discontinuity at x=2x=-2 and a jump discontinuity at x=1x=1. See the figure below.

The graph of ff is differentiable on (,2)(2,1)(1,1)(1,2)(2,)(-\infty,-2)\cup(-2,-1)\cup(-1,1)\cup(1,2)\cup(2,\infty). The graph of f(x)f(x) is not differentiable at x=2x=-2 because it is a point of discontinuity, at x=1x=-1 because of a sharp corner, at x=1x=1 because it is a point of discontinuity, and at x=2x=2 because of a sharp corner. See the figure below.

Using the graph ofy=f(x)y=f(x)shown below, state the interval(s) on whichffis continuous.

Using the same graph, state thexx-value(s) at whichffis not differentiable. Separate multiple values with a comma.

Finding an Equation of a Line Tangent to the Graph of a Function

The equation of a tangent line to a curve of the function f(x)f(x) at x=ax=a is derived from the point-slope form of a line, y=m(xx1)+y1y=m(x-x_1)+y_1. The slope of the line is the slope of the curve at x=ax=a and is therefore equal to f(a)f'(a), the derivative of f(x)f(x) at x=ax=a. The coordinate pair of the point on the line at x=ax=a is (a,f(a))(a,f(a)).

If we substitute into the point-slope form, with m=f(a)m=f'(a), x1=ax_1=a, and y1=f(a)y_1=f(a), the equation of the tangent line is

y=f(a)(xa)+f(a)y=f'(a)(x-a)+f(a)

The Equation of a Line Tangent to a Curve of the Function ff. The equation of a line tangent to the curve of a function ff at a point x=ax=a is

y=f(a)(xa)+f(a)y=f'(a)(x-a)+f(a)

How To: Given a function ff, find the equation of a line tangent to the function at x=ax=a.

  1. Find the derivative of f(x)f(x) at x=ax=a using f(a)=limh0f(a+h)f(a)hf'(a)=\lim_{h\to0}\tfrac{f(a+h)-f(a)}{h}.
  2. Evaluate the function at x=ax=a. This is f(a)f(a).
  3. Substitute (a,f(a))(a,f(a)) and f(a)f'(a) into y=f(a)(xa)+f(a)y=f'(a)(x-a)+f(a).
  4. Write the equation of the tangent line in the form y=mx+by=mx+b.

Example. Find the equation of a line tangent to the curve f(x)=x24xf(x)=x^2-4x at x=3x=3.

Solution. Using f(a)=limh0f(a+h)f(a)hf'(a)=\lim_{h\to0}\tfrac{f(a+h)-f(a)}{h}, substitute f(a+h)=(a+h)24(a+h)f(a+h)=(a+h)^2-4(a+h) and f(a)=a24af(a)=a^2-4a.

f(a)=limh0(a+h)(a+h)4(a+h)(a24a)hf(a)=limh0a2+2ah+h24a4ha2+4ahRemove parentheses and combine like terms.f(a)=limh02ah+h24hhf(a)=limh0h(2a+h4)hFactor out h.f(a)=2a4Evaluate the limit.f(3)=2(3)4=2 \begin{array}{ll} f'(a)=\lim\limits_{h\to0}\tfrac{(a+h)(a+h)-4(a+h)-(a^2-4a)}{h} & \\[4pt] \phantom{f'(a)}=\lim\limits_{h\to0}\tfrac{a^2+2ah+h^2-4a-4h-a^2+4a}{h} & \text{Remove parentheses and combine like terms.} \\[4pt] \phantom{f'(a)}=\lim\limits_{h\to0}\tfrac{2ah+h^2-4h}{h} & \\[4pt] \phantom{f'(a)}=\lim\limits_{h\to0}\tfrac{h(2a+h-4)}{h} & \text{Factor out }h. \\[4pt] f'(a)=2a-4 & \text{Evaluate the limit.} \\[4pt] f'(3)=2(3)-4=2 & \end{array}

Equation of tangent line at x=3x=3:

y=f(a)(xa)+f(a)y=f(3)(x3)+f(3)y=2(x3)+(3)y=2x9 \begin{array}{l} y=f'(a)(x-a)+f(a) \\[4pt] y=f'(3)(x-3)+f(3) \\[4pt] y=2(x-3)+(-3) \\[4pt] y=2x-9 \end{array}

Analysis. We can use a graphing utility to graph the function and the tangent line. In so doing, we can observe the point of tangency at x=3x=3 as shown below.

Find the equation of a tangent line to the curve of the functionf(x)=5x2x+4f(x)=5x^2-x+4atx=2x=2. Write the equation in slope-intercept form.

Finding the Instantaneous Speed of a Particle

If a function measures position versus time, the derivative measures displacement versus time, or the speed of the object. A change in speed or direction relative to a change in time is known as velocity. The velocity at a given instant is known as instantaneous velocity.

In trying to find the speed or velocity of an object at a given instant, we seem to encounter a contradiction. We normally define speed as the distance traveled divided by the elapsed time. But in an instant, no distance is traveled, and no time elapses. How will we divide zero by zero? The use of a derivative solves this problem. A derivative allows us to say that even while the object’s velocity is constantly changing, it has a certain velocity at a given instant. That means that if the object traveled at that exact velocity for a unit of time, it would travel the specified distance.

Instantaneous Velocity. Let the function s(t)s(t) represent the position of an object at time tt. The instantaneous velocity or velocity of the object at time t=at=a is given by

s(a)=limh0s(a+h)s(a)hs'(a)=\lim\limits_{h\to0}\tfrac{s(a+h)-s(a)}{h}

Example. A ball is tossed upward from a height of 200200 feet with an initial velocity of 3636 ft/sec. If the height of the ball in feet after tt seconds is given by s(t)=16t2+36t+200s(t)=-16t^2+36t+200, find the instantaneous velocity of the ball at t=2t=2.

Solution. First, we must find the derivative s(t)s'(t). Then we evaluate the derivative at t=2t=2, using s(a+h)=16(a+h)2+36(a+h)+200s(a+h)=-16(a+h)^2+36(a+h)+200 and s(a)=16a2+36a+200s(a)=-16a^2+36a+200.

s(a)=limh0s(a+h)s(a)hs(a)=limh016(a+h)2+36(a+h)+200(16a2+36a+200)hs(a)=limh016(a2+2ah+h2)+36(a+h)+200(16a2+36a+200)hs(a)=limh016a232ah16h2+36a+36h+200+16a236a200hs(a)=limh032ah16h2+36hhs(a)=limh0h(32a16h+36)hs(a)=limh0(32a16h+36)s(a)=32a160+36s(a)=32a+36s(2)=32(2)+36s(2)=28 \begin{array}{l} s'(a)=\lim\limits_{h\to0}\tfrac{s(a+h)-s(a)}{h} \\[4pt] \phantom{s'(a)}=\lim\limits_{h\to0}\tfrac{-16(a+h)^2+36(a+h)+200-(-16a^2+36a+200)}{h} \\[4pt] \phantom{s'(a)}=\lim\limits_{h\to0}\tfrac{-16(a^2+2ah+h^2)+36(a+h)+200-(-16a^2+36a+200)}{h} \\[4pt] \phantom{s'(a)}=\lim\limits_{h\to0}\tfrac{-16a^2-32ah-16h^2+36a+36h+200+16a^2-36a-200}{h} \\[4pt] \phantom{s'(a)}=\lim\limits_{h\to0}\tfrac{-32ah-16h^2+36h}{h} \\[4pt] \phantom{s'(a)}=\lim\limits_{h\to0}\tfrac{h(-32a-16h+36)}{h} \\[4pt] \phantom{s'(a)}=\lim\limits_{h\to0}(-32a-16h+36) \\[4pt] \phantom{s'(a)}=-32a-16\cdot0+36 \\[4pt] s'(a)=-32a+36 \\[4pt] s'(2)=-32(2)+36 \\[4pt] \phantom{s'(2)}=-28 \end{array}

Analysis. This result means that at time t=2t=2 seconds, the ball is dropping at a rate of 2828 ft/sec.

A fireworks rocket is shot upward out of a pit1212ft below the ground at a velocity of6060ft/sec. Its height in feet afterttseconds is given bys=16t2+60t12s=-16t^2+60t-12. What is its instantaneous velocity after44seconds? Enter the number only.

Media. Access these online resources for additional instruction and practice with derivatives.

Key equations

average rate of changeAROC=f(a+h)f(a)h\text{AROC}=\tfrac{f(a+h)-f(a)}{h}
derivative of a functionf(a)=limh0f(a+h)f(a)hf'(a)=\lim_{h\to0}\tfrac{f(a+h)-f(a)}{h}

Key concepts

  • The slope of the secant line connecting two points is the average rate of change of the function between those points.
  • The derivative, or instantaneous rate of change, is a measure of the slope of the curve of a function at a given point, or the slope of the line tangent to the curve at that point.
  • The difference quotient is the quotient in the formula for the instantaneous rate of change: f(a+h)f(a)h\tfrac{f(a+h)-f(a)}{h}.
  • Instantaneous rates of change can be used to find solutions to many real-world problems.
  • The instantaneous rate of change can be found by observing the slope of a function at a point on a graph by drawing a line tangent to the function at that point.
  • Instantaneous rates of change can be interpreted to describe real-world situations.
  • Some functions are not differentiable at a point or points.
  • The point-slope form of a line can be used to find the equation of a line tangent to the curve of a function.
  • Velocity is a change in position relative to time. Instantaneous velocity describes the velocity of an object at a given instant. Average velocity describes the velocity maintained over an interval of time.
  • Using the derivative makes it possible to calculate instantaneous velocity even though there is no elapsed time.

Practice

Find the derivative of a function

Use the definition of the derivative,limh0f(x+h)f(x)h\lim_{h\to0}\tfrac{f(x+h)-f(x)}{h}, to find the derivative off(x)=2x+1f(x)=-2x+1.

Use the definition of the derivative to find the derivative off(x)=2x2+x3f(x)=2x^2+x-3.

Use the definition of the derivative to find the derivative off(x)=52x3+2xf(x)=\tfrac{5-2x}{3+2x}.

The graph of a functionffis shown above. At whichxx-value(s) isffdiscontinuous? Separate multiple values with a comma.

The graph of a functionffis shown above. At whatxx-value isffdiscontinuous?

Find instantaneous rates of change

Find the average rate of change between the points(4,3)(4,-3)and(2,1)(-2,-1). Enter the answer as a fraction.

Find the average rate of change between the points(7,2)(7,-2)and(7,10)(7,10).

The volumef(t)f(t)of a tank of gasoline, in gallons, is a function ofttminutes after noon. Explain whatf(30)=20f'(30)=-20means.

The volumeVVof a sphere with respect to its radiusrris given byV=43πr3V=\tfrac{4}{3}\pi r^3. Find the instantaneous rate of change ofVVwhenr=3r=3cm. Give the exact answer in terms ofπ\pi.

Find an equation of the tangent line to the graph of a function at a point

Find the equation of the tangent line to the curvef(x)=x3+1f(x)=x^3+1atx=2x=2. Write the equation in slope-intercept form.

Findkksuch that the liney=4x9y=4x-9is tangent to the graph off(x)=x2kxf(x)=x^2-kx. Enter both values ofkk, separated by a comma.

Find the instantaneous velocity of a particle

A car traveled 110 miles during the time period from 2:00 p.m. to 4:00 p.m. At exactly 2:30 p.m., the speed of the car registered exactly 62 miles per hour. What is another name for the speed of the car at 2:30 p.m., and why does it differ from the average velocity?

The height,ss, of a projectile afterttseconds is given bys(t)=16t2+80ts(t)=-16t^2+80t. Explain whats(2)=96s(2)=96means.

For the same projectile,s(t)=16t2+80ts(t)=-16t^2+80t, explain whats(0)=0s(0)=0ands(5)=0s(5)=0together mean.


This section is adapted from Precalculus 2e, Section 12.4: Derivatives by Jay Abramson and OpenStax, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recreated all 22 instructional figures as accessible spec-first SVGs, each independently checked against the rendered PDF (true pages 1221–1242). The generic secant/tangent-construction figures (the curve through (a,f(a))(a,f(a)) and (a+h,f(a+h))(a+h,f(a+h)), and the tangent-vs-two-secants figure) are unnamed in the source, so both are fitted to the same representative parabola f(x)=0.5x2f(x)=0.5x^2 with explicit sample points, disclosed here since the source states them symbolically. The zoom-sequence figure illustrating linearity at a differentiable point (originally one image combining a wide view and an inset) is split into two sequential figures — a wide view with a marked zoom box, then a close-up at that box’s window — since the engine has no inset-with-callout-arrow primitive; the boxed function is a representative downward parabola, not a source-named one. f(x)=x32x2+1f(x)=x^3-2x^2+1 (Example 6’s graph) was fitted by solving for the cubic’s four coefficients from the two turning points and slopes the source prints, then confirmed against every printed solution value the figure feeds (all matched exactly); the source’s Graphical-section turning-point figure (printed exercises 35–44) is not recreated here, since none of its items is used. The two “For the following exercises, consider the graph of the function ff” items whose <problem> is empty in the pinned CNXML (the source poses the question through a printed figure the transcription tool cannot extract) were reconstructed as exact piecewise-linear graphs from the rendered PDF art, corner and jump coordinates read directly off the page, and both are used above as fill-ins; Example 9’s three-stage piecewise graph and the Try It graph that follows it were likewise reconstructed from the printed art, since their CNXML alt text gives no coordinates asking for the xx-value(s) of discontinuity — the only ask their non-differentiability solutions can source independently. Every “explain the notation/function in words” item is a multiple choice whose correct option is the source’s own printed sentence, since a fill-in cannot grade a categorical explanation. Fourteen selected end-of-section exercises were adapted, one apiece, into fourteen interactive Practice components across the section’s four objective groups, every one independently re-derived (including by running the arithmetic in Node) rather than read off the source key; the Algebraic set’s derivative-by-definition items keep only the derivative itself as the graded response, since the definition the exercise names is process, not answer. Kept the “Media” callout’s introductory sentence but omitted its two external video links, matching house precedent elsewhere in this book.