Constant function

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:Short description Script error: No such module "Distinguish". Template:Functions

In mathematics, a constant function is a function whose (output) value is the same for every input value.

Basic properties

File:Wiki constant function 175 200.png
An example of a constant function is y(x) = 4Script error: No such module "Check for unknown parameters"., because the value of y(x)Script error: No such module "Check for unknown parameters". is 4 regardless of the input value Template:Mvar.

As a real-valued function of a real-valued argument, a constant function has the general form y(x) = cScript error: No such module "Check for unknown parameters". or just y = cScript error: No such module "Check for unknown parameters".. For example, the function y(x) = 4Script error: No such module "Check for unknown parameters". is the specific constant function where the output value is c = 4Script error: No such module "Check for unknown parameters".. The domain of this function is the set of all real numbers. The image of this function is the singleton set Template:MsetScript error: No such module "Check for unknown parameters".. The independent variable x does not appear on the right side of the function expression and so its value is "vacuously substituted"; namely y(0) = 4Script error: No such module "Check for unknown parameters"., y(−2.7) = 4Script error: No such module "Check for unknown parameters"., y(π) = 4Script error: No such module "Check for unknown parameters"., and so on. No matter what value of xScript error: No such module "Check for unknown parameters". is input, the output is 4Script error: No such module "Check for unknown parameters"..[1]

The graph of the constant function y = cScript error: No such module "Check for unknown parameters". is a horizontal line in the plane that passes through the point (0, c)Script error: No such module "Check for unknown parameters"..[2] In the context of a polynomial in one variable xScript error: No such module "Check for unknown parameters"., the constant function is called non-zero constant function because it is a polynomial of degree 0, and its general form is f(x) = cScript error: No such module "Check for unknown parameters"., where Template:Mvar is nonzero. This function has no intersection point with the xScript error: No such module "Check for unknown parameters".-axis, meaning it has no root (zero). On the other hand, the polynomial f(x) = 0Script error: No such module "Check for unknown parameters". is the identically zero function. It is the (trivial) constant function and every xScript error: No such module "Check for unknown parameters". is a root. Its graph is the xScript error: No such module "Check for unknown parameters".-axis in the plane.[3] Its graph is symmetric with respect to the yScript error: No such module "Check for unknown parameters".-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: (xc)=0. The converse is also true. Namely, if y′(x) = 0Script error: No such module "Check for unknown parameters". for all real numbers xScript error: No such module "Check for unknown parameters"., then yScript error: No such module "Check for unknown parameters". is a constant function.[6] For example, given the constant function y(x)=2. The derivative of yScript error: No such module "Check for unknown parameters". is the identically zero function y(x)=(x2)=0.

Other properties

For functions between preordered sets, constant functions are both order-preserving and order-reversing; conversely, if fScript error: No such module "Check for unknown parameters". is both order-preserving and order-reversing, and if the domain of fScript error: No such module "Check for unknown parameters". is a lattice, then fScript error: No such module "Check for unknown parameters". must be constant.

  • Every constant function whose domain and codomain are the same set XScript error: No such module "Check for unknown parameters". is a left zero of the full transformation monoid on XScript error: No such module "Check for unknown parameters"., 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 XScript error: No such module "Check for unknown parameters"., every set YScript error: No such module "Check for unknown parameters". is isomorphic to the set of constant functions in XY. For any XScript error: No such module "Check for unknown parameters". and each element yScript error: No such module "Check for unknown parameters". in YScript error: No such module "Check for unknown parameters"., there is a unique function y~:XY such that y~(x)=y for all xX. Conversely, if a function f:XY satisfies f(x)=f(x) for all x,xX, 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 X1, or hom set 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, hom(X×Y,Z)hom(X(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×XXX×1:ρ natural in XScript error: No such module "Check for unknown parameters"., the left and right unitors are the projections p1 and p2 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.

References

<templatestyles src="Reflist/styles.css" />

  1. Script error: No such module "citation/CS1".
  2. Script error: No such module "citation/CS1".
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".
  5. Script error: No such module "citation/CS1".
  6. Script error: No such module "citation/CS1".
  7. Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".

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

External links

Template:Sister project

Template:Polynomials Template:Functions navbox