Ma · Mathematics

Can the Two-Path Test Determine Whether a Limit Exists?

Published By the 9to5Science editorial team

At a glance

  1. 1. Compare path limits

    Evaluate the function along two paths approaching the same point.

  2. 2. Use disagreement

    If the path limits differ, the multivariable limit does not exist.

  3. 3. Do not infer existence

    Matching limits along two paths, or even all straight lines, is not enough.

  4. 4. Check every approach

    Existence requires the same limit along every sequence approaching the point.

Advertisement

For a function of two or more variables, the two-path test can show that a limit does not exist, but it cannot generally prove that a limit exists. If two paths approach the same point and give different limiting values, the overall limit is impossible. If they give the same value, that is only evidence from those paths; other approaches may still give a different result.

Why different path limits rule out a limit

Suppose you want to evaluate

lim⁡(x,y)→(a,b)f(x,y).\lim_{(x,y)\to(a,b)} f(x,y).

If this limit exists and equals LL, then the function must approach LL no matter how (x,y)(x,y) approaches (a,b)(a,b). In particular, it must approach LL along every path in the domain that tends to (a,b)(a,b).

Therefore, if you find two paths along which the function tends to different values, there cannot be one value that describes the limit from all directions. This is a disproof test: one pair of paths with different limits is enough to settle nonexistence.

Worked example: different paths disprove the limit

Consider

f(x,y)=xyx2+y2f(x,y)=\frac{xy}{x^2+y^2}

as (x,y)→(0,0)(x,y)\to(0,0). The function is defined at every point except the origin, so these approaches are allowed.

Along the xx-axis, where y=0y=0,

f(x,0)=0.f(x,0)=0.

Along the yy-axis, where x=0x=0,

f(0,y)=0.f(0,y)=0.

Those two paths agree, but they do not settle the question. Try the diagonal y=xy=x:

f(x,x)=x22x2=12(x≠0).f(x,x)=\frac{x^2}{2x^2}=\frac12 \qquad (x\ne 0).

The axes give a limiting value of 00, while the diagonal gives 1/21/2. Thus the limit at the origin does not exist. Notice that the first two paths alone would not have exposed this failure.

Why matching paths do not prove existence

A limit is a statement about all approaches, not just a few selected ones. Checking two paths tests only two particular ways of getting to the point. Even checking every straight line through the point may not be enough.

For example, define

g(x,y)=x2yx4+y2g(x,y)=\frac{x^2y}{x^4+y^2}

away from (0,0)(0,0). Along any fixed straight line through the origin, the function tends to 00. To see this for nonvertical lines, put y=mxy=mx for a fixed real number mm:

g(x,mx)=mx3x4+m2x2=mxx2+m2⟶0g(x,mx)=\frac{m x^3}{x^4+m^2x^2} =\frac{m x}{x^2+m^2}\longrightarrow 0

when m≠0m\ne 0. The horizontal line y=0y=0 and the vertical line x=0x=0 also give 00.

But along the curved path y=x2y=x^2,

g(x,x2)=x4x4+x4=12(x≠0).g(x,x^2)=\frac{x^4}{x^4+x^4}=\frac12 \qquad (x\ne 0).

So the limit does not exist, despite the function tending to 00 along every straight line through the origin. This example shows why agreeing path checks—even a large, natural-looking collection of them—cannot by themselves establish existence.

What does prove a multivariable limit exists?

You need an argument that covers all approaches. Common methods include:

  • A direct estimate: Show that ∣f(x,y)−L∣|f(x,y)-L| is bounded by an expression that tends to 00 as (x,y)→(a,b)(x,y)\to(a,b).
  • A squeeze argument: Bound the function between quantities that both tend to LL.
  • A known limit theorem: Rewrite the expression using continuity, algebraic limit laws, or another applicable theorem.
  • The sequential criterion: Show that for every sequence of domain points (xn,yn)→(a,b)(x_n,y_n)\to(a,b) with (xn,yn)≠(a,b)(x_n,y_n)\ne(a,b), the values f(xn,yn)f(x_n,y_n) tend to the same number LL.

Assuming (a,b)(a,b) is an accumulation point of the domain, the sequential criterion is an exact test: the limit exists and equals LL if and only if every such sequence produces values tending to LL. It is usually not practical to check sequences one by one, so estimates and theorems are more useful for proofs. Sequences are especially useful for disproving a limit: two sequences approaching the same point with different function-value limits are enough.

Common mistakes

  • Treating agreement as proof: Two matching path limits establish agreement only along those two paths.
  • Testing only coordinate axes: Axes are convenient, but curved paths or other directions can behave differently.
  • Assuming all straight lines are enough: A function can have the same limit along every line and still fail to have a multivariable limit.
  • Forgetting the domain: A path or sequence must lie in the function’s domain, apart from possibly its endpoint. If the domain restricts which approaches are possible, account for those restrictions.

Use path tests as a quick way to find counterexamples. A disagreement settles nonexistence; agreement means you need a broader argument.

References

  1. Walter Rudin, Principles of Mathematical Analysis

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.