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 so is <math>g(x)=\log_{34} e^{\pi-\frac{1}{2}}</math>. So basically, a constant function that whatever input you put in, it always returns the same value.
+
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]]

Latest 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, $f(x)=4$ is a constant function because $4$ always equals $4$, and $g(x)=\log_{34} e^{\pi-\frac{1}{2}}$ is a constant function since $\log_{34} e^{\pi-\frac{1}{2}}$ is always equal to $\log_{34} e^{\pi-\frac{1}{2}}$. 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.

Invalid username
Login to AoPS