Difference between revisions of "Constant function"
m |
|||
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:Functions]] | ||
[[Category:Definition]] | [[Category:Definition]] |
Revision as of 18: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.