Skip to main content

Section 3.7 PD2: Limits and Continuity in Many Variables

Handout PD2: Lecture Scaffold

For functions with two or more variables, the notion of a limit has the same intuitive and technical definition.
Intuitively: the limit of \(f(x,y)\) as \((x,y)\) approaches \((x_0,y_0)\) describes the behaviour of the values of the function \(f(x,y)\) as the inputs \((x,y)\) get arbitrarily close to \((x_0,y_0)\)

Definition 3.7.1.

Let \(f(x,y)\) be a function of two variables and assume that every disc centred at \((x_0,y_0)\) contains a point in the domain of \(f\) (notably, the point \((x_0,y_0)\) may or may note lie in the domain). We say that \(f(x,y)\) approaches the limit \(L\) as \((x,y)\) approaches \((x_0,y_0)\) and write:
\begin{equation*} \lim_{(x,y)\to (x_0,y_0)}f(x,y)=L \end{equation*}
if, for every number \(\epsilon> 0\text{,}\) there exists a corresponding number \(\delta > 0\) such that for all \((x,y)\) in the domain of \(f\text{,}\) we have:
\begin{equation*} |f(x,y)-L|<0 \end{equation*}
whenever
\begin{equation*} 0< |\sqrt{(x-x_0)^2+(y-y_0)^2}|< \delta. \end{equation*}
The following rules hold if \(L\text{,}\) \(M\text{,}\) and \(k\) are real numbers and \(\lim_{(x,y)\to(x_0,y_0)} f(x,y) = L\) and \(\lim_{(x,y)\to(x_0,y_0)} g(x,y) = M\text{.}\)
  1. Sum Rule.
    \(\displaystyle \lim_{(x,y)\to(x_0,y_0)} [f(x,y) + g(x,y)] = L + M\)
  2. Difference Rule.
    \(\displaystyle \lim_{(x,y)\to(x_0,y_0)} [f(x,y) - g(x,y)] = L - M\)
  3. Constant Multiple Rule.
    \(\lim_{(x,y)\to(x_0,y_0)} k f(x,y) = k L\) (any number \(k\))
  4. Product Rule.
    \(\displaystyle \lim_{(x,y)\to(x_0,y_0)} [f(x,y) \cdot g(x,y)] = L \cdot M\)
  5. Quotient Rule.
    \(\lim_{(x,y)\to(x_0,y_0)} \frac{f(x,y)}{g(x,y)} = \frac{L}{M}\text{,}\) \(M \neq 0\)
  6. Power Rule.
    \(\lim_{(x,y)\to(x_0,y_0)} [f(x,y)]^n = L^n\text{,}\) \(n\) a positive integer
  7. Root Rule.
    \(\lim_{(x,y)\to(x_0,y_0)} \sqrt[n]{f(x,y)} = \sqrt[n]{L} = L^{1/n}\text{,}\) \(n\) a positive integer, and if \(n\) is even, we assume that \(L \gt 0\text{.}\)
  8. Composition Rule.
    If \(h(z)\) is continuous at \(z = L\text{,}\) then
    \begin{equation*} \lim_{(x,y)\to(x_0,y_0)} h(f(x,y)) = h(L) \end{equation*}

Example 3.7.3.

Justify the steps given in evaluating the following limits:
  1. \begin{equation*} \lim_{(x,y)\to(0,1)} \frac{x - xy + 3}{x^2 y + 5xy - y^3} = \frac{0 - (0)(1) + 3}{(0)^2(1) + 5(0)(1) - (1)^3} = -3 \end{equation*}
  2. \begin{align*} \lim_{(x,y)\to(3,-4)} \sqrt{x^2 + y^2} \amp = \sqrt{\lim_{(x,y)\to(3,-4)} (x^2 + y^2)}\\ \amp = \sqrt{3^2 + (-4)^2}\\ \amp = \sqrt{25} = 5 \end{align*}
  3. \begin{align*} \lim_{(x,y)\to(\pi/2,0)} \left( \frac{x}{\sin x} - \frac{\sin y}{y} \right) \amp = \lim_{(x,y)\to(\pi/2,0)} \frac{x}{\sin x} - \lim_{(x,y)\to(\pi/2,0)} \frac{\sin y}{y}\\ \amp = \lim_{x\to\pi/2} \frac{x}{\sin x} - \lim_{y\to 0} \frac{\sin y}{y}\\ \amp = \frac{\pi}{2} - 1 \end{align*}

Example 3.7.4.

Find \(\lim_{(x,y)\to(0,0)}\frac{x^2-xy}{\sqrt{x}-\sqrt{y}}\)
While we can evaluate a lot of limits using these properties, there are many more for which we will need to rely on the limit definition and/or the squeeze-theorem:
[Squeeze Theorem] Suppose that \(0\leq|f(x,y)-L|\leq g(x,y)\text{.}\) If we know that \(\lim_{(x,y)\to(x_0,y_0)}g(x,y)=0\text{,}\) then it follows that:
\begin{equation*} \lim_{(x,y)\to (x_0,y_0)}f(x,y)=L. \end{equation*}

Example 3.7.5.

Evaluate \(\lim_{(x,y)\to (0,0)}\frac{4xy^2}{x^2+y^2}=0\)

Example 3.7.6.

Evaluate \(\lim_{(x,y)\to(0,0)}\frac{2x^2y}{x^4+y^2}.\)

Takeaways.

To prove that a limit exists, one needs to use the definition, invoke previously proven properties, or use the squeeze theorem (or a combination).
To show that a limit does not exist, one approach is: demonstrate that you can find two distinct approaches to \((x_0,y_0)\) for which we obtain different path-wise limits.
Our previous example tells us: it is not sufficient to consider only straight-line paths!!
While limits are more complex, they lead to the same notion of continuity as single-variable functions:

Definition 3.7.7.

Suppose that every open circular disc centred at \((x_0,y_0)\) contains a points in the domain of \(f\) other than \((x_0,y_0)\) itself. Then, \(f(x,y)\) is continuous at the point \((x_0,y_0)\) if:
  1. \(f\) is defined at \((x_0,y_0)\)
  2. \(\lim_{(x,y)\to (x_0,y_0)}f(x,y)\) exists
  3. \(\displaystyle \lim_{(x,y)\to (x_0,y_0)}f(x,y)=f(x_0,y_0)\)

Example 3.7.8.

Discuss the continuity of the functions:
\begin{equation*} f(x,y) = \begin{cases} \frac{4xy^2}{x^2 + y^2}, \amp (x,y) \neq (0,0) \\ 0, \amp (x,y) = (0,0). \end{cases} \end{equation*}
\begin{equation*} g(x,y) = \begin{cases} \frac{2x^2y}{x^4 + y^2}, \amp (x,y) \neq (0,0) \\ 0, \amp (x,y) = (0,0). \end{cases} \end{equation*}
and

Problem 3.7.9 PD2 Representative Assessment.

(a)

Explain and demonstrate how to evaluate the following limits:
  1. \(\displaystyle \lim_{\substack{(x,y)\to (2,2) \\ x+y\neq 4}}\frac{x+y-4}{\sqrt{x+y}-2}\)
  2. \(\displaystyle \lim_{(x,y)\to (0,0)}\frac{\sin(x^2+y^2)}{x^2+y^2}\)
Solution.
For the first limit, we multiply the top and bottom of the expression by \(\sqrt{x+y}+2\text{:}\)
\begin{equation*} \lim_{\substack{(x,y)\to (2,2) \\ x+y\neq 4}}\frac{x+y-4}{\sqrt{x+y}-2}=\lim_{\substack{(x,y)\to (2,2) \\ x+y\neq 4}}\frac{(x+y-4)(\sqrt{x+y}+2)}{x+y-4}=\lim_{\substack{(x,y)\to (2,2) \\ x+y\neq 4}}(\sqrt{x+y}+2) \end{equation*}
this last limit is equal to \(\sqrt{2+2}+2=4\text{.}\)
For the second limit, we note that the function \(f(x,y)=x^2+y^2\) is continuous at \((0,0)\) with limit equal to \(0\text{.}\) Further, we recall that \(\lim_{t\to 0}\frac{\sin{t}}{t}=1\text{.}\) It follows that, by properties of limits, we have:
\begin{equation*} \lim_{(x,y)\to (0,0)}\frac{\sin(x^2+y^2)}{x^2+y^2}=1. \end{equation*}

(b)

Explain and demonstrate why the following limit does not exist:
\begin{equation*} \lim_{(x,y)\to(0,0)}\frac{x^2y}{x^4+y^2} \end{equation*}
Solution.
Multiple different solutions possible. First, if we approach along the \(x\)-axis where \(y=0\text{,}\) then since the numerator is always \(0\text{,}\) the corresponding path limit is equal to \(0\text{.}\) That is, if the limit exists, it must be equal to \(0\text{.}\)
However, suppose we approach the origin along the path \((t,t^2)\text{.}\) If we replace \((x,y)\) with \((t,t^2)\) then the function becomes:
\begin{equation*} \frac{x^2y}{x^4+x^2}=\frac{t^4}{2t^4}=\frac{1}{2}, \end{equation*}
and the corresponding path-limit is \(\frac{1}{2}\text{.}\)
This shows that that there are at least two ways to approach the origin that give different limiting values and so: the limit does not exist.

(c)

Explain and demonstrate why:
\begin{equation*} \lim_{(x,y)\to(0,0)}\frac{x^2y^2}{x^4+y^2}=0. \end{equation*}
Solution.
Multiple different solutions possible. One approach is to observe that for \(|y|<1\text{,}\) we have \(y^2\leq x^4+y^2\) so:
\begin{equation*} \frac{x^2y^2}{x^4+y^2}\leq\frac{x^2y^2}{y^2}=x^2. \end{equation*}
Since our function is always non-negative and the limit of \(x^2\) as \((x,y)\to (0,0)\) is \(0\text{,}\) the squeeze theorem implies that the limit of the original function is also \(0\text{.}\)