3.7: Graphs of Functions
- Page ID
- 114146
\( \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}\)By the end of this section, you will be able to:
- Use the vertical line test
- Identify graphs of basic functions
- Read information from a graph of a function
Before you get started, take this readiness quiz.
Evaluate: ⓐ ⓑ
If you missed this problem, review Example 1.5.
Evaluate: ⓐ ⓑ
If you missed this problem, review Example 1.14.
Evaluate: ⓐ ⓑ
If you missed this problem, review Example 1.41.
Use the Vertical Line Test
In the last section we learned how to determine if a relation is a function. The relations we looked at were expressed as a set of ordered pairs, a mapping or an equation. We will now look at how to tell if a graph is that of a function.
An ordered pair is a solution of a linear equation, if the equation is a true statement when the x- and y-values of the ordered pair are substituted into the equation.
The graph of a linear equation is a straight line where every point on the line is a solution of the equation and every solution of this equation is a point on this line.
In Figure 3.14, we can see that, in graph of the equation for every x-value there is only one y-value, as shown in the accompanying table.
A relation is a function if every element of the domain has exactly one value in the range. So the relation defined by the equation is a function.
If we look at the graph, each vertical dashed line only intersects the line at one point. This makes sense as in a function, for every x-value there is only one y-value.
If the vertical line hit the graph twice, the x-value would be mapped to two y-values, and so the graph would not represent a function.
This leads us to the vertical line test. A set of points in a rectangular coordinate system is the graph of a function if every vertical line intersects the graph in at most one point. If any vertical line intersects the graph in more than one point, the graph does not represent a function.
A set of points in a rectangular coordinate system is the graph of a function if every vertical line intersects the graph in at most one point.
If any vertical line intersects the graph in more than one point, the graph does not represent a function.
Determine whether each graph is the graph of a function.
- Answer
-
ⓐ Since any vertical line intersects the graph in at most one point, the graph is the graph of a function.
ⓑ One of the vertical lines shown on the graph, intersects it in two points. This graph does not represent a function.
Determine whether each graph is the graph of a function.
Determine whether each graph is the graph of a function.
Identify Graphs of Basic Functions
We used the equation and its graph as we developed the vertical line test. We said that the relation defined by the equation is a function.
We can write this as in function notation as It still means the same thing. The graph of the function is the graph of all ordered pairs where So we can write the ordered pairs as It looks different but the graph will be the same.
Compare the graph of
The graph of a function is the graph of all its ordered pairs,
As we move forward in our study, it is helpful to be familiar with the graphs of several basic functions and be able to identify them.
Through our earlier work, we are familiar with the graphs of linear equations. The process we used to decide if
We wrote linear equations in several forms, but it will be most helpful for us here to use the slope-intercept form of the linear equation. The slope-intercept form of a linear equation is
The domain is the set of all real numbers, and the range is also the set of all real numbers.
We will use the graphing techniques we used earlier, to graph the basic functions.
Graph:
- Answer
-
f ( x ) = −2 x − 4 f ( x ) = −2 x − 4 We recognize this as a linear function. Find the slope and y-intercept. m = −2 m = −2
b = −4 b = −4 Graph using the slope intercept.
Graph:
Graph:
The next function whose graph we will look at is called the constant function and its equation is of the form
Notice that for any real number we put in the function, the function value will be b. This tells us the range has only one value, b.
Graph:
- Answer
-
f ( x ) = 4 f ( x ) = 4 We recognize this as a constant function. The graph will be a horizontal line through ( 0 , 4 ) . ( 0 , 4 ) .
Graph:
Graph:
The identity function,
The next function we will look at is not a linear function. So the graph will not be a line. The only method we have to graph this function is point plotting. Because this is an unfamiliar function, we make sure to choose several positive and negative values as well as 0 for our x-values.
Graph:
- Answer
-
We choose x-values. We substitute them in and then create a chart as shown.
Graph:
Looking at the result in Example 3.54, we can summarize the features of the square function. We call this graph a parabola. As we consider the domain, notice any real number can be used as an x-value. The domain is all real numbers.
The range is not all real numbers. Notice the graph consists of values of y never go below zero. This makes sense as the square of any number cannot be negative. So, the range of the square function is all non-negative real numbers.
The next function we will look at is also not a linear function so the graph will not be a line. Again we will use point plotting, and make sure to choose several positive and negative values as well as 0 for our x-values.
Graph:
- Answer
-
We choose x-values. We substitute them in and then create a chart.
Graph:
Graph:
Looking at the result in Example 3.55, we can summarize the features of the cube function. As we consider the domain, notice any real number can be used as an x-value. The domain is all real numbers.
The range is all real numbers. This makes sense as the cube of any non-zero number can be positive or negative. So, the range of the cube function is all real numbers.
The next function we will look at does not square or cube the input values, but rather takes the square root of those values.
Let’s graph the function
- Answer
-
We choose x-values. Since we will be taking the square root, we choose numbers that are perfect squares, to make our work easier. We substitute them in and then create a chart.
Graph:
Graph:
Our last basic function is the absolute value function,
Graph:
- Answer
-
We choose x-values. We substitute them in and then create a chart.
Graph:
Graph:
Read Information from a Graph of a Function
In the sciences and business, data is often collected and then graphed. The graph is analyzed, information is obtained from the graph and then often predictions are made from the data.
We will start by reading the domain and range of a function from its graph.
Remember the domain is the set of all the x-values in the ordered pairs in the function. To find the domain we look at the graph and find all the values of x that have a corresponding value on the graph. Follow the value x up or down vertically. If you hit the graph of the function then x is in the domain.
Remember the range is the set of all the y-values in the ordered pairs in the function. To find the range we look at the graph and find all the values of y that have a corresponding value on the graph. Follow the value y left or right horizontally. If you hit the graph of the function then y is in the range.
Use the graph of the function to find its domain and range. Write the domain and range in interval notation.
- Answer
-
To find the domain we look at the graph and find all the values of x that correspond to a point on the graph. The domain is highlighted in red on the graph. The domain is
[ −3 , 3 ] . [ −3 , 3 ] . To find the range we look at the graph and find all the values of y that correspond to a point on the graph. The range is highlighted in blue on the graph. The range is
[ −1 , 3 ] . [ −1 , 3 ] .
Use the graph of the function to find its domain and range. Write the domain and range in interval notation.
Use the graph of the function to find its domain and range. Write the domain and range in interval notation.
We are now going to read information from the graph that you may see in future math classes.
Use the graph of the function to find the indicated values.
ⓐ Find:
ⓑ Find:
ⓒ Find:
ⓓ Find the values for x when
ⓔ Find the x-intercepts.
ⓕ Find the y-intercepts.
ⓖ Find the domain. Write it in interval notation.
ⓗ Find the range. Write it in interval notation.
- Answer
-
ⓐ When
the function crosses the y-axis at 0. So,x = 0 , x = 0 , f ( 0 ) = 0 . f ( 0 ) = 0 .
ⓑ When the y-value of the function isx = 3 2 π , x = 3 2 π , So,−1 . −1 . f ( 3 2 π ) = −1 . f ( 3 2 π ) = −1 .
ⓒ When the y-value of the function isx = − 1 2 π , x = − 1 2 π , So,−1 . −1 . f ( − 1 2 π ) = −1 . f ( − 1 2 π ) = −1 .
ⓓ The function is 0 at the points, The x-values when( −2 π , 0 ) , ( − π , 0 ) , ( 0 , 0 ) , ( π , 0 ) , ( 2 π , 0 ) . ( −2 π , 0 ) , ( − π , 0 ) , ( 0 , 0 ) , ( π , 0 ) , ( 2 π , 0 ) . aref ( x ) = 0 f ( x ) = 0 −2 π , − π , 0 , π , 2 π . −2 π , − π , 0 , π , 2 π .
ⓔ The x-intercepts occur when So the x-intercepts occur wheny = 0 . y = 0 . The x-intercepts aref ( x ) = 0 . f ( x ) = 0 . ( −2 π , 0 ) , ( − π , 0 ) , ( 0 , 0 ) , ( π , 0 ) , ( 2 π , 0 ) . ( −2 π , 0 ) , ( − π , 0 ) , ( 0 , 0 ) , ( π , 0 ) , ( 2 π , 0 ) .
ⓕ The y-intercepts occur when So the y-intercepts occur atx = 0 . x = 0 . The y-intercept isf ( 0 ) . f ( 0 ) . ( 0 , 0 ) . ( 0 , 0 ) .
ⓖ This function has a value for all values of x. Therefore, the domain in interval notation is( − ∞ , ∞ ) ( − ∞ , ∞ )
ⓗ This function values, or y-values go from to 1. Therefore, the range, in interval notation, is−1 −1 [ −1 , 1 ] . [ −1 , 1 ] .
Use the graph of the function to find the indicated values.
ⓐ Find:
ⓑ Find:
ⓒ Find:
ⓓ Find the values for x when
ⓔ Find the x-intercepts.
ⓕ Find the y-intercepts.
ⓖ Find the domain. Write it in interval notation.
ⓗ Find the range. Write it in interval notation.
Use the graph of the function to find the indicated values.
ⓐ Find:
ⓑ Find:
ⓒ Find:
ⓓ Find the values for x when
ⓔ Find the x-intercepts.
ⓕ Find the y-intercepts.
ⓖ Find the domain. Write it in interval notation.
ⓗ Find the range. Write it in interval notation.
Access this online resource for additional instruction and practice with graphs of functions.
Section 3.6 Exercises
Practice Makes Perfect
Use the Vertical Line Test
In the following exercises, determine whether each graph is the graph of a function.
ⓐ
ⓑ
ⓐ
ⓑ
ⓐ
ⓑ
ⓐ
ⓑ
Identify Graphs of Basic Functions
In the following exercises, ⓐ graph each function ⓑ state its domain and range. Write the domain and range in interval notation.
Read Information from a Graph of a Function
In the following exercises, use the graph of the function to find its domain and range. Write the domain and range in interval notation.
In the following exercises, use the graph of the function to find the indicated values.
ⓐ Find:
ⓑ Find:
ⓒ Find:
ⓓ Find the values for x when
ⓔ Find the x-intercepts.
ⓕ Find the y-intercepts.
ⓖ Find the domain. Write it in interval notation.
ⓗ Find the range. Write it in interval notation.
ⓐ Find:
ⓑ Find:
ⓒ Find:
ⓓ Find the values for x when
ⓔ Find the x-intercepts.
ⓕ Find the y-intercepts.
ⓖ Find the domain. Write it in interval notation.
ⓗ Find the range. Write it in interval notation
ⓐ Find:
ⓑ Find:
ⓒ Find:
ⓓ Find the values for x when
ⓔ Find the x-intercepts.
ⓕ Find the y-intercepts.
ⓖ Find the domain. Write it in interval notation.
ⓗ Find the range. Write it in interval notation.
ⓐ Find:
ⓑ Find the values for x when
ⓒ Find the x-intercepts.
ⓓ Find the y-intercepts.
ⓔ Find the domain. Write it in interval notation.
ⓕ Find the range. Write it in interval notation
Writing Exercises
Explain in your own words how to find the domain from a graph.
Explain in your own words how to find the range from a graph.
Explain in your own words how to use the vertical line test.
Draw a sketch of the square and cube functions. What are the similarities and differences in the graphs?
Self Check
ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
ⓑ After reviewing this checklist, what will you do to become confident for all objectives?