Understanding Domain and Range Part 1

The domain of a function is the set of x-coordinates of the points in the function. The range of the function f is the set of y-coordinates of the points in the function. So if we have a function f with points (-3, -2), (-1, 3), (2, 3), and (5,4), then the domain of the function f is the set {-3, -1, 2, 5} and the range of f is the set {-2, 3, 4). Graphically, we can say that the domain is the  “projection” of the points to the x-axis (see red points in the following figure).

domain

The range of f is the projection of the points to the y-axis (see green points in the following figure). 

range

Example 1

In the function g, we can see that the projection of the graph to the x-axis is the set of real numbers from -1 to 2 (see red line segment), however, small “empty circle” indicates that the domain does not include 2. Therefore, the domain of g is the set of real number

\{x | x - 1 \leq x < 2 \}.

In interval notation, that is [-1, 2).

Recall: The interval notation where a is less than b, [a, b] means from a to b including a and b and (a, b) means from a to b excluding a and excluding b.  The interval (a, b] means from a to b excluding a and including b and [a, b) means from a to b including a and excluding b.

domain and range

Looking at the graph, the projection of the graph to the y-axis is from -2.7 up to 3.5 but not including 3.5 because of the empty circle (see green line segment). Therefore, the range is the set

\{y | y \geq - 2.7 \leq y < 3.5 \}

or [2.7, 3.5) in interval notation.

Example 2

In the function h, the projection of the graph to the x-axis is from -3 to 2, except -2. Therefore, the domain of h is the set of real numbers from -3 to 2, excluding -2. Using the interval notation, we can them into two intervals which are from -3 to 2 and from -2 to 2 excluding -2 on both intervals.

 

domain and range

In interval notation, we can say that the domain of h is [-3, -2) \cup (-2, 2].

Example 3

The projection of the graph p(x) = x^2 on the x-axis is on the entire x-axis (can you visualize why?), so its domain is the set of real numbers. Its projection on the y-axis is from 0 extending upward indefinitely, so the range of f is the set of non-negative real numbers or [0, \infty) in interval notation.

Example 4

The graph of the linear function q(x) = x is a slanting line extending to the left and right indefinitely as well as up and down indefinitely. This means that the domain of q is the set of real numbers and the range is also the set of real numbers.

Example 5

The domain of the sine function y = sin(x) whose graph is shown below is the set of real numbers (why?). Its range is from -1 to 1.

domainrangesine

Now, you have a conceptual understanding of the graphical representation of domain and range. In the next post, we are going to learn some algebraic methods on how to find the domain and range of functions.

Leave a Reply