
We compute the instantaneous growth rate by computing the limit of average growth rates.

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.

### 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$.

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.
Each of the following four figures depicts the graph of the same function $f$ and a line that passes through the point $(1,f(1))$. Only one of the figures depicts the line tangent to the curve $y=f(x)$ at the point $(1,f(1))$. Which one?
Figure A Figure B Figure C Figure D
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

Let $f$ be a function given by $f(x) = 4x-3$. What is the instantaneous rate of change of $f$ at $a$, where $a$ is any real number?
The rate of change is given by $f'(a)$, and so is the slope of the tangent line to the curve $y=f(x)$ at the point $(a,f(a))$.
The line tangent to the curve $y=f(x) = 4x-3$, is simply the curve itself!
The derivative is the slope of the line $y= 4x-3$! Therefore, $f'(a)=\answer {4}$, for all real numbers $a$.
Of course, we can verify this reasoning by simply computing $f'(a)$, using the definition of the derivative. Replace $f$ with its formula, Simplify the numerator,

Factor the numerator, Compute the limit,

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.