When we write the limit notation without any superscript—just x→a—we demand that the function approach the same value from both sides. This is the two-sided limit, the default meaning of the word "limit" in calculus.
The formal statement
Two-Sided Limit
x→alimf(x)=L
requires that f(x) approach L as x approaches a through values both less than and greater than a. Neither direction gets special treatment. If the function behaves differently on the left than on the right, no two-sided limit exists.
This requirement is stringent but essential. Derivatives, integrals, and continuity all rely on two-sided limits. A function that approaches different values from different directions exhibits a fundamental asymmetry—a break in behavior that prevents the limit machinery from producing a single answer.
Key Terms
Limit— the value approached from both directions simultaneously
One-Sided Limit— directional components of the two-sided limit
Continuity— holds when the two-sided limit equals the function value
A limit asks where f(x) is heading as x closes in on a point a — and x can close in from two sides.
Numbers just below a approach it from the left; numbers just above a approach it from the right. The two approaches need not tell the same story.
x² near 1 heads to the same height from both sides; a step near 0 heads to two different heights.
distance from a
x² at x = 1 + distance
step at x = 0 + distance
−0.1 (left)
0.81
0
−0.01 (left)
0.9801
0
−0.001 (left)
0.998001
0
+0.001 (right)
1.002001
1
+0.01 (right)
1.0201
1
+0.1 (right)
1.21
1
For x2 the readings close in on 1 from below and from above. The step function — 0 for x<0 and 1 for x≥0 — reads 0 on every left-hand row and 1 on every right-hand row, however close x gets.
One function settles on one height from both sides; the other is pulled toward two heights at once.
Only the first behaviour deserves a single answer to "where is f(x) heading?". The second has two answers, one per side, and no single one that serves both.
The definition
The two-sided limitlimx→af(x)=L means that f(x) gets close to L as x approaches a from the left and from the right; each side on its own gives a one-sided limit.
The standard limit notation
What is a Two-Sided Limit?
x→alimf(x)=L
means x approaches a from both directions. Values slightly less than a and values slightly greater than a must both send f(x) toward the same number L.
So limx→1x2=1, while the step function has no two-sided limit at 0.
The two-sided limit is the default: limit notation with no sign on a means both sides.
No superscript appears on the a—this absence signals the two-sided requirement. The function must exhibit consistent behavior from the left and from the right. When you trace the graph toward x=a from either direction, both traces must converge to the same y-value.
Did you know: Limit 0 at every point
Thomae's function of 1875 is q1 at each fraction qp in lowest terms and 0 at each irrational. Near any point only finitely many fractions have a small denominator, so from both sides the values close in on 0 everywhere, though at every fraction the function sits above 0.
Tracing with a finger assumes a graph that can be drawn without lifting the pen. The definition itself asks for less: only that the values on both sides come close to L, whatever the graph looks like between them and at a itself.
The two-sided limit is the default interpretation whenever limit notation appears without further qualification.
Both sides must agree: two one-sided limits that differ give no two-sided limit at all.
The rest of the page covers the existence condition, notation, visualizing the approach, when two-sided limits fail, continuity, evaluating limits, boundary points, and derivatives.
The Existence Condition
A two-sided limit exists if and only if both one-sided limits exist and are equal. Formally:
Computing only the right-hand limit of f(x)=x2 for x<1 and 2x for x≥1 gives 2 and the claim limx→1f(x)=2. The left-hand limit is 1, so the two-sided limit does not exist.
Three conditions must hold. First, the left-hand limit limx→a−f(x) must exist. Second, the right-hand limit limx→a+f(x) must exist. Third, these two values must be identical.
If the one-sided limits differ, the two-sided limit does not exist. If either one-sided limit fails to exist (due to oscillation or unbounded behavior), the two-sided limit also fails to exist.
Three conditions, one boundary. The card sorts the cases the theorem covers from the ones it rules out.
Checking one side is not enough: the two one-sided limits must both exist and agree.
The Default Limit Notation
Notation
The Default Limit Notation
The base marks every later limit page decorates. What the bare, superscript-free form asserts — and the shorthand for when it asserts nothing.
The superscripts a− and a+ in the existence criterion above belong to one-sided limits.
x→a
x approaches a
Approach from both sides at once — no superscript, no preferred direction, and x never equals a. LaTeX \to; the mathematical keyboard carries → in its arrow set.
CasesSuperscript added — directional, owned by one-sided limits. ∞ in place of a — the approach never arrives, limits at infinity. In the derivative definition the moving variable is renamed: h→0.
Also written“Tends to” in British texts, “approaches” in American ones. The arrow itself appeared around 1905 (Leathem) and became standard through Hardy's A Course of Pure Mathematics (1908); before it, texts put x=a under the lim.
Do not confuseNot an equality in motion. 0<∣x−a∣ holds the whole way — reading the arrow as “set x=a” is the substitution error the limit concept exists to avoid.
One indivisible operator — nothing is multiplied. x is a bound variable: L depends on f and a, never on x. The LaTeX reference writes it \lim_{x \to a}.
CasesDisplayed, the condition sits under the operator; inline it slides to a subscript — same command. The =L form asserts existence, so it may only be written once the criterion in The Existence Condition above is met.
Also writtenf(x)→L as x→a — the arrow form, standard in running prose where a displayed operator would be heavy.
Do not confuseL is not f(a). Hole at a, displaced point, undefined value — the limit ignores all three; continuity is precisely the claim that L and f(a) coincide.
x→alimf(x) DNE
The limit does not exist — D N E
A verdict, not a value. DNE cannot be computed with or set equal to anything — once it holds, the =L form is unavailable.
CasesThe three routes — jump, opposite infinities, oscillation — are catalogued in When Two-Sided Limits Fail to Exist below. A limit that is ∞ is its own case: the =∞ notation describes how existence fails and belongs to infinite limits.
Also writtenSpelled out “does not exist” in analysis texts; DNE is classroom and exam shorthand, rarely printed.
Do not confuseNot the same as f(a) undefined. xsinx at 0: no value, limit exists. The floor function at an integer: value exists, limit DNE. Independent questions.
The left probe at 0.5 reads 0.25 and the right one at 1.5 reads 2.25, and as both move toward 1 the readings meet at 1: the two traces of the section converge to the same height, so the two-sided limit exists and equals f(1). Drag the probes in from both sides on the limit explorer.
The picture is the definition: one target reached from two directions.
Visualizing Two-Sided Approach
Imagine tracing the graph of f with your finger, moving toward x=a from the left. Note the y-value your finger approaches. Now repeat from the right. If both traces converge to the same height, the two-sided limit exists and equals that height.
Pitfall: Reading the limit off the dot
Answering 5 for f(x)=x+1 when x=2, with f(2)=5, reads the plotted point. Both traces head to height 3, so limx→2f(x)=3 while f(2)=5.
The function value f(a) is irrelevant to this process. The graph might have a hole at x=a, or the point might be displaced from where the traces converge. The limit cares only about approach, not arrival.
A filled or open circle at x=a tells you about f(a), but the limit depends on the curve's behavior as it approaches that x-coordinate from both sides.
Approach, not arrival
A function equal to x² everywhere except at x = 1, where the value is moved up to f(1) = 3 (the amber dot). Tracing the curve toward x = 1 from the left, the height heads to 1; tracing from the right, it also heads to 1, toward the open circle. Both traces agree, so the two-sided limit is 1. The plotted point at height 3 plays no part: the limit depends only on the approach.
If f(1) were moved back to 1, the limit would not change; only continuity at 1 would be restored.
When Two-Sided Limits Fail to Exist
Several scenarios cause two-sided limits to fail.
Jump Discontinuity
The left-hand and right-hand limits both exist but differ. For a piecewise function defined by
When Two-Sided Limits Fail to Exist
f(x)={x+1x−1x<3x≥3
the left-hand limit at x=3 is 4 while the right-hand limit is 2. No single value works for both directions.
Infinite Disagreement
One side may tend toward +∞ while the other tends toward −∞. For f(x)=1/(x−2), approaching x=2 from the right gives +∞, while approaching from the left gives −∞. The two-sided limit does not exist.
Pitfall: Writing the limit as infinity
Writing limx→2x−21=∞ because the values blow up drops the signs. The left side heads to −∞ and the right side to +∞, so the two-sided limit does not exist.
A short table of values shows the split. At x=2.01 and x=2.001 the function equals 100 and 1000; at x=1.99 and x=1.999 it equals −100 and −1000. The size grows without bound on both sides of x=2, but the two sides never share a sign.
Oscillation
If the function oscillates without settling from at least one direction, the corresponding one-sided limit fails to exist, and so does the two-sided limit.
Each failure mode reveals different information about the function's structure near the point.
neither side is finite, and they head opposite directions
Oscillation
does not exist
(or does not exist)
at least one side never settles on any value
When Two-Sided Limits Fail to ExistLearn Math Class
Step at x = 0: the two traces end at different heights
Traced from the left the function heads to 0, from the right to 1: two well-defined one-sided limits that disagree, so the two-sided limit does not exist. This is the jump case of the section; the infinite and oscillating cases fail for different reasons. Watch the two probes refuse to meet on the limit explorer.
In every failure mode the two traces either disagree, run away, or never settle.
For continuous functions, evaluating limits is straightforward: substitute and compute. The definition of continuity at x=a requires
Continuous Functions and Two-Sided Limits
x→alimf(x)=f(a)
When this holds, the limit equals the function value. Polynomials, exponentials, sine, cosine, and many standard functions are continuous everywhere on their domains. For these, direct substitution yields the limit immediately.
RULE
Rational functions are continuous wherever the denominator is nonzero.
At points where the denominator vanishes, continuity fails and direct substitution does not apply—other techniques are needed.
Evaluating Two-Sided Limits
Begin with direct substitution. If f(a) is defined and no indeterminate form arises, then
Evaluating Two-Sided Limits
x→alimf(x)=f(a)
If substitution produces 0/0, ∞/∞, or another indeterminate form, algebraic manipulation is required. Factor and cancel common terms, rationalize radicals, or simplify complex fractions until substitution becomes possible.
Substituting x=3 into x−3x2−9 gives 00, and the limit is declared undefined or nonexistent. The form only says more work is needed: after cancelling, the limit is 6.
The cancellation is legitimate because the limit never uses the value at x=3 itself. For every x=3 the two expressions are equal, so they approach the same number. The original function has a hole at x=3, while x+3 passes through the point (3,6).
Two expressions that agree everywhere near a, except possibly at a itself, have the same limit at a.
Two-Sided Limits at Boundary Points
At the edge of a function's domain, only one direction of approach is available. The square root function x is defined only for x≥0, so at x=0, only the right-hand limit makes sense:
Two-Sided Limits at Boundary Points
x→0+limx=0
There is no left-hand limit because negative inputs lie outside the domain. In such cases, the one-sided limit is the only meaningful limit.
Context determines interpretation. When a function's domain naturally restricts approach to one side, the one-sided limit serves as the appropriate limit concept at that boundary.
Relationship to Derivatives
The derivative of f at x=a is defined as a two-sided limit:
Relationship to Derivatives
f′(a)=h→0limhf(a+h)−f(a)
Pitfall: Mistaking continuity for differentiability
Calling ∣x∣ differentiable at 0 because limx→0∣x∣=0=f(0) only checks continuity. The quotient h∣h∣ is 1 for h>0 and −1 for h<0, so f′(0) does not exist.
The variable h approaches 0 from both positive and negative values. Positive h corresponds to approaching from the right; negative h corresponds to approaching from the left. Differentiability requires the same rate of change from both directions.
If only one direction yields a limit, we obtain a one-sided derivative. A function can have a left derivative and a right derivative that differ, in which case the two-sided derivative does not exist at that point.
A derivative is a two-sided limit, so at a corner, where the slopes from the two sides differ, it does not exist.
Summary: Where Two-Sided Limits Appear in Calculus
The two-sided limit is the default notion of approach in calculus, and that default carries weight: most of the key definitions in the subject are stated as two-sided limits. The table below collects three settings where the two-sided form is structurally required, plus the one common exception — a domain boundary, where two-sided approach isn't even available. In every case, the requirement that the function agree from both sides isn't decorative; it's what makes the underlying definition well-posed.
when the function isn't defined on one side, two-sided isn't available — the one-sided limit takes over as the appropriate concept
Summary: Where Two-Sided Limits Appear in CalculusLearn Math Class
Common Pitfalls
Five mistakes account for most wrong answers with two-sided limits. Each one is marked where it happens in the sections above; here each is worked through in full, with the wrong and the right working side by side.
To find limx→af(x), only one direction is examined, usually the piece of the formula that holds at x=a, and its value is reported as the limit. The other side is never computed, so a disagreement goes unnoticed.
Start
For f(x)=x2 when x<1 and f(x)=2x when x≥1,
Wrong turn
Error here
x→1+lim2x=2,
sox→1limf(x)=2
Right path
Compute both sides and compare them.
x→1−limx2=1,x→1+lim2x=2
Since 1=2, the two-sided limit does not exist.
Why it happensFor continuous functions one side always gives the right answer, so the habit of checking a single direction works until the first piecewise function.
How to checkEvaluate the function on both sides of the point. Here f(0.99)=0.9801 and f(1.01)=2.02; values that close in on two different numbers mean there is no limit.
2Reading the limit off the dot
When a graph has a displaced point, the height of the filled dot at x=a is taken as the limit, instead of the height the curve approaches.
Wrong turn
Error here
For f(x)=x+1 when x=2 and f(2)=5, the graph shows f(2)=5, so limx→2f(x)=5.
Right path
The limit uses only values with x=2, where f(x)=x+1.
x→2limf(x)=x→2lim(x+1)=3
The value f(2)=5 plays no part.
Why it happensFor most functions met early on, the limit and the value are the same number, so the two are treated as one thing.
How to checkRead values near a, not at a. Here f(1.99)=2.99 and f(2.01)=3.01, both close to 3. A limit that differs from f(a) simply means the function is not continuous there.
3Writing the limit as infinity
Near a vertical asymptote the values grow without bound, and the two-sided limit is written as ∞ without checking the sign on each side.
Start
Dividing by a number close to 0 gives a huge number, so
Wrong turn
Error here
x→2limx−21=∞
Right path
Take the sides separately. For x<2 the denominator is a small negative number, for x>2 a small positive one.
x→2−limx−21=−∞,
x→2+limx−21=+∞
The sides head in opposite directions, so the two-sided limit does not exist, not even as an infinite limit.
Why it happensThe rule that a tiny denominator gives a huge value is remembered for the size only, and the sign of the denominator is lost.
How to checkSubstitute one value on each side. x=1.99 gives −100 and x=2.01 gives 100. Writing =∞ for a two-sided limit is correct only when both sides go to +∞, as for (x−2)21 at x=2.
4Stopping at 0/0
Direct substitution produces 00, and that result is taken as the answer: the limit is declared undefined, nonexistent, or equal to 0.
Wrong turn
Error here
x→3limx−3x2−9=3−39−9=00,
so the limit does not exist
Right path
Factor the numerator and cancel, which is allowed because x=3 throughout.
x−3x2−9=x−3(x−3)(x+3)
=x+3(x=3),
x→3lim(x+3)=6
Why it happensSubstitution is the first tool learned, and 00 looks like a final result. It only says that the function has no value at x=3, which a limit never needed.
How to checkEvaluate near the point. x=2.99 gives 5.99 and x=3.01 gives 6.01, both close to 6.
5Mistaking continuity for differentiability
A function whose two-sided limit at a equals f(a) is continuous there, and that is taken as proof that the derivative at a exists too.
Wrong turn
Error here
limx→0∣x∣=0=f(0), so ∣x∣ is continuous at 0 and therefore differentiable at 0.
Right path
The derivative is its own two-sided limit, of the difference quotient.
hf(0+h)−f(0)=h∣h∣
={1−1h>0h<0
The one-sided limits are 1 and −1. They differ, so f′(0) does not exist, although ∣x∣ is continuous at 0.
Why it happensBoth ideas are two-sided limits at the same point, and every differentiable function is continuous, so the reverse direction feels true as well.
How to checkAt a suspected corner, compute the slope from each side. For ∣x∣ the slope is −1 on the left and 1 on the right; any mismatch means no derivative.
Each slip forgets what a two-sided limit asks for: the values of f near a, from both sides. One side is not enough, the dot at x=a does not decide, opposite infinite one-sided limits mean that the limit does not exist, 00 calls for factoring, and continuity at a point does not give a derivative there. Substituting one value on each side of the point catches each slip.
Skills You Should Learn
Each skill opens its step-by-step method page.
Limit methods
Evaluate one-sided limitsLeft and right limits separately; the two-sided limit exists only when they agree.
Evaluate a limit by direct substitutionSingle ruleThe function is continuous at a: polynomials, rational functions whose denominator is not 0 at a, roots, exponentials, logarithms and trig functions on their domains.
DNE stands for “does not exist” — a verdict about a limit, not a value the limit takes. Once a limit is DNE you cannot compute with it or set it equal to anything. It is also independent of whether f(a) is defined: sin(x)/x has no value at 0 yet its limit exists, while the floor function has a value at every integer but no limit there.Read more →
In a limit, does x ever actually equal a?
+
No. The condition 0 < |x − a| holds the whole way, so x stays strictly away from a while getting arbitrarily close to it. The arrow describes an approach, not an equality in motion. Reading x → a as an instruction to set x = a is precisely the substitution error the limit concept exists to avoid, and it is why a limit can exist where the function has no value.Read more →
Can a two-sided limit exist at the endpoint of a domain?
+
Not in the full two-sided sense. At a domain endpoint only one direction of approach is available, so the two-sided limit is unavailable there while the one-sided limit remains perfectly meaningful. For √x at 0 nothing lies to the left, so the right-hand limit is the appropriate concept. See one-sided limits for that treatment.Read more →
Can a function have a limit at every point and still be discontinuous at infinitely many?
+
Yes. Thomae's function, from 1875, equals q1 at each fraction qp in lowest terms and 0 at each irrational number. Near any point only finitely many fractions have a small denominator, so from both sides the values close in on 0, and the limit is 0 everywhere. At every fraction the function sits above 0, so it is discontinuous at every rational point and continuous at every irrational one.Read more →
When did the arrow notation x → a come into use?
+
Around 1905. The arrow for a limit is credited to J. G. Leathem in 1905, and it became standard through G. H. Hardy's A Course of Pure Mathematics in 1908. Before that, texts put x=a under the lim, which reads like an instruction to substitute. The arrow says what is meant: x approaches a without ever being set equal to it.Read more →