In a linear function, any real number can be substituted for x and yield a real number output. For any real number, you can always find an x value that gives you that number for the output. Therefore, the domain and the range of a linear function are all real numbers.