A domain is the set of all possible -values (inputs) of a function. You can determine the domain from a table, an algebraic function, or a graph. There are also multiple ways to write a domain, depending on what the inputs look like.
Refer to the following table:
| 1 | 2 |
| 2 | 4 |
| 3 | 6 |
| 4 | 8 |
| 5 | 10 |
In the table above, the -values are , , , , and . Those values make up the domain.
To write this domain properly, you have two options:
The first method lists each input explicitly inside curly braces.
The second method uses an interval: it shows the first and last values inside square brackets. You only use this square-bracket method when the domain includes every whole number between the two endpoints.
Refer to the following function:
Here, you aren’t given a list of inputs, so you have to decide which -values are allowed. A useful question is: are there any values that cannot equal?
In this function, is in the denominator. A denominator can’t be , so . Other than that, can be any real number.
Because there are infinitely many possible -values, you can’t list them one by one. Instead, write the domain using interval notation:
Notice two key features:
Refer to the following graph:

The arrows show that the curve continues forever in both directions. That means the -values extend infinitely to the left and infinitely to the right.
So, the domain is .
The range is the set of all possible -values (outputs) of a function. Like the domain, you can find the range from a table, an algebraic equation, or a graph. You write the range using the same notation styles as the domain - you just focus on the -values instead of the -values.
We will use the same examples as above to find the range for each form of a function.
Refer to the following table:
| 1 | 2 |
| 2 | 4 |
| 3 | 6 |
| 4 | 8 |
| 5 | 10 |
The -values are , , , , and , so the range is .
You can’t use the square-bracket method here because the outputs do not include every value between and .
Refer to the following function:
You already know can be any real number except . Now ask the same kind of question for outputs: are there any values that cannot equal?
For , the output can get very large (positive or negative) as gets close to , and it can get very close to as becomes very large in magnitude. But can never equal .
So, the range is .
Refer to the following graph:

The curve extends infinitely upward (in the positive -direction) and has a lowest point at . It does not go below the -axis.
So, the range is . You use a square bracket at because the function actually reaches . You use a parenthesis at because the function increases without bound but never equals infinity.
Sign up for free to take 3 quiz questions on this topic