Are there any paths that will always show if there is a limit?

I'm trying to do limits in 3D and I'm wondering whether or not there are paths along which the limit of any function at any point can always be found. In my book it isn't clear whether this exists or not; neither is it clear how to choose a path if this does exist.

In the book they replace $y$ with $kx$ a lot but sometimes they replace $x$ and $y$ with $0$ separately and sometimes they use $x^2$.

I've seen some people have already asked similar questions but about specific formulas and I can't link that to my exact question.

Thanks for any help!


Solution 1:

I know what you're asking, and the answer is "no" (caveat after reading the comments: There are paths that do conclude for you, most importantly so-called space-filling curves, but they are mostly of theoretical value, and rarely help in calculations). Checking different (simple) paths is not enough to show that a limit exists. It is good for two things, though:

  1. Finding a candidate limit. If you pick a path, and calculate the limit along that path, then you have a candidate for what the limit could be. Most limit calculations become easier once you have a concrete candidate to check.
  2. Showing that there is no limit. If two different paths create two different candidates, or if a single pay fails to give a limit, then there cannot be a single limit value at the given point.

The standard example is $$ f(x,y)=\cases{0&if $x=y=0$\\\frac{2x^2y}{x^4+y^2}&otherwise} $$for which every line through the origin says that the limit at the origin is $0$, while the parabola $y=x^2$ says that the limit is $1$. In general, there is no way of knowing that there isn't such a "different path". For instance, this example is not difficult to change into one where the path that gives $1$ is $y=x^{10}$ instead. How will you know in general that there isn't such a path hidden somewhere? That's impossible without proving the general limit in the first place.

Solution 2:

Correct me if I'm wrong, but I believe existence of a limit may indeed be seen by only looking at a single path, if admittedly an odd path.

Let's say you want to know whether $f$ has a limit at $(0,0)\in\mathbb{R}^2$. Let $\gamma_1$ be a space-filling curve, i.e. a path whose image is the (entire!) square $[-1,1]^2$. Let $\gamma_n:=\gamma_1/n$, i.e. a path whose image is the square with side lengths $2/n$. Finally, let $\gamma$ be the concatenation of all those paths, with straight segments connecting the end of $\gamma_{n-1}$ with the start of $\gamma_n$. You can do all of this in such a way that $\gamma$ is defined on $[0,1]$ with $\gamma(1)=(0,0)$

Now if $f$ does have a limit at $(0,0)$, then $f\circ \gamma$ will have the same limit, as $\gamma$ after some while will live in the square $[-1/n,1/n]$ only. Conversely, if $f\circ \gamma$ has a limit $a$, then so does $f$ at $(0,0)$ since if there existed $x_n\to (0,0)$, $f(x_n)\not\to a$ then $(f\circ\gamma)(y_n)\not\to a$, where $y_n$ are chosen such that $\gamma(y_n)=x_n$ and $y_n\to 1$ (which is possible by surjectivity of each $\gamma_n$ onto a neighborhood of $(0,0)$.)

The practicability of this approach to verify limits by hand is of course limited, but we are just mathematicians after all.

Solution 3:

Interesting nontrivial theorem (simplified version of teorema 5 in Límites utilizando coordenadas polares, La Gaceta de la RSME, v. 7, n. 2.):

Let be $f$ defined in a neighborhood of $(0,0)$, $F(r,\theta) = f(r\cos\theta,r\sin\theta)$. We have the following equivalence:

$$\lim_{(x,y)\to(0,0)}f(x,y) = L\iff \forall\bar{\theta}\in[0,2\pi] \lim_{(r,\theta)\to(0,\bar{\theta})}F(r,\theta) = L.$$ (the second limit isn't a directional limit)

The essential ingredient of the proof is that $[0,2\pi]$ is compact.

Solution 4:

I am adding this because some are apparently having trouble understanding how to fill the details of Bananach's idea, and it cannot be explained in full in 500-character comments. It is not really an answer to the OP in my opinion, as while Bananach's method works in theory, it is entirely impractical for actual verification that given double limit converges, which appears to be what the calcstudent is after.

Still, it is a very nice theoretical result. So I hope you will forgive me for trying to give it the hearing I think it deserves. Of course I will include my modification that addresses Hurkyl's concerns.

We start with the well-known result of Peano.

Theorem: There exists a curve $\alpha : [0,1] \to [0,1]^2$ which is both continuous and surjective.

Proofs abound. For example: http://www4.ncsu.edu/~njrose/pdfFiles/HilbertCurve.pdf

A couple of quick but useful expansions:

Corollary: For any real $a,b,c,d$ with $a < b, c<d$, there is a curve $\alpha_1 : [0,1] \to [a,b]\times[c,d]$ which is continuous and surjective.

Proof: The map $f : [0,1]^2 \to [a,b]\times[c,d] : (x, y) \to (a + (b-a)x,~c + (d-c)y)$ is a continuous bijection, so $\alpha_1 = f\circ \alpha$ will do.

Corollary: For any real $a,b,c,d$ with $a < b, c<d$ and points $u, v \in [a,b]\times[c,d]$ there is a curve $\alpha_2 : [0,1] \to [a,b]\times[c,d]$ wich is continuous and surjective, with $\alpha_2(0) = u$ and $\alpha_2(1) = v$.

Proof: Since rectangles are convex, $$\alpha_2(t) = \begin{cases} u + 3t(\alpha_1(0) - u) & 0 \le t \le \frac 13\\ \alpha_1(3t - 1) & \frac 13 \le t \le \frac 23\\ \alpha_1(1) + (3t - 2)(v -\alpha_1(1)) & \frac 23 \le t \le 1\end{cases}$$ will work. (For those who may balk at the double definitions for the splices, I am asserting that the two definitions coincide, as is easily verified. This is useful for assuring continuity.)

Lemma: Let $A = \{(x,y) \in [-1,1]^2 : |x| \ge 1/2 \text{ or } |y| \ge 1/2\}$. Then there is a curve $\beta : [0,1] \to A$ which is continuous and surjective, with $\beta(0) = (1,1)$ and $\beta(1) = (1/2, 1/2)$.

Proof: Let $$B = [-1,1] \times [1/2,1]\\C = [-1, -1/2]\times[-1, 1/2]\\D = [-1/2, 1]\times[-1,-1/2]\\E = [1/2,1]\times[-1/2,1/2]$$ Then $A = B \cup C \cup D \cup E$.

set A composed of sets B,C,D, and E

Therefore, by the previous corollary, there are continuous surjective curves $\beta_B : [0,1] \to B,~\beta_C : [0,1] \to C,~\beta_D:[0,1]\to D,~\beta_E:[0,1]\to E$ with $$\beta_B(0) = (1,1)\\\beta_B(1) = \beta_C(0) = (-1, 1/2)\\\beta_C(1) = \beta_D(0) = (-1/2, -1)\\\beta_D(1) = \beta_E(0) = (1, -1/2)\\\beta_E(0) = (1/2, 1/2)$$ Define $$\beta(t) = \begin{cases} \beta_B(4t) & 0 \le t \le 1/4\\ \beta_C(4t - 1) & 1/4 \le t \le 1/2\\ \beta_D(4t - 2) & 1/2 \le t \le 3/4\\ \beta_D(4t - 3) & 3/4 \le t \le 1 \end{cases}$$ Continuity and surjectivity of $\beta$ are clear.

Theorem: There is a continuous surjective curve $\gamma : [0,1] \to [-1,1]^2$ such that

  1. $\gamma(1) = (0,0)$ and for all $t < 1, \gamma(t) \ne 0$.
  2. for all $n \in \Bbb N$, $\gamma([1 - 2^{-n}, 1]) = [-2^{-n},2^{-n}]^2$

Proof: Define $\gamma(1) = 0$, and for all $k \in \Bbb N$ and $t \in [1-2^{-k},1-2^{-k-1}]$, define $$\gamma(t) = 2^{-k}\beta(2^{k+1}(t-1) + 2)$$ Since $\beta \ne (0,0)$ anywhere in its range, it follows that $\gamma(t) \ne (0,0)$ for these $t$. Since $\bigcup_{k\in\Bbb N} [1-2^{-k},1-2^{-k-1}] = [0,1)$, part 1 is satisfied, provided that $\gamma$ is well-defined.

Note that if $t = 1 - 2^{-n}$, then it lies in 2 of the intervals: either $k = n$ and $t = 1 - 2^{-k}$ is the lower endpoint, or $k = n-1$ and $t = 1- 2^{-k-1}$ is the upper endpoint. All other values of $t > 0$ lie in only one interval.

If $k = n$, then $$\gamma(t) = 2^{-n}\beta(2^{n+1}(-2^{-n}) + 2) = 2^{-n}\beta(-2+2) = 2^{-n}(1,1) = (2^{-n}, 2^{-n})$$ While letting $k = n-1$ gives $$\gamma(t) = 2^{1-n}\beta(2^n(-2^{-n}) + 2) = 2^{1-n}\beta(-1+2) = 2^{1-n}(1/2,1/2) = (2^{-n}, 2^{-n})$$

So $\gamma(t)$ is well-defined on the overlaps, and since $\gamma$ is continuous on each interval and has the same value on the overlaps, it follows that $\gamma$ is continuous everywhere on $[0,1)$.

Now if for some $n,~ 1 - 2^{-n} \le t < 1$, then there is an $k \ge n$ with $t \in [1-2^{-k},1-2^{-k-1}]$ and $$\gamma(t) \in 2^{-k}[-1,1]^2 = [-2^{-k},2^{-k}]^2 \subseteq [-2^{-n},2^{-n}]^2$$ since $[-1,1]^2$ is the codomain of $\beta$. Since $\gamma(1) = (0,0), we have $\gamma([1 - 2^{-n},1]) \subseteq [-2^{-n},2^{-n}]^2$

Conversely, if $(0,0) \ne (x,y) \in [-2^{-n},2^{-n}], let $k = min {m\mid 2^{-m-1} \le |x| \text{ or } 2^{-m-1} \le |y|}. Then $1 > |2^kx|, ~1 > |2^ky|$ (otherwise $k-1$ would be in the set), and at least one of $|2^kx|$ and $|2^ky|$ is $\ge 1/2$. So $(2^kx, 2^ky) \in A$, the codomain of $\beta$. Hence there is a $t_0 \in [0,1]$ with $\beta(t_0) = (2^kx, 2^ky)$. Let $t = 2^{-k-1}(t_0 - 2) + 1$. Then $1-2^{-k} \le t \le 1 - 2^{-k-1}$, and $\gamma(t) = (x,y)$. Since $k \ge n, 1-2^{-n} \le 1-2^{-k}$, and so $[-2^{-n},2^{-n}]^2 \subseteq \gamma([1-2^{-n},1])$, which proves condition 2.

All that remaims is to prove $\gamma$ is continuous at $1$. Let $\epsilon > 0$, and choose $n$ large enough that $[-2^{-n},2^{-n}]^2$ lies within the ball of radius $\epsilon$ about $(0,0)$. Let $\delta = 2^{-n}$. For $t\in[0,1]$, if $|1-t| < \delta$ then $t \in [1- 2^{-n},1]$, so $\gamma(t) \in [-2^{-n},2^{-n}]^2 \subseteq B_\epsilon((0,0))$ and so is continuous at $1$.

Finally, to address the question:

Theorem: Let $f$ be a real-valued function defined on a neighborhood of $(0,0)$ in $\Bbb R^2$. Then $$\lim_{(x,y)\to(0,0)} f(x,y)$$ converges if and only if $$\lim_{t\to 1} f\circ\gamma(t)$$ converges, in which case they have the same limit.

Proof: Since $\lim_{t\to1} \gamma(t) = (0,0)$, the convergence of the first limit implies the second. It remains to show that the convergence of the second implies the first.

Suppose that $\lim_{t\to 1} f\circ\gamma(t) = L$ and let $\epsilon > 0$. Then there is a $\delta_0$ such that if $1 - \delta_0 < t \le 1$ then $|f\circ\gamma(t) - L| < \epsilon$. And there is an $n$ such that $2^{-n} < \delta_0$. Let $\delta = 2^{-n}$. If $0 < |(x,y) - (0,0)| <\delta$, then in particular, $(x,y) \in [-2^{-n},2^{-n}]$ and so there is a $t \in [1- 2^{-n}, 1]$ such that $\gamma(t) = (x,y)$. Since $(x,y) \ne (0,0), t \ne 1$. So $0<|t - 1| \le 2^{-n} < \delta_0$, so $|f(\gamma(t)) - L| < \epsilon$. I.e., $|f(x,y) - L| < \epsilon$. Therefore $$\lim_{(x,y)\to(0,0)} f(x,y) = L$$ as required.