One-sided and infinite limits
Just left of 2, |x − 2|/(x − 2) is always −1; just right of 2 it is always 1. The two sides never agree.
Limits from the left and from the right
Sometimes the two sides of a point tell different stories, and it helps to keep them apart. The limit from the left, written limx→a− f(x), uses only x-values less than a. The limit from the right, limx→a+ f(x), uses only x-values greater than a. For g(x) = |x − 2|/(x − 2), any x less than 2 makes the top equal to −(x − 2), so g(x) = −1; any x greater than 2 gives g(x) = 1. So the left limit is −1 and the right limit is 1.
The connection to the ordinary two-sided limit is simple and worth memorizing: limx→a f(x) = L exactly when both one-sided limits exist and both equal L. For g the sides disagree, so limx→2 g(x) does not exist, often abbreviated DNE. OpenStax also uses a piecewise example: f(x) = x + 1 for x < 2 and f(x) = x² − 4 for x ≥ 2. From the left the values approach 2 + 1 = 3; from the right they approach 4 − 4 = 0. The graph jumps, and the two-sided limit does not exist.
When there is no number at all
A limit can fail to exist in a second way. Look at sin(1/x) near 0. As x shrinks, 1/x grows without bound, and the sine of a fast-growing number keeps swinging between −1 and 1. OpenStax picks x-values such as 2/π, 2/(3π), 2/(5π) and so on, where the function alternates 1, −1, 1, −1 forever, getting closer to 0 all the time. The values never settle on one number from either side, so neither one-sided limit exists.
Infinite limits and vertical asymptotes
The third kind of behaviour is growth without bound. For h(x) = 1/(x − 2)², the outputs at x = 2.01 and 1.99 are both 10,000, and at 2.001 and 1.999 they are 1,000,000. They do not approach a number; they grow past any number you name. We write limx→2 1/(x − 2)² = +∞. This is a description of how the limit fails, not a claim that infinity is a number. For 1/x near 0 the two sides go in opposite directions: −∞ from the left and +∞ from the right.
Whenever a one-sided limit at a is +∞ or −∞, the vertical line x = a is a vertical asymptote: the graph runs up or down alongside it, closer and closer. Rational functions often have one where the denominator is zero and the numerator is not. OpenStax's example 1/(x + 3)⁴ has a vertical asymptote at x = −3. Be careful with zero over zero: (x² − 4)/(x − 2) has a zero denominator at 2 but a hole there, not an asymptote, because the zero cancels.
Drag to turn. Scroll or pinch to zoom.
Drag to turn. Scroll or pinch to zoom.
- limx→2− |x − 2|/(x − 2) = ?
- f(x) = x + 1 for x < 2, x² − 4 for x ≥ 2. Left limit at 2?
- Same function, right limit at 2?
- So for that function, limx→2 f(x) is:
- Does not exist
- 3
- 0
- 1.5
- What is 1/(x − 2)² at x = 2.001?
- limx→0− 1/x is:
- −∞
- +∞
- 0
- −1
- Where is the vertical asymptote of 1/(x + 3)⁴? Give x.
- Why does sin(1/x) have no limit at 0?
- It keeps oscillating between −1 and 1
- It grows without bound
- It is undefined for negative x
- Its left and right limits are 1 and −1
- Does (x² − 4)/(x − 2) have a vertical asymptote at x = 2?
- No, it has a hole
- Yes
- Only from the right
- Only from the left
- If limx→a− f(x) = 5 and limx→a+ f(x) = 5, then limx→a f(x):
- equals 5
- does not exist
- equals f(a)
- equals 10
- Left limit uses x < a, right limit uses x > a.
- The two-sided limit exists exactly when both one-sided limits exist and agree.
- A limit can fail by a jump, by oscillation, or by growing without bound.
- An infinite one-sided limit at a means x = a is a vertical asymptote.
Sources for this course (5)
- OpenStax, Calculus Volume 1 , chapter 2 Limits: 2.1 A Preview of Calculus (tangent problem and area problem; secant slopes through (1, 1) on f(x) = x² with (2, 4) giving 3 and (3/2, 9/4) giving 2.5; rock s(t) = −16t² + 64 with average velocities −15.84 and −16.16 near t = 0.5; three rectangles under x² + 1 on [0, 3] giving 8: openstax.org/books/calculus-volume-1/pages/2-1-a-preview-of-calculus)
- 2.2 The Limit of a Function ((x² − 4)/(x − 2) → 4 at 2, (sin x)/x → 1 at 0 from a table, sin(1/x) has no limit at 0, one-sided limits of |x − 2|/(x − 2), infinite limits and vertical asymptotes, the formal definition appearing only in the late 19th century: .../pages/2-2-the-limit-of-a-function)
- 2.3 The Limit Laws (sum, difference, constant multiple, product, quotient, power and root laws; direct substitution; factoring and rationalizing 0/0 forms; squeeze theorem: .../pages/2-3-the-limit-laws)
- 2.4 Continuity (three conditions; removable, jump and infinite discontinuities; Intermediate Value Theorem: .../pages/2-4-continuity)
- 2.5 The Precise Definition of a Limit (.../pages/2-5-the-precise-definition-of-a-limit).
Checked: 2026-10-17