- published: 30 Nov 2008
- views: 879129
In mathematics, the domain of definition or simply the domain of a function is the set of "input" or argument values for which the function is defined. That is, the function provides an "output" or value for each member of the domain.
For instance, the domain of cosine is the set of all real numbers, while the domain of the square root consists only of numbers greater than or equal to 0 (ignoring complex numbers in both cases). For a function whose domain is a subset of the real numbers, when the function is represented in an xy Cartesian coordinate system, the domain is represented on the x-axis.
Given a function f:X→Y, the set X is the domain of f; the set Y is the codomain of f. In the expression f(x), x is the argument and f(x) is the value. One can think of an argument as an input to the function, and the value as the output.
The image (sometimes called the range) of f is the set of all values assumed by f for all possible x; this is the set Failed to parse (Missing texvc executable; please see math/README to configure.): \{ f(x) : x \in X \} . The image of f can be the same set as the codomain or it can be a proper subset of it. It is in general smaller than the codomain; it is the whole codomain if and only if f is a surjective function.