§ CALCULUS · 17 MIN READ · Updated 2026-05-13

Limits and Continuity: The Foundation of Calculus

The single idea that makes calculus work — and the rigorous definition that took two thousand years to formulate properly.

"There can be no doubt that the doctrine of limits ... is the cardinal point on which the whole of higher mathematics turns."
Augustin-Louis Cauchy, *Cours d'Analyse* (1821)
Limits and Continuity: The Foundation of Calculus
LIMITS AND CONTINUITY: THE FOUNDATION OF CALCULUS

The limit is the conceptual move that allows calculus to talk about instantaneous rates of change and continuous accumulations. Before the limit, there was no way to make precise the idea of the slope at a single point — you could only talk about average slopes over intervals. The limit closes the gap, and calculus follows.

This article covers what limits intuitively mean, the formal epsilon-delta definition, how to compute limits in practice, L'Hôpital's rule for indeterminate forms, continuity and its types, infinite limits and limits at infinity, why this material matters for the rest of calculus, and common pitfalls.

Why limits exist as a concept

Consider the question: what is the slope of the curve at the point ?

Earlier mathematics could ask: what is the slope between and ? That is computable: . This is the slope of the secant line between the two points — an average slope over an interval.

But what is the slope at the single point ? You cannot compute , which is undefined. The problem is that at a single point, there is no interval over which to compute a slope.

The limit resolves the difficulty. Consider the slope between and for small :

As shrinks to zero, this expression approaches 2. The limit is 2 — and we say the slope of at is 2.

This is the central move. The limit allows us to talk about what an expression approaches as a variable approaches a value, even when the expression is undefined at that value. The slope at a point is the limit of the average slope.

The intuitive definition

We write to mean: as gets arbitrarily close to (but not equal to ), gets arbitrarily close to .

This intuitive definition is enough for most purposes. The technical move is to make "arbitrarily close" precise.

Example 1:

As gets close to 2, gets close to 4, and gets close to 7. So the limit is 7.

This works because the function is continuous at — its value at equals the limit as . For continuous functions, computing limits is just substituting.

Example 2:

Direct substitution gives — undefined. But you can factor: for all . The limit as is .

Even though the original expression is not defined at , the limit exists and equals 2. The function "wants to be" 2 at .

The formal epsilon-delta definition

The intuitive definition uses informal words ("arbitrarily close"). The 19th-century mathematicians Cauchy and Weierstrass made it precise:

means: for every , there exists such that whenever , we have .

In plain English: no matter how close (how small an ) you want to be to , you can find a neighborhood around (a ) such that all in that neighborhood (except itself) produce within of .

This is the rigorous definition. Almost all of analysis (the rigorous foundation of calculus) is built on it.

For practical computation, you almost never use the epsilon-delta definition directly. You use the limit laws derived from it.

Limit laws

If and , then:

  • Sum:
  • Product:
  • Quotient: , provided
  • Constant multiple:
  • Power: for positive integers

For polynomial functions, you can always compute the limit by substitution: . The limit laws guarantee it.

For rational functions , you can substitute if . If , you need other techniques.

Computing limits: techniques

When direct substitution fails (typically because of or ), use one of these.

Technique 1 — Algebraic simplification.

Factor and cancel, rationalize, or otherwise rewrite the expression to remove the problematic point.

Example 3:

Multiply numerator and denominator by the conjugate :

Now substitute : .

Technique 2 — L'Hôpital's rule.

If the limit produces or , you may differentiate both numerator and denominator and try the limit again:

provided the right-hand side exists.

Example 4: .

This is the classic. Direct substitution gives . Apply L'Hôpital:

So .

(Note: a careful proof of this limit actually uses geometric arguments, not L'Hôpital, because L'Hôpital's rule depends on knowing , which is itself derived from this limit. The circular reasoning is broken in proper treatments. But for computation, L'Hôpital works.)

Example 5: .

Direct gives . Apply L'Hôpital: . Still . Apply again: .

The limit is 0. Exponentials grow faster than polynomials.

Technique 3 — Special limits memorized.

A handful of limits come up repeatedly and should be memorized:

Continuity

A function is continuous at if:

  1. is defined.
  2. exists.
  3. .

All three conditions matter. If any fails, is not continuous at .

Types of discontinuity:

  • Removable discontinuity: exists but does not equal (or is undefined). Example: at . The limit is 2, but the function is undefined there. Can be "fixed" by redefining .

  • Jump discontinuity: the function "jumps" — left limit and right limit exist but differ. Example: at . Left limit is , right limit is .

  • Infinite discontinuity: the function goes to at the point. Example: at .

Continuous functions are well-behaved. The standard theorems of calculus — the Intermediate Value Theorem, the Extreme Value Theorem, the Mean Value Theorem — all require continuity. Continuity guarantees that small changes in input produce small changes in output.

Most functions you encounter — polynomials, exponentials, sines, cosines, (where defined), logarithms (where defined) — are continuous on their domains.

One-sided limits

Sometimes a function behaves differently on the two sides of a point. The one-sided limits capture this.

means as approaches from the left (from values less than ).

means as approaches from the right (from values greater than ).

The two-sided limit exists if and only if both one-sided limits exist and are equal.

Example 6: at .

(since for ). .

The two-sided limit does not exist.

Infinite limits and limits at infinity

Infinite limits: means grows without bound as . Example: .

Limits at infinity: means as grows without bound. Example: .

Combine: means grows without bound as grows without bound. Example: .

For rational functions :

  • If degree of < degree of : limit is 0.
  • If degree of = degree of : limit is the ratio of leading coefficients.
  • If degree of > degree of : limit is (sign depends on leading coefficients).

Why this matters

Three reasons.

Reason 1 — The derivative is defined as a limit.

The derivative of at is

Without limits, this is not even a well-defined expression. Every derivative computation, every differentiation rule, descends from limits.

Reason 2 — The integral is defined as a limit.

The definite integral is the limit of Riemann sums as the partition becomes infinitely fine. Without limits, no integration.

Reason 3 — Continuity is the basis of analysis.

The Intermediate Value Theorem, the Extreme Value Theorem, uniform convergence, differential equations — all assume continuity. Continuity is the precondition for most of the powerful theorems in mathematics.

Common pitfalls

Pitfall 1 — Confusing limit and value.

is about what approaches as approaches , not about . The two can differ — and when they differ, the function is not continuous.

Pitfall 2 — Plugging in numerically and reading off.

Trying by computing on a calculator gives an approximation, not the answer. The exact answer is 1, but you cannot conclude this from one numerical value. The argument requires algebra or L'Hôpital.

Pitfall 3 — Applying L'Hôpital where it does not apply.

L'Hôpital only applies to or forms. If the limit is or , L'Hôpital gives wrong answers. Check the form before applying.

Pitfall 4 — Assuming the limit always exists.

Some limits do not exist. does not exist — the function oscillates infinitely fast near zero. There is no value that approaches.


Frequently asked

Why are limits the "foundation" of calculus?
Because every other calculus concept is defined in terms of limits. Derivative, integral, continuity, convergence of series — all use limit. Without limit, calculus does not have rigorous definitions. The 19th-century mathematicians Cauchy and Weierstrass formalized the limit precisely to give calculus its current logical foundation.
Do I need to learn the epsilon-delta definition?
If you want a working knowledge of calculus for engineering or ML, no — the intuitive definition is enough. If you are pursuing a serious mathematical education or graduate work, yes — the epsilon-delta argument is fundamental to analysis.
What is L'Hôpital's rule and when can I use it?
L'Hôpital says that for limits of the form $\frac{0}{0}$ or $\frac{\infty}{\infty}$, you may differentiate numerator and denominator separately and try again. Useful for hard limits that algebra cannot simplify. The conditions must be checked — both numerator and denominator must be differentiable, and the form must be $\frac{0}{0}$ or $\frac{\infty}{\infty}$.
Is every continuous function differentiable?
No. The absolute value function is continuous but not differentiable at zero. The Weierstrass function is continuous everywhere but differentiable nowhere — its graph is a fractal. Continuity is a weaker condition than differentiability.
Is every differentiable function continuous?
Yes. Differentiability implies continuity. This is the easy direction. (Proof: if the limit defining $f'(a)$ exists, then $\lim_{x \to a} f(x) = f(a)$ as a consequence.)
Why do we need limits if we have calculators?
A calculator gives you numerical approximations. Limits give you exact answers and reveal qualitative behavior. The limit $\lim_{x \to 0} \frac{\sin x}{x} = 1$ is exactly 1 — a calculator can only give you 0.99999... by computing the function at small but nonzero $x$. Exactness matters in mathematics.

— ACT —


Cited works & further reading

  • ·Stewart, J. (2020). Calculus: Early Transcendentals, 9th edition. Cengage. — Chapter 2.
  • ·Spivak, M. (2008). Calculus, 4th edition. Publish or Perish. — Chapter 5.
  • ·Apostol, T. (1991). Calculus, Volume I. Wiley. — Limit chapter.
  • ·3Blue1Brown. Essence of Calculus, episodes on limits.

More from this cluster


About the author

Tim Sheludyakov writes the Stoa library.

By Tim Sheludyakov · Edited 2026-05-13

A letter from the portico

Once a week — a long-read, a quote, a practice. No promotions. Unsubscribe in one click.

By subscribing you agree to receive letters from Stoa.