Multivariate functions: limits and continuity


We now consider the functions of the form y=f(x1,x2,,xn), that is, functions multiple independent variables x1,x2,,xn:

f:RnR.

An n-variable function like f(x1,x2,,xn) has a subset of Rn=(R×R××R) as its domain. In particular, we study the meaning of limits and continuity in high-dimensional spaces.

Remark. More generally, we may consider a function with its codomain in Rm. □

In the following, we mainly work with functions on R2 rather than more general Rn. There is a huge gap between functions on R and those on R2. Compared to this gap, the conceptual difference between functions on R2 and those on Rn,n>2 is relatively small. Therefore, for most cases, understanding functions on R2 is (mostly) sufficient.



The above figure shows the graph of f(x,y)=x2+y2. Generally, the graph of a two-variable function is a surface, as in this example.
We often apply the following procedure to understand the graph of a two-variable (or bivariate) function. First, fix the value of x to a constant, say, x=a. Then consider the cross-section of x=a (a plane) and z=f(x,y), which is represented as z=f(a,y). Now, z=f(a,y) is a function of only y, which can be plotted on the y-z plane. For f(x,y)=x2+y2, we have f(a,y)=a2+y2 which is a parabola. Then, we change the value of a and repeat the same process. We can apply the same procedure by fixing the value of y instead. Each curve in the above figure can be obtained by this procedure, and the result is the mesh representation of the surface.

Limit of multivariate functions

Let f(x,y) be a function on SR2, and (a,b)R2 a point. Let's consider the notion of limit of f(x,y) as the point (x,y) approaches (a,b).

To begin with, what do we mean by "(x,y) approaches (a,b)"? Clearly, there are infinitely many ways (x,y) can approach (a,b): along a straight line, in a spiral, in an arbitrary curve, etc. When we consider the limit of f(x,y), we need to consider all possible ways of approaching it.

Intuitively, the limit of f(x,y) as (x,y) approaches (a,b) can be defined as follows:

  • If f(x,y) approaches a constant value αR as (x,y) approaches (a,b), irrespectively of the way the approach is made, then we say f(x,y) converges to α as (x,y) approaches (a,b), and denote lim(x,y)(a,b)f(x,y)=α or f(x,y)α as (x,y)(a,b).

More formally, the definition is given as:

Definition (Limit of a function)

The function f(x,y) on SR2 is said to converge to α as (x,y)(a,b) if the following condition holds:

  • For all ε>0, there exists a δ>0 such that, for all (x,y)S, if (x,y)Nδ(a,b) and (x,y)(a,b), then |f(x,y)α|<ε.

or, in a logical form, ε>0 δ>0 (x,y)S [(x,y)Nδ((a,b))(x,y)(a,b)|f(x,y)α|<ε].

Theorem (Properties of limits)

  Let f(x,y) and g(x,y) be functions such that lim(x,y)(a,b)f(x,y)=α,lim(x,y)(a,b)g(x,y)=β. Then, the following hold:

  1. For any k,lR, lim(x,y)(a,b){kf(x,y)+lg(x,y)}=kα+lβ.
  2. lim(x,y)(a,b){f(x,y)g(x,y)}=αβ.
  3. If β0, lim(x,y)(a,b)f(x,y)g(x,y)=αβ.
Proof. Exercise (similar to the one-variable version). ■

Example (Eg:polynomial). Clearly, lim(x,y)(a,b)x=a,lim(x,y)(a,b)y=b. 
Let f(x,y) be an arbitrary polynomial of x and y. Then, lim(x,y)(a,b)f(x,y)=f(a,b). For example, if f(x,y)=x3+2xy2, then lim(x,y)(a,b)f(x,y)=a3+2ab2. 
For the rational function f(x,y)g(x,y) of x and y where f(x,y) and g(x,y) are polynomials of x and y, if g(a,b)0, we have
lim(x,y)(a,b)f(x,y)g(x,y)=f(a,b)g(a,b).
For example, if f(x,y)=x3+2xy2 and g(x,y)=5x2+xy+3y3, then
lim(x,y)(1,1)f(x,y)g(x,y)=f(1,1)g(1,1)=31=3.

Example. The function f(x,y)=x2y2x2+y2 does not have a limit as (x,y)(0,0). To see this, consider a line l:y=mx and move (x,y) towards (0,0) along this line. Then, if x0
f(x,mx)=x2m2x2x2+m2x2=1m21+m2
which converges to 1m21+m2 as x0. However, this limit depends on the slope m. For example, if m=1, the limit is 0; if m=0, the limit is 1. Thus, the "limit" of f(x,y) depends on the way how (x,y) approaches (0,0). Hence, f(x,y) has no limit at (0,0). □

Example (Eg 1). Let us find the limit of f(x,y)=xy2x2+y2 as (x,y)(0,0). Using the polar form (x,y)=(rcosθ,rsinθ), we have
f(rcosθ,rsinθ)=r3cosθsin2θr2(cos2θ+sin2θ)=rcosθsin2θ.
Note that (x,y)(0,0) implies r>0 (thus the above expression is always valid). Thus,
|f(x,y)0|=r|cosθsin2θ|=r|cosθ||sin2θ|r.
As (x,y)(0,0), r0 irrespectively of the way of approaching. Therefore, we have
lim(x,y)(0,0)xy2x2+y2=0.

Continuity of multivariate functions

Definition (Continuous function [multivariate])

The function f(x,y) on SR2 is said to be continuous at (a,b) if
lim(x,y)(a,b)f(x,y)=f(a,b),
or, more formally,
ε>0 δ>0 (x,y)S [(x,y)Nδ((a,b))|f(x,y)f(a,b)|<ε].

Theorem (Properties of continuous functions)

Let f(x,y) and g(x,y) be functions that are continuous at (x,y)=(a,b). Then the following functions are also continuous at (x,y)=(a,b):
  1. kf(x,y)+lg(x,y) where k,lR are arbitrary constants.
  2. f(x,y)g(x,y).
  3. f(x,y)g(x,y) if g(a,b)0.
Proof. Exercise (see the above Theorem (Properties of limits)). ■

Example. As we have seen on the above example (Eg:polynomial), for any polynomial function f(x,y) and any point (a,b)R2, we have
lim(x,y)(a,b)f(x,y)=f(a,b).
Therefore, all polynomial function are continuous everywhere in R2. Also, any rational function \frac{f(x,y)}{g(x,y)} (with f,g being polynomial functions) is continuous at any (a,b)R2 provided that g(a,b)0.

Example. Is the following function continuous on R2?
f(x,y)={xy2x2+y2((x,y)(0,0)),0((x,y)=(0,0)).
For (x,y)(0,0), f(x,y) is a rational function and its denominator is non-zero. Therefore, it is continuous on R2{(0,0)}. In the above Example (Eg 1), we have seen that \(\lim_{(x,y)\to(0,0)\}f(x,y) = 0\). But f(0,0)=0 by the definition above. Therefore, f(x,y) is continuous at (0,0). Hence, f(x,y) is continuous everywhere on R2.

Finally, we provide the following theorems without proof.

Theorem (Intermediate Value Theorem)

Let f(x) be a continuous function on a path-connected set D in Rn such that f(a)f(b) for a,bD. Then, for any value l between f(a) and f(b), there exists at least one cD such that f(c)=l.

Exercise. Why should the domain D be path-connected?

Theorem (Extreme Value Theorem)

The continuous function f(x) on a bounded closed set FRn has maximum and minimum values. That is, there exist c,dF such that f(c) and f(d) are the maximum and minimum values, respectively, of f(x).

Exercise. Why should the domain F be a bounded closed set?




Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic