Hi everyone, and welcome back. Up to this point, we have spent a lot of time talking about functions. In this video, we're going to be taking a look at how we can find the domain and range of a function based on its graph. Now, when encountering the task of finding the domain and range of functions, it can often seem a bit tricky. But in this video, we are going to go over some analogies and examples that will hopefully make this topic a lot clearer.
So let's get into this. When finding the domain of a graph, you're looking for the allowed x values that you can have. And when finding the range, you're looking for the allowed y values. Now, there's a little trick that you can use, and that is known as the squish strategy. What you can do if you have the domain of a graph is you can take your graph and squish it down to the x axis.
So, if you squish things down to the x axis, that will tell you the domain. Let's say we have this graph down here. Notice how we took this curve and we literally squished it down to the x axis so only some sort of line or set of lines remains. This tells you the domain. Now, when finding the range, you can take your graph and squish it down to the y axis.
Notice for our graph, we've squished it down to the y, and this tells you the range. There are a couple of different ways we can write the domain and range of a graph. One common method is to use interval notation. Interval notation represents the domain and range using brackets and parentheses. You can actually see this in the example we have above.
Notice that it looks like our domain goes from a value of negative 4 to positive 5 on the x axis. This is what we stated the domain was. And for our range, it looks like we go from about negative one to positive 2 on the y axis. That's using interval notation. Another notation you can use is called set builder notation.
Set builder notation uses inequality symbols as opposed to the brackets and parentheses. Something to keep in mind whenever using either of these notations is that whenever you see these brackets or inequality symbols with the bar underneath, it means that you want to include whatever value you're looking at. For example, if we have this graph, the values you want to include are either closed dots or solid lines or curves. These are values that you always want to include in your domain and range.
Whenever you see these parentheses or inequality symbols without the bar underneath, this means that you do not want to include those values. Values that you do not want to include are situations where you see a hole in your graph. Anytime you see this hole or this open circle, that means you do not want to include it, whereas anytime you see a solid dot or a solid line or curve, you do want to include it. Given all this information, let's see if we can solve an example. We're asked to determine the domain and range of the graph below to express our answer using interval notation.
First, let's find the domain of this graph. Recall that what we want to do is take our graph and squish it down to the x axis. If we take this graph and we imagine squishing every single point down to the x axis, we're going to get a graph that looks something like this. We'll have a line that goes from negative 4 all the way to an x value of 0 and then we'll have another line that goes from positive one all the way to 4.
Notice how there's an open circle here, so we have to include the open circle there as well. And then everywhere else, we have a closed circle because these circles were all closed. Looking at this squished graph, our domain is going to go from negative 4 to 0 on our x axis and we need to include both these values since we have 2 closed circles. Another one of these lines is going to go from positive one because this is an x value of 1 right here to 4. We're going to include this positive one since we have a closed circle there, but our open circle is going to cause us to draw a parenthesis here because we do not want to include that value.
Notice how we have multiple intervals here. Whenever you have multiple intervals or a jump in your graph, you need to use something called a union symbol, which looks like this. Since we have multiple intervals, we need to put a union symbol between these to join the 2 intervals together. This right here is the domain of our graph.
Now let's see how we can find the range. And recall when finding the range, we need to take our graph and squish it down to the y axis. If I take this other graph we have drawn over here and I squish all these values down to the y, what we're first going to end up with is a line that goes from 1 to 3 on the y axis and then we're going to end up with another line that goes from negative 3 all the way to negative 1 and we'll have an open circle at negative 1 since we have the open circle right there. So our range is going to go from negative 3 to negative one and keep in mind we'll include the negative 3 but we do not include the negative one since we have an open circle, and our range will also go from positive one to 3. And we need to include both of these values since we have closed dots or, I should say, we have a solid line or curve, but still, you want to include that value.
We'll put the union symbol, and then this is the range of our graph. So that is how you can find the domain and range of a function based on its graph. Let me know if you have any questions, and thanks for watching.