Separately continuous not implies continuous

From Calculus
Revision as of 18:46, 13 April 2012 by Vipul (talk | contribs) (→‎Proof)

Statement

For a function of two variables at a point

It is possible to have the following: a function f of two variables x,y that is separately continuous in both variables x,y at the point (x0,y0), but is not a continuous function at (x0,y0).

For a function of two variables overall

It is possible to have the following: a function f of two variables x,y that is separately continuous in both variables x,y everywhere on R2, but is not continuous everywhere on R2 (i.e., there exist points where it is not continuous.

Related facts

Proof

Example

We give a single example that illustrates both versions of the statement.

Consider the function:

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

It's clear that f is continuous, as well as separately continuous, at all points other than (0,0). At the point (0,0), we calculate the limits along the x-direction and y-direction:

  • The limit along the x-direction is limx0(x)(0)x2+02=limx00=0. This coincides with the value f(0,0).
  • The limit along the y-direction is limy0(0)(y)02+y2=limy00=0. This coincides with the value f(0,0).

Thus, the function f is separately continuous in both x and y at the point (0,0). Since we already established that it's separately continuous everywhere else, we obtain that it is separately continuous on all of R2.

On the other hand, f is not continuous at (0,0). To see this, consider the limit along the line y=x. Setting y=x, we get that the limit is:

limx0xxx2+x2=limx0x22x2=limx012=12f(0,0)

Note that if the function were indeed continuous at (0,0), the limit along every direction would equal the value at the point, so this shows that the function is not continuous at (0,0).

Idea behind example

The secret behind the example can be better understood using polar coordinates, though this is not necessary to understand the example itself. In polar coordinates, we can rewrite f(x,y)=g(r,θ) where:

g(r,θ)={12sin(2θ),r00,r=0

For θ a multiple of π/2 (which covers both the x- and the y-directions, both positive and negative), g(r,θ)=0 identically. Hence, the limit limr0g(r,θ) is zero. For other values of θ, on the other hand, g(r,θ)=12sin(2θ) identically along the line and the limit limr0g(r,θ) is also the number 12sin(2θ), which is nonzero. Thus, the function is not continuous along any slanting direction, and hence is not a continuous function at the origin (which in polar coordinates we'd call the pole).