The notions of continuity and discontinuity may be extended to functions of several independent variables (Ch. II, § 31 et seq.). Their application to such functions however, raises questions much more complicated and difficult than those which we have considered in this chapter. It would be impossible for us to discuss these questions in any detail here; but we shall, in the sequel, require to know what is meant by a continuous function of two variables, and we accordingly give the following definition. It is a straightforward generalisation of the last form of the definition of § 98.
The function of the two variables and is said to be for , if, given any positive number , however small, we can choose so that when and ; that is to say if we can draw a square, whose sides are parallel to the axes of coordinates and of length , whose centre is the point , and which is such that the value of at any point inside it or on its boundary differs from by less than .
This definition of course presupposes that is defined at all points of the square in question, and in particular at the point . Another method of stating the definition is this: is continuous for , if when , in any manner. This statement is apparently simpler; but it contains phrases the precise meaning of which has not yet been explained and can only be explained by the help of inequalities like those which occur in our original statement.
It is easy to prove that the sums, the products, and in general the quotients of continuous functions of two variables are themselves continuous. A polynomial in two variables is continuous for all values of the variables; and the ordinary functions of and which occur in every-day analysis are generally continuous, i.e. are continuous except for pairs of values of and connected by special relations.
The reader should observe carefully that to assert the continuity of with respect to the two variables and is to assert much more than its continuity with respect to each variable considered separately. It is plain that if is continuous with respect to and then it is certainly continuous with respect to (or ) when any fixed value is assigned to (or ). But the converse is by no means true. Suppose, for example, that when neither nor is zero, and when either or is zero. Then if has any fixed value, zero or not, is a continuous function of , and in particular continuous for ; for its value when is zero, and it tends to the limit zero as . In the same way it may be shown that is a continuous function of . But is not a continuous function of and for , . Its value when , is zero; but if and tend to zero along the straight line , then which may have any value between and .