Limit meaning
In calculus, a limit describes the value a function approaches as its input approaches some point. It is written:
This says that as x gets closer and closer to a, from both sides, f(x) gets closer and closer to L. The function does not have to equal L at a, or even be defined there. Limits are about the trend near a point, not the value at it.
For example, f(x) = (x² − 4)/(x − 2) is undefined at x = 2, because it gives 0/0. But for every other x it equals x + 2, so as x approaches 2, f(x) approaches 4. A table shows the pattern: f(1.9) = 3.9, f(1.99) = 3.99, f(2.01) = 4.01, f(2.1) = 4.1.
How to evaluate a limit
1. Direct substitution. For polynomials and other continuous functions, plug in the value. lim x→4 (2x + 3) = 2(4) + 3 = 11.
2. Factor and cancel. When substitution gives 0/0:
3. Rationalise. For lim x→0 (√(x + 4) − 2)/x, multiply top and bottom by the conjugate √(x + 4) + 2. The expression simplifies to 1/(√(x + 4) + 2), so the limit is 1/4.
4. Known limits. lim x→0 (sin x)/x = 1 and lim x→0 (1 − cos x)/x = 0 are standard results used constantly in calculus.
5. L'Hôpital's rule. For 0/0 or ∞/∞ forms, the limit of f/g equals the limit of f′/g′, if that exists. Applied to (sin x)/x it gives cos 0 / 1 = 1.
One-sided limits
A left-hand limit, lim x→a⁻, approaches from values below a; a right-hand limit, lim x→a⁺, approaches from above. The two-sided limit exists only when both one-sided limits exist and are equal.
For f(x) = |x|/x, the left-hand limit at 0 is −1 and the right-hand limit is 1. They differ, so the limit at 0 does not exist. The graph jumps from −1 to 1.
Infinite limits and limits at infinity
Infinite limits describe a function that grows without bound near a point. As x → 0⁺, 1/x → ∞, which signals a vertical asymptote at x = 0.
Limits at infinity describe long-run behaviour. For rational functions, compare the highest powers:
| Case | Example | Limit as x → ∞ |
|---|---|---|
| Top degree < bottom degree | (x + 5)/x² | 0 |
| Degrees equal | (5x³ − x)/(2x³ + 7) | 5/2, ratio of leading coefficients |
| Top degree > bottom degree | x³/(x + 1) | ∞ |
A finite limit at infinity gives a horizontal asymptote. The famous limit lim x→∞ (1 + 1/x)ˣ = e ≈ 2.71828 defines the base of natural logarithms.
When a limit does not exist
| Reason | Example |
|---|---|
| Left and right limits differ | |x|/x at x = 0 |
| Unbounded growth | 1/x² as x → 0 (often written = ∞) |
| Oscillation | sin(1/x) as x → 0 |
Limits, continuity and derivatives
A function is continuous at a when lim x→a f(x) = f(a): the limit exists, the function is defined, and the two match. The derivative is defined as a limit:
For f(x) = x² at x = 3, the quotient is ((3 + h)² − 9)/h = 6 + h, which approaches 6 as h → 0. That is the slope of the tangent line at x = 3. The definite integral is also a limit, of Riemann sums with ever-thinner rectangles.
The formal definition
The precise (ε–δ) definition says lim x→a f(x) = L if, for every ε > 0, there is a δ > 0 such that 0 < |x − a| < δ implies |f(x) − L| < ε. In words: however small a tolerance you choose around L, you can find a window around a that keeps f(x) within it.
Limit laws and the squeeze theorem
When the individual limits exist, limits can be split up. If lim f = A and lim g = B as x → a, then:
| Law | Result |
|---|---|
| Sum / difference | lim (f ± g) = A ± B |
| Constant multiple | lim (k·f) = k·A |
| Product | lim (f·g) = A·B |
| Quotient | lim (f/g) = A/B, if B ≠ 0 |
| Power | lim fⁿ = Aⁿ |
These laws are why direct substitution works for polynomials. When a function is trapped between two others with the same limit, the squeeze theorem says it shares that limit. Since −x² ≤ x² sin(1/x) ≤ x² and both outer functions approach 0, lim x→0 x² sin(1/x) = 0, even though sin(1/x) itself never settles.
Limits of sequences
A sequence has a limit when its terms get arbitrarily close to one number. 1/2, 2/3, 3/4, 4/5, … approaches 1, and the terms of 1/n approach 0. Infinite series, such as 1/2 + 1/4 + 1/8 + … = 1, are defined as limits of their running totals.
Common mistakes
- Treating 0/0 as 0, 1 or "undefined" instead of a signal to simplify.
- Assuming the limit equals f(a) for a function with a hole or jump.
- Checking only one side.
- Applying L'Hôpital's rule when the form is not 0/0 or ∞/∞.
Evaluate limits step by step with the limit calculator and see how they lead to the derivative calculator. Read limits explained and what is a derivative.