The Continuity of Multivariable Functions

The Definition of Continuity

A function of two variables is continuous

Suppose the function f(x,y)f(x, y) is defined in some neighbourhood of the point P0(x0,y0)P_0(x_0, y_0). If

lim⁡(x,y)→(x0,y0)f(x,y)=f(x0,y0)\lim_{(x, y) \to (x_0, y_0)} f(x, y) = f(x_0, y_0)

then the function f(x,y)f(x, y) is said to be continuous at the point P0P_0.

If the function is continuous at every point of a region DD, it is said to be continuous on DD.

Equivalently, the function is continuous at P0P_0 if and only if:

  1. f(P0)f(P_0) is defined
  2. lim⁡P→P0f(P)\lim_{P\to P_0} f(P) exists
  3. the value of the limit equals the value of the function

Points of Discontinuity

Point of discontinuity

If the function f(x,y)f(x, y) is not continuous at the point P0P_0, then P0P_0 is called a point of discontinuity of the function.

There are three cases:

  1. f(P0)f(P_0) is not defined
  2. lim⁡P→P0f(P)\lim_{P\to P_0} f(P) does not exist
  3. the limit exists but is not equal to f(P0)f(P_0)

Unlike the case of a function of one variable, a point of discontinuity of a function of two variables can be a single point or a whole curve. For example, the points of discontinuity of f(x,y)=1x2+y2−1f(x,y) = \frac{1}{x^2+y^2-1} are all the points of the unit circle x2+y2=1x^2+y^2=1.

The Properties of Continuous Functions

Theorem1
  1. Arithmetic operations: the sum, difference, product and quotient (with a nonzero denominator) of continuous functions are still continuous.
  2. Composite functions: a composite function of continuous functions is still continuous.
  3. Continuity of elementary functions: a multivariable elementary function is continuous on its domain.
  4. The extreme value theorem: a function continuous on a bounded closed region DD must attain a maximum value and a minimum value.
  5. The intermediate value theorem: a function continuous on a bounded closed region DD takes on every value between its maximum MM and its minimum mm.
  6. The boundedness theorem: a function continuous on a bounded closed region must be bounded.

Uniform Continuity

Uniform continuity

Suppose the function f(x,y)f(x, y) is defined on a region DD. If for every ε>0\varepsilon > 0 there is always a δ>0\delta > 0 such that for any two points P1,P2P_1, P_2 in DD, as soon as ∣P1P2∣<δ|P_1P_2| < \delta we have ∣f(P1)−f(P2)∣<ε|f(P_1) - f(P_2)| < \varepsilon, then ff is said to be uniformly continuous on DD.

Theorem2

Cantor’s theorem: a function continuous on a bounded closed region is necessarily uniformly continuous there.

Worked Examples

Example 1: Deciding on Continuity

Decide on the continuity of f(x,y)={xyx2+y2,(x,y)≠(0,0)0,(x,y)=(0,0)f(x, y) = \begin{cases} \frac{xy}{x^2 + y^2}, & (x,y) \neq (0,0) \\ 0, & (x,y) = (0,0) \end{cases} at (0,0)(0,0).

continuitya point of discontinuitythe limit does not exist

Approach:

To decide on the continuity of a piecewise function at the point where the pieces meet, the key is whether the value of the limit equals the value of the function at that point — as soon as the two differ, the function is not continuous.

Steps:

  1. From the limit example, lim⁡(x,y)→(0,0)xyx2+y2\lim_{(x,y)\to(0,0)} \frac{xy}{x^2+y^2} does not exist
  2. And f(0,0)=0f(0,0) = 0
  3. Since the limit does not exist, the function is not continuous at (0,0)(0,0), and (0,0)(0,0) is a point of discontinuity.

Answer: it is not continuous at (0,0)(0,0).

Example 2: Completing the Definition to Make the Function Continuous

Let f(x,y)=x2yx2+y2f(x, y) = \frac{x^2 y}{x^2 + y^2} (for (x,y)≠(0,0)(x,y)\neq(0,0)). Can f(0,0)f(0,0) be defined so that the function is continuous at the origin?

continuitycompleting the definitiona removable discontinuity

Approach:

Whether the definition can be completed depends entirely on whether the limit exists and is unique: if it exists, set the completed value equal to that limit; if it does not exist, no completion will give continuity.

Steps:

  1. From the limit example, lim⁡(x,y)→(0,0)x2yx2+y2=0\lim_{(x,y)\to(0,0)} \frac{x^2 y}{x^2+y^2} = 0
  2. The limit exists, so (0,0)(0,0) is a removable point of discontinuity
  3. Completing the definition with f(0,0)=0f(0,0) = 0 makes the function continuous at the origin.

Answer: yes, completing the definition with f(0,0)=0f(0,0)=0 does it.

Example 3: Applying the Intermediate Value Theorem

Let f(x,y)f(x,y) be continuous on the bounded closed region DD, with P1,P2∈DP_1, P_2 \in D and f(P1)<0<f(P2)f(P_1) < 0 < f(P_2). Prove that there exists P0∈DP_0 \in D with f(P0)=0f(P_0) = 0.

the intermediate value theorema continuous functionthe existence of a zero

Approach:

The two-variable case is a generalisation of the intermediate value theorem: a function continuous on a bounded closed region that changes sign must have a zero inside the region.

Steps:

  1. ff is continuous on the bounded closed region DD, so by the extreme value theorem ff attains a minimum mm and a maximum MM on DD.
  2. From f(P1)<0<f(P2)f(P_1) < 0 < f(P_2) we get m≤f(P1)<0<f(P2)≤Mm \leq f(P_1) < 0 < f(P_2) \leq M, that is, 0∈[m,M]0 \in [m, M].
  3. By the intermediate value theorem, there exists P0∈DP_0 \in D with f(P0)=0f(P_0) = 0.

Answer: there exists P0∈DP_0 \in D with f(P0)=0f(P_0) = 0 (the existence theorem for zeros of a function of two variables).


Exercises

Exercise 1

Decide on the continuity of f(x,y)={x2yx4+y2,(x,y)≠(0,0)0,(x,y)=(0,0)f(x, y) = \begin{cases} \frac{x^2 y}{x^4 + y^2}, & (x,y)\neq(0,0) \\ 0, & (x,y)=(0,0) \end{cases} at (0,0)(0,0).

continuitya point of discontinuitythe limit does not exist

Approach:

The same method as in the examples: the key is to compare the limits along different paths.

Steps:

  1. From the limit example, lim⁡(x,y)→(0,0)x2yx4+y2\lim_{(x,y)\to(0,0)} \frac{x^2 y}{x^4+y^2} does not exist (along y=x2y=x^2 the limit is 12\frac{1}{2})
  2. Hence the function is not continuous at (0,0)(0,0).

Answer: it is not continuous at (0,0)(0,0).

Exercise 2

Prove that f(x,y)=x2+y2f(x, y) = x^2 + y^2 is continuous on the whole plane.

continuitya polynomial functionan elementary function

Approach:

A polynomial function is continuous at every point, because as the independent variables approach a point the value of the function approaches the value at that point.

Steps:

  1. For any (x0,y0)(x_0, y_0), lim⁡(x,y)→(x0,y0)(x2+y2)=x02+y02=f(x0,y0)\lim_{(x,y)\to(x_0,y_0)} (x^2+y^2) = x_0^2+y_0^2 = f(x_0,y_0)
  2. Hence ff is continuous at every point, that is, on the whole plane.
  3. This also follows directly from the fact that “a multivariable elementary function is continuous on its domain”.

Answer: f(x,y)=x2+y2f(x,y)=x^2+y^2 is continuous on R2\mathbb{R}^2.


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
P0P_0Pointpoint zeroThe point at which continuity is being discussed
DDRegiondomainThe region that is the domain of the function
MMMaximum valuemaximumThe maximum value of the function on the closed region
mmMinimum valueminimumThe minimum value of the function on the closed region

Found an issue with this content?

Tell us what could be improved.