Given a function, it is often useful to know the rate at which the function changes. To give you a feeling why this is true, consider the following:
- If \(s(t)\) represents the position of an object on a line (with respect to time), the rate of change gives the velocity of the object.
- If \(v(t)\) represents the velocity of an object with respect to time, the rate of change gives the acceleration of the object.
- If \(R(x)\) represents the revenue generated by selling \(x\) objects, the rate of change gives us the marginal revenue, meaning the additional revenue generated by selling one additional unit. Note, there is an implicit assumption that \(x\) is quite large compared to \(1\).
- If \(C(x)\) represents the cost to produce \(x\) objects, the rate of change gives us the marginal cost, meaning the additional cost generated by selling one additional unit. Again, there is an implicit assumption that \(x\) is quite large compared to \(1\).
- The rate of change of a function can help us approximate a complicated function with a simple function.
- The rate of change of a function can be used to help us solve equations that we would not be able to solve via other methods.
1 From slopes of secant lines to slopes of tangent lines
We’ve been computing average rates of change for a while now,
More precisely, the average rate of change of a function \(f\) is given by
as the input changes from \(a\) to \(x\).
What happens if we compute the average rate of change of \(f\) for each value of \(x\) as \(x\) gets closer and closer to \(a\)? In other words, what is the meaning of the limit
provided that the limit exists?
Naturally, we call this limit the instantaneous rate of change of the function \(f\) at \(a\).
Let \(f(x)=2x^2+3\).
- (a)
- Find the expression for the average rate of change of \(f\) between the points
\(a=2\) and \(x=-1\). \[ AvRCh=\frac {f(-1)-f(2)}{-1-\left (\answer [given]{2}\right )} \]Now evaluate the function,\[ AvRCh=\frac {2(-1)^2+3-(2(2)^2+3)}{-1-\left (\answer [given]{2}\right )}. \]Simplify,\[ AvRCh=\frac {5-11}{-3}=2. \]
- (b)
- Find the average rate of change of \(f\) between the points \(a=2\) and \(x\), \(x\ne 2\). \[ AvRCh=\frac {f(x)-f(2)}{x-\answer [given]{2}} \]Now substitute in for the function,\[ AvRCh=\frac {2x^2+3-11}{x-\answer [given]{2}} \]Simplify the top,\[ AvRCh=\frac {2x^2-8}{x-\answer [given]{2}}. \]Factor,\[ AvRCh=\frac {2(x^2-4)}{x-2} \]Factor and cancel,\[ AvRCh=\frac {2(x+2)\cancel {(x-2)}}{\cancel {x-2}}=2(x+2) \]
- (c)
- Find the instantaneous rate of change of \(f\) at the point \(x=2\). \[ InRCh= \lim _{x\to 2} \frac {f(x)-f(2)}{x-2} \]So, the instantaneous rate of change is the limit, as \(x\to 2\), of average rates of change of \(f\) between points \(a=2\) and \(x\), for \(x\ne 2\).
We have already computed an expression for the average rate of change for all \(x\ne 2\). Therefore,
\[ InRCh=\lim _{x\to 2}2(x+2)=8 \]
We can arrive at the same limit,
within a completely different context.
Have a look at the figure below. The figure depicts a graph of the function \(f\), two points on the graph, \((a,f(a))\) and \((x,f(x))\), and a secant line that passes through these two points.
The slope of this secant line is equal to \(\frac {f(x)-f(a)}{x-a}\)!
This is exactly the expression for the average rate of change of \(f\) as the input changes from \(a\) to \(x\)!
Therefore,
As before, we can ask ourselves: What happens as \(x\) gets closer and closer to \(a\)? In other words, what is the meaning of the limit of slopes of secant lines through the points \((a,f(a))\) and \((x,f(x))\) as \(x\) gets closer and closer to \(a\)?
How can we interpret the limit
provided that the limit exists?
This scenario is illustrated in the figure below. What happens as \(x\to a\)?
Notice that all the secant lines in the figure pass through the given point \((a,f(a))\). What distinguishes these lines are their slopes; the slope of each line is determined by an additional point on the line, \((x,f(x))\). The figure suggests that“the limit of slopes of secant lines” is the slope of a special line, called the tangent line to the curve \(y=f(x)\) at the point \((a,f(a))\). Notice how the tangent line and the curve are indistinguishable near the point \((a,f(a))\). If one can “zoom in” on the graph at \((a, f(a))\) sufficiently so that it appears to be a straight line, then that line is the tangent line to \(f(x)\) at the point \((a,f(a))\). This is illustrated in the figure below.
Obviously, the limit
has many different interpretations, depending on the context, such as the slope of the tangent line, the instantaneous rate of change, and the instantaneous velocity.
Therefore, this limit deserves a special name that could be used regardless of the context.
The definition of the derivative allows us to define a tangent line precisely.
Naturally, by the point-slope equation of the line, it follows that the tangent line is given by the equation
Factor the numerator,
But, most functions are not linear, and their graphs are not straight lines. Therefore, the computation of the derivative is not as simple as in the previous example.
Find the slope of the tangent line to the curve \(y=f(x)\) at the point \((2,f(2))\).
Start by writing out the definition of the derivative,
Take the limit as \(x\) goes to \(2\),
The object has velocity \(\frac {1}{6}\) \(\frac {m}{s}\) at time \(t=6\).
Below we can see the graph of \(s=s(t)\) and the tangent line at \(t=6\), with a slope of \(\frac {1}{6}\). Notice, again, how the line fits the graph of the function \(s\) near the point \((6,3)\).