HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a constant function is a function whose (output) value is the same for every input value.


Basic properties

As a real-valued function of a real-valued argument, a constant function has the general form or just For example, the function is the specific constant function where the output value is . The domain of this function is the set of all
real number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s. The
image An image or picture is a visual representation. An image can be Two-dimensional space, two-dimensional, such as a drawing, painting, or photograph, or Three-dimensional space, three-dimensional, such as a carving or sculpture. Images may be di ...
of this function is the singleton set . The independent variable does not appear on the right side of the function expression and so its value is "vacuously substituted"; namely , , , and so on. No matter what value of is input, the output is . The graph of the constant function is a ''horizontal line'' in the plane that passes through the point . In the context of a
polynomial In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
in one variable , the constant function is called ''non-zero constant function'' because it is a polynomial of degree 0, and its general form is , where is nonzero. This function has no intersection point with the axis, meaning it has no root (zero). On the other hand, the polynomial is the ''identically zero function''. It is the (trivial) constant function and every is a root. Its graph is the axis in the plane. Its graph is symmetric with respect to the axis, and therefore a constant function is an
even function In mathematics, an even function is a real function such that f(-x)=f(x) for every x in its domain. Similarly, an odd function is a function such that f(-x)=-f(x) for every x in its domain. They are named for the parity of the powers of the ...
. In the context where it is defined, the
derivative In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
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


Other properties

For functions between preordered sets, constant functions are both
order-preserving In mathematics, a monotonic function (or monotone function) is a function between ordered sets that preserves or reverses the given order. This concept first arose in calculus, and was later generalized to the more abstract setting of ord ...
and order-reversing; conversely, if is both order-preserving and order-reversing, and if the domain of is a lattice, then must be constant. * Every constant function whose domain and
codomain In mathematics, a codomain, counter-domain, or set of destination of a function is a set into which all of the output of the function is constrained to fall. It is the set in the notation . The term '' range'' is sometimes ambiguously used to ...
are the same set is a
left zero In mathematics, an absorbing element (or annihilating element) is a special type of element of a set with respect to a binary operation on that set. The result of combining an absorbing element with any element of the set is the absorbing element ...
of the full transformation monoid on , which implies that it is also
idempotent Idempotence (, ) is the property of certain operations in mathematics and computer science whereby they can be applied multiple times without changing the result beyond the initial application. The concept of idempotence arises in a number of pl ...
. * It has zero
slope In mathematics, the slope or gradient of a Line (mathematics), line is a number that describes the direction (geometry), direction of the line on a plane (geometry), plane. Often denoted by the letter ''m'', slope is calculated as the ratio of t ...
or
gradient In vector calculus, the gradient of a scalar-valued differentiable function f of several variables is the vector field (or vector-valued function) \nabla f whose value at a point p gives the direction and the rate of fastest increase. The g ...
. * Every constant function between
topological space In mathematics, a topological space is, roughly speaking, a Geometry, geometrical space in which Closeness (mathematics), closeness is defined but cannot necessarily be measured by a numeric Distance (mathematics), distance. More specifically, a to ...
s is
continuous Continuity or continuous may refer to: Mathematics * Continuity (mathematics), the opposing concept to discreteness; common examples include ** Continuous probability distribution or random variable in probability and statistics ** Continuous ...
. * A constant function factors through the one-point set, the
terminal object In category theory, a branch of mathematics, an initial object of a category is an object in such that for every object in , there exists precisely one morphism . The dual notion is that of a terminal object (also called terminal element): ...
in the
category of sets In the mathematical field of category theory, the category of sets, denoted by Set, is the category whose objects are sets. The arrows or morphisms between sets ''A'' and ''B'' are the functions from ''A'' to ''B'', and the composition of mor ...
. This observation is instrumental for F. William Lawvere's axiomatization of set theory, the
Elementary Theory of the Category of Sets Elementary may refer to: Arts, entertainment, and media Music * ''Elementary'' (Cindy Morgan album), 2001 * ''Elementary'' (The End album), 2007 * ''Elementary'', a Melvin "Wah-Wah Watson" Ragin album, 1977 Other uses in arts, entertainment, a ...
(ETCS). * For any non-empty , every set is
isomorphic In mathematics, an isomorphism is a structure-preserving mapping or morphism between two structures of the same type that can be reversed by an inverse mapping. Two mathematical structures are isomorphic if an isomorphism exists between the ...
to the set of constant functions in X \to Y. For any and each element in , there is a unique function \tilde: X \to Y such that \tilde(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(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(X \times Y, Z) \cong \operatorname(X(\operatorname(Y, Z))) the category of sets is a closed monoidal category with the
Cartesian product In mathematics, specifically set theory, the Cartesian product of two sets and , denoted , is the set of all ordered pairs where is an element of and is an element of . In terms of set-builder notation, that is A\times B = \. A table c ...
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 pair In mathematics, an ordered pair, denoted (''a'', ''b''), is a pair of objects in which their order is significant. The ordered pair (''a'', ''b'') is different from the ordered pair (''b'', ''a''), unless ''a'' = ''b''. In contrast, the '' unord ...
s (*, x) and (x, *) respectively to the element x, where * is the unique point in the one-point set. A function on a
connected set In topology and related branches of mathematics, a connected space is a topological space that cannot be represented as the union of two or more disjoint non-empty open subsets. Connectedness is one of the principal topological properties th ...
is locally constant if and only if it is constant.


References

* Herrlich, Horst and Strecker, George E., ''Category Theory'', Heldermann Verlag (2007).


External links

* * {{Functions navbox Elementary mathematics Elementary special functions Polynomial functions