In mathematics, contour sets generalize and formalize the everyday notions of
- everything superior to something
- everything superior or equivalent to something
- everything inferior to something
- everything inferior or equivalent to something.
Given a relation on pairs of elements of set

and an element
of

The upper contour set of
is the set of all
that are related to
:

The lower contour set of
is the set of all
such that
is related to them:

The strict upper contour set of
is the set of all
that are related to
without
being in this way related to any of them:

The strict lower contour set of
is the set of all
such that
is related to them without any of them being in this way related to
:

The formal expressions of the last two may be simplified if we have defined

so that
is related to
but
is not related to
, in which case the strict upper contour set of
is

and the strict lower contour set of
is

Contour sets of a function
In the case of a function
considered in terms of relation
, reference to the contour sets of the function is implicitly to the contour sets of the implied relation
![{\displaystyle (a\succcurlyeq b)~\Leftarrow ~[f(a)\triangleright f(b)]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/d6ede91bf801402f43d0242203766beb1ecc93df)
Examples
Arithmetic
Consider a real number
, and the relation
. Then
- the upper contour set of
would be the set of numbers that were greater than or equal to
,
- the strict upper contour set of
would be the set of numbers that were greater than
,
- the lower contour set of
would be the set of numbers that were less than or equal to
, and
- the strict lower contour set of
would be the set of numbers that were less than
.
Consider, more generally, the relation
![{\displaystyle (a\succcurlyeq b)~\Leftarrow ~[f(a)\geq f(b)]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/0d743d0f77b3fe0d2126e6e82f7e08c54a5a8c6f)
Then
- the upper contour set of
would be the set of all
such that
,
- the strict upper contour set of
would be the set of all
such that
,
- the lower contour set of
would be the set of all
such that
, and
- the strict lower contour set of
would be the set of all
such that
.
It would be technically possible to define contour sets in terms of the relation
![{\displaystyle (a\succcurlyeq b)~\Leftarrow ~[f(a)\leq f(b)]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/35376a4d110bf1cc0803a83c6922bb0db89db2ec)
though such definitions would tend to confound ready understanding.
In the case of a real-valued function
(whose arguments might or might not be themselves real numbers), reference to the contour sets of the function is implicitly to the contour sets of the relation
![{\displaystyle (a\succcurlyeq b)~\Leftarrow ~[f(a)\geq f(b)]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/0d743d0f77b3fe0d2126e6e82f7e08c54a5a8c6f)
Note that the arguments to
might be vectors, and that the notation used might instead be
![{\displaystyle [(a_{1},a_{2},\ldots )\succcurlyeq (b_{1},b_{2},\ldots )]~\Leftarrow ~[f(a_{1},a_{2},\ldots )\geq f(b_{1},b_{2},\ldots )]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/413cd06dd095785327974d9267f30623d6ac0e42)
Economics
In economics, the set
could be interpreted as a set of goods and services or of possible outcomes, the relation
as strict preference, and the relationship
as weak preference. Then
- the upper contour set, or better set,[1] of
would be the set of all goods, services, or outcomes that were at least as desired as
,
- the strict upper contour set of
would be the set of all goods, services, or outcomes that were more desired than
,
- the lower contour set, or worse set,[1] of
would be the set of all goods, services, or outcomes that were no more desired than
, and
- the strict lower contour set of
would be the set of all goods, services, or outcomes that were less desired than
.
Such preferences might be captured by a utility function
, in which case
- the upper contour set of
would be the set of all
such that
,
- the strict upper contour set of
would be the set of all
such that
,
- the lower contour set of
would be the set of all
such that
, and
- the strict lower contour set of
would be the set of all
such that
.
Complementarity
On the assumption that
is a total ordering of
, the complement of the upper contour set is the strict lower contour set.


and the complement of the strict upper contour set is the lower contour set.


See also
References
Bibliography