Total differentiability implies continuity

Recall that the function f(x,y) is totally differentiable at (a,b) if 

f(x,y)=f(a,b)+m(xa)+n(yb)+o(XP) as X=(x,y)P=(a,b)

for some constants n and m.

See also: Partial and total differentiation of multivariate functions.

Just like univariate functions, we have the following result:

Theorem (Total differentiability implies continuity)

If the function f(x,y) is totally differentiable at (a,b), then it is continuous at (a,b).

Proof. Let us use the notations X=(x,y) and P=(a,b). By the definition of total differentiability, we have

f(x,y)=f(a,b)+m(xa)+n(yb)+o(XP) for some constants n,m.

Then,

lim(x,y)(a,b)f(x,y)=f(a,b).

Hence, f(x,y) is continuous at (a,b). ■

Remark. Just as for the case of univariate functions, the converse of this theorem does not hold. For example, you should verify that f(x,y)=|xy| is continuous everywhere in R2, but not totally differentiable on the line y=x. □


Example. Consider the function 

f(x,y)={xyx2+y2((x,y)(0,0)),0((x,y)=(0,0)). 

Let y=mx and consider the limit f(x,y) as x0:

limx0f(x,mx)=m1+m2.

Since this limit clearly depends on m, the limit lim(x,y)(0,0)f(x,y) does not exist, and hence f(x,y) is not continuous at (0,0). By the contrapositive of the above theorem, f(x,y) is not totally differentiable.

Nevertheless, since f(x,0)=0, fx(0,0)=0; and since f(0,y)=0, fy(0,0)=0. Thus, even though f(x,y) is not totally differentiable at (0,0), its partial differential coefficients exist at (0,0). □

As this example shows, the existence of partial differential coefficients does not guarantee total differentiability. However, we have the following result.

Theorem (Criterion of total differentiability)

Let U be an open region in R2 and (a,b)U. Let f(x,y) be a function on U. If the partial derivatives fx(x,y) and fy(x,y) exist on U and are continuous at (a,b), then f(x,y) is totally differentiable at (a,b).

Proof. Let (x,y)U be an arbitrary point such that (x,y)(a,b). Since fx(x,y) exists on U, f(x,y) is continuous as a function of x. Thus, by the Mean Value Theorem (for univariate functions), there exists some h between x and a such that

(Eq:MVx)f(x,y)f(a,y)=fx(h,y)(xa).

Similarly, there exists some k between y and b such that

(Eq:MVy)f(a,y)f(a,b)=fy(a,k)(yb).

By assumption, fx(x,y) and fy(x,y) are continuous at (a,b) so that

lim(x,y)(a,b)fx(x,y)=fx(a,b),lim(x,y)(a,b)fy(x,y)=fy(a,b).

Let s=xa and t=yb. From Eqs. (Eq:MVx) and (Eq:MVy) above, and noting 

f(x,y)f(a,b)=f(x,y)f(a,y)+f(a,y)f(a,b),

we have

|f(x,y)f(a,b)fx(a,b)(xa)fy(a,b)(yb)(xa)2+(yb)2|=|{fx(h,y)fx(a,b)}s+{fy(a,k)fy(a,b)}ts2+t2||fx(h,y)fx(a,b)||s|s2+t2+|fy(a,k)fy(a,b)||t|s2+t2|fx(h,y)fx(a,b)|+|fy(a,k)fy(a,b)|0

as (x,y)(a,b). Therefore, 

lim(x,y)(a,b)f(x,y)f(a,b)fx(a,b)(xa)fy(a,b)(yb)(xa)2+(yb)2=0,

which shows that f(x,y) is totally differentiable at (a,b). ■

Example. With polynomial functions g(x,y) and h(x,y), the rational function given by

f(x,y)=g(x,y)h(x,y)

is continuous everywhere except where h(x,y)=0. f(x,y) has the partial derivatives

fx(x,y)=gx(x,y)h(x,y)g(x,y)hx(x,y)[h(x,y)]2,fy(x,y)=gy(x,y)h(x,y)g(x,y)hy(x,y)[h(x,y)]2

which are also rational functions of x and y, and hence are continuous everywhere except where h(x,y)=0. By the above theorem, f(x,y) is totally differentiable everywhere except where h(x,y)=0. □

Definition (Continuously differentiable, C1)

The function f(x,y) is said to be continuously differentiable or of class C1 function if the partial derivatives fx(x,y) and fy(x,y) exist and are continuous.

Corollary. 

A continuously differentiable function is totally differentiable and continuous.

Proof. Exercise. ■





Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic