Constant function explained
Constant function should not be confused with function constant.
In mathematics, 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 numbers. The image 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 .[1]
The graph of the constant function is a horizontal line in the plane that passes through the point .[2] In the context of a polynomial 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.[3] Its graph is symmetric with respect to the axis, and therefore a constant function is an even function.[4]
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.[5] This is often written:
. The converse is also true. Namely, if for all real numbers, then is a constant function.
[6] 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 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 are the same set is a left zero of the full transformation monoid on, which implies that it is also idempotent.
- It has zero slope or gradient.
- Every constant function between topological spaces is continuous.
- A constant function factors through the one-point set, the terminal object in the category of sets. This observation is instrumental for F. William Lawvere's axiomatization of set theory, the Elementary Theory of the Category of Sets (ETCS).[7]
- For any non-empty, every set is isomorphic to the set of constant functions in
. For any and each element in, there is a unique function
such that
for all
. Conversely, if a function
satisfies
for all
,
is by definition a constant function.
- As a corollary, the one-point set is a generator in the category of sets.
- Every set
is canonically isomorphic to the function set
, or hom set
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 x 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
λ:1 x X\congX\congX x 1:\rho
natural in , the left and right unitors are the projections
and
the
ordered pairs
and
respectively to the element
, 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.
References
- Herrlich, Horst and Strecker, George E., Category Theory, Heldermann Verlag (2007).
Notes and References
- Book: Tanton, James
. 2005 . Encyclopedia of Mathematics . Facts on File, New York . 0-8160-5124-0 . 94 .
- Web site: College Algebra. Dawkins. Paul. 2007. Lamar University. 224. January 12, 2014.
- Book: Advanced Mathematical Concepts - Pre-calculus with Applications, Student Edition. Carter. John A.. Marks. Daniel. Cuevas. Gilbert J.. Holliday. Berchie. McClure. Melissa S. . Glencoe/McGraw-Hill School Pub Co. 2005. 978-0078682278. 1. 1. 22.
- Book: Young, Cynthia Y. . Cynthia Y. Young
. Cynthia Y. Young . 2021 . Precalculus . 3rd . 122 . John Wiley & Sons. 978-1-119-58294-6 .
- Book: Varberg . Dale E. . Purcell . Edwin J. . Rigdon . Steven E. . Calculus . 2007 . . 107 . 9th . 978-0131469686.
- Web site: Zero Derivative implies Constant Function. January 12, 2014.
- Leinster. Tom. An informal introduction to topos theory. 27 Jun 2011. 1012.5647. math.CT.