Definition · applies to functions · also called two-sided limit, $\lim_{x \to a} f(x)$

High school

Consider a function $f$ and a number $a$, and let $x$ get close to, but not equal to, $a$. The limit of $f(x)$ as $x$ approaches $a$ is the number that $f(x)$ gets close to.

The limit of $f$ is written as

\[\lim_{x \to a} f(x).\]
Undergraduate

Consider a function $f$ defined near $a$, except possibly at $a$. We write

\[\lim_{x \to a} f(x) = L\]

and call $L$ the limit of $f$ at $a$, if for every $\varepsilon > 0$ there is a $\delta > 0$ such that

\[\abs{f(x) - L} < \varepsilon \quad \text{whenever } 0 < \abs{x - a} < \delta.\]

Examples

Worked examples

  • Value:

    $\lim_{x \to 0} f(x) = 1$

    The limit of $(\sin x) / x$ at $0$ is $1$. Comparing the areas of a triangle, a sector, and a larger triangle in the unit circle shows that, for $0 < \abs{x} < \pi/2$, \[\cos x < \frac{\sin x}{x} < 1.\] As $x \to 0$, $\cos x \to 1$, so $(\sin x) / x$ is squeezed toward $1$ (the squeeze theorem). The value $f(0)$ is undefined, but the limit exists anyway.
  • Value:

    $\lim_{x \to 0} f(x)$ does not exist

    The left and right limits differ.

Properties

  • The limit at $a$ exists if and only if the left limit and the right limit at $a$ both exist and are equal.
  • The value $f(a)$, and whether it is defined, does not affect the limit at $a$. The function $f$ is continuous at $a$ when the limit equals $f(a)$.

All definitions · All distinctions · All examples · Notation