For a (real) multivariate function (let’s say ), its domain is a region where is ‘s arity.

The boundary of is a curve that separates points internal to the domain from the points outside the domain. Formally, a region in a plane is bounded if it lies inside a disk of finite radius. Note that boundary points can be either in or out of the domain, and two boundary points don’t have to all be in or out of the domain.

  • The domain is closed if contains all boundary points, if any.
  • The domain is open if contains no boundary points.
  • In cases where there is no boundary (e.g. when the domain is the entire plane), then the domain is both open and closed.
  • The domain can be neither open nor closed if contains some but not all boundary points.