Understanding Domain and Range Part 2

In the previous post, we have learned the graphical representation of domain and range. The domain of the function f is the shadow or projection of the graph of f to the x-axis (see the red segment in the figure below). The range of f is the projection of the graph of f to the y-axis (see the green segment in the figure below). In this post, we are going to learn how to analyze equations of functions and determine their domain and range without graphing.

domain and range

If a graph of a function is projected to the x-axis, the projection is the set of x-coordinates of the graph. A single point (a,0) on the projection means a point on the graph exists. The existence of a point implies that f(a) exists. This means that the function is defined at x = a. In effect, the domain of a function is the set of x-coordinates that makes the function defined. In what follows, we learn some examples to illustrate this concept. 

Example 1: Find the domain and range of f(x) = x + 1.

Explanation

As we can see from the equation, we can substitute any real number to x and any of these values makes the function defined. Therefore, the domain of the function f is the set of real numbers. The range of the function has also no restriction. We can think of any real number f(x), and we can always find the corresponding x by subtracting 1 from it. Therefore, the range of f is the set of real numbers.

Example 2: Find the domain and range of g(x) = x^2.

Explanation

Just like in Example 1, we can substitute any real number to x and any of them makes g(x) defined (Can you see why?). So, the domain of g is the set of real numbers.

Now let’s think about the range. The range are the values of f(x) = x^2. Notice that if we square a positive real number, the result is a positive real number. If we square a negative real number, then the result is also a positive real number. If we square 0, the result is 0. Therefore, the only possible results that we can get if we square a real number are 0 and positive real numbers. Therefore, the range of g is the set of real numbers greater than, or equal to 0. In interval notation, the range of g is [0, \infty).

Example 3: Find the domain and range of h(x) = | x |

Recall that |x| means the absolute value of x. As we can see, we can substitute any real number to x, and g(x) is always defined. So, the domain of g is the set of real numbers.

As for the range, if x is a negative real number, then |x| is a positive real number. If x is 0, |x| is also 0. If x is a positive real number, then |x| is a positive real number. Since all values of |x| is either 0 or positive real numbers, the range of h, is the set of real numbers greater than or equal to 0. In interval notation, the range of h is [0, \infty).

Example 4: Find the domain and range of p(x) = \sqrt {x}

Explanation

We know that  we cannot find a real number that is a square root of negative numbers. This means that we cannot substitute a negative number for x. In effect, we limit the x values of p to 0 and positive real numbers. Therefore, the domain of p is the set of real numbers greater than or equal to 0. In interval notation, the domain of p is [0, \infty).

Since we are only allowed to substitute 0 and positive real numbers to x, then, it follows that p(x) = \sqrt {x} will also result to 0 or a positive real number. Therefore, the range of p is the set of real numbers greater than or equal to 0. In interval notation, the range of p is [0, \infty).

Example 5: Find the domain of q(x) = 1/x

Explanation

We know that we cannot have a zero denominator because it will make the fraction undefined, so x cannot equal to 0. But aside from 0, we can substitute any value to x, so, the domain of q is the set of real numbers except 0. In interval notation, the domain of q is (-\infty, 0) \cup (0, \infty).

For the range, examine the equation q(x) = 1/x. We can get q(x) that are small by substituting large values to x. We can also get q(x) that are large by substituting small values to x. We can also choose an x that will make q(x) negative. But we cannot get a value of 0, because the only way to do this is for the numerator of the expression to be 0. But our expression is 1/x, so q(x) cannot be 0. Therefore, the range of q is the set of real numbers except 0. In interval notation, the range of q is q is (-\infty, 0) \cup (0, \infty).

In the next post, we will have more examples on how to determine the domain and range of a function.

Leave a Reply