# Difference between revisions of "Constant function"

(some examples.) |
m |
||

(4 intermediate revisions by 4 users not shown) | |||

Line 1: | Line 1: | ||

− | A '''constant function''' is a [[function]] which has a [[constant]] output: the value of the function does not depend on the value of its input. Equivalently, a constant function is a function whose [[range]] has only a single value. For example, <math>f(x)=4</math> is a constant function, and | + | A '''constant function''' is a [[function]] which has a [[constant]] output: the value of the function does not depend on the value of its input. Equivalently, a constant function is a function whose [[range]] has only a single value. For example, <math>f(x)=4</math> is a constant function because <math>4</math> always equals <math>4</math>, and <math>g(x)=\log_{34} e^{\pi-\frac{1}{2}}</math> is a constant function since <math>\log_{34} e^{\pi-\frac{1}{2}}</math> is always equal to <math>\log_{34} e^{\pi-\frac{1}{2}}</math>. So, basically, a constant function is a function that for whatever input you put in, it always returns the same value, or a constant. |

{{stub}} | {{stub}} | ||

+ | [[Category:Functions]] | ||

+ | [[Category:Definition]] |

## Latest revision as of 19:34, 3 September 2016

A **constant function** is a function which has a constant output: the value of the function does not depend on the value of its input. Equivalently, a constant function is a function whose range has only a single value. For example, is a constant function because always equals , and is a constant function since is always equal to . So, basically, a constant function is a function that for whatever input you put in, it always returns the same value, or a constant.

*This article is a stub. Help us out by expanding it.*