Domain

The set of inputs on which a function is defined.
Domain

If f:XYf:X\to Y is a function, then the domain of ff is the set XX.

The domain is part of the data of a function. In analysis, changing the domain can change key properties (e.g., injectivity of xx2x\mapsto x^2 on R\mathbb{R} versus on [0,)[0,\infty)).

Examples:

  • For f:RRf:\mathbb{R}\to\mathbb{R}, f(x)=x2f(x)=x^2, the domain is R\mathbb{R}.
  • For log:(0,)R\log:(0,\infty)\to\mathbb{R}, the domain is (0,)(0,\infty).
  • The restriction f[0,1]f|_{[0,1]} has domain [0,1][0,1] even if ff was originally defined on R\mathbb{R}.