JOVANA
Library Glossary Getting Started Three Levels Fields How it works Mission
Join the mission
All guides

The Limit: Getting Arbitrarily Close

The limit is the single idea that the whole of calculus is built on. It answers a sneaky question: where is a function *heading* as the input creeps toward some value — even when the function never actually reaches it, or isn't defined there at all? Once that clicks, derivatives and integrals stop being magic and become limits in disguise.

Where is the function heading?

Imagine walking toward a doorway. As your steps get smaller and smaller, there is a clear spot you are *approaching*, even before you arrive — and even if, for some reason, you are never allowed to step on the threshold itself. A limit captures exactly this: the value a function f(x) gets closer and closer to as x is nudged toward some target a. We write it lim x->a f(x), read aloud as "the limit of f(x) as x approaches a".

The crucial twist — and the reason limits are powerful — is that the limit does not care what happens *at* x = a. It only cares about the journey *toward* a. The function might be undefined at a, or it might do something weird there; the limit quietly ignores that single point and asks only, "what value are the nearby outputs huddling around?"

A worked example: a hole that isn't a problem

Take f(x) = (x^2 - 1) / (x - 1) and ask what happens as x approaches 1. Plug in x = 1 directly and you get 0/0, which is meaningless — this is called an indeterminate form. The function simply isn't defined at x = 1. But that does not stop us from asking where it is *heading*.

  1. Notice the top factors: x^2 - 1 = (x - 1)(x + 1).
  2. So f(x) = (x - 1)(x + 1) / (x - 1). For every x that is *not* 1, the (x - 1) cancels, leaving simply x + 1.
  3. As x slides toward 1, x + 1 slides toward 2. So lim x->1 f(x) = 2 — even though f(1) itself never exists.
x        f(x) = (x^2-1)/(x-1)
0.9      1.9
0.99     1.99
0.999    1.999
1.0      undefined (0/0)
1.001    2.001
1.01     2.01
1.1      2.1
Squeezing x toward 1 from both sides: the outputs crowd in on 2, while x = 1 stays blank. The limit lives in the trend, not in the missing row.

From two sides, and when limits fail

You can approach a from the left (x slightly less than a) or from the right (x slightly more). These give the left-hand and right-hand one-sided limits. The two-sided limit exists only when both agree on the same value. If the function leaps to a different height depending on which side you come from, the limit simply does not exist.

Limits can fail in a few honest ways: the two sides disagree (a jump), the function shoots off to infinity (a spike), or it wobbles forever without settling, like sin(1/x) near 0. "The limit exists" is a real claim that can be false — keep that healthy skepticism.

Making "close" precise — and a famous squeeze

"Gets closer and closer" feels clear, but mathematicians wanted it airtight. The epsilon-delta definition phrases it as a challenge game: you name *how close to L you demand* the output be (a tolerance epsilon, say within 0.001), and I must find *how close to a the input has to be* (a distance delta) to guarantee it. If I can always meet any challenge you set, no matter how tiny, then the limit truly equals L. That phrase — "I can get as close as you demand" — is the whole idea.

Sometimes a limit is hard to attack head-on, so we trap it. The squeeze theorem says: if a function is sandwiched between two others that both head to the same value L, then it has no choice but to head to L as well. The classic payoff is lim x->0 sin(x)/x = 1 — try x = 0 and you get 0/0 again, yet squeezing sin(x)/x between two functions that both approach 1 pins the answer down exactly. We will use this result heavily when we build the derivative.