Constant function
In mathematics, a constant function is a function whose (output) value is the same for every input value.
≈ 2 min read
Constant function. encyclopegia.org, snapshot enwiki-001350437448. /a/constant-function
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
In mathematics, a constant function is a function whose (output) value is the same for every input value. In the context where it is defined, the derivative of a function is a measure of the rate of change of function values with respect to change in input values. Because a constant function does not change, its derivative is 0.
This is often written: (x \mapsto c)' = 0 . The converse is also true. Namely, if for all real numbers , then is a constant function.
For example, given the constant function The derivative of is the identically zero function For any non-empty , every set is isomorphic to the set of constant functions in X \to Y . For any and each element in , there is a unique function \tilde{y}: X \to Y such that \tilde{y}(x) = y for all x \in X . Conversely, if a function f: X \to Y satisfies f(x) = f(x') for all x, x' \in X , f is by definition a constant function. As a corollary, the one-point set is a generator in the category of sets.
Every set X is canonically isomorphic to the function set X^1 , or hom set \operatorname{hom}(1,X) in the category of sets, where 1 is the one-point set. Because of this, and the adjunction between Cartesian products and hom in the category of sets (so there is a canonical isomorphism between functions of two variables and functions of one variable valued in functions of another (single) variable, \operatorname{hom}(X \times Y, Z) \cong \operatorname{hom}(X(\operatorname{hom}(Y, Z)) ) the category of sets is a closed monoidal category with the Cartesian product of sets as tensor product and the one-point set as tensor unit.
In the isomorphisms \lambda: 1 \times X \cong X \cong X \times 1: \rho natural in , the left and right unitors are the projections p_1 and p_2 the ordered pairs (*, x) and (x, *) respectively to the element x , where * is the unique point in the one-point set. A function on a connected set is locally constant if and only if it is constant.
Text derived from https://en.wikipedia.org/w/index.php?oldid=1350437448 under CC BY-SA 4.0; modifications have been made.