Pick a function in the Function menu at the top: continuous, a hole, a jump, two infinite cases, an oscillation, a one-sided function. Learn more about the seven functions
Slide d down to shrink ε=10d, the distance on each side of c where f is sampled. As ε shrinks, f(c−ε) heads for L− and f(c+ε) for L+: that is what a limit means.
For this function
A smooth curve: the value and both one-sided limits agree.
Function · f(x)=x2
At · c=1
One-sided limits · L−=1, L+=1, and f(c)=1.
Verdict · continuous at c: limx→1f(x)=1=f(1).
Right now · ε=0.5012: f(c−ε)=0.2488 and f(c+ε)=2.2536.
Limit at a point — the value f(x) approaches as x approaches c, written limx→cf(x). The limit is about the approach, not the value f(c) itself.
Left limit — L−=limx→c−f(x). The value approached from values smaller than c.
Right limit — L+=limx→c+f(x). The value approached from values larger than c.
Two-sided limit — exists exactly when L− and L+ are both finite and equal. The common value is the limit.
DNE — abbreviation for does not exist. Used for limits when the one-sided limits disagree, one is infinite, or the function oscillates.
Removable discontinuity — the two-sided limit exists but f(c) is either undefined or different from the limit. Patching f(c) would restore continuity.
Vertical asymptote — a value of c where at least one one-sided limit is +∞ or −∞.
Getting Started
The tool has three parts. Across the top runs a bar with the Function menu and the buttons for zooming, the starting view, saving a picture and full screen. On the left is the graph. On the right is the explanation, with the controls under it.
The graph shows the function in blue and a dashed vertical line at the point x=c being studied. Two amber dots are the probes at c−ε and c+ε; light blue dashed lines mark the one-sided limits L− and L+ when they are finite, with hollow dots at (c,L±), and a navy dot marks f(c) when it exists.
The tool opens with the quadratic x2 at c=1: everything agrees, and the verdict is continuous. Pick another function to meet the other cases.
The Discontinuity Zoo
DemoPicking a function
Step 0 of 3
The Function menu holds seven functions, one for each behaviour at a point:
Continuous: the quadratic x2 at c=1 — the control case.
Removable: the hole x−1x2−1 at c=1 — both sides approach 2, but f(1) is not defined.
Jump: the step x for x<0, x+1 for x≥0 — the sides approach 0 and 1.
Infinite:x21 (both sides to +∞) and x1 (opposite signs) at c=0.
Oscillating:sin(1/x) at 0 — no one-sided limit at all.
One-sided:x at 0 — only the right side exists.
Quadratic: the Control Case
f(x)=x2 centered at c=1 is the family with nothing wrong with it, and it is here to give the other six something to be compared against.
At ε=0.5 the tool samples f(0.5)=0.25 on the left and f(1.5)=2.25 on the right. Both one-sided limits are 1, f(1)=1, and the single L line passes straight through the curve.
Quadratic, frozen at c = 1, ε = 0.5
One L line at height 1, with the f(c) marker sitting on it and the two approach markers straddling c at 0.25 and 2.25. Everything agrees - this is the case with nothing to diagnose.
Shrink ε and the two sampled values close in on 1 from either side. That is the definition being enacted: the limit is the number the function values approach, and here they approach it from both directions at once.
Because f(c) also equals that number, this family is continuous at c as well. Limit and continuity coincide in the easy case — the six families that follow are exactly the ways they can come apart.
Hole: the Limit Exists Without the Value
f(x)=x−1x2−1 at c=1. The expression cancels to x+1 everywhere except at x=1, where it reads 00 and is undefined.
At ε=0.5: f(0.5)=1.5, f(1.5)=2.5. Both one-sided limits are 2, and the L line is drawn at that height — but no f(c) marker appears on it, because there is no value there.
Hole, frozen at c = 1, ε = 0.5
The L line is drawn at 2 and the approach markers close in on it from 1.5 and 2.5, but the line carries no f(c) marker: the value at c is missing while the limit is not.
This family makes the sharpest point in the whole tool: the limit does not care what happens at c. Its definition only involves x near c with x=c, so the missing value is irrelevant to it. The limit is 2 regardless.
That is why the verdict says removable: the limit exists, but continuity fails. Filling the hole with f(1)=2 would repair continuity without changing the limit at all.
Step: One-Sided Limits That Disagree
A piecewise function — f(x)=x below zero, f(x)=x+1 from zero up — centered at c=0.
At ε=0.5: f(−0.5)=−0.5 approaching from the left, f(0.5)=1.5 from the right. The two L lines sit at 0 and 1, and shrinking ε drives the samples toward those two different numbers.
Step, frozen at c = 0, ε = 0.5
Two L lines, at 0 and at 1, with an open endpoint below and a closed one above. The approach markers at -0.5 and 1.5 are heading for different heights.
Both one-sided limits exist here, which is what separates a jump from the wilder failures below. What fails is the requirement that they agree: limx→0f(x) exists only when L−=L+, and 0=1.
The gap L+−L−=1 is the jump's size, and it is a fixed property of the two pieces. No choice of f(0) can close it, which is what makes a jump irreparable while a hole is not.
1/x²: Both Sides Blow Up the Same Way
f(x)=1/x2 at c=0 has a vertical asymptote, and the function grows without bound on both sides.
At ε=0.5: f(−0.5)=4 and f(0.5)=4 — equal, and both already large. Halve ε and both become 16; halve again and they are 64. No L lines are drawn at all, because there is no finite height to draw them at.
1/x², frozen at c = 0, ε = 0.5
No L lines at all - there is no finite height to draw one at. Both approach markers read 4 and climb together as ε shrinks.
The tool records this as L−=L+=+∞, and that notation deserves care. It describes how the limit fails, not a value it takes. In the strict sense the limit does not exist, because "exists" means converging to a real number.
Some texts write limx→01/x2=+∞ as shorthand for exactly this behaviour, which is a legitimate convention as long as everyone understands it is a statement about unbounded growth. See one-sided vs two-sided for how the same distinction plays out with finite values.
1/x: Infinite in Opposite Directions
f(x)=1/x at c=0 also has an asymptote, but the two sides run opposite ways.
At ε=0.5: f(−0.5)=−2 and f(0.5)=2. Shrink ε and the left sample dives toward −∞ while the right climbs toward +∞.
1/x, frozen at c = 0, ε = 0.5
The same missing L lines, but the two branches leave the frame in opposite directions. The approach markers read -2 and +2 and separate further with every reduction of ε.
Compare this with 1/x2 directly. There, both sides agreed on their manner of failure; here they do not even do that. The tool reports L−=−∞ and L+=+∞, which is a jump and an infinity at once.
The practical consequence shows up in improper integrals and in graphing: the curve leaves the frame downward on one side and upward on the other, so the asymptote separates two branches that share no common value or common direction.
sin(1/x): Oscillation With No Limit at All
f(x)=sin(1/x) at c=0 is the family where neither one-sided limit exists — and not because the function grows too large. It stays neatly inside [−1,1] the whole time.
At ε=0.5 the samples read f(−0.5)=−0.91 and f(0.5)=0.91. Those numbers are honest but useless: pick a slightly different ε and they will be entirely different, because as x→0 the argument 1/x runs off to infinity and the sine cycles faster and faster.
sin(1/x), frozen at c = 0, ε = 0.5
The curve stays inside [-1, 1] yet packs more and more oscillations toward c. The two approach markers read -0.91 and 0.91 here, and would read something quite different at any other ε.
This is the cleanest demonstration that "bounded" is not "convergent". Between any two points, however close to zero, the function still completes infinitely many full oscillations, taking every value in [−1,1] along the way. There is no single number the values settle toward.
It also shows why sampling alone can never establish a limit. Two sample points always produce two numbers; whether those numbers mean anything depends on the function, and here they do not. The tool reports L− and L+ as DNE rather than picking a value from the noise.
Square Root: a Limit From One Side Only
f(x)=x at c=0 is defined only for x≥0, so the left half of the graph is simply empty.
At ε=0.5 the right sample reads f(0.5)=0.71, and the left sample cannot be taken at all — f(−0.5) is undefined. The tool reports L+=0 and L− as DNE.
Square root, frozen at c = 0, ε = 0.5
Nothing is drawn left of c, so only one approach marker exists, at 0.71. The closed endpoint at the origin is where the right-hand limit lands.
The two-sided limit therefore does not exist, but the reason is different in kind from the previous families. Nothing misbehaves; there is simply no left side to approach from.
That is why one-sided limits are worth having as their own notion. limx→0+x=0 is a perfectly good statement, and it is exactly what justifies calling x continuous on [0,∞) — continuity at an endpoint is defined using the one-sided limit, because that is the only one available.
The Epsilon Slider
DemoShrinking ε
Step 0 of 2
The slider d sets the distance of the probes from c as ε=10d: from 100.3≈2 down to 10−3=0.001. A power of ten makes very small distances easy to reach — each step left on the slider shrinks ε by the same factor.
As you drag d down, the two amber probes close in on x=c from both sides, and their heights f(c−ε) and f(c+ε) head for L− and L+. That is what a limit means: getting as close as you like. Press ▶ to let d run by itself.
The Numbers on the Graph
Three amber labels along the bottom of the graph give the current numbers:
• ε — the distance of the probes from c. • f(c−ε) — the height of the left probe. • f(c+ε) — the height of the right probe.
For the hole at ε=0.01 they read 1.99 and 2.01, closing in on 2 from both sides; for 1/x they read −100 and 100, running off in opposite directions. Where the function is not defined — the left of x — the label shows a dash.
The One-Sided Limits
DemoLimits and verdict
Step 0 of 2
Under For this function, the explanation states the exact one-sided limits and the value at c:
• L− — the limit from the left, a number, +∞, −∞, or "does not exist". • L+ — the limit from the right, likewise. • f(c) — the value at the point, or "not defined".
These are the targets the probes head for. On the graph, a finite L− or L+ is a light blue dashed line with a hollow dot at x=c; f(c), when it exists, is the filled navy dot.
The Verdict
Below the one-sided limits, the verdict names what happens at c:
• Continuous — L−=L+=f(c). • Removable — the limit exists, but f(c) is missing or different; defining it would fill the hole. • Jump — L− and L+ are finite but differ: no two-sided limit. • Infinite — a side goes to ±∞: a vertical asymptote. • Oscillating — no one-sided limit, because the function never settles. • One-sided — only one side exists.
The Switch and Zoom
DemoThe switch and the Concepts tab
Step 0 of 2
The switch Limits and probes under the slider hides or shows the dashed lines, the probes and the dots, leaving the curve alone.
The buttons at the top right zoom in and out, return to the starting view, save the graph as a picture and open the tool full screen. Zooming in around c while shrinking ε is the clearest way to watch the probes close in.
The Concepts Tab
Above the explanation, the Concepts tab holds a page that does not change with the controls:
• one-sided and two-sided limits, and when the two-sided limit exists; • the four kinds of discontinuity — removable, jump, infinite, oscillating; • why f(c) does not decide the limit.
Switch back to Explanation for the current function.
What Is a Limit
The limit of a function f as x approaches c is the single value (if any) that f(x) gets arbitrarily close to as x gets sufficiently close to c. Written:
x→climf(x)=L
The crucial point is that the limit is about the approach, not the destination. The actual value f(c) — if it exists — is irrelevant to the limit. The limit asks only what value f(x) is heading toward as x closes in on c.
Formally (the ε–δ definition): for every ε>0 there exists a δ>0 such that ∣f(x)−L∣<ε whenever 0<∣x−c∣<δ. This formalizes "arbitrarily close" and "sufficiently close" with two tolerances chained together.
For the full theoretical treatment, see the limits page.
One-Sided vs Two-Sided
Approaching c from values smaller than c gives the left limitL−=limx→c−f(x). From values larger than c gives the right limitL+=limx→c+f(x).
The two-sided limit exists if and only if both one-sided limits exist, are finite, and are equal:
x→climf(x)=L⟺L−=L+=L
So the two-sided limit fails to exist in three ways:
• L− and L+ are both finite but unequal — a jump.
• At least one of L−, L+ is infinite — an infinite limit.
• At least one of L−, L+ fails to exist at all — an oscillating or one-sided case.
The tool's discontinuity zoo demonstrates each of these failure modes alongside the success case.
For deeper coverage of one-sided limits, see the one-sided limits page.
Related Concepts
Continuity — a function is continuous at c exactly when the limit at c exists, f(c) is defined, and they agree. The limit is one of the three conditions in the continuity definition. See the continuity checker.
Limit laws — the algebraic rules for combining limits: limits of sums, products, quotients, compositions. Most limit computations reduce to applying the laws and evaluating at the point.
Limits at infinity — the behavior of f(x) as x→±∞. Determines horizontal asymptotes.
Indeterminate forms — limits where direct substitution gives 0/0, ∞/∞, 0⋅∞, or ∞−∞. Resolved by algebraic manipulation or L'Hôpital's rule.
Squeeze theorem — if g(x)≤f(x)≤h(x) near c and limg=limh=L, then limf=L. Useful for oscillating functions trapped between bounds.
Derivatives — defined as a limit of secant slopes. See the derivative visualizer.