Britannica Sources used in this answer

How do the domain and range describe a function?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

In mathematics, a function defines a relationship between an independent variable (typically x) and a dependent variable (typically y), where each input is associated with exactly one unique output. The domain and range are fundamental sets that describe this relationship:1

  • Domain: This is the set of all possible values for the independent variable (x). It represents the complete collection of inputs for which the function is defined.1
  • Range: This is the set of all resulting values for the dependent variable (f(x)). It consists of all the outputs generated by applying the function's rule to the values within the domain.1

Together, these sets define the scope and behavior of the function. For instance, in analytic geometry, the domain corresponds to the values plotted along the horizontal x-axis, while the range corresponds to the values plotted along the vertical y-axis.1