Limits in Calculus
A limit describes the value a function approaches near a point. Learn one-sided limits, the limit laws, how to handle 0/0 by factoring and rationalizing, limits at infinity, vertical asymptotes and continuity, with worked examples and practice problems.
A limit is the value that a function f(x) approaches as x gets closer and closer to a number a. You write limx→a f(x) = L. For example, limx→2 (x² − 4)/(x − 2) = 4, even though the function is not defined at x = 2: for x near 2 the values are close to 4. Limits are the foundation of calculus, because derivatives and integrals are both defined as limits.
What is a limit?
Look at f(x) = (x² − 4)/(x − 2). At x = 2 you get 0/0, which is undefined. But you can ask what happens near 2:
| x | 1.9 | 1.99 | 1.999 | 2 | 2.001 | 2.01 | 2.1 |
|---|---|---|---|---|---|---|---|
| f(x) | 3.9 | 3.99 | 3.999 | undefined | 4.001 | 4.01 | 4.1 |
From both sides the values approach 4, so the limit is 4. The reason: for x ≠ 2, (x² − 4)/(x − 2) = (x − 2)(x + 2)/(x − 2) = x + 2. The graph is the line y = x + 2 with a hole at (2, 4).
The formal (epsilon-delta) definition
In college courses, “as close as you like” is made exact: limx→a f(x) = L means that for every ε > 0 there is a δ > 0 such that 0 < |x − a| < δ implies |f(x) − L| < ε. In words: however small a tolerance ε around L you pick, you can find a distance δ around a so that all f(x) for those x stay within the tolerance.
One-sided limits
The left-hand limit limx→a⁻ f(x) uses only x < a; the right-hand limit limx→a⁺ f(x) uses only x > a. The two-sided limit exists exactly when both one-sided limits exist and are equal.
Limit laws
If lim f(x) = L and lim g(x) = M (both as x → a), then:
| Law | Rule |
|---|---|
| Sum and difference | lim [f(x) ± g(x)] = L ± M |
| Constant multiple | lim [k · f(x)] = k · L |
| Product | lim [f(x) · g(x)] = L · M |
| Quotient | lim [f(x) / g(x)] = L / M, if M ≠ 0 |
| Power and root | lim [f(x)]ⁿ = Lⁿ, lim ⁿ√f(x) = ⁿ√L (L ≥ 0 for even n) |
Together they mean that for polynomials, and for rational functions where the denominator is not 0, you can simply substitute: limx→3 (2x² − x + 5) = 18 − 3 + 5 = 20, and limx→1 (x² + 3)/(x + 1) = 4/2 = 2.
How to evaluate limits step by step
- Substitute x = a.
- If you get a number, that is the limit.
- If you get (nonzero number)/0, the function goes to +∞ or −∞ near a. Check both sides.
- If you get 0/0, the limit is not decided yet. Simplify the expression and substitute again.
The special limit sin x / x
With x in radians, limx→0 (sin x)/x = 1. The table shows it: for x = 0.1 the quotient is 0.998334, for x = 0.01 it is 0.999983. From it follow results like limx→0 sin(3x)/x = 3 · lim sin(3x)/(3x) = 3, and limx→0 (1 − cos x)/x = 0.
Indeterminate forms
An indeterminate form is an expression whose value is not decided by the form alone. The seven classic ones are 0/0, ∞/∞, 0 · ∞, ∞ − ∞, 0⁰, 1∞ and ∞⁰. For example, (x² − 9)/(x − 3) and (x − 3)/(x² − 9) are both 0/0 at x = 3, but their limits are 6 and 1/6. A form such as 5/0 is not indeterminate: it signals an infinite limit or a limit that does not exist.
Once you know derivatives, L'Hôpital's rule handles 0/0 and ∞/∞: lim f(x)/g(x) = lim f′(x)/g′(x), if the right side exists. For example, limx→0 (eˣ − 1)/x = lim eˣ/1 = 1.
Limits at infinity
limx→∞ f(x) asks what happens when x grows without bound. Basic facts: 1/x → 0, 1/x² → 0, and eˣ → 0 as x → −∞. For a rational function, divide every term by the highest power of x in the denominator. The result depends on the degrees:
| Degrees | Limit as x → ∞ | Example |
|---|---|---|
| numerator = denominator | ratio of the leading coefficients | (3x² + 1)/(2x² − 5) → 3/2 |
| numerator < denominator | 0 | (2x + 1)/(x² + 3) → 0 |
| numerator > denominator | +∞ or −∞ | (x³ − 1)/(x + 1) → ∞ |
A famous limit at infinity is limn→∞ (1 + 1/n)ⁿ = e ≈ 2.71828, explained on the page about the number e.
Infinite limits and vertical asymptotes
If f(x) grows without bound near a, you write lim f(x) = ∞ (the limit does not exist as a number, but the notation says how it fails). limx→0 1/x² = ∞ from both sides. For 1/(x − 3): from the right the denominator is a small positive number, so limx→3⁺ = +∞; from the left limx→3⁻ = −∞. In both cases the line x = 3 or x = 0 is a vertical asymptote.
Continuity
A function f is continuous at x = a if three conditions hold: f(a) is defined, limx→a f(x) exists, and limx→a f(x) = f(a). Informally, you can draw the graph there without lifting your pencil. Polynomials, eˣ, sin x and cos x are continuous everywhere; rational functions are continuous wherever the denominator is not 0.
- Removable discontinuity: the limit exists, but f(a) is missing or different (a hole), as in (x² − 4)/(x − 2) at x = 2.
- Jump discontinuity: the one-sided limits differ, as in worked example 1.
- Infinite discontinuity: a vertical asymptote, as in 1/(x − 3) at x = 3.
The Intermediate Value Theorem uses continuity: if f is continuous on [a, b], it takes every value between f(a) and f(b). For f(x) = x³ + x − 1, f(0) = −1 and f(1) = 1, so the equation x³ + x − 1 = 0 has a solution between 0 and 1.
Common mistakes
- Stopping at 0/0: 0/0 does not mean the limit is 0 or does not exist. It means: simplify first.
- Assuming lim f(x) = f(a): that is only true for continuous functions. At a hole, f(a) can be undefined while the limit exists.
- Cancelling terms instead of factors: in (x² − 9)/(x − 3) you cannot cancel x; factor first.
- Treating ∞ − ∞ as 0: limx→∞ (x² − x) = ∞, while limx→∞ (x − x) = 0. The form alone decides nothing.
- Checking only one side: near a vertical asymptote or at a piecewise break, compare the left and right limits.
- Using degrees in sin x / x: the limit 1 holds only for radians.
Practice problems
Frequently asked questions
What is a limit in calculus?
The value a function approaches as the input approaches a certain number (or infinity). It describes the behavior near a point, not the value at the point.
When does a limit not exist?
When the left-hand and right-hand limits are different (a jump), when the function grows without bound (a vertical asymptote), or when it oscillates without settling, like sin(1/x) near 0.
What do you do when a limit gives 0/0?
0/0 is an indeterminate form. Simplify: factor and cancel, multiply by the conjugate, or combine fractions, then substitute again. In calculus you can also use L'Hôpital's rule.
How do you find limits at infinity?
For rational functions, compare the degrees of the numerator and denominator, or divide every term by the highest power of x. See the table.
What is the difference between a limit and continuity?
A limit can exist even if the function is undefined at the point. Continuity requires more: the function value must exist and equal the limit.
Keep learning
- Previous topic: trigonometry, needed for the limit of sin x / x.
- Next topic: derivatives, defined as a limit.
- In German: Folgen und Grenzwerte.
Spotted a mistake or have a request? Send us a short message and we will take care of it.