The Derivative
At its core, calculus is the study of the relationships between functions. Before we rigorously examine these relationships, we begin by building some intuition, using this concept of "function relationships" as a guide.
Suppose we have two functions: and These two functions could be anything. If we're talking physics, we might say the function is a function of distance, and the function is a function of speed. If we're talking graphs in pure mathematics, however, we can think of as how high or low the graph climbs, and as how steep β the slope β the graph moves up or down. That "steepness" can also be interpreted as how quickly we climb or descend.
Our first function, must take inputs. We can denote those inputs with or with Let's use This gives us the first function's name: Let's say the second function is called That function has a variety of names:
All this said, let's consider the simplest case of the relationship between these two functions. Suppose we're travelling at constant speed. If we're travelling at constant speed, then the graph of would be flat. Say it's Then This means that after second, we've travelled meters. After seconds, meters. And after seconds, meters. Where we have:
This reveals that or, more concisely, Notice that when the slope is constant, algebra suffices. The slope is obtained by simply dividing the distance by the time:
And viewed in a different direction:
Now suppose we wanted to find our speed along two particular times. Say our speed at a particular starting point in time, and at the end point in time. In that case, what we're asking for is really:
Say our speed varies. We might imagine the graphs to appear as:
This is in line with our intuition. The graph of shows that we cover a lot of distance at first, then begin to plateau, eventually stopping. The graph of accurately describes this situation in terms of speed. We're moving pretty fast at first, but then slow down, eventually stopping. This discussion illustrates the purpose of differential calculus. It is the mathematics that allows to understand through and through
There are several ways to define a derivative. One way is to define the derivative geometrically. Another way is to define the derivative analytically. Yet another way is to define the derivative in terms of physics. And yet another way is to define it in terms of measurements.
For the next few sections, we will focus on how to differentiate β computing the derivative of a function. Question: How do we find the tangent line to a point on some line We could just draw it1:
Now, we can draw the above easily by hand, but how do we get a computer to do it? This is an overarching theme for the materials that follow: How do we answer these questions computationally? This is an imperative inquiry β it asks a "how to" question. And to even begin answering this question, we must understand the underlying propositions. What do we know is true? What is false? These are declarative inquiries β they ask "what is" questions.
To begin, we know that the equation of a line is where is the slope of the line. There are two propositions we need to determine what the tangent line is. First, what are the coordinates of the point Well, we know that Second, what is the slope
Here we have our first bit of terminology. We will now part ways with and use the more formal term for the slope: (read: "The derivative of ") The answer to this question is some number and it is the focus of the materials that follow.
definition. the > derivative of at is the slope of the tangent line > to at the point
We still have a problem. Why did we draw the line the way we did in the diagram above? Why couldn't it have been this green line:
How do we know that the green line is not a tangent line, but the red line is a tangent line? The green line crosses at some other point, call it But, this is not what prevents the green line from being a tangent line, because the tangent line itself could very well cross multiple points.
The green line is what we call the secant line. If we think of the point as getting closer and closer to then the slope of the secant line will get closer and closer to the slope of the tangent line. If we draw the secant line close enough, then we get the tangent line.
definition. The tangent line is the limit of the secant lines as tends to where is fixed.
This is the geometric interpretation of the derivative. Now we turn to an analytic interpretation of the derivative (interpreting the derivative in terms of symbols and formulas). Let's first draw the points and again:
Above, we see just a secant line. The length is the change in and the length is the change in Given these two lengths, we define the slope of the secant line as:
From the definition of the tangent line above, we can also define the slope of the tangent line:
This is still too general. Let's make things much more explicit. First, let's write the numerator of more explicitly. Recall that the point has the coordinates We also need a formula for the point If has the -coordinate then -coordinate of must be Thus, the point has the coordinates Now we can write another formula for the derivative:
definition. The derivative is defined by the following formula:
This formula is called the difference quotient. Above, we have some new notation, This is called a limit. Let's define this notation informally (a more formal definition is provided in a later section):
definition. The notation:
reads as, βThe limit of as approaches equals β If the values of are arbitrarily close to (i.e., as close to as we'd prefer) by making sufficiently close to on either the left- or right-hand side of but then we write
This is an extremely important formula, and it forms the foundation for the materials that follow. It is the formula that allows us to compute the value of or more appropriately, All that said, let's see it in action.
Suppose we have the function What is the derivative of this function? All we're going to do is plug in the function to the previous formula. Visually, what we're doing is taking a point on the hyperbola and determine the tangent line through that point. This is a geometric objective, but we are accomplishing it algebraically.
Now we simplify:
Notice what the final output of is. First, it's a negative value. This conforms to the tangent line sloping down. Second, as tends towards infinity, gets less and less steep. corresponds to this characteristic as well. As becomes a very large number, becomes a smaller and smaller in magnitude.
Let's go back to some notation. So far, we've seen several:
We also saw this notation for the derivative:
The notation above is called Newton's notation. Another set of notations for the derivative (all of the notations below mean the same thing):
This notation is called Leibniz's notation. Newton's notation is by far the most concise, but of course, that comes at the cost of omitting a great deal of information. Both notations, however, are used extensively, and often together.
Arguably, the simplest functions to consider the derivatives for are the following: (1) constant functions; (2) power functions; (3) polynomial functions; and (4) exponential functions. Exploring the derivatives for these functions provides clear applications of the preceding section's concepts, as well as several key insights to differentiation.
Derivative of a Constant
Consider the function where is a constant. Applying the definition of a derivative:
We can support this algebraic analysis by examining the graphs of constant functions:
Above, we see the graphs of and These functions do not "slope." They stay constant. Based on our analyses , we have the following theorem:
theorem. Derivative of a Constant. Given the constant function
Constant Multiples
Consider the function What is the derivative of this function? To begin, we can rewrite this function as: Rewriting it this way, we see that is really just a constant. Accordingly, we can construct a more general form for this function: where and
Thinking more generally, let's forget about the original problem and think about applying the derivative definition to a function of the form We have:
The transition from line (3) to (4) follows from the limit law for multiplication. From the analysis above, we have the Constant Multiple Rule:
Theorem: Constant Multiple Rule. Given the function where is a constant and
Accordingly, the derivative of is In other words,
The Rate of Change
In the previous sections, we saw two interpretations of the derivative: (1) a geometric interpretation, and (2) an algebraic interpretation. Now we turn to another: a physical interpretation. By physical, we are referring to an interpretation of the derivative in terms of applied mathematics. Under the physical interpretation, we think of the derivative as a rate of change.
Referencing the diagram above, represents the average rate of change. The derivative however, represents the instantaneous rate of change. The concept of instantaneous rate of change underlies numerous fields, the most obvis of which are in physics:
-
Where is a charge and is time, represents current.
-
Where is a distance is time, represents speed.
For example, suppose that we drop a large block from a building 80 meters high. Using the acceleration due to gravity (9.807 ), we have the following formula:
where is the height and is time.
Thus, at we are at the very top of the building. At we are at the bottom The average speed of the block falling is the change in divided by the change in
Thus, the average speed of the block falling is What is the speed of the block the moment it hits the pavement? To answer this question, we need to compute the instantaneous speed:
Thus, at the point of impact, we have so Thus, the speed of the block at the moment of impact is Physically interpreting the derivative is not just limited to physics. In meteorology, we use derivatives to compute temperature gradients, which are what cause airflows (which in turn are what cause winds and storm systems).
Footnotes
-
The word tangent is derived from the Latin tangens, meaning βtouching.β β©