We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > MATH 1314: College Algebra

Find domains and ranges of the toolkit functions

We will now return to our set of toolkit functions to determine the domain and range of each.

Constant function f(x)=c. 11

Figure 11. For the constant function [latex]f\left(x\right)=c[/latex], the domain consists of all real numbers; there are no restrictions on the input. The only output value is the constant [latex]c[/latex], so the range is the set [latex]\left\{c\right\}[/latex] that contains this single element. In interval notation, this is written as [latex]\left[c,c\right][/latex], the interval that both begins and ends with [latex]c[/latex].

Identity function f(x)=x. 12

Figure 12. For the identity function [latex]f\left(x\right)=x[/latex], there is no restriction on [latex]x[/latex]. Both the domain and range are the set of all real numbers.

Absolute function f(x)=|x|. 13

Figure 13. For the absolute value function [latex]f\left(x\right)=|x|[/latex], there is no restriction on [latex]x[/latex]. However, because absolute value is defined as a distance from 0, the output can only be greater than or equal to 0.

Quadratic function f(x)=x^2. 14

Figure 14. For the quadratic function [latex]f\left(x\right)={x}^{2}[/latex], the domain is all real numbers since the horizontal extent of the graph is the whole real number line. Because the graph does not include any negative values for the range, the range is only nonnegative real numbers.

Cubic function f(x)-x^3. 15

Figure 15. For the cubic function [latex]f\left(x\right)={x}^{3}[/latex], the domain is all real numbers because the horizontal extent of the graph is the whole real number line. The same applies to the vertical extent of the graph, so the domain and range include all real numbers.

Reciprocal function f(x)=1/x. 16

Figure 16. For the reciprocal function [latex]f\left(x\right)=\frac{1}{x}[/latex], we cannot divide by 0, so we must exclude 0 from the domain. Further, 1 divided by any value can never be 0, so the range also will not include 0. In set-builder notation, we could also write [latex]\left\{x|\text{ }x\ne 0\right\}[/latex], the set of all real numbers that are not zero.

Reciprocal squared function f(x)=1/x^2 17

Figure 17. For the reciprocal squared function [latex]f\left(x\right)=\frac{1}{{x}^{2}}[/latex], we cannot divide by [latex]0[/latex], so we must exclude [latex]0[/latex] from the domain. There is also no [latex]x[/latex] that can give an output of 0, so 0 is excluded from the range as well. Note that the output of this function is always positive due to the square in the denominator, so the range includes only positive numbers.

Square root function f(x)=sqrt(x). 18

Figure 18. For the square root function [latex]f\left(x\right)=\sqrt[]{x}[/latex], we cannot take the square root of a negative real number, so the domain must be 0 or greater. The range also excludes negative numbers because the square root of a positive number [latex]x[/latex] is defined to be positive, even though the square of the negative number [latex]-\sqrt{x}[/latex] also gives us [latex]x[/latex].

Cube root function f(x)=x^(1/3). 19

Figure 19. For the cube root function [latex]f\left(x\right)=\sqrt[3]{x}[/latex], the domain and range include all real numbers. Note that there is no problem taking a cube root, or any odd-integer root, of a negative number, and the resulting output is negative (it is an odd function).

How To: Given the formula for a function, determine the domain and range.

  1. Exclude from the domain any input values that result in division by zero.
  2. Exclude from the domain any input values that have nonreal (or undefined) number outputs.
  3. Use the valid input values to determine the range of the output values.
  4. Look at the function graph and table values to confirm the actual function behavior.

Example 8: Finding the Domain and Range Using Toolkit Functions

Find the domain and range of [latex]f\left(x\right)=2{x}^{3}-x[/latex].

Solution

There are no restrictions on the domain, as any real number may be cubed and then subtracted from the result.

The domain is [latex]\left(-\infty ,\infty \right)[/latex] and the range is also [latex]\left(-\infty ,\infty \right)[/latex].

Example 9: Finding the Domain and Range

Find the domain and range of [latex]f\left(x\right)=\frac{2}{x+1}[/latex].

Solution

We cannot evaluate the function at [latex]-1[/latex] because division by zero is undefined. The domain is [latex]\left(-\infty ,-1\right)\cup \left(-1,\infty \right)[/latex]. Because the function is never zero, we exclude 0 from the range. The range is [latex]\left(-\infty ,0\right)\cup \left(0,\infty \right)[/latex].

Example 10: Finding the Domain and Range

Find the domain and range of [latex]f\left(x\right)=2\sqrt{x+4}[/latex].

Solution

We cannot take the square root of a negative number, so the value inside the radical must be nonnegative.

[latex]x+4\ge 0\text{ when }x\ge -4[/latex]

The domain of [latex]f\left(x\right)[/latex] is [latex]\left[-4,\infty \right)[/latex].

We then find the range. We know that [latex]f\left(-4\right)=0[/latex], and the function value increases as [latex]x[/latex] increases without any upper limit. We conclude that the range of [latex]f[/latex] is [latex]\left[0,\infty \right)[/latex].

Analysis of the Solution

Figure 20 represents the function [latex]f[/latex].
Graph of a square root function at (-4, 0).Figure 20

Try It 7

Find the domain and range of [latex]f\left(x\right)=-\sqrt{2-x}[/latex]. Solution

Licenses & Attributions

CC licensed content, Shared previously

  • Precalculus. Provided by: OpenStax Authored by: Jay Abramson, et al.. Located at: https://openstax.org/books/precalculus/pages/1-introduction-to-functions. License: CC BY: Attribution. License terms: Download For Free at : http://cnx.org/contents/[email protected]..