 # 4. Sets, limits and continuity in multi-dimensional space

### Sets in A set is bounded, if it is contained in a ball of some radius, i.e. if there exists , such that for any , .

A set is open if for every its point you can find a (small) radius such that the whole ball with centre in the point and this radius in contained in the set.

A set is closed, if its complement (everything outside of it) is an open set.

A set is compact if after covering it with (maybe infinitely many) open balls, you can choose only finitely many of them which still cover it. From our point of view a set is compact if and only if it is bounded and closed. Every sequence in a compact set has a convergent subsequence.

### Functions of multiple variables

We would like to study functions of multiple variables, which means that the functions we will consider depend on more than one argument, e.g.: is a function of two variables. Such functions obviously appear in the real world, e.g. temperature on a surface which depends on coordinates . Or the height of a terrain.

Obviously, we can also easily check the domain of such a function. In the case of two arguments it will be a subset of a plane. E.g. the domain of is , so those are all the points of the plane except from the line .

### Limits and continuity of functions

We say that a function (assume that it depends on two arguments) has a limit in a point equal to , if for any sequence of points in the domain, such that and , we get . But if for some of such sequences this limit does not exist or there are different limits for some different sequences, that the limit of the function in question does not exists. E.g. has in limit, because for any , such that and , we have .

Similarly, as in the case of one-dimensional functions, a function is continuous in a point if its limit in this point equals its value. It is easy to see that it is equivalent to the property, that for every , there exists such that for every point in the ball with centre in and radius , .

A function is continuous if it is continuous at every point in the domain.