What is range in math

In mathematics, range refers to the set of all possible output values (dependent variable) that a function or relationship can produce given a set of input values (independent variable). It is the difference between the maximum and minimum values in a set of numbers or the spread of the data. For example, if a function f(x) = x^2, the range would be all non-negative real numbers because there are no negative outputs.