# What is the domain and range of y=-5+2x?

Mar 14, 2018

Domain: all real numbers
Range: all real numbers

#### Explanation:

The domain of a function is the set of all x values of the function.
(Any number in the domain that you put into the function yields an output-- the y value.)
The range of a function is the set of all y values of the function.
The graph below displays the graph of $y = 2 x - 5$
Since the graph passes through each x and y at one point, the domain and range of the function are "all real numbers," meaning that you can put any number x ($\pi$, 5, -3/2, etc.) and get a real number y.
graph{y=2x-5 [-16.02, 16.02, -8.01, 8.01]}