5.4: Library of functions
- Page ID
- 45055
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)Knowing graphs of common functions assist the student with visualizing the function and connecting the relationship between the equation and its graph.
The library of functions is a set of functions that distinguishes the relationship between the functions and their graphs which includes the domain for each function.
The library of functions grows as we become more familiar with different types of functions. As we take more higher-level mathematics, the library grows to be very large, but for this section, we begin with a library that contains six important basic functions: line, parabola, cubic, absolute value, rational, square root.
The graphs of the functions in the library of functions are the general graphs of the functions, not particular graphs of functions. Hence, we can use point-plotting, technology, or transformations to graph particular functions, but we tend to memorize the general form as it is helpful in higher-level mathematics to recall the library of functions quickly.
Graph \(f(x) = x\), \(g(x) = 2\), and \(h(x) = −3x + 1\) and determine their domain.
Solution
Notice, all three functions are linear functions. We can plot them easily on the same grid. We can see that all graphs are lines and since there are no restrictions to any of the lines, the domain is all real numbers or \((−∞, ∞)\). Since \(f\) is a line through the origin (\(y\)-intercept is zero), and every \(x\) coordinate is the same as its corresponding \(y\) coordinate, e.g., \((0, 0),\: (1, 1),\) etc., then we call \(f\) the identity function.

Since \(g\) is a horizontal line, the \(y\) coordinates never change, and there isn’t a change in slope, i.e., the slope is zero, then we call \(g\) the constant function.
The function \(h\) is an equation of a line with a nonzero slope and non-zero \(y\)-intercept, and we call \(h\) a linear function.
Graph \(f(x) = |x|\) and determine the domain.
Solution
Let’s pick five \(x\)-coordinates, and find corresponding \(y\)-values. Each \(x\)-value being positive or negative, and zero. This is common practice, but not required.
\(x\) | \(f(x)=|x|\) | \((x,f(x))\) |
---|---|---|
\(-2\) | \(f(\color{blue}{-2}\color{black}{})=2\) | \((-2,2)\) |
\(-1\) | \(f(\color{blue}{-1}\color{black}{})=1\) | \((-1,1)\) |
\(0\) | \(f(\color{blue}{0}\color{black}{})=0\) | \((0,0)\) |
\(1\) | \(f(\color{blue}{1}\color{black}{})=1\) | \((1,1)\) |
\(2\) | \(f(\color{blue}{2}\color{black}{})=2\) | \((2,2)\) |
Plot the five ordered-pairs from the table. To connect the points, be sure to connect them from smallest \(x\)-value to largest \(x\)-value, i.e., left to right. This graph looks like two lines of opposite slopes that meet at the origin. Hence, it’s graph is two lines that meet at the origin, but stop where it meets to make a v-shape called an absolute value function Since we see there are no restrictions to the graph, the domain is all real numbers or \((−∞, ∞)\).

Graph \(f(x) = x^2\) and determine the domain.
Solution
Let’s pick five \(x\)-coordinates, and find corresponding \(y\)-values. Each \(x\)-value being positive, negative, and zero. This is common practice, but not required.
\(x\) | \(f(x)=x^2\) | \((x,f(x)\) |
---|---|---|
\(-2\) | \(f(\color{blue}{-2}\color{black}{})=4\) | \((-2,4)\) |
\(-1\) | \(f(\color{blue}{-1}\color{black}{})=1\) | \((-1,1)\) |
\(0\) | \(f(\color{blue}{0}\color{black}{})=0\) | \((0,0)\) |
\(1\) | \(f(\color{blue}{1}\color{black}{})=1\) | \((1,1)\) |
\(2\) | \(f(\color{blue}{2}\color{black}{})=4\) | \((2,4)\) |
Plot the five ordered-pairs from the table. To connect the points, be sure to connect them from smallest \(x\)-value to largest \(x\)-value, i.e., left to right. This graph is called a parabola and since this function is quite common for the \(x^2\)-form, we call it a quadratic (square) function. Since we see there are no restrictions to the graph, the domain is all real numbers or \((−∞, ∞)\).

Graph \(f(x) = x^3\) and determine the domain.
Solution
Let’s pick three \(x\)-coordinates, and find corresponding \(y\)-values. Each \(x\)-value being positive, negative, and zero. This is common practice, but not required.
\(x\) | \(f(x)=x^3\) | \((x,f(x))\) |
---|---|---|
\(-1\) | \(f(\color{blue}{-1}\color{black}{})=-1\) | \((-1,-1)\) |
\(0\) | \(f(\color{blue}{0}\color{black}{})=0\) | \((0,0)\) |
\(1\) | \(f(\color{blue}{1}\color{black}{})=1\) | \((1,1)\) |
Plot the ordered-pairs from the table. To connect the points, be sure to connect them from smallest \(x\)-value to largest \(x\)-value, i.e., left to right. Since this function is quite common for the \(x^3\)-form, we call it a cube (cubic) function. Since we see there are no restrictions to the graph, the domain is all real numbers or \((−∞, ∞)\).

Graph \(f(x) =\sqrt{x}\) and determine the domain.
Solution
Let’s pick three \(x\)-coordinates, and find corresponding \(y\)-values.
\(x\) | \(f(x)=\sqrt{x}\) | \((x,f(x))\) |
---|---|---|
\(0\) | \(f(\color{blue}{0}\color{black}{})=0\) | \((0,0)\) |
\(1\) | \(f(\color{blue}{1}\color{black}{})=1\) | \((1,1)\) |
\(4\) | \(f(\color{blue}{4}\color{black}{})=2\) | \((4,2)\) |
Plot the ordered-pairs from the table. To connect the points, be sure to connect them from smallest \(x\)-value to largest \(x\)-value, i.e., left to right. Since this function is quite common for the \(\sqrt{x}\)-form, we call it a square root function. Since we see there is one restriction to the graph, where the \(x\) values start at the origin and no part of the graph is on the left side of the origin, the domain of this function is \(\{x|x ≥ 0\}\) or \([0, ∞)\).

Graph \(f(x) =\sqrt[3]{x}\) and determine the domain.
Solution
Let’s pick three \(x\)-coordinates, and find corresponding \(y\)-values.
\(x\) | \(f(x)=\sqrt[3]{x}\) | \((x,f(x))\) |
---|---|---|
\(-1\) | \(f(\color{blue}{-1}\color{black}{})=-1\) | \((-1,-1)\) |
\(0\) | \(f(\color{blue}{0}\color{black}{})=0\) | \((0,0)\) |
\(1\) | \(f(\color{blue}{1}\color{black}{})=1\) | \((1,1)\) |
Plot the ordered-pairs from the table. To connect the points, be sure to connect them from smallest \(x\)-value to largest \(x\)-value, i.e., left to right. This function looks like the cube function, but flipped and \(90^{\circ}\) to the right! We call this function a cube root function. because of the root on the radical. Since we see there are no restrictions to the graph, the domain is all real numbers or \((−∞, ∞)\).

Graph \(f(x) =\dfrac{1}{x}\) and determine the domain.
Solution
Let’s pick \(x\)-coordinates, and find corresponding \(y\)-values.
\(x\) | \(f(x)=\dfrac{1}{x}\) | \((x,f(x))\) |
---|---|---|
\(-3\) | \(f(\color{blue}{-3}\color{black}{})=-\dfrac{1}{3}\) | \((-3,-\dfrac{1}{3})\) |
\(-2\) | \(f(\color{blue}{-2}\color{black}{})=-\dfrac{1}{2}\) | \((-2,-\dfrac{1}{2})\) |
\(-1\) | \(f(\color{blue}{-1}\color{black}{})=-1\) | \((-1,-1)\) |
\(0\) | \(f(\color{blue}{0}\color{black}{})=\text{undefined}\) | no point |
\(1\) | \(f(\color{blue}{1}\color{black}{})=1\) | \((1,1)\) |
\(2\) | \(f(\color{blue}{2}\color{black}{})=\dfrac{1}{2}\) | \((2,\dfrac{1}{2})\) |
\(3\) | \(f(\color{blue}{3}\color{black}{})=\dfrac{1}{3}\) | \((3,\dfrac{1}{3})\) |
Plot the ordered-pairs from the table. To connect the points, be sure to connect them from smallest \(x\)-value to largest \(x\)-value, i.e., left to right. This graph looks most different than the other functions and it is because it is a fraction with a variable in the denominator. Recall, fractions cannot have zero in their denominators because that is when fractions are undefined. We will learn more about these functions that are called rational functions. For now, we call the graph of this function a reciprocal function. Since we see that this function cannot have zero in the denominator, and, from the table, we see when \(x = 0\), the function is undefined, then the domain is all real numbers except for \(x = 0: \{x|x \neq 0\}\) or \((−∞, 0) ∪ (0, ∞)\).

Library of Functions Homework
Given below are the graphs of functions.

Match each graph with the name of its function.
Names of the Functions
- Reciprocal Function
- Absolute Value Function
- Cube Root Function
- Cube Function
- Constant Function
- Identity Function
- Square Root Function
- Square Function
- Linear Function
Match each graph with the formula of the function.
Formulas of Functions
- \(f(x) = x\)
- \(f(x) = −4\)
- \(f(x) = |x|\)
- \(f(x) = x^2\)
- \(f(x) =\dfrac{1}{x}\)
- \(f(x) = x^3\)
- \(f(x) = mx + b\)
- \(f(x) =\sqrt[3]{x}\)
- \(f(x) =\sqrt{x}\)
What are the domains for each of the functions?