# Constant function

< MathGloss‎ | C

This glossary is far from complete. We are constantly adding math terms.
For instructions on adding new terms, please refer to Math Glossary Main Page


Definition
 Constant function A function whose range consist of a single number.

## Examples

$\text{Constant function }\,$$f(n)=5\,$
$n\,$ $f(n)\,$
$-5\,$ $5\,$
$-4\,$ $5\,$
$-3\,$ $5\,$
$-2\,$ $5\,$
$-1\,$ $5\,$
$0\,$ $5\,$
$1\,$ $5\,$
$2\,$ $5\,$
$3\,$ $5\,$
$4\,$ $5\,$
$5\,$ $5\,$