Constant function

From testwiki
Revision as of 05:28, 5 December 2024 by imported>TakuyaMurata (Other properties: lk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description Template:Distinguish Template:Functions

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

Basic properties

An example of a constant function is Template:Math, because the value of Template:Math 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 Template:Math or just Template:Nowrap For example, the function Template:Math is the specific constant function where the output value is Template:Math. The domain of this function is the set of all real numbers. The image of this function is the singleton set Template:Math. The independent variable Template:Nowrap does not appear on the right side of the function expression and so its value is "vacuously substituted"; namely Template:Math, Template:Math, Template:Math, and so on. No matter what value of Template:Math is input, the output is Template:Math.[1]

The graph of the constant function Template:Math is a horizontal line in the plane that passes through the point Template:Math.[2] In the context of a polynomial in one variable Template:Math, the constant function is called non-zero constant function because it is a polynomial of degree 0, and its general form is Template:Math, where Template:Mvar is nonzero. This function has no intersection point with the Template:Nowrapaxis, meaning it has no root (zero). On the other hand, the polynomial Template:Math is the identically zero function. It is the (trivial) constant function and every Template:Math is a root. Its graph is the Template:Nowrapaxis in the plane.[3] Its graph is symmetric with respect to the Template:Nowrapaxis, 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 Template:Math for all real numbers Template:Math, then Template:Math is a constant function.[6] For example, given the constant function Template:Nowrap The derivative of Template:Math is the identically zero function Template:Nowrap

Other properties

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

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

References

Template:Reflist

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

Template:Commons category

Template:Polynomials Template:Functions navbox