The domain of a function is the specified set of allowed inputs. A function must assign a value to every member of that set. Its codomain separately specifies where the outputs are allowed to lie.
The formula alone need not determine the domain. The rule on the real numbers and its restriction to the nonnegative real numbers have different allowed inputs. The first is not injective, while the second is. Similarly, the real-valued rule excludes zero from its domain of a function.
Changing a formula by cancellation can alter where it is defined. The principle preserve the domain when simplifying a function records why an extension across a cancelled denominator is a separate operation.
An algebraic simplification proves equality only where both original and transformed expressions are defined. If a cancelled factor vanishes at a point, the simplified expression may instead describe an extension to that point. For example,
holds only when and . The right side is zero at , but the left side is undefined there. A graph of the original function must retain those holes. The extension may be useful, but it is a different function with a larger domain of a function.
For a partial function , its domain of a partial function is the subset
Its restriction to is an ordinary function . Outside , function evaluation has no assigned value.
For instance, the real square root as a partial function on the real line has . Both and lie in the surrounding source, but only at zero is there an output; the value zero and absence of a value are different situations.

Ancestors (6)

  1. Function
  2. Set theory
  3. Foundations of mathematics
  4. Area of mathematics
  5. Mathematics
  6. Home

Synonyms (1)

Discussion (0) New discussion

There are no discussions about this article yet.

Articles by others on the same topic (2)

The **domain** of a function is the set of all possible input values (or "arguments") for which the function is defined. In other words, it includes all the values you can use as inputs without causing any mathematical inconsistencies, such as division by zero or taking the square root of a negative number.