If f:A→B is a function
, then the domain of f is the input set A.
More generally, if R⊆A×B is a relation
, its domain is the subset
dom(R)={a∈A:∃b∈B with (a,b)∈R},where A×B is the Cartesian product
.
Examples:
- For f:R→R defined by f(x)=x2, the domain is R.
- If R={(1,a),(2,a)}⊆{1,2,3}×{a,b}, then dom(R)={1,2}.