Substitution gives a number
The limit equals that number, if the denominator is not 0.

This multivariable limit calculator finds the limit of f(x, y) or f(x, y, z) at a point, or shows two paths that prove it does not exist, with every step. A multivariable limit is the value f approaches from every direction at once; the calculator substitutes when f is continuous, tests lines and parabolas, and runs a polar squeeze check. Every path is drawn on a graph, for Calculus III homework and continuity checks.
Results
Your limit, path by path
Each curve is f along one path through the point. When the limit exists, every curve heads to the same height at t = 0. When it does not, the curves split.
Interactive diagram
f along each path
Limit
Step-by-step solution
—Step by step
To use the multivariable limit calculator, follow these 4 steps. The verdict and the graph update as you type.
Type the function
Use x and y, or x, y and z, for example x*y/(x^2 + y^2).
Enter the point
Type 0, 0 or 1, 2; use 3 numbers for a function of x, y and z.
Read the verdict
The limit exists, does not exist (with two paths as proof) or is infinite.
Compare the paths
Switch between the path graph and the heat map, and zoom in on the point.
Definition
A multivariable limit is the value L that f(x, y) approaches as the point (x, y) approaches a target point (a, b) from every direction and along every path. It is written lim(x, y)→(a, b) f(x, y) = L, and the value of the function at (a, b) itself plays no part.
In one-variable calculus, a limit is the value f(x) approaches as the input approaches a number, and x can only arrive from 2 sides, left and right. In the plane, (x, y) can arrive along infinitely many lines, parabolas and spirals, and every one of them must lead to the same L.
The precise epsilon-delta definition states the condition with distances:
Read in pictures: inside a small enough circle around (a, b), every value of f sits within ε of L. If the values on shrinking circles squeeze together, the limit exists; if they stay spread out, it does not.
—. For x²y/(x² + y²), the spread shrinks with δ. For xy/(x² + y²), the smallest and largest values stay −½ and ½ on every circle, however small. The circle on the map is enlarged for visibility at tiny δ.
First step
You can substitute directly when f is continuous at the target point: plug in (a, b), and the value is the limit. Polynomials are continuous everywhere, and a rational function is continuous wherever its denominator is not 0.
Substitution gives a number
The limit equals that number, if the denominator is not 0.
Substitution gives 0/0
An indeterminate form, like 0/0, says nothing yet. The limit may exist or may not: test paths, simplify, or switch to polar coordinates.
Substitution gives c/0 with c ≠ 0
The function blows up. The limit is +∞ or −∞ when the sign stays fixed near the point, and does not exist when the sign changes.
The limit laws carry over from one variable: the limit of a sum, product or quotient is the sum, product or quotient of the limits, as long as each limit exists and no denominator limit is 0. L'Hôpital's rule, which differentiates the numerator and denominator individually, has no direct 2-variable version, since there is no single direction to differentiate along.
Disproof
To show a limit does not exist, find 2 paths into the point along which f approaches 2 different values; one disagreement is a complete proof.
Substitute y = b + m(x − a) and take the one-variable limit as x → a. At the origin, the lines are y = mx, plus the y-axis x = 0.
For xy/(x² + y²), the value along y = mx depends on the slope: 0 on the x-axis (m = 0) and ½ on y = x (m = 1). The limit does not exist.
Use a curve y = kx² or x = ky² when every line gives the same value. Pick the curve that makes the exponents in the numerator and denominator match. For x²y/(x⁴ + y²), y = kx² turns x⁴ and y² into the same degree, x⁴:
Cubics y = kx³, the curves y = x^(p/q), and spirals work the same way for harder functions.
Right: f along the path against the distance t. Slide the slope: for xy/(x² + y²), every line gives a constant m/(1 + m²), a different number for each m. For x²y/(x⁴ + y²), every line gives 0, and only the parabola reveals k/(1 + k²).
Proof
To prove a limit exists, bound |f(x, y) − L| by a quantity that depends only on the distance to the point and goes to 0. Paths alone never prove existence; there are 2 standard methods, polar coordinates and the squeeze theorem.
Substitute x = r cos θ, y = r sin θ, and check that f − L → 0 as r → 0 for every θ at once. At a point (a, b), use x = a + r cos θ, y = b + r sin θ.
Since |cos²θ sin θ| ≤ 1, |f| ≤ r → 0, and the limit is 0. The bound has to hold for all θ together: a result that still depends on θ as r → 0, such as ½ sin 2θ for xy/(x² + y²), means the limit does not exist.
If |f(x, y) − L| ≤ g(x, y) near the point and g → 0, then f → L. The bounding function g usually comes from inequalities such as x² ≤ x² + y², |x| ≤ √(x² + y²) and |sin t| ≤ |t|.
The calculator runs a numerical squeeze check after every path agrees: it measures the largest gap |f − L| on shrinking circles and confirms that the gap goes to 0.
—. Light green is r = 0.8 and red is r = 0.05. For xy/(x² + y²), all 5 curves sit on top of each other: ½ sin 2θ does not shrink with r.
Counterexample
Checking lines alone is not enough, since a function can approach the same value along every straight line and a different value along a curve. The standard example is f(x, y) = x²y/(x⁴ + y²) at the origin.
| Path | f on the path | Limit |
|---|---|---|
| x-axis, y = 0 | 0 | 0 |
| y-axis, x = 0 | 0 | 0 |
| line y = mx | 0 | |
| parabola y = x² | ½ | |
| parabola y = −x² | −½ | −½ |
Every line gives 0, but the parabola y = x² gives ½, so the limit does not exist. The heat map shows the reason: f has a ridge of height ½ that curves along y = x², and every straight line through the origin slips under the ridge as it arrives.
Iterated limits fail the same way. For xy/(x² + y²), limx→0 limy→0 f = 0 and limy→0 limx→0 f = 0, yet the limit does not exist: iterated limits check only 2 special paths.
The orange ridge (f = ½) and the teal valley (f = −½) both curve into the origin like parabolas. The straight lines cross them at a steeper and steeper angle and end at 0; the red parabola rides the ridge all the way in.
f(x, y, z)
Limits of functions of 3 variables follow the same 2 rules: 2 paths with different limits prove the limit does not exist, and a bound that depends only on the distance ρ = √(x² + y² + z²) proves it exists.
To prove a 3-variable limit, use spherical coordinates x = ρ sin φ cos θ, y = ρ sin φ sin θ, z = ρ cos φ, and show the bound goes to 0 as ρ → 0 for every φ and θ.
So lim xyz/(x² + y² + z²) = 0 at the origin.
To disprove one, test lines along the axes, the diagonals of the coordinate planes, and the space diagonal x = y = z. For (xy + yz + zx)/(x² + y² + z²), the x-axis gives 0, the line x = y, z = 0 gives ½, and x = y = z gives 1.
Each path gives a constant value: 0, ½, 1 and −⅓. 4 different answers, so the limit does not exist.
Practice
There are 4 worked examples below: 2 limits that do not exist, 1 proved by the squeeze theorem and 1 found with a one-variable substitution. Each one loads into the calculator with one click.
Answer: the limit does not exist, since 0 ≠ ½. In polar form, f = ½ sin 2θ depends on the direction only.
Answer: . Polar form agrees: |r cos²θ sin θ| ≤ r.
Answer: . The function depends on (x, y) only through the distance, so every direction gives the same graph.
Answer: the limit does not exist: the x-axis gives 1 and the y-axis gives −1. Along y = mx, the value is (1 − m²)/(1 + m²), any number between −1 and 1.
Continuity
A function f(x, y) is continuous at (a, b) when 3 conditions hold: f(a, b) is defined, the limit at (a, b) exists, and the limit equals f(a, b). A function is continuous on a region when it is continuous at every point of the region.
There are 4 families of functions that are continuous wherever they are defined:
A removable discontinuity is fixed by redefining one value. Define f(0, 0) = 0 for x²y/(x² + y²), and the function becomes continuous, since the limit is 0. No value fixes xy/(x² + y²): the limit does not exist. That function has both partial derivatives fx(0, 0) = fy(0, 0) = 0, so in 2 variables, existing partial derivatives do not imply continuity.
The first surface flattens into the point (0, 0, 0) from every side. The second twists like a ramp: along each direction it sits at its own height ½ sin 2θ right up to the origin, so no single value at (0, 0) can join the pieces.
Wolfram Alpha and Symbolab return a value or "does not exist", and CodingAce samples paths and notes that its output is not a proof. Maple, SageMath and MATLAB evaluate limits symbolically, and GeoGebra and Desmos plot the surface. This multivariable limit calculator shows the steps: direct substitution when f is continuous, the 2 paths that disagree when the limit does not exist, and the polar squeeze check when it does.
Questions
2 paths are enough to prove a limit does not exist, but no number of paths proves that it exists. If 2 paths give different values, the proof is complete. If 10, 100 or every line gives the same value, the limit can still fail along a curve, as x²y/(x⁴ + y²) does along y = x². Existence needs a bound such as the polar method or the squeeze theorem.
No, all lines giving the same value does not prove the limit exists. For x²y/(x⁴ + y²) at the origin, every line y = mx gives 0, but the parabola y = x² gives ½. Equal line limits only tell you the candidate value L; a squeeze or polar bound has to confirm it.
Use polar coordinates when the target point is the origin, or can be moved there, and the function contains x² + y². Substitute x = r cos θ and y = r sin θ; if |f − L| is bounded by a function of r alone that goes to 0, the limit is L. If the result depends on θ as r → 0, as ½ sin 2θ does for xy/(x² + y²), the limit does not exist.
Yes, a multivariable limit can be +∞ or −∞ when f grows without bound along every path with the same sign. lim 1/(x² + y²) = +∞ at the origin, since the denominator is positive and shrinks to 0 from every direction. When the sign changes between paths, as for x/(x² + y²), the limit does not exist, neither finite nor infinite.
The difference is that a one-variable limit has 2 directions of approach, left and right, while a multivariable limit has infinitely many paths. In one variable, matching left and right limits prove the limit exists. In 2 or 3 variables, the limit exists only when every path, straight or curved, leads to the same value, so proofs use distance bounds instead of a list of directions.
This multivariable limit calculator finds limits of functions of 2 or 3 variables, or proves they do not exist with two paths, and draws f along every path.