Constant Function - Properties

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 g = f h, (where "" 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, its derivative, where defined, will be zero. Thus for example:

  • If f is a real-valued function of a real variable, defined on some interval, then f is constant if and only if the derivative of f is everywhere zero.

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:

  • Every constant function whose domain and codomain are the same is idempotent.
  • Every constant function between topological spaces is continuous.

A function on a connected set is locally constant if and only if it is constant.

Read more about this topic:  Constant Function

Famous quotes containing the word properties:

    The reason why men enter into society, is the preservation of their property; and the end why they choose and authorize a legislative, is, that there may be laws made, and rules set, as guards and fences to the properties of all the members of the society: to limit the power, and moderate the dominion, of every part and member of the society.
    John Locke (1632–1704)

    A drop of water has the properties of the sea, but cannot exhibit a storm. There is beauty of a concert, as well as of a flute; strength of a host, as well as of a hero.
    Ralph Waldo Emerson (1803–1882)