2.3 Derivatives
Definition
The slope of a straight line is straightforward: . For a curved line, however, we will get different answers depending on the range over which we calculate these changes. Nevertheless, we can calculate the limit of this slope over shorter and shorter ranges. This is known as the derivative of the function.
Definition: The derivative of a function at , denoted , is
if this limit exists.
If the limit exists, is said to be differentiable at . If a function is not continuous at , it is not possible for it to be differentiable at . The converse, however, is not true. For example, the function is continuous everywhere, and differentiable just about everywhere, but not differentiable at zero since the limit from the left is -1 and the limit from the right is 1.
Expanding on this pointwise definition, we can define a whole function, . This function is known as the derivative of .
Formulas
It is hard to overstate the importance of knowing the following formulas; you will use them constantly. Below, we assume that and are differentiable, and that is a constant.
These basic rules can be combined into all sorts of additional rules with the chain rule, which states that if the derivatives and both exist, then the derivative of exists, and its derivative is . The rule is often expressed in Leibniz notation:
The section on logarthim and exponential functions provides additional important differentiation formulas.
Higher derivatives
Since is itself a function, we can also take its derivative. This is called the second derivative of , and is denoted .
Third derivatives, fourth derivatives, and so on are defined similarly.
An important application of higher derivatives is to approximate functions. The linear approximation of at is given by
The quadratic approximation of at is given by
To see these approximations in action, here’s a figure:
Note that (a) both approximations are very good close to , which is denoted by the black dot and (b) the quadratic approximation is more accurate than the linear approximation. Both of these observations are true broadly speaking; they are not particular to this example.