Separately continuous not implies continuous
Statement
For a function of two variables at a point
It is possible to have the following: a function of two variables that is separately continuous in both variables at the point , but is not a continuous function at .
For a function of two variables overall
It is possible to have the following: a function of two variables that is separately continuous in both variables everywhere on , but is not continuous everywhere on (i.e., there exist points where it is not continuous.
Related facts
- Existence of partial derivatives not implies differentiable
- Continuous along every linear direction not implies continuous
Proof
We give a single example that illustrates both versions of the statement.
Consider the function:
It's clear that is continuous, as well as separately continuous, at all points other than . At the point , we calculate the limits along the -axi:
- The limit along the -direction is . This coincides with the value .
- The limit along the -direction is . This coincides with the value .
Thus, the function is separately continuous in both and at the point . Since we already established that it's separately continuous everywhere else, we obtain that it is separately continuous on all of .
On the other hand, is not continuous at . To see this, consider the limit along the line . Setting , we get that the limit is:
Note that if the function were indeed continuous at , the limit along every direction would equal the value at the point, so this shows that the function is not continuous at .