Function defined in the set of real numbers by a relation in the form f(x) = k, where k is a real number.
- The graph of a constant function is a horizontal line that is parallel to the x-axis.
- A constant function is a particular case of an affine function.