Definition · applies to functions

Elementary

Think of a function as a machine that takes an input and gives an output. The function is constant if it gives the same output for every input.

High school

Consider a function $f$. The function is constant if $f(x) = c$ for every $x$ in its domain, for some fixed $c$.

Examples

Examples

  • ✓ $x \mapsto 5$ High school
    $x \mapsto 5$ is a constant function, because it gives the same output, $5$, for every input.

Non-examples
Things that may be mistaken for examples of this term.

All definitions · All distinctions · All examples · Notation