
In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, the domain of a function is the
set
Set, The Set, SET or SETS may refer to:
Science, technology, and mathematics Mathematics
*Set (mathematics), a collection of elements
*Category of sets, the category whose objects and morphisms are sets and total functions, respectively
Electro ...
of inputs accepted by the
function. It is sometimes denoted by
or
, where is the function. In layman's terms, the domain of a function can generally be thought of as "what x can be".
More precisely, given a function
, the domain of is . 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 and are both sets of
real number
In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s, the function can be graphed in the
Cartesian coordinate system
In geometry, a Cartesian coordinate system (, ) in a plane (geometry), plane is a coordinate system that specifies each point (geometry), point uniquely by a pair of real numbers called ''coordinates'', which are the positive and negative number ...
. In this case, the domain is represented on the -axis of the graph, as the projection of the graph of the function onto the -axis.
For a function
, the set is called the ''
codomain
In mathematics, a codomain, counter-domain, or set of destination of a function is a set into which all of the output of the function is constrained to fall. It is the set in the notation . The term '' range'' is sometimes ambiguously used to ...
'': the set to which all outputs must belong. The set of specific outputs the function assigns to elements of is called its ''
range'' or ''
image
An image or picture is a visual representation. An image can be Two-dimensional space, two-dimensional, such as a drawing, painting, or photograph, or Three-dimensional space, three-dimensional, such as a carving or sculpture. Images may be di ...
''. The image of f is a subset of , 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
In mathematical analysis, and applications in geometry, applied mathematics, engineering, and natural sciences, a function of a real variable is a function whose domain is the real numbers \mathbb, or a subset of \mathbb that contains an inter ...
is given by a formula, it may be not defined for some values of the variable. In this case, it is a ''
partial function
In mathematics, a partial function from a set to a set is a function from a subset of (possibly the whole itself) to . The subset , that is, the '' domain'' of viewed as a function, is called the domain of definition or natural domain ...
'', and the set of real numbers on which the formula can be evaluated to a real number is called the ''
natural domain
In mathematics, a partial function from a set to a set is a function from a subset of (possibly the whole itself) to . The subset , that is, the '' domain'' of viewed as a function, is called the domain of definition or natural domain of ...
'' or ''
domain of definition
In mathematics, a partial function from a set to a set is a function from a subset of (possibly the whole itself) to . The subset , that is, the '' domain'' of viewed as a function, is called the domain of definition or natural domain of ...
'' of . 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
In mathematics, a piecewise function (also called a piecewise-defined function, a hybrid function, or a function defined by cases) is a function whose domain is partitioned into several intervals ("subdomains") on which the function may be ...
function
defined by
has as its natural domain the set
of real numbers.
* The
square root
In mathematics, a square root of a number is a number such that y^2 = x; in other words, a number whose ''square'' (the result of multiplying the number by itself, or y \cdot y) is . For example, 4 and −4 are square roots of 16 because 4 ...
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
\tan, has as its natural domain the set of all real numbers which are not of the form
\tfrac + k \pi for some integer
k, which can be written as
\mathbb R \setminus \.
Other uses
The term ''domain'' is also commonly used in a different sense in mathematical analysis: a ''
Domain (mathematical analysis), domain'' is a
non-empty connected open set
In mathematics, an open set is a generalization of an Interval (mathematics)#Definitions_and_terminology, open interval in the real line.
In a metric space (a Set (mathematics), set with a metric (mathematics), distance defined between every two ...
in a
topological space
In mathematics, a topological space is, roughly speaking, a Geometry, geometrical space in which Closeness (mathematics), closeness is defined but cannot necessarily be measured by a numeric Distance (mathematics), distance. More specifically, a to ...
. In particular, in
real and
complex analysis
Complex analysis, traditionally known as the theory of functions of a complex variable, is the branch of mathematical analysis that investigates functions of complex numbers. It is helpful in many branches of mathematics, including algebraic ...
, a ''domain'' is a non-empty connected open subset of the
real coordinate space
In mathematics, the real coordinate space or real coordinate ''n''-space, of dimension , denoted or , is the set of all ordered -tuples of real numbers, that is the set of all sequences of real numbers, also known as '' coordinate vectors''.
...
\R^n or the
complex coordinate space \C^n.
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 equation
In mathematics, a partial differential equation (PDE) is an equation which involves a multivariable function and one or more of its partial derivatives.
The function is often thought of as an "unknown" that solves the equation, similar to ho ...
s: in that case, a ''domain'' is the open connected subset of
\R^ 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
Set theory is the branch of mathematical logic that studies Set (mathematics), sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory – as a branch of mathema ...
to permit the domain of a function to be a
proper class
Proper may refer to:
Mathematics
* Proper map, in topology, a property of continuous function between topological spaces, if inverse images of compact subsets are compact
* Proper morphism, in algebraic geometry, an analogue of a proper map f ...
, in which case there is formally no such thing as a triple . With such a definition, functions do not have a domain, although some authors still use it informally after introducing a function in the form .
[, p. 91 ( quote 1 ]quote 2
Quote may refer to:
Computing
* String literals, computer programming languages' facility for embedding text in the source code
* Lisp (programming language)#Self-evaluating forms and quoting, Quoting in Lisp, the Lisp programming language's not ...
; , p. 8 Mac Lane, in , p. 232 , p. 91 , p. 89/ref>
See also
* Argument of a function
In mathematics, an argument of a function is a value provided to obtain the function's result. It is also called an independent variable.
For example, the binary function f(x,y) = x^2 + y^2 has two arguments, x and y, in an ordered pair (x, y) ...
* Attribute domain
* Bijection, injection and surjection
* Codomain
In mathematics, a codomain, counter-domain, or set of destination of a function is a set into which all of the output of the function is constrained to fall. It is the set in the notation . The term '' range'' is sometimes ambiguously used to ...
* Domain decomposition
* Effective domain In convex analysis, a branch of mathematics, the effective domain extends of the domain of a function defined for functions that take values in the extended real number line \infty, \infty= \mathbb \cup \.
In convex analysis and variational an ...
* Endofunction
* Image (mathematics)
In mathematics, for a function f: X \to Y, the image of an input value x is the single output value produced by f when passed x. The preimage of an output value y is the set of input values that produce y.
More generally, evaluating f at each ...
* Lipschitz domain In mathematics, a Lipschitz domain (or domain with Lipschitz boundary) is a domain in Euclidean space whose boundary is "sufficiently regular" in the sense that it can be thought of as locally being the graph of a Lipschitz continuous function. T ...
* Naive set theory
Naive set theory is any of several theories of sets used in the discussion of the foundations of mathematics.
Unlike axiomatic set theories, which are defined using formal logic, naive set theory is defined informally, in natural language. It de ...
* Range of a function
In mathematics, the range of a function may refer either to the codomain of the function, or the image of the function.
In some cases the codomain and the image of a function are the same set; such a function is called ''surjective'' or ''onto' ...
* Support (mathematics)
In mathematics, the support of a real-valued function f is the subset of the function domain of elements that are not mapped to zero. If the domain of f is a topological space, then the support of f is instead defined as the smallest closed s ...
Notes
References
*
*
*
*
*
*
{{Mathematical logic
Functions and mappings
Basic concepts in set theory