Domain of a function
In mathematics, the domain of a function is the set of inputs accepted by the function. It is sometimes denoted by or , where fScript error: No such module "Check for unknown parameters". is the function. In layman's terms, the domain of a function can generally be thought of as "what x can be".[1]
More precisely, given a function , the domain of fScript error: No such module "Check for unknown parameters". is XScript error: No such module "Check for unknown parameters".. In modern mathematical language, the domain is part of the definition of a function rather than a property of it.
In the special case that XScript error: No such module "Check for unknown parameters". and YScript error: No such module "Check for unknown parameters". are both sets of real numbers, the function fScript error: No such module "Check for unknown parameters". can be graphed in the Cartesian coordinate system. In this case, the domain is represented on the xScript error: No such module "Check for unknown parameters".-axis of the graph, as the projection of the graph of the function onto the xScript error: No such module "Check for unknown parameters".-axis.
For a function , the set YScript error: No such module "Check for unknown parameters". is called the codomain: the set to which all outputs must belong. The set of specific outputs the function assigns to elements of XScript error: No such module "Check for unknown parameters". is called its range or image. The image of is a subset of YScript error: No such module "Check for unknown parameters"., shown as the yellow oval in the accompanying diagram.
Any function can be restricted to a subset of its domain. The restriction of to , where , is written as .
Natural domain
If a real function Template:Mvar is given by a formula, it may be not defined for some values of the variable. In this case, it is a partial function, and the set of real numbers on which the formula can be evaluated to a real number is called the natural domain or domain of definition of Template:Mvar. In many contexts, a partial function is called simply a function, and its natural domain is called simply its domain.
Examples
- The function defined by cannot be evaluated at 0. Therefore, the natural domain of is the set of real numbers excluding 0, which can be denoted by or .
- The piecewise function defined by has as its natural domain the set of real numbers.
- The square root function has as its natural domain the set of non-negative real numbers, which can be denoted by , the interval , or .
- The tangent function, denoted , has as its natural domain the set of all real numbers which are not of the form for some integer , which can be written as .
Other uses
The term domain is also commonly used in a different sense in mathematical analysis: a domain is a non-empty connected open set in a topological space. In particular, in real and complex analysis, a domain is a non-empty connected open subset of the real coordinate space or the complex coordinate space
Sometimes such a domain is used as the domain of a function, although functions may be defined on more general sets. The two concepts are sometimes conflated as in, for example, the study of partial differential equations: in that case, a domain is the open connected subset of where a problem is posed, making it both an analysis-style domain and also the domain of the unknown function(s) sought.
Set theoretical notions
For example, it is sometimes convenient in set theory to permit the domain of a function to be a proper class Template:Mvar, in which case there is formally no such thing as a triple (X, Y, G)Script error: No such module "Check for unknown parameters".. With such a definition, functions do not have a domain, although some authors still use it informally after introducing a function in the form f: X → YScript error: No such module "Check for unknown parameters"..[2]
See also
- Argument of a function
- Attribute domain
- Bijection, injection and surjection
- Codomain
- Domain decomposition
- Effective domain
- Endofunction
- Image (mathematics)
- Lipschitz domain
- Naive set theory
- Range of a function
- Support (mathematics)
Notes
<templatestyles src="Reflist/styles.css" />
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "Footnotes"., p. 91 (Template:Trim&pg=PA91&dq=%22The+reader+may+wonder+at+this+variety+of+ways+of+thinking+about+a+function%22 quote 1, Template:Trim&pg=PA91&dq=%22When+defining+a+function+using+a+formula+it+is+important+to+be+clear+about+which+sets+are+the+domain+and+the+codomain+of+the+function%22 quote 2); Script error: No such module "Footnotes"., Template:Trim&pg=PA8&dq=%22Here+%22function%22+means+a+function+with+specified+domain+and+specified+codomain%22 p. 8; Mac Lane, in Script error: No such module "Footnotes"., Template:Trim&pg=PA232&dq=%22Note+explicitly+that+the+notion+of+function+is+not+that+customary+in+axiomatic+set+theory%22 p. 232; Script error: No such module "Footnotes"., Template:Trim&pg=PA91&dq=%22Functions+as+sets+of+ordered+pairs%22 p. 91; Script error: No such module "Footnotes"., Template:Trim&pg=PA89&dq=%22Strictly+speaking+we+cannot+talk+of+%27the%27+codomain+of+a+function%22 p. 89
Script error: No such module "Check for unknown parameters".
References
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".