# When evaluating the limit of $f(x, y)$ as $(x, y)$ approaches $(x_0, y_0)$, should we consider only those $(x, y)$ in the domain of $f$?

When evaluating the limit of $$f(x, y)$$ as $$(x, y)$$ approaches $$(x_0, y_0)$$, we should or should not consider only those $$(x, y)$$ in the domain of $$f(x, y)$$ ? I am confused by different practices of Calculus textbooks. Have anyone searched and found some authoritative opinion ?

Thomas Calculus 14e §14.2 Example 2 (Page 802-803) $$\lim_{(x, y) \to (0, 0)} \frac{x^2 - x y}{\sqrt{x} - \sqrt{y}}$$ considers only those $$(x, y)$$ in the domain. The authors' answer ($$\mathbf{0}$$) is the same as the answer by WolframAlpha . See textbook page 802 and textbook page 803 .

Larson Calculus 10e §13.2 Exercise 27 (Page 887) $$\lim_{(x, y) \to (0, 0)} \frac{x - y}{\sqrt{x} - \sqrt{y}}$$ considers NOT only those $$(x, y)$$ in the domain. The authors' answer (DNE) is NOT the same as the answer by WolframAlpha ($$\mathbf{0}$$). See textbook page 887 and solution manual page 1268 .

• Are solutions manuals written by the authors of the textbook? This looks like it's just an error in the solutions manual to me, which isn't uncommon at all. Maybe I'm missing something. Aug 5 '20 at 2:59
• @ChrisCunningham In the (short) answers to odd-numbered exercises at the back part of Larson Calculus 10e the answer to §13.2 Exercise 27 $\lim_{(x, y) \to (0, 0)} \frac{x - y}{\sqrt{x} - \sqrt{y}}$ is DNE. Aug 5 '20 at 3:13
• Every definition of a limit I've seen only considers the domain of the function; see the various definitions on Wikipedia: en.wikipedia.org/wiki/Limit_of_a_function#More_general_subsets. If you don't trust Wikipedia, this is also corroborated by the textbook we used in my Real Analysis class: maa.org/press/maa-reviews/introduction-to-analysis. Aug 5 '20 at 11:18
• @ReedOei Perhaps you could flesh that out a bit into an answer? I agree with you that in most Analysis texts, the definition will only allow the "test points" to be in the domain of the function. Aug 5 '20 at 11:21
• @ncr $\lim_{x\to 0} \sqrt{x}$ exists, and is equal to zero. There are some elementary texts where they define limits in such a way that this limit doesn't exist, but these definitions are incredibly problematic, and cause problems when students move on to more advanced classes. Aug 5 '20 at 14:53

3. Intuition: An informal understanding of $$\lim_{x \to p} f(x) = L$$ is that $$f(x)$$ approximates $$L$$ arbitrarily well when given inputs "around" $$p$$. This informal understanding works just fine with only considering the domain of $$f$$ ("of course" we can only give $$f$$ inputs in its domain), but falls apart a little if we require that $$f$$ be defined in some (punctured) open ball around $$x$$ w.r.t the ambient space—then even a function that does approximate $$L$$ arbitrarily well, in a well-defined way, will no longer have a limit at $$p$$.