Dog Breeds Information and More
  Komondor - Dog Breeds Facts and Information Dog Breeds Selector A to Z dog breeds Forums

 
Dog names
Dog training
Toy dogs
Intelligence
Dog health
Dog worship
Ticks

 
Golden Retriever
Labrador Retriever
Jack Russell
 
Find a Breed
 
Dog Breeds Encyclopedia
 

Constant function

In mathematics a constant function is a function whose values do not vary and thus are constant. More formally, a function f : AB, is a constant function if f(x) = f(y) for all x and y in A.

Notice that every empty function, that is, any function whose domain equals the empty set, is included in the above definition vacuously, since there are no x and y in A for which f(x) and f(y) are different. However some find it more convenient to define constant function so as to exclude empty functions.

For polynomial functions, a constant function is called a polynomial of degree zero.

Properties

Constant functions can be characterized with respect to function composition in two ways.

The following are equivalent:

  1. f : AB, is a constant function.
  2. For all functions g, h : CA, f o g = f o h, (where "o" denotes function composition).
  3. The composition of f with any other function is also a constant function.

The first characterization of constant functions given above, is taken as the motivating and defining property for the more general notion of constant morphism in Category theory.

In contexts where it is defined, the derivative of a function measures how that function varies with respect to the variation of some argument. It follows that, since a constant function does not vary, it's derivative(s), where defined, will be zero. Thus for example:

For functions between preordered sets, constant functions are both order-preserving and order-reversing; conversely, if f is both order-preserving and order-reversing, and if the domain of f is a lattice, then f must be constant.

Other properties of constant functions include:

References

  • Herrlich, Horst and Strecker, George E., Category Theory, Allen and Bacon, Inc. Boston (1973)
The contents of this article are licensed from Wikipedia.org under the
GNU Free Documentation License. How to see transparent copy