]>
We'll begin with a motivating idea—movement—since that is one of the driving ideas that forced the development of The Calculus.
Imagine for a moment that you are riding in a car with me, and the speedometer reads 113 kph. What does that mean?
Perhaps you would say "for every hour of travel, you'll go 113 km." In other words, it is the change in position (113 km) for a change in time (1 hour).
I only looked at the speedometer for a second—how can it know how far I'll go in an hour, based on a moment of time? Maybe there will be a roadblock ahead, or maybe I'll go crazy and exceed the speed limit…
You feel that you understand speed (or, maybe you did, up until a few minutes ago), but a little closer inspection will make you realize that you've been using this idea without really knowing what it was. Relax; it's okay. I'm here to help.
The problem is that there are two different ideas running around here: an average speed (measured over some interval of time), and instantaneous speed. It is precisely this idea of instantaneous speed that spurred The Calculus—finding a watertight explanation of what it is took over a hundred years of work, and changed mathematics from a necessary side skill for scientists into a discipline of its own.
A quick note: I'm going to use the terms speed and velocity interchangeably in this chapter. I know that they're different—it's not going to matter right now, and I don't want the words to get in the way.
Average speed can be defined as . This formula works just fine, as long as some interval of time has elapsed. The word "instantaneous" should suggest that we're looking at reducing that interval of time to zero. Unfortunately, the formula above is not conducive to this endeavor—we can't divide by zero!
What we can do is investigate the behavior of the formula for time intervals that are close to zero. You did this before (should have, anyway) when you dealt with rational functions in PreCalculus. We're going to do it again, but this time we'll call the procedure…
We'll step away from speed for a bit…
Consider the function . Let's factor this to notice something interesting: . You might be tempted to cancel out that common factor, and declare that this function is really —but you'd be wrong. The domain of is all real numbers; the domain of is all real numbers except -1. The graphs of these two functions are identical, except for one tiny little point.
Of course, you remember this as a hole, or a removable discontinuity. We're going to use this to talk about limits.
You can't plug into , but we can investigate what happens to the y-values as x gets close to -1. This is called a limit. Here's the notation: . This is read as "the limit, as x approaches negative one, of x-squared minus one over x plus one." The idea is that you are approaching the indicated value, but never quite reaching it.
If , then can you reduce to ?
Yes! As long as , the common factor isn't equal to zero. As long as , the domain of is the same as the domain of . Thus, you can cancel that factor, and the two expressions are identical.
The notation: .
Now we can ask "What happens to the values of as x approaches -1?" Remember: as long as , the graph of is going to behave identically to .
Well, when , .
Okay, okay! I said . But here's the deal: as long as plugging in that value you're approaching doesn't cause division by zero (or other things; more later), then go ahead. That's the beauty of limits: you avoid the problem value () just long enough to eliminate it (remove the discontinuity), then you start using it.
Thus, we finish the limit: .
When the values of x get really close (arbitrarily close) to negative one, the values of get close (but never equal) to -2.
Here are the technical details of what we just did: The limit of f(x) as x approaches a is L () means that for every positive real value ε, there exists some positive real value δ, so that if , then .
Whew! What this is really saying is "if you tell me how close to L you want f(x) to get, then I can tell you how close to a x needs to be." This is a rigorous definition of what mathematicians mean when they say arbitrarily close—however close you want to get, I can tell you what you need to plug in to the function to get a function value that is that close.
Now relax—I just wanted you to see it. We're not going to mess with that anymore.
I would like to point out that finding limits graphically is usually a good idea. You'll see some examples of this in class, and farther along in these notes. Also, finding limits from (with) a table of values works.
The limit of a constant is that constant. If b is a real number, then the limit as x approaches any value a is .
If a function is defined for x = a, then (usually) you can simply plug into the function to find the limit. , , , etc. The main exceptions are piecewise-defined functions. We'll see some technical details about this later.
For the remaining properties, assume that , , and b is a real number.
Constants can be factored out:
Operations can be distributed: , , (provided that K ≠ 0), and .
There is little need to memorize these—you'll find that the second paragraph above, plus some examples, will get you where you need to go.
Note: not every limit has an answer! If there is no way to eliminate division by zero, then the limit is some type of infinity (some people would say that the limit doesn't exist). There are others where everyone says that the limit simply doesn't exist…more on the weird ones later.
[1.] Find .
Since letting doesn't cause division by zero, I can just plug in: .
[2.] Find .
I can't let x be one…perhaps I'll try to make the problem go away by factoring (since that worked in the very first example above).
(you do remember how to factor differences of cubes, don't you?)
A-ha! Since I'm taking the limit as x approaches one, x is not equal to one, so I can cancel that pesky denominator!
Now it is okay to let x be one.
.
Let's look at the graph:

It looks like the graph actually passes through that point…however, closer inspection on your calculator will reveal the truth! This viewing window is approximately .

Finally, let's look at a table:
x |
0.9 |
0.99 |
0.999 |
1.001 |
1.01 |
1.1 |
2.71 |
2.9701 |
2.997001 |
3.003001 |
3.0301 |
3.31 |
[3.] Find if .
Whew! Let's plug in, first. The problem is . You can't let x be zero—let's FOIL that thing out and see what happens.
I see something pretty! Cancel it!
Whoa! I see something else!
Now I can let x be zero. The limit is 6.
[4.] Find .
I can't let x be zero…and there isn't anything I can do algebraically. This must result in infinity—specifically, positive infinity ( forces the fraction to always be positive). Of course, you could look at the graph:

It's easy to tell that as x gets close to zero, the y-values are not getting close to any particular value.
We have thus far considered limits from both sides of the point, but that's not the only way to do it! Consider the greatest integer function, :

If you want to find the limit of this function as x approaches 2, you must consider both sides. For values of xthat are lower than 2, the function limit is 1. However, for values of x that are larger than 2, the limit is 2.
If you are approaching from above (from the right), the notation is . If you are approaching from below (from the left), the notation is .
Technical detail: exists only if . In other words, you only get to talk about the limit if the limit from the left equals the limit from the right. So, since , does not exist.
Typically, the sided limits will agree—the exceptions are few and far between. Typically, those exceptions are piecewise-defined functions, specifically designed to have "jumps" in the graph.
Sometimes, we can't find limits directly, and must instead rely on stealth and cunning…one such method is the Sandwich Theorem. If you've got a recalcitrant function whose limit you desire (call it ), and you can find two nice functions that bound the naughty function in the area where you're working the limit ( for some small interval surrounding a), and those functions just happen to have the same limit at a (), then gets "sandwiched" between and : .
Whew! This is a bit technical, and we won't dwell on it…if you become a math major, then you'll see this again.
The preceding section concerned limits at real numbers…but that's not the only way to do it! You can also consider the limit of a function as x approaches infinity (or negative infinity).
As was the case with the preceding limits, you've done this before! The limits in §2.1 came from finding holes in rational functions. Limits at infinity come from…(drumroll)…the end behavior of rational functions (and polynomials).
As an example, consider . What is its end behavior?
That's correct—it has a horizontal asymptote at . In other words, on the left, it approaches one, and on the right it approaches one.
Here is the same information, with notation: and .
Must the end behavior be a number? Of course not! Consider . What is its end behavior? What are its limits at positive and negative infinity?
and
We can be a bit more descriptive about the end behavior of a rational function…in particular, we can find end behavior models (with any luck, you did this in PreCalculus). Consider again . Let's rewrite this to see its end behavior—in particular, let's divide it out. . As x gets really large (far from zero), the part dominates the expression, because the part gets really close to zero. Thus, the end behavior model for is .
Try another: . To divide this one, you can work with polynomial long division, or synthetic division. In either case, it works out to (that's a quotient of and a remainder of 9). When x wanders far from zero, the remainder part of that expression gets close to zero, leaving you with the limiting function .
Perhaps you've heard about continuity before…"a function is continuous if you can draw it without picking up your pencil," or something like that. That's not a terrible idea, but it's not very technical, either. Time to fix that…
Definition: A function is continuous at if . In other words, the limit comes out to exactly what we were expecting: the function value. This is why (in many cases) you can simply plug in the number to find the limit.
There are a couple of assumptions in this definition. First of all, has to exist. Remember, that means . The greatest integer function is a fine example of a function where .
Side Note: If you are only looking at on a closed interval, and you want to know if it is continuous at an endpoint of that interval, then you only need to look at the limit on one side (inside that interval).
Second assumption: must exist. For the function , , but does not exist.
There are different ways that a function can be discontinuous at a point: removable ( at ), jump ( at ), infinite ( at ), and oscillating. I haven't shown an example of that last one— try around . Here's the graph:

It just keeps wobbling back and forth between -1 and 1—in fact, the closer to zero you get, the worse the wobbling gets.
It's all well and good for a function to be continuous at a single point…just not very useful. It would be much nicer if the function was continuous over every value of some interval. When we say " is continuous," what we (typically) mean is that is continuous for all real numbers (even though that's not what that phrase technically means). When someone says that a function is continuous, make sure that you know what interval they mean!
Technical detail: the phrase " is continuous" is supposed to mean that is continuous on its domain. Some students are surprised by this, and point out that we determine the domain by eliminating discontinuities! Thus, they argue, every function is continuous on its domain.
Not so—and the fact even drove one man to insanity. Consider Cantor's Function: . By its definition, the domain is all real numbers. This is a function—it passes the vertical line test. However, it is not continuous at any point, because there are an infinite number of jump discontinuities on any interval you care to investigate.
For extra credit brownie points, sketch the graph of Cantor's functions.
Sums, differences, products, quotients and composites of continuous functions are continuous. 'Nuff said.
The nice thing about continuous functions is that they are predictable—they don't jump and twitch around; you know where they're going. The Intermediate Value Theorem says this: if a function is continuous on some interval , then takes on every value between and .
The immediate use/consequence of this: suppose I tell you that is continuous, and . As a result, you immediately know where one of the zeros of is located! By the Intermediate Value Theorem, since zero is between 4 and -1, there must be an x-value between 2 and 5 so that .
Okay, enough about those technical details—let's get back to the motivating idea, speed (velocity; I know!). As you know from science class, speed is a change in position for a certain change in time. Thus, speed is the rate of change in position. Also, acceleration is the rate of change in speed. Keep this in mind.
The speed that you know and love (or can calculate) is really average speed—an average rate of change. You use two fixed points to find it. Similarly, when you calculate acceleration, you use two fixed points and find an average rate of change of speed.
Here's a graphic example: I start at a very low speed as I get onto the onramp for I-26, then pick up speed until I approach the speed limit (which is about 114 kph for this example).

Since my speed is increasing, I am accelerating (despite the annoyed looks from the other drivers). I can find an average acceleration by taking two points from this graph and finding the slope between them. This is technically called the slope of the secant line.

So, between and , my speed increased from 8.344 kph to 109.264 kph. That's an average change of . For the interval between 5 and 20 seconds, my average acceleration was 6.728 kilometers per hour per second. Let's not fool with those units right now…leave them be.
Does that number (6.728) give a good approximation of my acceleration around time ?
I don't think so. Look at the graph; my speed looks like it is rising much faster than that secant line.
The problem is that the secant comes from a fairly large interval—there's some variation in that interval, especially around a time of 10 seconds. Maybe I should try a smaller interval around the 10 second mark.

That's an average of 13.47—much higher. The secant line also appears to follow the curve better.
However, we can do even better. The smaller the interval, the better the secant line follows the curve—the better the line approximates the curve. Also, the smaller the interval, the closer we'll get to an instantaneous rate of change.
You can't actually have no time change in the formula, but you can take the limit as the time interval approaches zero.
As the distance between the two points on a curve gets small, the line connecting those points gets closer and closer to a tangent line. I know, I know—you thought tangents were just for circles. Not anymore. In fact, we're going to define the tangent line to a curve at a point as the limit of the secant lines around that point. Furthermore, we're going to define the slope of that tangent line to be the slope of the curve at that point.
Let's get technical.
We've got a curve——and we want to find the slope of the curve (the slope of the line tangent to the curve) at the point . In order to find the slope of the secant line, we'll need another point. Trust me on this: we want to let the x-coordinate of this other point to be . That makes the other point on the curve (and on the secant line) .
The slope between these two points is .
Side Note: the term difference quotient refers to .
I said that the tangent line is the limit of the secant lines as the two points get closer together. To do that, I can let the value h approach zero.
The slope of the tangent line is .
If I have a function that gives me my speed at any time t, then I can calculate my instantaneous acceleration at time a by finding the slope of tangent line at time a!
If I want to find my instantaneous speed at time a, I must find the slope of the tangent line for my position at time a!
Normals are perpendicular to tangents. The line normal to a curve at a point will be perpendicular to the line tangent to the curve at that point. This is especially useful in optics, where the angle of refraction depends on the angle that the light ray makes with the normal to the surface.
[5.] Find the average rate of change in on the interval .
The point on the left is , and the point on the right is . The slope of the secant line gives the average rate of change: .
[6.] Find the slope of the line tangent to when .
Limit time, once again. The slope of the tangent line is . If you've been paying attention, we did that as an example earlier! The result was 6, so the slope of the line tangent to at is 6.
[7.] Find the equation of the line tangent to when .
Careful—the result of this must be an equation of a line. I need two things for that: the slope, and a point on the line. Since this line is tangent to , it will touch that curve. Since the x-value of interest is 2, that's the point where the curve and the tangent touch. What are the coordinates of that point? Specifically, what's the y-coordinate?
The point is . Now for the slope of the tangent line: limits again!
The slope is . Let's FOIL: . A-ha! Cancel! . Cancel again! . Now that the coast is clear, plug in. . The slope of the tangent line is 12.
So the equation of the tangent line is .
That's a perfectly good equation—don't ruin it by simplifying! I'm serious—this would be accepted on the AP exam. If you try to simplify and fail, then you lose points. Don't simplify, except by request or necessity.
[8.] Find the equation of the line normal to at .
Let's first find the point of tangency: .
Now, find the slope of the tangent line.
If the tangent line has slope 4, then the normal will have a slope of .
The equation of the normal is .
Page last validated 2010-08-15