function f from a set X to a set Y is an assignment
function f from a set X to a set Y is
of one element of Y to each element of X. The set
an assignment of one element of Y
to each element of X. The set X is
X is called the domain of the function and the set
called the domain of the function Y is called the codomain of the function.
and the set Y is called the codomain
of the function. If the element y in Y is assigned to x in Xby the
function f, one says that f maps x to y, and this is
If the element y in Y is assigned to
commonly written In this notation, x is the
x in Xby the function f, one says argument or variable of the function.
that f maps x to y, and this is
commonly written In this notation, A specific element x of X is a value of the
x is the argument or variable of the variable, and the corresponding element of Y is the
function. value of the function at x, or the image of x under
the function. The image of a function, sometimes
A specific element x of X is a value called its range, is the set of the images of all
of the variable, and the elements in the domain.[6][7][8][9]
corresponding element of Y is the
A function f, its domain X, and its codomain Y are
value of the function at x, or the
often specified by the notation One may write
image of x under the function. The instead of , where the symbol (read 'maps to') is
image of a function, sometimes used to specify where a particular element x in the
called its range, is the set of the
images of all elements in the domain is mapped to by f. This allows the
domain.[6][7][8][9] definition of a function without naming. For
example, the square function is the function
A function f, its domain X, and its
The domain and codomain are not always explicitly
codomain Y are often specified by given when a function is defined. In particular, it is
the notation One may write instead common that one might only know, without some
of , where the symbol (read 'maps (possibly difficult) computation, that the domain of
to') is used to specify where a a specific function is contained in a larger set. For
example, if is a real function, the determination of
particular element x in the domain
function f from a set X to a set Y is an assignment of
theone
domain of Y
of the
element function
to eachrequires of X. The
elementknowing theset X is called the domain of the
is mapped to by f. This allows the zeros of f. This is one of the reasons for which, in
function and the set Y is called the codomain of the function.
definition of a function without
naming. For example, the square mathematical analysis, "a function from X to Y "
function is the function If the element y in Y is assigned to x in Xby the function f, one
may refer to asays that fhaving
function maps xa to y, andsubset
proper this is X
of commonly written In this notation, x
is the argument or variable of the function. as a domain.[note 2] For example, a "function from
The domain and codomain are not
the reals to the reals" may refer to a real-valued
always explicitly given when a
A specific element x of X is a value of the variable, function
and the corresponding
of a real variableelement Y is theis value
whoseofdomain a of the function at x, or the image of x
function is defined. In particular, it
under the function. The image of a function, sometimesproper subset
called of theisreal
its range, thenumbers,
set of thetypically
images ofa all elements in the domain.[6][7][8][9]
is common that one might only
subset that contains a non-empty open interval.
know, without some (possibly
Such a function is then called a partial function.
difficult) computation, that the A function f, its domain X, and its codomain Y are often specified by the notation One may write instead of , where the symbol (read
domain of a specific function is
contained in a larger set. For
'maps to') is used to specify where a particular element x in the domain
A function f on a setis Smapped
meansto by f. Thisfrom
a function allows
the the definition of a function without
naming. For example, the square function is the function
example, if is a real function, the domain S, without specifying a codomain.
determination of the domain of the
However,
The domain and codomain are not always explicitly given whensome authorsisuse
a function it as shorthand
defined. for it is common that one might only know,
In particular,
function requires knowing the zeros
without some (possibly difficult) computation, that the domain
saying thatofthea specific is f : Sis→
functionfunction S. in a larger set. For example, if is a real
contained
of f. This is one of the reasons for
function, the determination of the domain of the function requires knowing the zeros of f. This is one of the reasons for which, in
which, in mathematical analysis, "a
mathematical analysis, "a function from X to Y " may refer to a function having a proper subset of X as a domain.[note 2] For example, a
function from X to Y " may refer to
"function from the reals to the reals" may refer to a real-valued function of a real variable whose domain is a proper subset of the real
a function having a proper subset of
numbers, typically a subset that contains a non-empty open interval. Such a function is then called a partial function.
X as a domain.[note 2] For
example, a "function from the reals A function f on a set S means a function
function f from
from a set XSto, without
the domain a set Y is an assignment
specifying of one However,
a codomain. Y toauthors
element ofsome each use it as shorthand
to the reals" may refer to a real-
valued function of a real variable for saying that the function is f → Sof. X. The set X is called the domain of the function and the set Y is called
: Selement
whose domain is a proper subset of the codomain of the function.
the real numbers, typically a subset
that contains a non-empty open If the element y in Y is assigned to x in Xby the function f, one says that f maps x
interval. Such a function is then
called a partial function. to y, and this is commonly written In this notation, x is the argument or variable of
the function.
A function f on a set S means a
A specific element x of X is a value of the variable, and the corresponding element
function from the domain S,
without specifying a codomain. of Y is the value of the function at x, or the image of x under the function. The image
However, some authors use it as of a function, sometimes called its range, is the set of the images of all elements in the
shorthand for saying that the domain.[6][7][8][9]
function is f : S → S.
A function f, its domain X, and its codomain Y are often specified by the notation
One may write instead of , where the symbol (read 'maps to') is used to specify where
a particular element x in the domain is mapped to by f. This allows the definition of a
function without naming. For example, the square function is the function
The domain and codomain are not always explicitly given when a function is defined.
In particular, it is common that one might only know, without some (possibly
difficult) computation, that the domain of a specific function is contained in a larger
set. For example, if is a real function, the determination of the domain of the function
requires knowing the zeros of f. This is one of the reasons for which, in mathematical
analysis, "a function from X to Y " may refer to a function having a proper subset of
X as a domain.[note 2] For example, a "function from the reals to the reals" may
refer to a real-valued function of a real variable whose domain is a proper subset of
the real numbers, typically a subset that contains a non-empty open interval. Such a
function is then called a partial function.
A function f on a set S means a function from the domain S, without specifying a
codomain. However, some authors use it as shorthand for saying that the function is
f : S → S.