MX Calculus Limits and Continuity

Section 4.2Limits and Continuity

We have now examined functions of more than one variable and seen how to graph them. In this section, we see how to take the limit of a function of more than one variable, and what it means for a function of more than one variable to be continuous at a point in its domain. It turns out these concepts have aspects that just don’t occur with functions of one variable.

Limit of a Function of Two Variables

Recall from The Limit of a Function the definition of a limit of a function of one variable:

Let \(f(x)\) be defined for all \(x\ne a\) in an open interval containing \(a.\) Let \(L\) be a real number. Then

\[\underset{x\to a}{\text{lim}}f(x)=L\]

if for every \(ε>0,\) there exists a \(δ>0,\) such that if \(0<|x-a|<δ\) for all \(x\) in the domain of \(f,\) then

\[|f(x)-L|<ε.\]

Before we can adapt this definition to define a limit of a function of two variables, we first need to see how to extend the idea of an open interval in one variable to an open interval in two variables.

Definition

Consider a point \((a,b)\in {ℝ}^{2}.\) A \(δ\) disk centered at point \((a,b)\) is defined to be an open disk of radius \(δ\) centered at point \((a,b)\) —that is,

\[\{(x,y)\in {ℝ}^{2}|{(x-a)}^{2}+{(y-b)}^{2}<{δ}^{2}\}\]

as shown in the following graph.

On the xy plane, the point (2, 1) is shown, which is the center of a circle of radius δ.
Figure 1 — A \(δ\) disk centered around the point \((2,1).\)

The idea of a \(δ\) disk appears in the definition of the limit of a function of two variables. If \(δ\) is small, then all the points \((x,y)\) in the \(δ\) disk are close to \((a,b).\) This is completely analogous to \(x\) being close to \(a\) in the definition of a limit of a function of one variable. In one dimension, we express this restriction as

\[a-δ<x<a+δ.\]

In more than one dimension, we use a \(δ\) disk.

Definition

Let \(f\) be a function of two variables, \(x\) and \(y.\) The limit of \(f(x,y)\) as \((x,y)\) approaches \((a,b)\) is \(L,\) written

\[\underset{(x,y)\to (a,b)}{\text{lim}}f(x,y)=L\]

if for each \(ε>0\) there exists a small enough \(δ>0\) such that for all points \((x,y)\) in a \(δ\) disk around \((a,b),\) except possibly for \((a,b)\) itself, the value of \(f(x,y)\) is no more than \(ε\) away from \(L\) (Figure 2). Using symbols, we write the following: For any \(ε>0,\) there exists a number \(δ>0\) such that

\[|f(x,y)-L|<ε\,\text{whenever}\,0<\sqrt{{(x-a)}^{2}+{(y-b)}^{2}}<δ.\]

In xyz space, a function is drawn with point L. This point L is the center of a circle of radius ॉ, with points L ± ॉ marked. On the xy plane, there is a point (a, b) drawn with a circle of radius δ around it. This is denoted the δ-disk. There are dashed lines up from the δ-disk to make a disk on the function, which is called the image of delta disk. Then there are dashed lines from this disk to the circle around the point L, which is called the ॉ-neighborhood of L.
Figure 2 — The limit of a function involving two variables requires that \(f(x,y)\) be within \(ε\) of \(L\) whenever \((x,y)\) is within \(δ\) of \((a,b).\) The smaller the value of \(ε,\) the smaller the value of \(δ.\)

Proving that a limit exists using the definition of a limit of a function of two variables can be challenging. Instead, we use the following theorem, which gives us shortcuts to finding limits. The formulas in this theorem are an extension of the formulas in the limit laws theorem in The Limit Laws.

Limit laws for functions of two variables

Let \(f(x,y)\) and \(g(x,y)\) be defined for all \((x,y)\ne (a,b)\) in a neighborhood around \((a,b),\) and assume the neighborhood is contained completely inside the domain of \(f.\) Assume that \(L\) and \(M\) are real numbers such that \(\underset{(x,y)\to (a,b)}{\text{lim}}f(x,y)=L\) and \(\underset{(x,y)\to (a,b)}{\text{lim}}g(x,y)=M,\) and let \(c\) be a constant. Then each of the following statements holds:

Constant Law:

\[\underset{(x,y)\to (a,b)}{\text{lim}}c=c\]

Identity Laws:

\[\underset{(x,y)\to (a,b)}{\text{lim}}x=a\]

\[\underset{(x,y)\to (a,b)}{\text{lim}}y=b\]

Sum Law:

\[\underset{(x,y)\to (a,b)}{\text{lim}}(f(x,y)+g(x,y))=L+M\]

Difference Law:

\[\underset{(x,y)\to (a,b)}{\text{lim}}(f(x,y)-g(x,y))=L-M\]

Constant Multiple Law:

\[\underset{(x,y)\to (a,b)}{\text{lim}}(cf(x,y))=cL\]

Product Law:

\[\underset{(x,y)\to (a,b)}{\text{lim}}(f(x,y)g(x,y))=LM\]

Quotient Law:

\[\underset{(x,y)\to (a,b)}{\text{lim}}\frac{f(x,y)}{g(x,y)}=\frac{L}{M}\,\text{for}\,M\ne 0\]

Power Law:

\[\underset{(x,y)\to (a,b)}{\text{lim}}{(f(x,y))}^{n}={L}^{n}\]

for any positive integer \(n.\)

Root Law:

\[\underset{(x,y)\to (a,b)}{\text{lim}}\sqrt[n]{f(x,y)}=\sqrt[n]{L}\]

for all \(L\) if \(n\) is odd and positive, and for \(L\ge 0\) if \(n\) is even and positive provided that \(f(x,y)\ge 0\) for all \((x,y)\ne (a,b)\) in neighborhood of \((a,b)\) .

The proofs of these properties are similar to those for the limits of functions of one variable. We can apply these laws to finding limits of various functions.

Example 1

Find each of the following limits:

  • \(\underset{(x,y)\to (2,-1)}{\text{lim}}({x}^{2}-2xy+3{y}^{2}-4x+3y-6)\)
  • \(\underset{(x,y)\to (2,-1)}{\text{lim}}\frac{2x+3y}{4x-3y}\)

Break the limit apart term by term using the sum, difference, and constant multiple laws, then finish with the identity and power laws.

  • First use the sum and difference laws to separate the terms:

    Next, use the constant multiple law on the second, third, fourth, and fifth limits:

    Now, use the power law on the first and third limits, and the product law on the second limit:

    Last, use the identity laws on the first six limits and the constant law on the last limit:
    \(\begin{array}{ll}\underset{(x,y)\to (2,-1)}{\text{lim}}({x}^{2}-2xy+3{y}^{2}-4x+3y-6) & ={(2)}^{2}-2(2)(-1)+3{(-1)}^{2}-4(2)+3(-1)-6 \\ & =-6.\end{array}\)

    \[\begin{array}{l} \\ \underset{(x,y)\to (2,-1)}{\text{lim}}({x}^{2}-2xy+3{y}^{2}-4x+3y-6) \\ =(\underset{(x,y)\to (2,-1)}{\text{lim}}{x}^{2})-(\underset{(x,y)\to (2,-1)}{\text{lim}}2xy)+(\underset{(x,y)\to (2,-1)}{\text{lim}}3{y}^{2})-(\underset{(x,y)\to (2,-1)}{\text{lim}}4x) \\ \,+(\underset{(x,y)\to (2,-1)}{\text{lim}}3y)-(\underset{(x,y)\to (2,-1)}{\text{lim}}6).\end{array}\]

    \[\begin{array}{l} \\ \\ =(\underset{(x,y)\to (2,-1)}{\text{lim}}{x}^{2})-2(\underset{(x,y)\to (2,-1)}{\text{lim}}xy)+3(\underset{(x,y)\to (2,-1)}{\text{lim}}{y}^{2})-4(\underset{(x,y)\to (2,-1)}{\text{lim}}x) \\ \,+3(\underset{(x,y)\to (2,-1)}{\text{lim}}y)-\underset{(x,y)\to (2,-1)}{\text{lim}}6.\end{array}\]

    \[\begin{array}{l} \\ \\ \\ ={(\underset{(x,y)\to (2,-1)}{\text{lim}}x)}^{2}-2(\underset{(x,y)\to (2,-1)}{\text{lim}}x)(\underset{(x,y)\to (2,-1)}{\text{lim}}y)+3{(\underset{(x,y)\to (2,-1)}{\text{lim}}y)}^{2} \\ \,-4(\underset{(x,y)\to (2,-1)}{\text{lim}}x)+3(\underset{(x,y)\to (2,-1)}{\text{lim}}y)-\underset{(x,y)\to (2,-1)}{\text{lim}}6.\end{array}\]

  • Before applying the quotient law, we need to verify that the limit of the denominator is nonzero. Using the difference law, constant multiple law, and identity law,

    Since the limit of the denominator is nonzero, the quotient law applies. We now calculate the limit of the numerator using the difference law, constant multiple law, and identity law:

    Therefore, according to the quotient law we have

    \[\begin{array}{ll}\underset{(x,y)\to (2,-1)}{\text{lim}}(4x-3y) & =\underset{(x,y)\to (2,-1)}{\text{lim}}4x-\underset{(x,y)\to (2,-1)}{\text{lim}}3y \\ & =4(\underset{(x,y)\to (2,-1)}{\text{lim}}x)-3(\underset{(x,y)\to (2,-1)}{\text{lim}}y) \\ & =4(2)-3(-1)=11.\end{array}\]

    \[\begin{array}{ll}\underset{(x,y)\to (2,-1)}{\text{lim}}(2x+3y) & =\underset{(x,y)\to (2,-1)}{\text{lim}}2x+\underset{(x,y)\to (2,-1)}{\text{lim}}3y \\ & =2(\underset{(x,y)\to (2,-1)}{\text{lim}}x)+3(\underset{(x,y)\to (2,-1)}{\text{lim}}y) \\ & =2(2)+3(-1) \\ & =1.\end{array}\]

    \[\underset{(x,y)\to (2,-1)}{\text{lim}}\frac{2x+3y}{4x-3y}=\frac{\underset{(x,y)\to (2,-1)}{\text{lim}}(2x+3y)}{\underset{(x,y)\to (2,-1)}{\text{lim}}(4x-3y)}=\frac{1}{11}.\]

Try It #1

Evaluate the following limit:

\[\underset{(x,y)\to (5,-2)}{\text{lim}}\sqrt[3]{\frac{{x}^{2}-y}{{y}^{2}+x-1}}.\]

\(\underset{(x,y)\to (5,-2)}{\text{lim}}\sqrt[3]{\frac{{x}^{2}-y}{{y}^{2}+x-1}}=\frac{3}{2}\)

Did you get it?

Since we are taking the limit of a function of two variables, the point \((a,b)\) is in \({ℝ}^{2},\) and it is possible to approach this point from an infinite number of directions. Sometimes when calculating a limit, the answer varies depending on the path taken toward \((a,b).\) If this is the case, then the limit fails to exist. In other words, the limit must be unique, regardless of path taken.

Example 2

Show that neither of the following limits exist:

  • \(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{2xy}{3{x}^{2}+{y}^{2}}\)
  • \(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{4x{y}^{2}}{{x}^{2}+3{y}^{4}}\)

Substitute in a couple of different straight-line (or curved) paths through the origin, like \(y=0\) and \(y=x,\) and compare the resulting values.

  • The domain of the function \(f(x,y)=\frac{2xy}{3{x}^{2}+{y}^{2}}\) consists of all points in the \(xy\text{-plane}\) except for the point \((0,0)\) (Figure 3). To show that the limit does not exist as \((x,y)\) approaches \((0,0),\) we note that it is impossible to satisfy the definition of a limit of a function of two variables because of the fact that the function takes different values along different lines passing through point \((0,0).\) First, consider the line \(y=0\) in the \(xy\text{-plane.}\) Substituting \(y=0\) into \(f(x,y)\) gives

    for any value of \(x.\) Therefore the value of \(f\) remains constant for any point on the \(x\text{-axis,}\) and as \(y\) approaches zero, the function remains fixed at zero.
    Next, consider the line \(y=x.\) Substituting \(y=x\) into \(f(x,y)\) gives

    This is true for any point on the line \(y=x.\) If we let \(x\) approach zero while staying on this line, the value of the function remains fixed at \(\frac{1}{2},\) regardless of how small \(x\) is.
    Choose a value for \(ε\) that is less than \(1\text{/}2\) —say, \(1\text{/}4.\) Then, no matter how small a \(δ\) disk we draw around \((0,0),\) the values of \(f(x,y)\) for points inside that \(δ\) disk will include both \(0\) and \(\frac{1}{2}.\) Therefore, the definition of limit at a point is never satisfied and the limit fails to exist.

    In a similar fashion to a., we can approach the origin along any straight line passing through the origin. If we try the \(x\text{-axis}\) (i.e., \(y=0),\) then the function remains fixed at zero. The same is true for the \(y\text{-axis.}\) Suppose we approach the origin along a straight line of slope \(k.\) The equation of this line is \(y=kx.\) Then the limit becomes

    regardless of the value of \(k.\) It would seem that the limit is equal to zero. What if we chose a curve passing through the origin instead? For example, we can consider the parabola given by the equation \(x={y}^{2}.\) Substituting \({y}^{2}\) in place of \(x\) in \(f(x,y)\) gives

    By the same logic in a., it is impossible to find a \(δ\) disk around the origin that satisfies the definition of the limit for any value of \(ε<1.\) Therefore, \(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{4x{y}^{2}}{{x}^{2}+3{y}^{4}}\) does not exist.

    \[f(x,0)=\frac{2x(0)}{3{x}^{2}+{0}^{2}}=0\]

    \[f(x,x)=\frac{2x(x)}{3{x}^{2}+{x}^{2}}=\frac{2{x}^{2}}{4{x}^{2}}=\frac{1}{2}.\]

    In xyz space, the function f(x, y) = 2xy/(3x2 + y2) is shown, which is a slightly twisted plane, with values of 0 along the line y = 0 and values of ½ along the line y = x.
    Figure 3 — Graph of the function \(f(x,y)=(2xy)\text{/}(3{x}^{2}+{y}^{2}).\) Along the line \(y=0,\) the function is equal to zero; along the line \(y=x,\) the function is equal to \(\frac{1}{2}.\)

    \[\begin{array}{ll}\underset{(x,y)\to (0,0)}{\text{lim}}\frac{4x{y}^{2}}{{x}^{2}+3{y}^{4}} & =\underset{(x,y)\to (0,0)}{\text{lim}}\frac{4x{(kx)}^{2}}{{x}^{2}+3{(kx)}^{4}} \\ & =\underset{(x,y)\to (0,0)}{\text{lim}}\frac{4{k}^{2}{x}^{3}}{{x}^{2}+3{k}^{4}{x}^{4}} \\ & =\underset{(x,y)\to (0,0)}{\text{lim}}\frac{4{k}^{2}x}{1+3{k}^{4}{x}^{2}} \\ & =\frac{\underset{(x,y)\to (0,0)}{\text{lim}}(4{k}^{2}x)}{\underset{(x,y)\to (0,0)}{\text{lim}}(1+3{k}^{4}{x}^{2})} \\ & =0\end{array}\]

    \[\begin{array}{ll}\underset{(x,y)\to (0,0)}{\text{lim}}\frac{4x{y}^{2}}{{x}^{2}+3{y}^{4}} & =\underset{(x,y)\to (0,0)}{\text{lim}}\frac{4({y}^{2}){y}^{2}}{{({y}^{2})}^{2}+3{y}^{4}} \\ & =\underset{(x,y)\to (0,0)}{\text{lim}}\frac{4{y}^{4}}{{y}^{4}+3{y}^{4}} \\ & =\underset{(x,y)\to (0,0)}{\text{lim}}1 \\ & =1.\end{array}\]

Try It #2

Show that

\[\underset{(x,y)\to (2,1)}{\text{lim}}\frac{(x-2)(y-1)}{{(x-2)}^{2}+{(y-1)}^{2}}\]

does not exist.

If \(y=k(x-2)+1,\) then \(\underset{(x,y)\to (2,1)}{\text{lim}}\frac{(x-2)(y-1)}{{(x-2)}^{2}+{(y-1)}^{2}}=\frac{k}{1+{k}^{2}}.\) Since the answer depends on \(k,\) the limit fails to exist.

Did you get it?

Interior Points and Boundary Points

To study continuity and differentiability of a function of two or more variables, we first need to learn some new terminology.

Definition

Let S be a subset of \({ℝ}^{2}\) (Figure 4).

  • A point \({P}_{0}\) is called an interior point of \(S\) if there is a \(δ\) disk centered around \({P}_{0}\) contained completely in \(S.\)
  • A point \({P}_{0}\) is called a boundary point of \(S\) if every \(δ\) disk centered around \({P}_{0}\) contains points both inside and outside \(S.\)
On the xy plane, a closed shape is drawn. There is a point (–1, 1) drawn on the inside of the shape, and there is a point (2, 3) drawn on the boundary. Both of these points are the centers of small circles.
Figure 4 — In the set \(S\) shown, \((-1,1)\) is an interior point and \((2,3)\) is a boundary point.
Definition

Let S be a subset of \({ℝ}^{2}\) (Figure 4).

  • \(S\) is called an open set if every point of \(S\) is an interior point.
  • \(S\) is called a closed set if it contains all its boundary points.

An example of an open set is a \(δ\) disk. If we include the boundary of the disk, then it becomes a closed set. A set that contains some, but not all, of its boundary points is neither open nor closed. For example if we include half the boundary of a \(δ\) disk but not the other half, then the set is neither open nor closed.

Definition

Let S be a subset of \({ℝ}^{2}\) (Figure 4).

  • An open set \(S\) is a connected set if it cannot be represented as the union of two or more disjoint, nonempty open subsets.
  • A set \(S\) is a region if it is open, connected, and nonempty.

The definition of a limit of a function of two variables requires the \(δ\) disk to be contained inside the domain of the function. However, if we wish to find the limit of a function at a boundary point of the domain, the \(δ\,\text{disk}\) is not contained inside the domain. By definition, some of the points of the \(δ\,\text{disk}\) are inside the domain and some are outside. Therefore, we need only consider points that are inside both the \(δ\) disk and the domain of the function. This leads to the definition of the limit of a function at a boundary point.

Definition

Let \(f\) be a function of two variables, \(x\) and \(y,\) and suppose \((a,b)\) is on the boundary of the domain of \(f.\) Then, the limit of \(f(x,y)\) as \((x,y)\) approaches \((a,b)\) is \(L,\) written

\[\underset{(x,y)\to (a,b)}{\text{lim}}f(x,y)=L,\]

if for any \(ε>0,\) there exists a number \(δ>0\) such that for any point \((x,y)\) inside the domain of \(f\) and within a suitably small distance positive \(δ\) of \((a,b),\) the value of \(f(x,y)\) is no more than \(ε\) away from \(L\) (Figure 2). Using symbols, we can write: For any \(ε>0,\) there exists a number \(δ>0\) such that

\[|f(x,y)-L|<ε\,\text{whenever}\,0<\sqrt{{(x-a)}^{2}+{(y-b)}^{2}}<δ.\]

Example 3

Prove \(\underset{(x,y)\to (4,3)}{\text{lim}}\sqrt{25-{x}^{2}-{y}^{2}}=0.\)

Note that \((4,3)\) sits on the boundary of the domain, then apply the limit laws (including the root law) directly to the expression under the radical.

The domain of the function \(f(x,y)=\sqrt{25-{x}^{2}-{y}^{2}}\) is \(\{(x,y)\in {ℝ}^{2}|{x}^{2}+{y}^{2}\le 25\},\) which is a circle of radius \(5\) centered at the origin, along with its interior as shown in the following graph.

A circle with radius 5 centered at the origin with its interior filled in.
Figure 5 — Domain of the function \(f(x,y)=\sqrt{25-{x}^{2}-{y}^{2}}.\)

We can use the limit laws, which apply to limits at the boundary of domains as well as interior points:

\[\begin{array}{ll}\underset{(x,y)\to (4,3)}{\text{lim}}\sqrt{25-{x}^{2}-{y}^{2}} & =\sqrt{\underset{(x,y)\to (4,3)}{\text{lim}}(25-{x}^{2}-{y}^{2})} \\ & =\sqrt{\underset{(x,y)\to (4,3)}{\text{lim}}25-\underset{(x,y)\to (4,3)}{\text{lim}}{x}^{2}-\underset{(x,y)\to (4,3)}{\text{lim}}{y}^{2}} \\ & =\sqrt{25-{4}^{2}-{3}^{2}} \\ & =0.\end{array}\]

See the following graph.

The upper hemisphere in xyz space with radius 5 and center the origin.
Figure 6 — Graph of the function \(f(x,y)=\sqrt{25-{x}^{2}-{y}^{2}}.\)
Try It #3

Evaluate the following limit:

\[\underset{(x,y)\to (5,-2)}{\text{lim}}\sqrt{29-{x}^{2}-{y}^{2}}.\]

\(\underset{(x,y)\to (5,-2)}{\text{lim}}\sqrt{29-{x}^{2}-{y}^{2}}=0\)

Did you get it?

Continuity of Functions of Two Variables

In Continuity, we defined the continuity of a function of one variable and saw how it relied on the limit of a function of one variable. In particular, three conditions are necessary for \(f(x)\) to be continuous at point \(x=a\text{:}\)

These three conditions are necessary for continuity of a function of two variables as well.

Definition

A function \(f(x,y)\) is continuous at a point \((a,b)\) in its domain if the following conditions are satisfied:

  • \(f(a,b)\) exists.
  • \(\underset{(x,y)\to (a,b)}{\text{lim}}f(x,y)\) exists.
  • \(\underset{(x,y)\to (a,b)}{\text{lim}}f(x,y)=f(a,b).\)
Example 4

Show that the function \(f(x,y)=\frac{3x+2y}{x+y+1}\) is continuous at point \((5,-3).\)

Check the three continuity conditions in order: that \(f(5,-3)\) exists, that the limit exists there, and that the two values agree.

There are three conditions to be satisfied, per the definition of continuity. In this example, \(a=5\) and \(b=-3.\)

  • \(f(a,b)\) exists. This is true because the domain of the function \(f\) consists of those ordered pairs for which the denominator is nonzero (i.e., \(x+y+1\ne 0).\) Point \((5,-3)\) satisfies this condition. Furthermore,

    \[f(a,b)=f(5,-3)=\frac{3(5)+2(-3)}{5+(-3)+1}=\frac{15-6}{2+1}=3.\]

  • \(\underset{(x,y)\to (a,b)}{\text{lim}}f(x,y)\) exists. This is also true:

    \[\begin{array}{ll}\underset{(x,y)\to (a,b)}{\text{lim}}f(x,y) & =\underset{(x,y)\to (5,-3)}{\text{lim}}\frac{3x+2y}{x+y+1} \\ & =\frac{\underset{(x,y)\to (5,-3)}{\text{lim}}(3x+2y)}{\underset{(x,y)\to (5,-3)}{\text{lim}}(x+y+1)} \\ & =\frac{15-6}{5-3+1} \\ & =3.\end{array}\]

  • \(\underset{(x,y)\to (a,b)}{\text{lim}}f(x,y)=f(a,b).\) This is true because we have just shown that both sides of this equation equal three.
Try It #4

Show that the function \(f(x,y)=\sqrt{26-2{x}^{2}-{y}^{2}}\) is continuous at point \((2,-3).\)

  • The domain of \(f\) contains the ordered pair \((2,-3)\) because \(f(a,b)=f(2,-3)=\sqrt{16-2{(2)}^{2}-{(-3)}^{2}}=3\)
  • \(\underset{(x,y)\to (a,b)}{\text{lim}}f(x,y)=3\)
  • \(\underset{(x,y)\to (a,b)}{\text{lim}}f(x,y)=f(a,b)=3\)
Did you get it?

Continuity of a function of any number of variables can also be defined in terms of delta and epsilon. A function of two variables is continuous at a point \(({x}_{0},{y}_{0})\) in its domain if for every \(ε>0\) there exists a \(δ>0\) such that, whenever \(\sqrt{{(x-{x}_{0})}^{2}+{(y-{y}_{0})}^{2}}<δ\) it is true, \(|f(x,y)-f(a,b)|<ε.\) This definition can be combined with the formal definition (that is, the epsilon–delta definition) of continuity of a function of one variable to prove the following theorems:

The Sum of Continuous Functions Is Continuous

If \(f(x,y)\) is continuous at \(({x}_{0},{y}_{0}),\) and \(g(x,y)\) is continuous at \(({x}_{0},{y}_{0}),\) then \(f(x,y)+g(x,y)\) is continuous at \(({x}_{0},{y}_{0}).\)

The Product of Continuous Functions Is Continuous

If \(g(x)\) is continuous at \({x}_{0}\) and \(h(y)\) is continuous at \({y}_{0},\) then \(f(x,y)=g(x)h(y)\) is continuous at \(({x}_{0},{y}_{0}).\)

The Composition of Continuous Functions Is Continuous

Let \(g\) be a function of two variables from a domain \(D⊆{ℝ}^{2}\) to a range \(R⊆ℝ.\) Suppose \(g\) is continuous at some point \(({x}_{0},{y}_{0})\in D\) and define \({z}_{0}=g({x}_{0},{y}_{0}).\) Let \(f\) be a function that maps \(ℝ\) to \(ℝ\) such that \({z}_{0}\) is in the domain of \(f.\) Last, assume \(f\) is continuous at \({z}_{0}.\) Then \(f∘g\) is continuous at \(({x}_{0},{y}_{0})\) as shown in the following figure.

A shape is shown labeled the domain of g with point (x, y) inside of it. From the domain of g there is an arrow marked g pointing to the range of g, which is a straight line with point z on it. The range of g is also marked the domain of f. Then there is another arrow marked f from this shape to a line marked range of f.
Figure 7 — The composition of two continuous functions is continuous.

Let’s now use the previous theorems to show continuity of functions in the following examples.

Example 5

Show that the functions \(f(x,y)=4{x}^{3}{y}^{2}\) and \(g(x,y)=\text{cos}(4{x}^{3}{y}^{2})\) are continuous everywhere.

Break \(f\) into the product of the single-variable polynomials \(4{x}^{3}\) and \({y}^{2},\) then apply the product-of-continuous-functions theorem, and the composition theorem for \(g.\)

The polynomials \(g(x)=4{x}^{3}\) and \(h(y)={y}^{2}\) are continuous at every real number, and therefore by the product of continuous functions theorem, \(f(x,y)=4{x}^{3}{y}^{2}\) is continuous at every point \((x,y)\) in the \(xy\text{-plane.}\) Since \(f(x,y)=4{x}^{3}{y}^{2}\) is continuous at every point \((x,y)\) in the \(xy\text{-plane}\) and \(g(x)=\text{cos}\,x\) is continuous at every real number \(x,\) the continuity of the composition of functions tells us that \(g(x,y)=\text{cos}(4{x}^{3}{y}^{2})\) is continuous at every point \((x,y)\) in the \(xy\text{-plane.}\)

Try It #5

Show that the functions \(f(x,y)=2{x}^{2}{y}^{3}+3\) and \(g(x,y)={(2{x}^{2}{y}^{3}+3)}^{4}\) are continuous everywhere.

The polynomials \(g(x)=2{x}^{2}\) and \(h(y)={y}^{3}\) are continuous at every real number; therefore, by the product of continuous functions theorem, \(f(x,y)=2{x}^{2}{y}^{3}\) is continuous at every point \((x,y)\) in the \(xy\text{-plane.}\) Furthermore, any constant function is continuous everywhere, so \(g(x,y)=3\) is continuous at every point \((x,y)\) in the \(xy\text{-plane.}\) Therefore, \(f(x,y)=2{x}^{2}{y}^{3}+3\) is continuous at every point \((x,y)\) in the \(xy\text{-plane.}\) Last, \(h(x)={x}^{4}\) is continuous at every real number \(x,\) so by the continuity of composite functions theorem \(g(x,y)={(2{x}^{2}{y}^{3}+3)}^{4}\) is continuous at every point \((x,y)\) in the \(xy\text{-plane.}\)

Did you get it?

Functions of Three or More Variables

The limit of a function of three or more variables occurs readily in applications. For example, suppose we have a function \(f(x,y,z)\) that gives the temperature at a physical location \((x,y,z)\) in three dimensions. Or perhaps a function \(g(x,y,z,t)\) can indicate air pressure at a location \((x,y,z)\) at time \(t.\) How can we take a limit at a point in \({ℝ}^{3}?\) What does it mean to be continuous at a point in four dimensions?

The answers to these questions rely on extending the concept of a \(δ\) disk into more than two dimensions. Then, the ideas of the limit of a function of three or more variables and the continuity of a function of three or more variables are very similar to the definitions given earlier for a function of two variables.

Definition

Let \(({x}_{0},{y}_{0},{z}_{0})\) be a point in \({ℝ}^{3}.\) Then, a \(δ\) ball in three dimensions consists of all points in \({ℝ}^{3}\) lying at a distance of less than \(δ\) from \(({x}_{0},{y}_{0},{z}_{0})\) —that is,

\[\{(x,y,z)\in {ℝ}^{3}|\sqrt{{(x-{x}_{0})}^{2}+{(y-{y}_{0})}^{2}+{(z-{z}_{0})}^{2}}<δ\}.\]

To define a \(δ\) ball in higher dimensions, add additional terms under the radical to correspond to each additional dimension. For example, given a point \(P=({w}_{0},{x}_{0},{y}_{0},{z}_{0})\) in \({ℝ}^{4},\) a \(δ\) ball around \(P\) can be described by

\[\{(w,x,y,z)\in {ℝ}^{4}|\sqrt{{(w-{w}_{0})}^{2}+{(x-{x}_{0})}^{2}+{(y-{y}_{0})}^{2}+{(z-{z}_{0})}^{2}}<δ\}.\]

To show that a limit of a function of three variables exists at a point \(({x}_{0},{y}_{0},{z}_{0}),\) it suffices to show that for any point in a \(δ\) ball centered at \(({x}_{0},{y}_{0},{z}_{0}),\) the value of the function at that point is arbitrarily close to a fixed value (the limit value). All the limit laws for functions of two variables hold for functions of more than two variables as well.

Example 6

Find \(\underset{(x,y,z)\to (4,1,-3)}{\text{lim}}\frac{{x}^{2}y-3z}{2x+5y-z}.\)

Before applying the quotient law, first confirm the limit of the denominator is nonzero.

Before we can apply the quotient law, we need to verify that the limit of the denominator is nonzero. Using the difference law, the identity law, and the constant law,

\[\begin{array}{ll}\underset{(x,y,z)\to (4,1,-3)}{\text{lim}}(2x+5y-z) & =2(\underset{(x,y,z)\to (4,1,-3)}{\text{lim}}x)+5(\underset{(x,y,z)\to (4,1,-3)}{\text{lim}}y)-(\underset{(x,y,z)\to (4,1,-3)}{\text{lim}}z) \\ & =2(4)+5(1)-(-3) \\ & =16.\end{array}\]

Since this is nonzero, we next find the limit of the numerator. Using the product law, difference law, constant multiple law, and identity law,

\[\begin{array}{ll}\underset{(x,y,z)\to (4,1,-3)}{\text{lim}}({x}^{2}y-3z) & ={(\underset{(x,y,z)\to (4,1,-3)}{\text{lim}}x)}^{2}(\underset{(x,y,z)\to (4,1,-3)}{\text{lim}}y)-3\underset{(x,y,z)\to (4,1,-3)}{\text{lim}}z \\ & =({4}^{2})(1)-3(-3) \\ & =16+9 \\ & =25.\end{array}\]

Last, applying the quotient law:

\[\begin{array}{ll}\underset{(x,y,z)\to (4,1,-3)}{\text{lim}}\frac{{x}^{2}y-3z}{2x+5y-z} & =\frac{\underset{(x,y,z)\to (4,1,-3)}{\text{lim}}({x}^{2}y-3z)}{\underset{(x,y,z)\to (4,1,-3)}{\text{lim}}(2x+5y-z)} \\ & =\frac{25}{16}.\end{array}\]

Try It #6

Find \(\underset{(x,y,z)\to (4,-1,3)}{\text{lim}}\sqrt{13-{x}^{2}-2{y}^{2}+{z}^{2}}.\)

\(\underset{(x,y,z)\to (4,-1,3)}{\text{lim}}\sqrt{13-{x}^{2}-2{y}^{2}+{z}^{2}}=2\)

Did you get it?

Key Concepts

Section Exercises

For the following exercises, find the limit of the function.

1

\(\underset{(x,y)\to (1,2)}{\text{lim}}x\)

2

\(\underset{(x,y)\to (1,2)}{\text{lim}}\frac{5{x}^{2}y}{{x}^{2}+{y}^{2}}\)

2.0

3

Show that the limit \(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{5{x}^{2}y}{{x}^{2}+{y}^{2}}\) exists and is the same along the paths: \(y\text{-axis}\) and \(x\text{-axis,}\) and along \(y=x.\)

For the following exercises, evaluate the limits at the indicated values of \(x\,\text{and}\,y.\) If the limit does not exist, state this and explain why the limit does not exist.

4

\(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{4{x}^{2}+10{y}^{2}+4}{4{x}^{2}-10{y}^{2}+6}\)

\(\frac{2}{3}\)

5

\(\underset{(x,y)\to (11,13)}{\text{lim}}\sqrt{\frac{1}{xy}}\)

6

\(\underset{(x,y)\to (0,1)}{\text{lim}}\frac{{y}^{2}\text{sin}\,x}{x}\)

\(1\)

7

\(\underset{(x,y)\to (0,0)}{\text{lim}}\text{sin}(\frac{{x}^{8}+{y}^{7}}{x-y+10})\)

8

\(\underset{(x,y)\to (\pi \text{/}4,1)}{\text{lim}}\frac{y\,\text{tan}\,x}{y+1}\)

\(\frac{1}{2}\)

9

\(\underset{(x,y)\to (0,\pi \text{/}4)}{\text{lim}}\frac{\text{sec}\,x+2}{3x-\text{tan}\,y}\)

10

\(\underset{(x,y)\to (2,5)}{\text{lim}}(\frac{1}{x}-\frac{5}{y})\)

\(-\frac{1}{2}\)

11

\(\underset{(x,y)\to (4,4)}{\text{lim}}x\,\text{ln}\,y\)

12

\(\underset{(x,y)\to (4,4)}{\text{lim}}{e}^{\text{-}{x}^{2}-{y}^{2}}\)

\({e}^{-32}\)

13

\(\underset{(x,y)\to (0,0)}{\text{lim}}\sqrt{9-{x}^{2}-{y}^{2}}\)

14

\(\underset{(x,y)\to (1,2)}{\text{lim}}({x}^{2}{y}^{3}-{x}^{3}{y}^{2}+3x+2y)\)

\(11.0\)

15

\(\underset{(x,y)\to (\pi ,\pi )}{\text{lim}}x\,\text{sin}(\frac{x+y}{4})\)

16

\(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{xy+1}{{x}^{2}+{y}^{2}+1}\)

\(1.0\)

17

\(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{{x}^{2}+{y}^{2}}{\sqrt{{x}^{2}+{y}^{2}+1}-1}\)

18

\(\underset{(x,y)\to (0,0)}{\text{lim}}\text{ln}({x}^{2}+{y}^{2})\)

The limit does not exist because when \(x\) and \(y\) both approach zero, the function approaches \(\text{ln}\,0,\) which is undefined (approaches negative infinity).

For the following exercises, complete the statement.

19

A point \(({x}_{0},{y}_{0})\) in a plane region \(R\) is an interior point of \(R\) if _________________.

20

A point \(({x}_{0},{y}_{0})\) in a plane region \(R\) is called a boundary point of \(R\) if ___________.

every open disk centered at \(({x}_{0},{y}_{0})\) contains points inside \(R\) and outside \(R\)

For the following exercises, use algebraic techniques to evaluate the limit.

21

\(\underset{(x,y)\to (2,1)}{\text{lim}}\frac{x-y-1}{\sqrt{x-y}-1}\)

22

\(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{{x}^{4}-4{y}^{4}}{{x}^{2}+2{y}^{2}}\)

\(0.0\)

23

\(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{{x}^{3}-{y}^{3}}{x-y}\)

24

\(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{{x}^{2}-xy}{\sqrt{x}-\sqrt{y}}\)

\(0.00\)

For the following exercises, evaluate the limits of the functions of three variables.

25

\(\underset{(x,y,z)\to (1,2,3)}{\text{lim}}\frac{x{z}^{2}-{y}^{2}z}{xyz-1}\)

26

\(\underset{(x,y,z)\to (0,0,0)}{\text{lim}}\frac{{x}^{2}-{y}^{2}-{z}^{2}}{{x}^{2}+{y}^{2}-{z}^{2}}\)

The limit does not exist.

For the following exercises, evaluate the limit of the function by determining the value the function approaches along the indicated paths. If the limit does not exist, explain why not.

27

\(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{xy+{y}^{3}}{{x}^{2}+{y}^{2}}\)

  • Along the \(x\text{-axis}\) \((y=0)\)
  • Along the \(y\text{-axis}\) \((x=0)\)
  • Along the path \(y=2x\)
28

Evaluate \(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{xy+{y}^{3}}{{x}^{2}+{y}^{2}}\) using the results of previous problem.

The limit does not exist. The function approaches two different values along different paths.

29

\(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{{x}^{2}y}{{x}^{4}+{y}^{2}}\)

  • Along the x-axis \((y=0)\)
  • Along the y-axis \((x=0)\)
  • Along the path \(y={x}^{2}\)
30

Evaluate \(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{{x}^{2}y}{{x}^{4}+{y}^{2}}\) using the results of previous problem.

The limit does not exist because the function approaches two different values along the paths.

Discuss the continuity of the following functions. Find the largest region in the \(xy\text{-plane}\) in which the following functions are continuous.

31

\(f(x,y)=\text{sin}(xy)\)

32

\(f(x,y)=\text{ln}(x+y)\)

The function \(f\) is continuous in the region \(y>\text{-}x.\)

33

\(f(x,y)={e}^{3xy}\)

34

\(f(x,y)=\frac{1}{xy}\)

The function \(f\) is continuous on the set \(R=\left(\left(x,y\right)|x\ne 0,y\ne 0\right)\)

For the following two exercises, determine the region in which the function is continuous. Explain your answer.

35

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

36

\(f(x,y)=\frac{\text{sin}({x}^{2}+{y}^{2})}{{x}^{2}+{y}^{2}}\)

The function is discontinuous at \((0,0)\) since \((0,0)\) is not in the domain.

37

Determine whether \(f\left(x,y\right)\) is continuous at \(\left(0,0\right)\) . \(f(x,y)=\{\begin{array}{ll}\frac{{x}^{2}y}{{x}^{2}+{y}^{2}} & \text{if}\,(x,y)\ne (0,0) \\ 0 & \text{if}\,(x,y)=(0,0)\end{array}\}\)

38

Determine whether \(g(x,y)=\frac{{x}^{2}-{y}^{2}}{{x}^{2}+{y}^{2}}\) is continuous at \((0,0).\)

The function is discontinuous at \((0,0).\) The limit at \((0,0)\) fails to exist and \(g(0,0)\) does not exist.

39

Create a plot using graphing software to determine where the limit does not exist. Find where in the coordinate plane \(f(x,y)=\frac{1}{{x}^{2}-y}\) is continuous.

40

Determine the region of the \(xy\text{-plane}\) in which the function \(g(x,y)=\text{arctan}(\frac{x{y}^{2}}{x+y})\) is continuous. Use technology to support your conclusion.

Since the function \(\text{arctan}\,x\) is continuous over \((\text{-}\infty ,\infty ),\) \(g(x,y)=\text{arctan}(\frac{x{y}^{2}}{x+y})\) is continuous where \(z=\frac{x{y}^{2}}{x+y}\) is continuous. The inner function \(z\) is continuous on all points of the \(xy\text{-plane}\) except where \(y=\text{-}x.\) Thus, \(g(x,y)=\text{arctan}(\frac{x{y}^{2}}{x+y})\) is continuous on all points of the coordinate plane except at points at which \(y=\text{-}x.\)

41

Determine the region of the \(xy\text{-plane}\) in which \(f(x,y)=\text{ln}({x}^{2}+{y}^{2}-1)\) is continuous. Use technology to support your conclusion. (Hint: Choose the range of values for \(x\,\text{and}\,y\) carefully!)

42

At what points in space is \(g(x,y,z)={x}^{2}+{y}^{2}-2{z}^{2}\) continuous?

All points \(P(x,y,z)\) in space

43

At what points in space is \(g(x,y,z)=\frac{1}{{x}^{2}+{z}^{2}-1}\) continuous?

44

Show that \(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{1}{{x}^{2}+{y}^{2}}\) does not exist at \((0,0)\) by plotting the graph of the function.

The graph increases without bound as \(x\,\text{and}\,y\) both approach zero.

On xyz space, there is a shape drawn that decreases to 0 as x and y increase or decrease but that increases greatly closer to the origin. It increases to such an extent that the graph is cut off above z = 10, which coincides with a circle of radius 0.6 around (0, 0, 10).
45

[T] Evaluate \(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{\text{-}x{y}^{2}}{{x}^{2}+{y}^{4}}\) by plotting the function using a CAS. Determine analytically the limit along the path \(x={y}^{2}.\)

46

[T]

  • Use a CAS to draw a contour map of \(z=\sqrt{9-{x}^{2}-{y}^{2}}.\)
  • What is the name of the geometric shape of the level curves?
  • Give the general equation of the level curves.
  • What is the maximum value of \(z?\)
  • What is the domain of the function?
  • What is the range of the function?

a.

b. The level curves are circles centered at \((0,0)\) with radius \(9-c.\) c. \({x}^{2}+{y}^{2}=9-c\) d. \(z=3\) e. \(\{(x,y)\in {ℝ}^{2}|{x}^{2}+{y}^{2}\le 9\}\) f. \(\{z|0\le z\le 3\}\)

A series of five concentric circles, with radii 3, 2.75, 2.5, 2.2, and 1.75. The areas between the circles are colored, with the darkest color between the circles of radii 3 and 2.75.
47

True or False: If we evaluate \(\underset{(x,y)\to (0,0)}{\text{lim}}f(x)\) along several paths and each time the limit is \(1,\) we can conclude that \(\underset{(x,y)\to (0,0)}{\text{lim}}f(x)=1.\)

48

Use polar coordinates to find \(\underset{(x,y)\to (0,0)}{\text{lim}}\frac{\text{sin}\sqrt{{x}^{2}+{y}^{2}}}{\sqrt{{x}^{2}+{y}^{2}}}.\) You can also find the limit using L’Hôpital’s rule.

\(1.0\)

49

Use polar coordinates to find \(\underset{(x,y)\to (0,0)}{\text{lim}}\text{cos}({x}^{2}+{y}^{2}).\)

50

Discuss the continuity of \(f(g(x,y))\) where \(f(t)=1\text{/}t\) and \(g(x,y)=2x-5y.\)

\(f(g(x,y))\) is continuous at all points \((x,y)\) that are not on the line \(2x-5y=0.\)

51

Given \(f(x,y)={x}^{2}-4y,\) find \(\underset{h\to 0}{\text{lim}}\frac{f(x+h,y)-f(x,y)}{h}.\)

52

Given \(f(x,y)={x}^{2}-4y,\) find \(\underset{h\to 0}{\text{lim}}\frac{f(1+h,y)-f(1,y)}{h}.\)

\(2.0\)

Glossary

boundary point
a point \({P}_{0}\) of \(R\) is a boundary point if every \(δ\) disk centered around \({P}_{0}\) contains points both inside and outside \(R\)
closed set
a set \(S\) that contains all its boundary points
connected set
an open set \(S\) that cannot be represented as the union of two or more disjoint, nonempty open subsets
\(δ\) disk
an open disk of radius \(δ\) centered at point \((a,b)\)
\(δ\) ball
all points in \({ℝ}^{3}\) lying at a distance of less than \(δ\) from \(({x}_{0},{y}_{0},{z}_{0})\)
interior point
a point \({P}_{0}\) of \(R\) is a boundary point if there is a \(δ\) disk centered around \({P}_{0}\) contained completely in \(R\)
open set
a set \(S\) that contains none of its boundary points
region
an open, connected, nonempty subset of \({ℝ}^{2}\)