What is a limit in calculus?
Last updated: 2026-11-26
A limit asks what output a function gets close to as the input gets close to a point, checked from both sides. The question does not use the function's value at that point, so the value can be missing or different and the limit still stands.
Start learning No account needed
1. What the limit asks
Wikipedia's limit article puts the informal idea this way: a function has a limit L at an input p if f(x) gets closer and closer to L as x moves closer and closer to p, and the output can be made arbitrarily close to L when the input is taken sufficiently close to p. If some inputs very close to p produce outputs that stay a fixed distance apart, the limit does not exist.
On the real line, inputs can approach p from below and from above, so the check runs twice. The one-sided limit article states the rule in both directions: the limit at p exists when the limits from the left and the right both exist and are equal, and when the limit at p exists, both sides exist and are equal.
2. A worked example: a hole at x = 1
Take f(x) = (x² − 1)/(x − 1). At x = 1 the formula computes 0/0, so f has no value there. Near it, the numerator and denominator share the factor (x − 1), so for every x other than 1 the formula simplifies to x + 1. The output below walks both sides and is computed by scripts/what-is-a-limit-in-calculus-worked-example.py in the Professor Turing repository:
f(x) = (x^2 - 1)/(x - 1); f(1) = None (undefined, 0/0)
from the left:
x = 0.9: f(x) = 1.9000
x = 0.99: f(x) = 1.9900
x = 0.999: f(x) = 1.9990
from the right:
x = 1.001: f(x) = 2.0010
x = 1.01: f(x) = 2.0100
x = 1.1: f(x) = 2.1000
distance to 2 at x = 0.999: 0.0010; at x = 1.001: 0.0010
Each side closes in on 2: from the left the outputs run 1.9000, 1.9900, 1.9990, and from the right 2.0010, 2.0100, 2.1000. At the closest points shown the outputs sit 0.0010 from 2 on both sides. The two sides agree, so the limit is 2, even though f(1) does not exist.
Now change the function so it does have a value at 1: set g(x) = x + 1 for every x other than 1, and g(1) = 0. The script continues:
g(x) = f(x) except g(1) = 0: limit still 2, value 0, gap 2
Near x = 1 the function behaves the same as before, so the limit is still 2, while the value sits 2 away from it. The definition keeps behavior near the point separate from the value at the point.
3. A common misconception: plugging in the point
It is tempting to compute f(1), get nothing or something odd, and conclude that there is no limit. Plugging in works when the function is continuous at the point, and continuity is itself defined as the value agreeing with the limit. The usual definition leaves the point out. The limit article gives the formal form: for every tolerance ε > 0 around L there is a distance δ > 0 around p such that 0 < |x − p| < δ forces |f(x) − L| < ε. The condition 0 < |x − p| excludes the point p, which is why f(1) can be missing or different in our example. The article calls this a deleted limit and notes, citing Bartle, that some authors mean a version that includes the point, but deleted limits are the most popular.
A limit also does not require the function to reach L: f(x) in section 2 gets close to 2 without taking that value. "Arbitrarily close" describes the outputs as the inputs approach. Unless you already know the function is continuous at the point, check what happens from both sides.
4. When there is no limit
Agreement from both sides is the requirement, and the script ends with a case that fails it:
h(x) = 1 for x < 1 and 2 for x > 1: from the left 1, from the right 2 -> 1 != 2, no limit
Inputs just below 1 produce 1 and inputs just above produce 2, so the outputs stay a fixed distance apart no matter how tightly you squeeze, and no two-sided limit exists at 1. Both one-sided limits exist; they just disagree. Disagreement between the sides is one way a limit can fail; another is that one side has no limit of its own.
5. Test yourself
Close this page and work three cases: the limit of (x² − 4)/(x − 2) as x approaches 2; the limit, as x approaches 2, of the function that equals x + 1 except at 2, where its value is 99; and the limit of the step function above at x = 1. Then reopen the page and compare with the script's test lines. The case you hesitated on is the part to study again.
test, (x^2 - 4)/(x - 2): at 1.999 3.9990, at 2.001 4.0010, limit 4
test, x + 1 with the value at 2 set to 99: at 1.999 2.9990, at 2.001 3.0010, limit 3
test, step function at 1: sides give 1 and 2, no limit
The derivative is defined as a limit, so the surrounding course matters as much as this definition. See how to study for calculus, and if the subject has felt closed off, why calculus feels hard names the usual gaps. For how practice checks work, see how to test yourself.
What the sources found, and their limits
Wikipedia, "Limit of a function". It gives the informal reading, the fixed-distance-apart reading of a nonexistent limit, the ε-δ statement with 0 < |x − p| < δ, the deleted limit, the link between continuity and limits, the derivative as a limit, and a step function much like the one in section 4. Source: Limit of a function, read on 2026-11-25.
Wikipedia, "One-sided limit". It defines the limits from the left and right, and states that the two-sided limit exists when both one-sided limits exist and are equal, with the converse. Source: One-sided limit, read on 2026-11-25.
Limits: both are encyclopedia articles, not course texts. The function on this page, the redefined g, the test cases and the output values are ours; the step function follows the pattern of an example in the limit article. The numbers are an illustration. The proof for this example is the factorization plus the definition: for x other than 1, |f(x) − 2| = |x − 1|, so δ = ε works.
How Professor Turing helps
Professor Turing is a tutor for adults learning any subject, in college or on their own. It asks you questions instead of giving the final answer, does not grade a bare guess, and remembers what you got wrong. No account is needed to start.
Bring the definition and say what you can already say about it. Its first reply asks what you know before it teaches anything. If you recite "plugging in" as the method, it asks what happens at a hole like x = 1 in our example and walks the two sides with you instead of saying wrong. When you stay stuck it makes the next step smaller, and later in a session it can offer a short test without help, scored apart from the tutoring, so you can tell what you can do alone from what the tutor carried you through. You must be 18 or older, and guest conversations are deleted 7 days after the last activity.
FAQ
What does the epsilon-delta definition say, in plain words? No matter how small a band you demand around the limit value L, there is a distance around the point p whose inputs, other than p itself, all produce outputs inside that band. The formal statement requires 0 < |x - p|, so p itself is excluded, which is why the function can be undefined at p or hold a different value there while the limit exists.
Can a limit exist at a point where the function has no value? Yes. On this page f(x) = (x^2 - 1)/(x - 1) is undefined at x = 1 because the formula gives 0/0, but the outputs approach 2 from both sides, so the limit is 2. A limit describes the behavior near the point, not at it.
Start with what you're working on
Tell the tutor which limit problem you are stuck on and let it ask you the questions.
Start learning No account needed
See also: how to study for calculus · definite and indefinite integrals · continuity and differentiability · convergent and divergent series · what is a derivative · all study guides