Skip to main content

Section 14.2 Limits and Continuity in Several Variables

In our previous study of functions of a single variable, the concept of a limit was straightforward in one respect. We could only approach a point \(x=a\) from two directions, the left or the right. If the function approached the same value from both sides, the limit existed.
Now that we are working with functions of two variables, the domain is a plane. This means we can approach a point \((a,b)\) from infinitely many directionsβ€”along the \(x\)-axis, the \(y\)-axis, a diagonal line, a parabola, or even a spiral. This increase in freedom makes the definition of a limit more complex but also more interesting. In this section, we will learn how to determine if these limits exist and how to evaluate them.
Recall from MTH 251Z (or MH 251) that limits allow us to describe a function’s behavior near a specific point, even if the function is not defined at that point. The fundamental idea is that we can make the function’s output arbitrarily close to a limit value \(L\) by choosing inputs that are sufficiently close to the target point.
The idea of limits also extends to functions of several variables.
Figure 14.2.1.
Below is the formal definition of limits for functions of two variables.

Definition 14.2.2. Limit.

Assume that \(f(x,y)\) is defined near \(P = (a,b)\text{.}\) Then
\begin{equation*} \lim_{(x,y) \to P} f(x,y) = L \end{equation*}
if, for any \(\varepsilon \gt 0\text{,}\) there exists \(\delta \gt 0\) such that if \((x,y)\) satisfies
\begin{equation*} 0 \lt d\lp (x,y), P \rp \lt \delta \, , \quad \text{then} \, |f(x,y) - L| \lt \varepsilon \end{equation*}
This is a calculus class, not a real analysis class, so we won’t be doing any epsilon-delta proofs in this class. Make sure you are comfortable with the limit idea informally. That is, the limit of a function at a point is the value that the function approaches as we get closer and closer to the point.
Recall back in MTH 251Z (or MTH 251), a function is continuous at a point if the limit of the function at that point is equal to the value of the function at that point. This is the same for functions of several variables.

Definition 14.2.3. Continuity.

A function \(f\) of two variables is continuous at \(P = (a,b)\) if
\begin{equation*} \lim_{(x,y) \to (a,b)} f(x,y) = f(a,b) \end{equation*}
We say that \(f\) is continuous if it is continuous at each point \((a,b)\) in its domain.
That is, if we know that a function is continuous at a point (no hole, no jump, no asymptote), then we can evaluate the limit of the function at that point by directly substituting the point into the function.
Also recall back in MH 251Z (or MTH 251), a function is continuous at a point if the building blocks of the function are continuous at that point AND the function value is defined at that point.

Example 14.2.4.

Evaluate the limit \(\ds \lim_{(x,y) \to (-2,1)} \dfrac{2x^2}{4x + y}\text{.}\)
Hint.
Try arguing that the function \(f\) is continuous at \((-2,1)\text{.}\) Then you can evaluate the limit by directly substituting the point into the function.
Solution.
Observe that \(z = 2x^2\) and \(z = 4x + y\) are both continuous at \((-2,1)\text{.}\) Also, the denominator \(4x + y\) is not equal to 0 at \((-2,1)\text{.}\) Hence, \(f\) is continuous at \((-2,1)\text{.}\)
Thus, we can evaluate the limit by directly substituting the point into the function. That is,
\begin{align*} \lim_{(x,y) \to (-2,1)} \dfrac{2x^2}{4x + y} \amp= \dfrac{2(-2)^2}{4(-2) + 1} \\ \amp= -\dfrac{8}{7} \end{align*}
Again, back in MTH 251Z (or MTH 251), we also learned about the basic limit laws. They also hold for limits of functions of several variables.

Example 14.2.6.

Assume that \(\ds \lim_{(x,y) \to (2,5)} f(x,y) = 3\) and \(\ds \lim_{(x,y) \to (2,5)} g(x,y) = 7\text{.}\) Find the following limits.
  1. \(\displaystyle \ds \lim_{(x,y) \to (2,5)} \lp g(x,y) - 2f(x,y) \rp\)
  2. \(\displaystyle \ds \lim_{(x,y) \to (2,5)} f(x,y)^2g(x,y)\)
  3. \(\displaystyle \ds \lim_{(x,y) \to (2,5)} \dfrac{f(x,y)}{f(x,y) + g(x,y)}\)
Solution.
  1. \begin{align*} \lim_{(x,y) \to (2,5)} \lp g(x,y) - 2f(x,y) \rp \amp= \lim_{(x,y) \to (2,5)} g(x,y) + \lim_{(x,y) \to (2,5)} -2f(x,y) \amp\amp\text{by Sum Law}\\ \amp= \lim_{(x,y) \to (2,5)} g(x,y) - 2\lim_{(x,y) \to (2,5)} f(x,y) \amp\amp\text{by Constant Multiple Law}\\ \amp= 7 - 2(3) \\ \amp= 1 \end{align*}
  2. \begin{align*} \lim_{(x,y) \to (2,5)} f(x,y)^2g(x,y) \amp= \lp \lim_{(x,y) \to (2,5)} f(x,y) \rp^2 \lp \lim_{(x,y) \to (2,5)} g(x,y)\rp \amp\amp\text{by Product Law}\\ \amp= 3^2 \cdot 7 \\ \amp= 63 \end{align*}
  3. \begin{align*} \lim_{(x,y) \to (2,5)} \dfrac{f(x,y)}{f(x,y) + g(x,y)} \amp= \dfrac{\ds \lim_{(x,y) \to (2,5)} f(x,y)}{\ds \lim_{(x,y) \to (2,5)} \lp f(x,y) + g(x,y) \rp} \amp\amp\text{by Quotient Law}\\ \amp= \dfrac{\ds \lim_{(x,y) \to (2,5)} f(x,y)}{\ds \lim_{(x,y) \to (2,5)} f(x,y) + \ds \lim_{(x,y) \to (2,5)} g(x,y)} \amp\amp\text{by Sum Law}\\ \amp= \dfrac{3}{3 + 7} \\ \amp= \dfrac{3}{10} \end{align*}
Recall back in MTH 251Z (or MTH 251), the first step to evaluate a limit was to directly substitute the given point into the function. If things worked out, then great we found the limit! If not, then we had to do some some extra math to find the limit.
This is the same in limits of functions of several variables. If we can directly substitute the point into the function and get a number, then that number is (usually) the limit. If we don’t get a number (especially if we get an indeterminate form like \(\dfrac{0}{0}\)), then we have to do some extra work to find the limit.

Example 14.2.7.

Evaluate the limit \(\ds \lim_{(x,y) \to (0,0)} \dfrac{\sin\lp x^2 + y^2 \rp}{x^2 + y^2}\text{.}\)
Hint.
If the direct substitution doesn’t work, try using a table or a graph to see how the function behaves near the point \((0,0)\text{.}\)
Solution.
Let’s try direct substitution first. Observe that
\begin{equation*} \lim_{(x,y) \to (0,0)} \dfrac{\sin\lp x^2 + y^2 \rp}{x^2 + y^2} = \dfrac{\sin(0)}{0} = \dfrac{0}{0} \end{equation*}
This is an indeterminate form, so the direct substitution tells us nothing about the limit...
We can also try evaluating the limit using a table of values. Recall back in MTH 251Z (or MTH 251) that we want to see how the function behaves as we get closer and closer to the point \((0,0)\text{.}\) Then we can make a table of values for the function as BOTH \(x\) AND \(y\) approach 0.
Figure 14.2.8. Table of Values of \(f(x,y) = \dfrac{\sin \lp x^2 + y^2 \rp}{x^2 + y^2}\)
Observe that the value of \(f(x,y)\) approaches 1 as we get closer to the point \((0,0)\) in any direction. This suggests that
\begin{equation*} \lim_{(x,y) \to (0,0)} \frac{\sin \lp x^2 + y^2 \rp}{x^2 + y^2}= 1 \end{equation*}
Alternatively, we can also evaluate the limit using a graph of the function. The graph of \(z = f(x,y)\) is shown below.
Figure 14.2.9. The graph of \(f(x,y) = \dfrac{\sin \lp x^2 + y^2 \rp}{x^2 + y^2}\)
Graphically, we can also see that the value of \(f(x,y)\) approaches 1 as we get closer to the point \((0,0)\) in any direction. This also suggests that
\begin{equation*} \lim_{(x,y) \to (0,0)} \frac{\sin \lp x^2 + y^2 \rp}{x^2 + y^2}= 1 \end{equation*}
Unlike graphs of functions of a single variable where we can only approach a point from the left or the right, graphs of functions of several variables allow us to approach a point from infinitely many directions. To argue that a limit exists, we need to show that the function approaches the same value as we approach the point from any direction, like the previous example. If we can find two different directions that give different limit values, then the limit does not exist.

Example 14.2.10.

Evaluate the limit \(\ds \lim_{(x,y) \to (0,0)} \frac{xy}{x^2 + y^2}\text{.}\)
Hint.
If you try direct substitution, you get \(\dfrac{0}{0}\text{,}\) which is an indeterminate form, which means we know nothing about the limits. Making a table of values or looking at graph can be helpful. Richard coded the graph below to help you visualize what the graph looks like.
Figure 14.2.11. The graph of \(f(x,y) = \frac{xy}{x^2 + y^2}\text{.}\)
What do you expect the limit to be?
Also, can we come up with an algebraic approach to evaluate the limit without graphing the function?
Solution 1. When we are looking at the graph...
Graphically, we can see that the value of \(f(x,y)\) approaches within a range of the \(z\) values between \(-1\) and \(1\text{...}\) We can’t determine a single value that the function approaches as we get closer to the point \((0,0)\text{.}\) Hence, the limit does not exist.
Solution 2. Using an algebraic approach...
Without looking at the graph, we can also show that the limit does not exist by showing that the limit along different paths of approach give different values.
One way of approaching the point \((0,0)\) is along the line \(y = 0\text{.}\) Along this line, we have
\begin{equation*} \lim_{x \to 0} \dfrac{x \cdot 0}{x^2 + 0^2} = \lim_{x \to 0} 0 = 0 \end{equation*}
So along the line \(y = 0\text{,}\) the limit is 0.
Another way of approaching the point \((0,0)\) is along the line \(y = x\text{.}\) Along this line, we have
\begin{equation*} \lim_{x \to 0} \dfrac{x \cdot x}{x^2 + x^2} = \lim_{x \to 0} \dfrac{x^2}{2x^2} = \lim_{x \to 0} \dfrac{1}{2} = \dfrac{1}{2} \end{equation*}
So along the line \(y = x\text{,}\) the limit is \(\dfrac{1}{2}\text{.}\)
Observe that the limit along the line \(y = 0\) is 0, while the limit along the line \(y = x\) is \(\dfrac{1}{2}\text{.}\) Since we get different limit values along different paths of approach, the limit \(\ds \lim_{(x,y) \to (0,0)} \dfrac{xy}{x^2 + y^2}\) does not exist.
But how do we know if a limit exists without graphing the function? There are thousands of paths of approach to a point... How can we check all of them to see if they give the same limit value?
One way to improve our efficiency is to check the limit along a family of paths. For example, we can check the limit along ALL the linear paths by setting \(y = mx\) and seeing if the limit depends on the value of \(m\text{.}\) If so, then the limit does not exist.

Example 14.2.12.

Evaluate the limit \(\ds \lim_{(x,y) \to (0,0)} \dfrac{x^2 - y^2}{x^2 + y^2}\) or show that it does not exist.
Hint.
Let’s check the limit along the linear paths. That is, we set \(y = mx\) and see if the limit depends on \(m\text{.}\)
Can you find two different values of \(m\) that give different limit values?
Solution.
Along the linear paths, we can set \(y = mx\text{.}\) That is,
\begin{align*} \lim_{(x,y) \to (0,0)} \dfrac{x^2 - y^2}{x^2 + y^2} \amp= \lim_{(x,mx) \to (0,0)} \dfrac{x^2 - (mx)^2}{x^2 + (mx)^2} \\ \amp= \lim_{(x,mx) \to (0,0)} \dfrac{x^2 - m^2x^2}{x^2 + m^2x^2} \\ \amp= \lim_{(x,mx) \to (0,0)} \dfrac{1 - m^2}{1 + m^2} \\ \amp= \dfrac{1 - m^2}{1 + m^2} \end{align*}
This implies that the limit along the linear paths depends on the value of \(m\text{.}\) For example, if \(m = 0\text{,}\) then the limit is \(\dfrac{1 - 0^2}{1 + 0^2} = 1\text{.}\) If \(m = 1\text{,}\) then the limit is \(\dfrac{1 - 1^2}{1 + 1^2} = \dfrac{0}{2} = 0\text{.}\) Since we get different limit values along different paths of approach, the limit does not exist.
But... if we check the limit along the linear paths and get the same limit value, does that mean the limit exists? The short answer is no. There are other paths of approach than just the linear paths. If we find two different paths of approach that give different limit values, then the limit does not exist.

Example 14.2.13.

Evaluate the limit \(\ds \lim_{(x,y) \to (0,0)} \dfrac{xy^2}{x^2 + y^4}\) or show that it does not exist.
Hint.
Let’s check the limit along the linear paths. That is, we set \(y = mx\) and see if the limit depends on \(m\text{.}\)
Can you find two different values of \(m\) that give different limit values?
Solution.
Along the linear paths, we can set \(y = mx\text{.}\) That is,
\begin{align*} \lim_{(x,y) \to (0,0)} \dfrac{xy^2}{x^2 + y^4} \amp= \lim{(x,mx) \to (0,0)} \dfrac{x\lp mx\rp^2}{x^2 + \lp mx \rp^4} \\ \amp= \lim_{(x,mx) \to (0,0)} \frac{m^2x^3}{x^2 + m^4x^4} \\ \amp= \lim_{(x,mx) \to (0,0)} \frac{m^2x^3}{x^2(1 + m^4x^2)} \\ \amp= \lim_{(x,mx) \to (0,0)} \frac{m^2x}{1 + m^4x^2} \\ \amp= 0 \end{align*}
Observe that the limit along all the linear paths is \(0\text{.}\) Does it mean the limit is \(0\text{?}\)
Richard will throw in another path of approach for us to check. Does the limit along the path \(x = y^2\) also give us \(0\text{?}\)
We can check quickly that the answer is no. Along the path \(x = y^2\text{,}\) we have
\begin{align*} \lim_{(x,y) \to (0,0)} \dfrac{xy^2}{x^2 + y^4} \amp= \lim_{(y^2,y) \to (0,0)} \dfrac{y^2 \cdot y^2}{(y^2)^2 + y^4} \\ \amp= \lim_{(y^2,y) \to (0,0)} \dfrac{y^4}{2y^4} \\ \amp= \lim_{(y^2,y) \to (0,0)} \dfrac{1}{2} \\ \amp= \dfrac{1}{2} \end{align*}
Observe that the limit along the path \(x = y^2\) is \(\dfrac{1}{2}\text{,}\) which is different from the limit along the linear paths. Since we get different limit values along different paths of approach, the limit does not exist.
Hmm... Then how do we know if a limit exists without graphing the function, since there are infinitely many paths of approach to check?
One way to do so is to use some fancy calculus theorems to argue that there is only one possible limit value that the function can approach as we get closer to the point. One of such theorems is the Squeeze Theorem. In case you don’t recall what the Squeeze Theorem is from MTH 251Z (or MTH 251), below is a quick refresher.
A classic application of the Squeeze Theorem is to evaluate limits of functions involving some trigonometric functions like sine and cosine, since they are bounded between \(-1\) and \(1\text{.}\) So we can often convert the function to polar coordinates and try using the Squeeze Theorem to evaluate the limit.

Example 14.2.15.

Evaluate the limit \(\ds \lim_{(x,y) \to (0,0)} \dfrac{x^2 - y^2}{\sqrt{x^2 + y^2}}\text{.}\)
Hint.
Let’s convert the function to polar coordinates. That is, we want the variables \(r\) and \(\theta\) instead of \(x\) and \(y\text{.}\)
Then try using the Squeeze Theorem to evaluate the limit.
P.S. If you forgot how to do so, find some clues in SectionΒ 12.7.
Solution.
Recall that \(x = r\cos(\theta)\) and \(y = r\sin(\theta)\text{.}\) Then we obtain
\begin{align*} \dfrac{x^2 - y^2}{\sqrt{x^2 + y^2}} \amp= \dfrac{r^2\cos^2(\theta) - r^2\sin^2(\theta)}{\sqrt{r^2}} \\ \amp= r\lp \cos^2(\theta) - \sin^2(\theta) \rp \\ \amp= r\cos(2\theta) \end{align*}
Clearly, if \((x,y) \to (0,0)\text{,}\) then \(r \to 0\text{.}\) So the problem becomes
\begin{equation*} \lim_{(x,y) \to (0,0)} \dfrac{x^2 - y^2}{\sqrt{x^2 + y^2}} = \lim_{r \to 0} r\cos(2\theta) \end{equation*}
Since \(\cos(2\theta)\) is bounded between \(-1\) and \(1\text{,}\) we have
\begin{equation*} -r \leq r\cos(2\theta) \leq r \end{equation*}
As \(r \to 0\text{,}\) both bounds approach zero. By the Squeeze Theorem, we conclude that
\begin{equation*} \lim_{r \to 0} r\cos(2\theta) = 0 \end{equation*}
Therefore,
\begin{equation*} \lim_{(x,y) \to (0,0)} \dfrac{x^2 - y^2}{\sqrt{x^2 + y^2}} = 0 \end{equation*}
Just a quick note that we don’t have to convert the function to polar coordinates to use the Squeeze Theorem if you can find some nice bounds for the function in terms of \(x\) and \(y\text{.}\) This usually happens when the function involves some trigonometric functions like sine and cosine, or other functions that are bounded between two numbers.

Example 14.2.16.

Evaluate the limit \(\ds \lim_{(x,y) \to (0,0)} 3x^2 \sin\lp \dfrac{1}{x^2 + y^2} \rp\text{.}\)
Hint.
You are more than welcome to try the direct substitution first, but you will get an indeterminate form... So inconclusive!
Alternatively, you can also try finding two paths of approach that give different limit values, good luck!
As a third option, you can also try using the Squeeze Theorem since there is a very obvious sine function in the expression.
Solution.
Let’s go with the third option and use the Squeeze Theorem because the sine function is bounded.
Since \(\sin\lp \dfrac{1}{x^2 + y^2} \rp\) is bounded between \(-1\) and \(1\text{,}\) we have
\begin{equation*} -3x^2 \leq 3x^2 \sin\lp \dfrac{1}{x^2 + y^2} \rp \leq 3x^2 \end{equation*}
As \((x,y) \to (0,0)\text{,}\) both bounds approach zero. By the Squeeze Theorem, we conclude that
\begin{equation*} \lim_{(x,y) \to (0,0)} 3x^2 \sin\lp \dfrac{1}{x^2 + y^2} \rp = 0 \end{equation*}
It takes practice and trial and error to find the right approach to evaluate a limit. If one approach doesn’t work, try another approach!

Worksheet Assigned Problems for Section 14.2

The problems listed below are assigned to be included in your problem set portfolio. Note that a specific selection of these problems will also form the written homework assignments. I recommend working through all of them to ensure a solid grasp of the material. Reach out to Richard for help if you get stuck or have any questions.
The solutions will be posted after the written homework due dates. If you have any questions about your work, talk to Richard and he is happy to discuss the process with you.

14.2.7.

Evaluate the following limit using continuity
\begin{equation*} \lim_{(x,y) \to (1,1)} \frac{e^{x^2} - e^{-y^2}}{x + y} \end{equation*}
Solution.
The function is the quotient of two continuous functions, and the denominator is not zero at the point \((1,1)\text{.}\) Therefore, the function is continuous at this point, and we may compute the limit by substitution.
\begin{equation*} \lim_{(x,y) \to (1,1)} \frac{e^{x^2} - e^{-y^2}}{x + y} = \frac{e^{1^2} - e^{-1^2}}{1 + 1} = \frac{e - e^{-1}}{2} \end{equation*}

14.2.13.

Does \(\ds \lim_{(x,y) \to (0,0)} \dfrac{y^2}{x^2 + y^2}\) exist? Explain.
Solution.
This limit does not exist. Consider the following paths to the point \((x,y) = (0,0)\text{.}\) First along the line \(x = 0\) and second along the line \(y = x\text{.}\)
First along the line \(x = 0\text{,}\) we have
\begin{equation*} \lim_{y \to 0} \dfrac{y^2}{0^2 + y^2} = \lim_{y \to 0} 1 = 1 \end{equation*}
So along the line \(x = 0\text{,}\) the limit is 1.
Next along the line \(y = x\text{,}\) we have
\begin{equation*} \lim_{x \to 0} \dfrac{x^2}{x^2 + x^2} = \lim_{x \to 0} \dfrac{1}{2} = \dfrac{1}{2} \end{equation*}
So along the line \(y = x\text{,}\) the limit is \(\dfrac{1}{2}\text{.}\)
Since these two limits are not equal, the limit in question does not exist.

14.2.15.

Let \(f(x,y) = \dfrac{x^3 + y^3}{xy^2}\text{.}\) Set \(y = mx\) and show that the resulting limit depends on \(m\text{,}\) and therefore the limit \(\ds \lim_{(x,y) \to (0,0)} f(x,y)\) does not exist.
Solution.
We have
\begin{equation*} f(x,mx) = \frac{x^3 + (mx)^3}{x(mx)^2} = \frac{\lp m^3 + 1 \rp x^3}{m^2x^3} = \frac{m^3 + 1}{m^2} \end{equation*}
So \(f\) is a constant along any line through the origin. Since \(\dfrac{m^3 + 1}{m^2}\) is not a constant function of \(m\text{,}\) the limit of \(f(x,mx)\) depends on \(m\text{.}\) For example,
\begin{align*} \text{When } m = 2, \, \amp \lim_{x\to 0} f(x.mx) = \lim_{x\to 0} \frac{2^3 + 1}{2^2} = \frac{9}{4} \\ \text{When } m = 1, \, \amp \lim_{x\to 0} f(x.mx) = \lim_{x\to 0} \frac{1^3 + 1}{1^2} = 2 \end{align*}
Therefore, the limit in question does not exist.

14.2.21.

Evaluate the limit \(\ds \lim_{(x,y) \to (0,0)} \dfrac{xy}{3x^2 + 2y^2}\) or show that it does not exist.
Solution.
This limit does not exist. Consider the limit as \((x,y) \to (0,0)\) along the line \(y = mx\text{.}\)
\begin{equation*} \lim_{x\to 0} \frac{x(mx)}{3x^2 + 2(mx)^2} = \lim_{x\to 0} \frac{mx^2}{x^2 \lp 3 + 2m^2 \rp} = \lim_{x\to 0}\frac{m}{3+2m^2} \end{equation*}
This value is different for different values of \(m\text{,}\) so the limit depends on the path taken and the limit in question does not exist.

14.2.25.

Use the Squeeze Theorem to evaluate
\begin{equation*} \lim_{(x,y) \to (4,0)} \lp x^2 - 16 \rp \cos\lp \frac{1}{(x - 4)^2 + y^2} \rp \end{equation*}
Solution.
Consider the following inequalities:
\begin{equation*} -1 \leq \cos\lp \frac{1}{(x - 4)^2 + y^2} \rp \leq 1 \end{equation*}
Then for \(x\) such that \(x \geq 4\) then \(x^2 - 16 \geq 0\text{,}\) so we have
\begin{gather*} -\lp x^2 - 16 \rp \leq \lp x^2 - 16 \rp \cos\lp \frac{1}{(x - 4)^2 + y^2} \rp \leq \lp x^2 - 16 \rp \\ \lim_{(x,y) \to (4,0)} -\lp x^2 - 16 \rp \leq \lim_{(x,y) \to (4,0)} \lp x^2 - 16 \rp \cos\lp \frac{1}{(x - 4)^2 + y^2} \rp \leq \lim_{(x,y) \to (4,0)} \lp x^2 - 16 \rp \end{gather*}
Then the two limits at the ends of the inequality are clearly equal to \(0\text{,}\) by the Squeeze Theorem.
Now, if \(x \lt 4\text{,}\) then \(x^2 - 16 \lt 0\text{,}\) so we have
\begin{gather*} \lp x^2 - 16 \rp \leq \lp x^2 - 16 \rp \cos\lp \frac{1}{(x - 4)^2 + y^2} \rp \leq -\lp x^2 - 16 \rp \\ \lim_{(x,y) \to (4,0)} \lp x^2 - 16 \rp \leq \lim_{(x,y) \to (4,0)} \lp x^2 - 16 \rp \cos\lp \frac{1}{(x - 4)^2 + y^2} \rp \leq \lim_{(x,y) \to (4,0)} -\lp x^2 - 16 \rp \end{gather*}
Then the two limits at the ends of the inequality are clearly equal to \(0\text{,}\) by the Squeeze Theorem.
Thus, we can conclude
\begin{equation*} \lim_{(x,y) \to (4,0)} \lp x^2 - 16 \rp \cos\lp \frac{1}{(x - 4)^2 + y^2} \rp = 0 \end{equation*}

Exercise Group.

For the following exercises, evaluate the limit or determine that it does not exist.
14.2.31.
\(\ds \lim_{(x,y) \to (3,4)} \dfrac{1}{\sqrt{x^2 + y^2}}\)
Solution.
The function \(\dfrac{1}{\sqrt{x^2 + y^2}}\) is continuous at the point \((3,4)\) since it is the quotient of two continuous functions and the denominator is not zero at \((3,4)\text{.}\) We compute the limit by substitution:
\begin{equation*} \lim_{(x,y) \to (3,4)} \dfrac{1}{\sqrt{x^2 + y^2}} = \dfrac{1}{\sqrt{3^2 + 4^2}} = \dfrac{1}{5} \end{equation*}
14.2.33.
\(\ds \lim_{(x,y) \to (\pi,0)} \dfrac{\cos(x)}{\sin(y)}\)
Solution.
This limit does not exist. As \((x,y)\) approaches \((\pi,0)\text{,}\) the numerator approaches \(\cos\lp \pi \rp = -1\) and the denominator approaches \(\sin\lp 0 \rp = 0\text{.}\) This form \(-1/0\) indicates the limit will be unbounded. We can investigate the behavior by approaching along the line \(x = \pi\text{.}\)
Approaching \(0\) from the right (\(y \gt 0\)):
\begin{equation*} \lim_{y \to 0^+} \dfrac{\cos\lp \pi \rp}{\sin\lp y \rp} = \lim_{y \to 0^+} \dfrac{-1}{\sin\lp y \rp} = -\infty \end{equation*}
Approaching \(0\) from the left (\(y \lt 0\)):
\begin{equation*} \lim_{y \to 0^-} \dfrac{\cos\lp \pi \rp}{\sin\lp y \rp} = \lim_{y \to 0^-} \dfrac{-1}{\sin\lp y \rp} = \infty \end{equation*}
Since the function approaches different infinities depending on the direction of approach, the limit \(\text{does not exist}\text{.}\)
14.2.41.
\(\ds \lim_{(x,y) \to (0,0)} \dfrac{x^2 + y^2}{\sqrt{x^2 + y^2 + 1} - 1}\)
Solution.
We rewrite the function by dividing and multiplying it by the conjugate of \(\sqrt{x^2 + y^2 + 1} - 1\) and use the identity \((a - b)(a + b) = a^2 - b^2\text{.}\) This gives
\begin{align*} \frac{x^2 + y^2}{\sqrt{x^2 + y^2 + 1} - 1} \amp= \frac{\lp x^2 + y^2 \rp \lp \sqrt{x^2 + y^2 + 1} + 1 \rp}{\lp\sqrt{x^2 + y^2 + 1} - 1)\rp\lp\sqrt{x^2 + y^2 + 1} + 1\rp} \\ \amp= \frac{\lp x^2 + y^2 \rp \lp \sqrt{x^2 + y^2 + 1} + 1 \rp}{x^2 + y^2 + 1 - 1} \\ \amp= \frac{\lp x^2 + y^2 \rp \lp \sqrt{x^2 + y^2 + 1} + 1 \rp}{x^2 + y^2} \\ \amp= \sqrt{x^2 + y^2 + 1} + 1 \end{align*}
This resulting function is continuous, hence we may compute the limit by substitution:
\begin{align*} \lim_{(x,y) \to (0,0)} \dfrac{x^2 + y^2}{\sqrt{x^2 + y^2 + 1} - 1} \amp= \lim_{(x,y) \to (0,0)} \lp \sqrt{x^2 + y^2 + 1} + 1 \rp \\ \amp= \sqrt{0^2 + 0^2 + 1} + 1 \\ \amp= 2 \end{align*}