TL;DR
A limit describes where the output of a function is heading as the input gets closer and closer to some value. It does not care what happens exactly at that value, and the function may not even be defined there. The formal version, the epsilon-delta definition, turns "gets as close as we like" into a test you can check with numbers.
Limits are the foundation under the derivative, the integral and the idea of a continuous function.
Where you'll see it: in the slope of a curve at a single point, in the area under a curve, and in deciding whether a formula has a sensible value at a point where direct substitution gives nonsense.
Intuition
Getting close without arriving
Take the function
Ask what happens at . Substitute and you get , which is not a number. The function is simply undefined there. But that does not stop us from asking what is doing near . Walk toward from both sides and read off the heights:
| undefined |
The heights settle toward from both sides. We say the limit of as approaches is , written . The function has a hole at , and the limit is the height the curve is aiming for at that hole.
- y = x + 2 (same as f, except at x = 2)
Why the idea exists
Limits were invented to make sense of two problems that looked impossible. The first is the slope of a curve at one point. A slope needs two points, but at a single point there is only one. The usual fix is to take a second point close by and shrink the gap. That shrinking gap produces a fraction of the form in the limit, and the limit is what gives the slope a precise meaning. This is the derivative of a function, and it is built entirely from limits.
The second is the value of a function at a point. Sometimes the value is missing, sometimes it is wrong by accident, and sometimes it is perfectly fine but still not the whole story. A limit asks about the neighbours of a point, not the point itself. That is why it is the right tool for "what does this function really want to do here?"
The math
The informal definition
We write , read "the limit of as approaches is ", when gets as close to as we like whenever is close enough to but not equal to . The clause "not equal to " is why the value never matters.
The epsilon-delta definition
The informal version hides a challenge. "As close as we like" has to be made precise. The standard way is to let an opponent name a tolerance on the output and then find a tolerance on the input that meets it.
Let be defined on an open interval around , except possibly at itself. We say if for every there exists a such that whenever , we have .
Here (epsilon) is the output tolerance: how close must be to . The symbol (delta) is the input tolerance: how close must be to . The quantity is the distance between and , and the condition says that is not equal to . The order matters. The opponent picks first, and then may depend on .
One-sided limits
Sometimes a function behaves differently on the two sides of . The limit from the left, , uses only . The limit from the right, , uses only . The two-sided limit exists exactly when both one-sided limits exist and are equal.
Limit laws
If and both exist, then
Constants and the identity pass straight through: and . These rules let you build limits of complicated formulas from simple pieces, which is why most limits in practice are computed by algebra rather than by and .
Limits at infinity
The same idea works when the input grows without bound. We write when gets as close to as we like once is large enough. For example, , because shrinks toward as grows.
Worked examples
Find .
- Substitute directly: . This tells us nothing, so we simplify first.
- Factor the numerator: .
- For every , the factor cancels: .
- The limit of as is , by the limit laws.
Interpretation: the function has a hole at , but the curve is heading to height there. This matches the table in the Intuition section, where and .
Show that using the definition. Here , and .
- Take the output tolerance . We need .
- Simplify the left side: . So the requirement is , which means .
- Choose . If , then . The test passes.
- For a general , the choice works, because .
Interpretation: a tighter output tolerance forces a tighter input window. The ratio appears because the function stretches distances by a factor of . Since a exists for every , the limit is .
Let , a position that grows over time. Find the limit of the average rate of change over as .
- The average rate is .
- Simplify: for every .
- As , the expression approaches .
- Numerical check: at the average rate is , and at it is .
Interpretation: the speed at the instant is units per time unit. This is exactly the limit that defines a derivative.
Tradeoffs and failure modes
Limits are simple to state and easy to get wrong in practice. The table lists the usual traps.
| Situation | What goes wrong | Better choice |
|---|---|---|
| Direct substitution gives | The answer looks undefined, which says nothing about the limit | Simplify algebraically, as in the first example |
| Using a calculator at a very small | Rounding can give a wrong answer. For with , a double-precision computer often returns , but the true limit is | Trust the algebra, not the floating-point output |
| The two one-sided limits differ | There is no two-sided limit. The sign function tends to from the left and from the right at | Check both sides separately |
| The function oscillates | keeps swinging between and as , so no limit exists | Look for a bound instead, such as squeezing between two curves |
| Limits in several variables along one path | The function tends to along the -axis but to along the line , so the limit does not exist | Test many paths, and use the rules in [[multivariable-function |
The - definition is the most reliable check, but it is slow. In most problems the limit laws plus algebra are faster, and the definition is reserved for proofs and tricky cases.
History
Isaac Newton and Gottfried Leibniz developed calculus in the late 1600s. They reasoned with quantities that were vanishingly small, and their arguments about slopes and areas worked, but the foundations were shaky. Newton spoke of "ultimate ratios" of quantities that vanish, and Leibniz used infinitesimals. Critics such as George Berkeley pointed out that these ideas were not clearly defined.
In the 1700s, Jean le Rond d'Alembert described a limit as a quantity that another quantity can approach more closely than any given amount. Bernard Bolzano wrote a definition close to the modern one in 1817. Augustin-Louis Cauchy, in his 1821 textbook Cours d'analyse, gave a definition in words that is recognisably the one used today. The precise symbolic form with and is usually credited to Karl Weierstrass, whose lectures in the second half of the 1800s made it standard.
The problem these people were solving was simple to state: how do you make sense of slopes and rates of change without pretending that infinitely small things are real numbers? The limit was the answer that held up under scrutiny, and that is why it caught on.
Check yourself
QuestionIn the definition of , does the value affect the limit?Show answer
No. The definition only looks at values of with , so it excludes . The function can be undefined at , or have a different value there, and the limit is unchanged. This is what allows the hole in the first example to have a limit of .
QuestionFind .Show answer
Factor the numerator: . For the factor cancels, leaving . As this tends to . The answer is .
QuestionWhy does the sign function have no limit at , even though it is defined on both sides of ?Show answer
The sign function equals for every negative and for every positive . The left limit at is and the right limit is . A two-sided limit requires both one-sided limits to exist and be equal, so it fails. The function jumps, and a jump has no single value to approach.
QuestionA car's position is metres at time seconds. The average speed over tends to a limit as . What does that limit represent, and what is its value?Show answer
It is the instantaneous speed at . The average speed is for , which tends to . So the car's speed at exactly two seconds is metres per second. The limit turns an average over a shrinking interval into a value at a single instant.