In math, the domain of a function is the set of possible inputs or values that we are allowed to plug into the function
. It is the set of objects that the function will accept as inputs
. The range of a function, on the other hand, is the set of values that the function assumes or outputs
. For example, if we have a function f(x) = x^2, the domain would be all real numbers, and the range would be all non-negative real numbers
. It is important to find the domain of a function since some functions have limits on what is permissible as an input
. For instance, we cannot divide by zero, so the domain of a function cannot include the value x=0