Limit of a function
The limit is the value \(f(x)\) approaches as \(x\) gets closer and closer to \(a\), from both sides. It describes what happens near \(a\), never at \(a\): \(f(a)\) can be different from \(L\), or not defined at all.
For example, \(f(x) = \frac{x^2 - 1}{x - 1}\) is undefined at \(x = 1\), but for every \(x \ne 1\) it equals \(x + 1\), so the outputs close in on 2. We write \(\lim_{x\to 1} f(x) = 2\).
Where it comes from
Limits were invented to answer two old questions that both lead to "0 divided by 0": the slope of a curve at a single point, and the speed of an object at a single instant. Newton and Leibniz used them informally in the 1600s. Cauchy and Weierstrass gave the exact definition (the ε-δ definition below) in the 1800s, so that calculus no longer depended on vague "infinitely small" quantities.