Interactive · 1 question
What is Domain?
The domain of a function is all the possible -values, or inputs, that that function can take. This includes positive numbers and negative numbers.
If a function is a vending machine you can think of the domain as the different forms of payment you can use in order to get a candy bar. Maybe you use dollars, maybe quarters, or maybe you just aggressively shake the machine and hope for the best.
The best way to understand this, though, is to look at a graph.
Finding Domain Graphically
Suppose we wanted to find the domain for the following graphed function.

Recall that the open circle means that that point is not included.
Made using Desmos
What are the -values that this function takes? We basically want to identify the inputs.
Our graph starts at on the -axis and goes to on the -axis. Since there's an open circle on we don't include it in the domain.
Because the graph is only defined between and on the -axis, our domain is only between and . More precisely, the domain is:
Notice we didn't say because is not included in the domain!
Interval Notation
One way to write the domain of a graph is by using interval notation.
We start from the left and write the intervals that is defined on. Use brackets, , when the endpoints are included and parentheses, , when the endpoints are excluded.
Using the graph above, the domain would be: Because is not included we use a parentheses. is included so we use a bracket.
There are three more points that our example hasn't covered.
- All real numbers. If our domain is any real number value, we can say it spans from negative infinity to infinity, But more concisely, we use the symbol to say the domain is all real numbers.
- Infinities. If our domain spans continuously from a point to the left or right, we say it goes to negative infinity or positive infinity respectively. When using interval notation for infinity we always use parentheses, since infinity isn't a point. For example, we might write or
- Multiple intervals. If a graph has multiple segments you might need to use multiple intervals. We can use the union symbol, , to join them together. So if a graph's domain is defined from to and then from to infinity, we can write: .
Finding Domain Algebraically
Sometimes you'll be given an equation and asked to find its domain. You can graph it but that might not always be easy.
When looking at an equation, we just have to find the -values that would "break" the equation, or cause it to be undefined.
For example, if you were given a linear number line like , you can say the domain is all real numbers. No -value you plug in causes the equation to be undefined.
Now, suppose you have . If we plug in , we get a zero in the denominator which we can't have. This "breaks" the equation. So we say the domain is all real numbers except .
Luckily, there are only a few cases to keep an eye out for.
- Fractions. As explained above, fractions "break" if their denominator equals .
- Square roots. Square roots break if there is a negative value under the root.
Example 1
We want to find the domain for Notice there's both a fraction and a square root to tackle.
Let's start with the fraction. We know the denominator cannot be equal to (you can't divide by !). Solving for will show us a value of that is not in the domain. When we get a in the denominator and our function "breaks", so we can exclude that from the domain.
Next, we have to look at the square root. The function expression under the root cannot be negative. Solving for will give us that values that give us nonnegative terms. As long as is greater than or equal to , our function is defined. In other words, an values less than gives us a negative square root which "breaks" our function.
Finally, we write the domain. We know has to be a number greater than or equal to and it cannot be equal to . We have two intervals: a portion from to (not included) and a portion from (not included) to infinity.
Graphing this, we see we were correct.

Made using Desmos
Practice Problem
Determine the domain of the following function.
Solution
Again, we have both a square root and a fraction.
The square root portion must be nonnegative.
But, because it's in the denominator of a fraction, it can't be equal to .
Combining these two, we can exclude and just look for: Solve this gives us: This tells us that the domain is all the values greater than . Because itself is not included, we use parentheses when writing the domain.
An extension of this concept...is to find the range! Range consists of all values of a function. We can also explore domain and range with complex numbers. We'll learn about that a little later.


