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 . We can see the slope at various points along the curve.
- slope at is
- slope at is
- slope at is
Let’s imagine a point on the curve of function at , as shown below. The coordinates of the point are . Connect this point with a second point on the curve a little to the right of , with an -value increased by some small real number . The coordinates of this second point are for some positive value .
We can calculate the slope of the line connecting the two points and , called a secant line, by applying the slope formula,
We use the notation to represent the slope of the secant line connecting two points.
The slope equals the average rate of change between two points and .
The Average Rate of Change between Two Points on a Curve. The average rate of change (AROC) between two points and on the curve of is the slope of the line connecting the two points and is given by
Example. Find the average rate of change connecting the points and .
Solution. We know the average rate of change connecting two points may be given by .
If one point is , or , then .
The value is the displacement from to , which equals .
For the other point, is the -coordinate at , which is or , so .
Find the average rate of change connecting the pointsand.
Usewithand.Understanding the Instantaneous Rate of Change
Now that we can find the average rate of change, suppose we make smaller and smaller. Then will approach as gets smaller, getting closer and closer to . Likewise, the second point will approach the first point, . 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 , and the slope of the secant line will get closer and closer to the slope of the tangent at . See the figure below.
Because we are looking for the slope of the tangent at , we can think of the measure of the slope of the curve of a function 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 . Both can be found by finding the limit of the slope of a line connecting the point at with a second point infinitesimally close along the curve. For a function , both the instantaneous rate of change of the function and the derivative of the function at are written as , and we can define them as a two-sided limit that has the same value whether approached from the left or the right.
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 at , is given by
The expression is called the difference quotient.
We use the difference quotient to evaluate the limit of the rate of change of the function as approaches .
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 at a point is the slope of the tangent line to the curve at . The derivative of at is written .
- The derivative measures how the curve changes at the point .
- The derivative may be thought of as the instantaneous rate of change of the function at .
- If a function measures distance as a function of time, then the derivative measures the instantaneous velocity at time .
Notations for the Derivative. The equation of the derivative of a function is written as , where . The notation is read as “ prime of .” Alternate notations for the derivative include the following:
The expression is now a function of ; this function gives the slope of the curve at any value of . The derivative of a function at a point is denoted .
How To: Given a function , find the derivative by applying the definition of the derivative.
- Calculate .
- Calculate .
- Substitute and simplify .
- Evaluate the limit if it exists: .
Example. Find the derivative of the function at .
Solution. We have .
Substitute and .
Find the derivative of the functionat.
Substituteandinto the difference quotient, then simplify and let.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 at .
Solution.
Find the derivative of the functionat.
Combine the fractions in the difference quotient over one denominator, then cancel the common factor of.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 at .
Solution. We have
Multiply the numerator and denominator by the conjugate: .
Find the derivative of the functionat. Enter the answer as a fraction.
Multiply the difference quotient by the conjugatebefore letting.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 feet per second, given by , where is measured in seconds and 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 “- graph.”
Example. Using the function above, , what is the instantaneous velocity of the ball at second and seconds into its flight?
Solution. The velocity at and is the instantaneous rate of change of distance per time, or velocity. Notice that the initial height is feet. To find the instantaneous velocity, we find the derivative and evaluate it at and :
For any value of , tells us the velocity at that value of .
Evaluate and .
The velocity of the ball after second is feet per second, as it is on the way up.
The velocity of the ball after seconds is feet per second, as it is on the way down.
The position of the ball is given by. What is its velocityseconds into flight? Enter the number only.
ft/sFindand evaluate it at.Using Graphs to Find Instantaneous Rates of Change
We can estimate an instantaneous rate of change at by observing the slope of the curve of the function at . We do this by drawing a line tangent to the function at and finding its slope.
How To: Given a graph of a function , find the instantaneous rate of change of the function at .
- Locate on the graph of the function .
- Draw a tangent line, a line that goes through at and at no other point in that section of the curve. Extend the line far enough to calculate its slope as .
Example. From the graph of the function presented below, estimate each of the following: , , , .
Solution. To find the functional value, , find the -coordinate at .
To find the derivative at , , draw a tangent line at , and estimate the slope of that tangent line. See the figure below.
- is the -coordinate at . The point has coordinates , thus .
- is the -coordinate at . The point has coordinates , thus .
- is found by estimating the slope of the tangent line to the curve at . The tangent line to the curve at appears horizontal. Horizontal lines have a slope of , thus .
- is found by estimating the slope of the tangent line to the curve at . Observe the path of the tangent line to the curve at . As the value moves one unit to the right, the value moves up four units to another point on the line. Thus, the slope is , so .
Using the graph of the functionshown below, estimate.
Read the-coordinate atfrom the graph.Using the same graph of, estimate.
Estimate the slope of the tangent line to the curve at.Using Instantaneous Rates of Change to Solve Real-World Problems
Another way to interpret an instantaneous rate of change at is to observe the function in a real-world context. The unit for the derivative of a function is . 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 items is given by , in thousands of dollars. The derivative function tells us how the cost is changing for any value of in the domain of the function. In other words, is interpreted as a marginal cost, the additional cost in thousands of dollars of producing one more item when items have been produced. For example, is the approximate additional cost in thousands of dollars of producing the 12th item after 11 items have been produced. 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 laptop computers is . At the point where 200 computers have been produced, what is the approximate cost of producing the 201st unit?
Solution. If describes the cost of producing computers, will describe the marginal cost. We need to find the derivative. For purposes of calculating the derivative, we can use the following functions:
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 , where represents hours. Explain the following notations: ; ; ; .
Solution. First we need to evaluate the function and the derivative of the function , and distinguish between the two. When we evaluate the function , we are finding the distance the car has traveled in hours. When we evaluate the derivative , we are finding the speed of the car after hours.
- means that in zero hours, the car has traveled zero miles.
- means that one hour into the trip, the car is traveling 60 miles per hour.
- 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.
- 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 functiongives how many feet eastward of her starting point she is afterseconds. What doesmean?
gives a position, not a rate.For the same runner, what doesmean?
gives a rate, and a negative rate here means moving west.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 has a derivative at . Suppose we use a graphing utility to zoom in on . If the function 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 , for example, is continuous at , but not differentiable at . As we zoom in close to 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 .
What are the characteristics of a graph that is not differentiable at a point? Here are some examples in which function is not differentiable at .
We see the graph of
below. Notice that, as approaches from the left, the left-hand limit may be observed to be , while as approaches from the right, the right-hand limit may be observed to be . We see that it has a discontinuity at .
We see the graph of below. We see that the graph has a corner point at .
We see that the graph of below has a cusp at . 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 approaches 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 below has a vertical tangent at . 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 is differentiable at if the derivative exists at , which means that exists.
There are four cases for which a function is not differentiable at a point .
- When there is a discontinuity at .
- When there is a corner point at .
- When there is a cusp at .
- Any other time when there is a vertical tangent at .
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 is continuous on . The graph of has a removable discontinuity at and a jump discontinuity at . See the figure below.
The graph of is differentiable on . The graph of is not differentiable at because it is a point of discontinuity, at because of a sharp corner, at because it is a point of discontinuity, and at because of a sharp corner. See the figure below.
Using the graph ofshown below, state the interval(s) on whichis continuous.
The graph breaks only where the open circles sit, atand.Using the same graph, state the-value(s) at whichis not differentiable. Separate multiple values with a comma.
andA function fails to be differentiable at any point of discontinuity.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 at is derived from the point-slope form of a line, . The slope of the line is the slope of the curve at and is therefore equal to , the derivative of at . The coordinate pair of the point on the line at is .
If we substitute into the point-slope form, with , , and , the equation of the tangent line is
The Equation of a Line Tangent to a Curve of the Function . The equation of a line tangent to the curve of a function at a point is
How To: Given a function , find the equation of a line tangent to the function at .
- Find the derivative of at using .
- Evaluate the function at . This is .
- Substitute and into .
- Write the equation of the tangent line in the form .
Example. Find the equation of a line tangent to the curve at .
Solution. Using , substitute and .
Equation of tangent line at :
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 as shown below.
Find the equation of a tangent line to the curve of the functionat. Write the equation in slope-intercept form.
Findand, then substitute into.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 represent the position of an object at time . The instantaneous velocity or velocity of the object at time is given by
Example. A ball is tossed upward from a height of feet with an initial velocity of ft/sec. If the height of the ball in feet after seconds is given by , find the instantaneous velocity of the ball at .
Solution. First, we must find the derivative . Then we evaluate the derivative at , using and .
Analysis. This result means that at time seconds, the ball is dropping at a rate of ft/sec.
A fireworks rocket is shot upward out of a pitft below the ground at a velocity offt/sec. Its height in feet afterseconds is given by. What is its instantaneous velocity afterseconds? Enter the number only.
ft/sFindand evaluate it at.Key equations
| average rate of change | |
|---|---|
| derivative of a function |
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: .
- 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,, to find the derivative of.
Substituteandinto the difference quotient, then simplify.Use the definition of the derivative to find the derivative of.
Expand, divide by, then let.Use the definition of the derivative to find the derivative of.
Combine the two fractions in the difference quotient over a common denominator before canceling the.The graph of a functionis shown above. At which-value(s) isdiscontinuous? Separate multiple values with a comma.
andLook for the open circles that leave a jump in the graph.The graph of a functionis shown above. At what-value isdiscontinuous?
Find the single open circle that starts a new, disconnected piece of the graph.Find instantaneous rates of change
Find the average rate of change between the pointsand. Enter the answer as a fraction.
Divide the change inby the change in.Find the average rate of change between the pointsand.
The two points share the same-coordinate.The volumeof a tank of gasoline, in gallons, is a function ofminutes after noon. Explain whatmeans.
measures a rate, in gallons per minute, not an amount.The volumeof a sphere with respect to its radiusis given by. Find the instantaneous rate of change ofwhencm. Give the exact answer in terms of.
Findand evaluate it at.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 curveat. Write the equation in slope-intercept form.
Findand, then substitute into.Findsuch that the lineis tangent to the graph of. Enter both values of, separated by a comma.
orSetequal to the line’s slope, and setequal to the line’s output at that, then solve the two equations together.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?
Average velocity uses total distance over total time; a single instant does not.The height,, of a projectile afterseconds is given by. Explain whatmeans.
gives a height, not a rate.For the same projectile,, explain whatandtogether mean.
Both statements describe the height, not the velocity.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 and , and the tangent-vs-two-secants figure) are unnamed in the source, so both are fitted to the same representative parabola 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. (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 ” 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 -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.