Constant Function definition
A constant function gives the same output for every input in its domain.
Constant Function in a picture
How it works
Write f(x) = c for a fixed c. On an interval, the graph is horizontal and the rate of change between distinct inputs is zero. If the domain is nonempty, the range is {c}. If the domain is restricted, only the allowed x-values appear in the graph.
Worked examples
If f(x) = 8, find f(−3) and f(10).
Both values are 8.
What is the range of f(x) = −2 on [0, 5]?
{−2}.
What is the slope of y = 4?
0.
Common mistake
A horizontal graph can represent a function. A vertical line with several points at the same x fails the vertical line test.
Quick check
How many outputs occur in a nonempty constant function’s range?
Show answer
One.
Is f(x) = 0 constant?
Show answer
Yes.
What does f(x) = 3 look like over all real x?
Show answer
A horizontal line at height 3.
Sources
Flashcard
Constant Function
Reveal the definition
A constant function gives the same output for every input in its domain.
Effortless Math. “Constant Function.” Math Dictionary.



