Defining and Computing Limits
The first concept in calculus, and the one that underpins all the others, is the idea of a limit, so let's take at it. Suppose we have a function , and we would like to know what's happening at some value (call it ), but we can't actually evaluate (it wouldn't really be an interesting question if we could).
For example, consider with . We can't actually evaluate , because that would cause us to divide by zero, breaking the cardinal rule of mathematics.
However, we also don't just throw our hands up and say that this function is a complete mystery at ; instead, we dig a bit deeper. You may be tempted, based on your algebra experience, to simplify the function by factoring and canceling an term:
Aha! you say; this function is much simpler than it first appears: and we can easily evaluate the simplified function at , since we've cancelled the term that caused us to divide by zero earlier:
Is it quite that simple, though? We couldn't evaluate the function at , meaning that the domain didn't include , but after some algebra, we suddenly could. Did the domain change? What's going on here?
It doesn't help much to graph the two functions. If you use a calculator or computer graphing systems, you'll see the same picture whether you enter
Here's what's happening: in the original function, there's a discontinuity at ; that doesn't belong to the domain. By canceling the term, we haven't affected the domain, but only the way that the function is written. What this means is that there's still a discontinuity there, but it's simply a hole in the graph at that one point; everywhere else, the graph looks exactly like .
We can sum this up by saying that
Taking the limit is like approaching this hole from either side, never quite reaching it, but going far enough to see a pattern. If an ant walked along the graph toward the place where , the function values would get closer and closer to , so we say that the limit of this function is as approaches ; we write this as
Using a Table to Find a Limit
We've seen one way to find a limit, by using algebraic steps to simplify the function in question. Another way to answer the question is to think like the ant, crawling along the graph of the function. In other words, check the function value close to on either side and look for a trend. If we evaluate at , for instance, we should see the answers getting closer to :
Notice that we're approaching from both sides, and in both cases, the function values get closer and closer to (never actually reaching , but that's the idea of a limit).
Examples
Use a table to evaluate
Solution
We need to select values close to on either side; it doesn't much matter what exact values we pick, as long as there's a clear trend that we can read. Let's start with , then go to and , and do the same on the negative side. If the trend isn't clear at that point, we can add some values.
In both cases, the function values approach , so we conclude that
Use a table to evaluate
Solution
Pick values of close to ; we'll use the first example as a template.
In both cases, the function values approach , so we conclude that
Evaluate
Evaluate
Application: Rates of Change
Here's a preview of the next big topic, the one that will dominate most of this course: the derivative.
Where you see "rate of change," think of speed. For instance, if you were on a road trip and stopped at two rest stops miles apart, the first at 1:00 pm and the second at 6:00 pm, you'd know that your average speed between those two stops was mph, because you traveled miles in hours, and
This is your average speed, but that doesn't mean you were always traveling at exactly mph on the trip; as you sped up and slowed down or stopped, it all evened out to an average of .
Let's think about the average rate of change for a generic function. For example, consider , and find the average rate of change of this function from to .
Think of the shift from to as the time elapsed, and the function as the position, to compare it to the traveling example.
At , , and at , .
As (time) changed by , (position) changed by , so the average rate of change is simply the difference in divided by the difference in :
Notice that the average rate of change is simply a new name for an old concept: we were computing the slope of the line that connects to , the two points on the graph we were interested in; this line is called a secant line.
Average Velocity
If you throw a rock straight up from the ground at ft/s, the rock's height follows the path
Here's a quick table with a few values; it'll be helpful to answer the question we'll encounter in a minute.
Notice that it doesn't make any sense to go past ; the formula will happily give us a negative value, but this doesn't have any bearing on reality, where the rock will be lying inert on the ground.
Find the average velocity (rate of change of position) of the rock
- from to :
- from to :
- from to :
Notice that the average velocity is negative in the last case, because the rock is traveling downward.
Instantaneous Velocity
Okay, now how about the velocity of the rock at an instant in time? This is where we get to use what we learned earlier with limits.
Using the same example as before, we'd like to know the velocity of the rock at exactly . How can we accomplish this? Using the process we just saw, we can find the average velocity between any two points in time, but can we use that to approach the problem of finding the instantaneous velocity at one moment in time?
It turns out that we can, by starting with the average velocity between and a moment soon after. For instance, the average velocity from to is likely to be at least close to the velocity at . It's likely that the average from to will be an even better approximation, and from to better yet. Sound familiar? That's exactly what we were doing earlier with limits. If we could (theoretically) find the "average" velocity from to , that would be the instantaneous velocity at .
So if the average velocity from to another point nearby is the instantaneous velocity is
Let's try this out using a table like we did for the limit examples. Pick values for close to and evaluate this expression, looking for a trend.
Since these values approach , we conclude that at seconds, the instantaneous velocity of the rock is ft/s.
As it turns out, you've just done your first calculation of a derivative, the instantaneous rate of change. After we finish with limits, derivatives will occupy most of our time in this course, and we'll learn to do problems much more easily and quickly than we just did.
Technical Definition of a Limit
You can skip this section for now if you like; you'll see the precise mathematical definition of a limit, the way that professional mathematicians use it.
Let's start with our intuitive description of a limit, then move to an intermediate, slightly more precise description, before finally seeing the true definition.
Intuitive Description
We write and say that the limit of as approaches is if, as we trace along the graph of by plugging in values close to , the function values keep getting closer and closer to .
Look back at the examples we did and see if you can connect the various pieces. For instance, in the first example, , , and .
Intermediate Description
We write and say that the limit of as approaches is if the values of get arbitrarily close to if we make the values of close enough to .
Think of it as a game: if you say that the answer is (), I can challenge you to get within a distance of from , or a distance of , or any distance I want (hence the arbitrary part), and you can do it, just by picking values of that are close enough to .
Technical definition
To make the last leap, we'll introduce a couple of values, known as epsilon and delta (this is often called the epsilon-delta definition of a limit), and these will describe the process of getting arbitrarily close. Specifically, notice that, for instance, if we write we mean that the distance between and (the absolute value of their difference) is less than , which is presumably some small number.
We write and say that the limit of as approaches is if for every there exists a such that if , then .
This looks complicated, but it's really saying the same thing as the intermediate description, except that it gives a very precise meaning to the concept of "arbitrarily close." If you like, you can study this to make sense of it, but it won't be crucial to our study of limits in this course.