# What is range

Range is the possible values a dependent variable may take on. For instance,

If y= 3x+2, and the domain of x is {0,1,2}, then the range of y is [2,5,8]

## To calculate the range in this case, you need to substitute each value of x into the equation y = 3x + 2. This will give you the corresponding values of y. The range is then the set of all possible values of y that you obtain.

In this example, if you substitute x = 0 into the equation, you get y = 3(0) + 2 = 2. If you substitute x = 1, you get y = 3(1) + 2 = 5. Finally, if you substitute x = 2, you get y = 3(2) + 2 = 8.

Therefore, the range of y, represented as {2,5,8}, is the set of all possible values of y that you obtained by substituting each value of x.