Nonconstant function (source code)

= Nonconstant function
{title2=$\exists x,y:\ f(x)\ne f(y)$}

= Nonconstant
{synonym}

A <function> is nonconstant when two inputs in its <domain of a function> have different outputs. For example, $f(x)=x^2$ on the <real line> is nonconstant, whereas the same rule restricted to $\{-1,1\}$ is a <constant function>.