Skip to main content
Mathematics LibreTexts

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}\)
    Learning Objectives

    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
    Be Prepared 3.16

    Before you get started, take this readiness quiz.

    Evaluate: 2323 32.32.
    If you missed this problem, review Example 1.5.

    Be Prepared 3.17

    Evaluate: |7||7| |−3|.|−3|.
    If you missed this problem, review Example 1.14.

    Be Prepared 3.18

    Evaluate: 44 16.16.
    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 (x,y)(x,y) 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 y=2x3,y=2x3, for every x-value there is only one y-value, as shown in the accompanying table.

    plane. The x and y-axes run from negative 10 to 10. The line goes through the points (0, negative 3), (1, negative 1), and (2, 1). The line is labeled y equals2 x minus 3. There are several vertical arrows that relate values on the x-axis to points on the line. The first arrow relates x equalsnegative 2 on the x-axis to the point (negative 2, negative 7) on the line. The second arrow relates x equalsnegative 1 on the x-axis to the point (negative 1, negative 5) on the line. The next arrow relates x equals0 on the x-axis to the point (0, negative 3) on the line. The next arrow relates x equals3 on the x-axis to the point (3, 3) on the line. The last arrow relates x equals4 on the x-axis to the point (4, 5) on the line. The table has 7 rows and 3 columns. The first row is a title row with the label y equals2 x minus 3. The second row is a header row with the headers x, y, and (x, y). The third row has the coordinates negative 2, negative 7, and (negative 2, negative 7). The fourth row has the coordinates negative 1, negative 5, and (negative 1, negative 5). The fifth row has the coordinates 0, negative 3, and (0, negative 3). The sixth row has the coordinates 3, 3, and (3, 3). The seventh row has the coordinates 4, 5, and (4, 5).
    Figure 3.14

    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 y=2x3y=2x3 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.

    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.

    Example 3.51

    Determine whether each graph is the graph of a function.

    The figure has two graphs. In graph a there is a straight line graphed on the x y-coordinate plane. The x and y-axes run from negative 10 to 10. The line goes through the points (0, 2), (3, 0), and (6, negative 2). In graph b there is a parabola opening to the right graphed on the x y-coordinate plane. The x and y-axes run from negative 6 to 6. The parabola goes through the points (negative 1, 0), (0, 1), (0, negative 1), (3, 2), and (3, negative 2).
    Answer

    Since any vertical line intersects the graph in at most one point, the graph is the graph of a function.

    The figure has a straight line graphed on the x y-coordinate plane. The x and y-axes run from negative 10 to 10. The line goes through the points (0, 2), (3, 0), and (6, negative 2). Three dashed vertical straight lines are drawn at x equalsnegative 5, x equalsnegative 3, and x equals3. Each line intersects the slanted line at exactly one point.



    One of the vertical lines shown on the graph, intersects it in two points. This graph does not represent a function.

    The figure has a parabola opening to the right graphed on the x y-coordinate plane. The x and y-axes run from negative 6 to 6. The parabola goes through the points (negative 1, 0), (0, 1), (0, negative 1), (3, 2), and (3, negative 2). Three dashed vertical straight lines are drawn at x equalsnegative 2, x equalsnegative 1, and x equals2. The vertical line x – negative 2 does not intersect the parabola. The vertical line x equalsnegative 1 intersects the parabola at exactly one point. The vertical line x equals3 intersects the parabola at two separate points.
    Try It 3.101

    Determine whether each graph is the graph of a function.

    The figure has two graphs. In graph a there is a parabola opening up graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 2 to 10. The parabola goes through the points (0, negative 1), (negative 1, 0), (1, 0), (negative 2, 3), and (2, 3). In graph b there is a circle graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 6 to 6. The circle goes through the points (negative 2, 0), (2, 0), (0, negative 2), and (0, 2).
    Try It 3.102

    Determine whether each graph is the graph of a function.

    The figure has two graphs. In graph a there is an ellipse graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 6 to 6. The ellipse goes through the points (0, negative 3), (negative 2, 0), (2, 0), and (0, 3). In graph b there is a straight line graphed on the x y-coordinate plane. The x-axis runs from negative 12 to 12. The y-axis runs from negative 12 to 12. The line goes through the points (0, negative 2), (2, 0), and (4, 2).

    Identify Graphs of Basic Functions

    We used the equation y=2x3y=2x3 and its graph as we developed the vertical line test. We said that the relation defined by the equation y=2x3y=2x3 is a function.

    We can write this as in function notation as f(x)=2x3.f(x)=2x3. It still means the same thing. The graph of the function is the graph of all ordered pairs (x,y)(x,y) where y=f(x).y=f(x). So we can write the ordered pairs as (x,f(x)).(x,f(x)). It looks different but the graph will be the same.

    Compare the graph of y=2x3Figure 3.14 with the graph of f(x)=2x3Figure 3.15. Nothing has changed but the notation.

    This figure has a graph next to a table. The graph has a straight line on the x y-coordinate plane. The x and y-axes run from negative 10 to 10. The line goes through the points (0, negative 3), (1, negative 1), and (2, 1). The line is labeled f of x equals2 x minus 3. There are several vertical arrows that relate values on the x-axis to points on the line. The first arrow relates x equalsnegative 2 on the x-axis to the point (negative 2, negative 7) on the line. The second arrow relates x equalsnegative 1 on the x-axis to the point (negative 1, negative 5) on the line. The next arrow relates x equals0 on the x-axis to the point (0, negative 3) on the line. The next arrow relates x equals3 on the x-axis to the point (3, 3) on the line. The last arrow relates x equals4 on the x-axis to the point (4, 5) on the line. The table has 7 rows and 3 columns. The first row is a title row with the label f of x equals2 x minus 3. The second row is a header row with the headers x, f of x, and (x, f of x). The third row has the coordinates negative 2, negative 7, and (negative 2, negative 7). The fourth row has the coordinates negative 1, negative 5, and (negative 1, negative 5). The fifth row has the coordinates 0, negative 3, and (0, negative 3). The sixth row has the coordinates 3, 3, and (3, 3). The seventh row has the coordinates 4, 5, and (4, 5).
    Figure 3.15
    Graph of a Function

    The graph of a function is the graph of all its ordered pairs, (x,y)(x,y) or using function notation, (x,f(x))(x,f(x)) where y=f(x).y=f(x).

    fname of functionxx-coordinate of the ordered pairf(x)y-coordinate of the ordered pairfname of functionxx-coordinate of the ordered pairf(x)y-coordinate of the ordered pair

    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 y=2x3y=2x3 is a function would apply to all linear equations. All non-vertical linear equations are functions. Vertical lines are not functions as the x-value has infinitely many y-values.

    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 y=mx+b.y=mx+b. In function notation, this linear function becomes f(x)=mx+bf(x)=mx+b where m is the slope of the line and b is the y-intercept.

    The domain is the set of all real numbers, and the range is also the set of all real numbers.

    Linear Function

    This figure has a graph of a straight line on the x y-coordinate plane. The line goes through the point (0, b). Next to the graph are the following: “f of x equalsm x plus b”, “m, b: all real numbers”, “m: slope of the line”, “b: y-intercept”, “Domain: (negative infinity, infinity)”, and “Range: (negative infinity, infinity)”.

    We will use the graphing techniques we used earlier, to graph the basic functions.

    Example 3.52

    Graph: f(x)=−2x4.f(x)=−2x4.

    Answer
      f(x)=−2x4f(x)=−2x4
    We recognize this as a linear function.  
    Find the slope and y-intercept. m=−2m=−2
    b=−4b=−4
    Graph using the slope intercept. .
    Try It 3.103

    Graph: f(x)=−3x1f(x)=−3x1

    Try It 3.104

    Graph: f(x)=−4x5f(x)=−4x5

    The next function whose graph we will look at is called the constant function and its equation is of the form f(x)=b,f(x)=b, where b is any real number. If we replace the f(x)f(x) with y, we get y=b.y=b. We recognize this as the horizontal line whose y-intercept is b. The graph of the function f(x)=b,f(x)=b, is also the horizontal line whose y-intercept is b.

    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.

    Constant Function

    This figure has a graph of a straight horizontal line on the x y-coordinate plane. The line goes through the point (0, b). Next to the graph are the following: “f of x equalsb”, “b: any real number”, “b: y-intercept”, “Domain: (negative infinity, infinity)”, and “Range: b”.

    Example 3.53

    Graph: f(x)=4.f(x)=4.

    Answer
      f(x)=4f(x)=4
    We recognize this as a constant function.  
    The graph will be a horizontal line through (0,4).(0,4). .
    Try It 3.105

    Graph: f(x)=−2.f(x)=−2.

    Try It 3.106

    Graph: f(x)=3.f(x)=3.

    The identity function, f(x)=xf(x)=x is a special case of the linear function. If we write it in linear function form, f(x)=1x+0,f(x)=1x+0, we see the slope is 1 and the y-intercept is 0.

    Identity Function

    This figure has a graph of a straight line on the x y-coordinate plane. The line goes through the points (0, 0), (1, 1), and (2, 2). Next to the graph are the following: “f of x equalsx”, “m: 1”, “b: 0”, “Domain: (negative infinity, infinity)”, and “Range: (negative infinity, infinity)”.

    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.

    Example 3.54

    Graph: f(x)=x2.f(x)=x2.

    Answer

    We choose x-values. We substitute them in and then create a chart as shown.

    This figure has a graph next to a table. In the graph there is a parabola opening up graphed on the x y-coordinate plane. The x-axis runs from negative 4 to 4. The y-axis runs from negative 2 to 6. The parabola goes through the points (negative 3, 9), (negative 2, 4), (negative 1, 1), (0, 0), (1, 1), (2, 4), and (3, 9). The table has 8 rows and 3 columns. The first row is a header row with the headers x, f of x equalsx squared, and (x, f of x). The second row has the coordinates negative 3, 9, and (negative 3, 9). The third row has the coordinates negative 2, 4, and (negative 2, 4). The fourth row has the coordinates negative 1, 1, and (negative 1, 1). The fifth row has the coordinates 0, 0, and (0, 0). The sixth row has the coordinates 1, 1, and (1, 1). The seventh row has the coordinates 2, 4, and (2, 4). The seventh row has the coordinates 3, 9, and (3, 9).
    Try It 3.107

    Graph: f(x)=x2.f(x)=x2.

    Try It 3.108

    f(x)=x2f(x)=x2

    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.

    Square Function

    This figure has a graph of a parabola opening up graphed on the x y-coordinate plane. The x-axis runs from negative 4 to 4. The y-axis runs from negative 2 to 6. The parabola goes through the points (negative 2, 4), (negative 1, 1), (0, 0), (1, 1), and (2, 4). Next to the graph are the following: “f of x equalsx squared”, “Domain: (negative infinity, infinity)”, and “Range: [0, infinity)”.

    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.

    Example 3.55

    Graph: f(x)=x3.f(x)=x3.

    Answer

    We choose x-values. We substitute them in and then create a chart.

    This figure has a curved line graphed on the x y-coordinate plane. The x-axis runs from negative 4 to 4. The y-axis runs from negative 4 to 4. The curved line goes through the points (negative 2, negative 8), (negative 1, negative 1), (0, 0), (1, 1), and (2, 8). Next to the graph is a table. The table has 6 rows and 3 columns. The first row is a header row with the headers x, f of x equalsx cubed, and (x, f of x). The second row has the coordinates negative 2, negative 8, and (negative 2, negative 8). The third row has the coordinates negative 1, negative 1, and (negative 1, negative 1). The fourth row has the coordinates 0, 0, and (0, 0). The fifth row has the coordinates 1, 1, and (1, 1). The sixth row has the coordinates 2, 8, and (2, 8).
    Try It 3.109

    Graph: f(x)=x3.f(x)=x3.

    Try It 3.110

    Graph: f(x)=x3.f(x)=x3.

    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.

    Cube Function

    This figure has a curved line graphed on the x y-coordinate plane. The x-axis runs from negative 4 to 4. The y-axis runs from negative 4 to 4. The curved line goes through the points (negative 2, negative 8), (negative 1, negative 1), (0, 0), (1, 1), and (2, 8).). Next to the graph are the following: “f of x equalsx cubed”, “Domain: (negative infinity, infinity)”, and “Range: (negative infinity, infinity)”.

    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 f(x)=xf(x)=x and then summarize the features of the function. Remember, we can only take the square root of non-negative real numbers, so our domain will be the non-negative real numbers.

    Example 3.56

    f(x)=xf(x)=x

    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.

    This figure has a curved half-line graphed on the x y-coordinate plane. The x-axis runs from 0 to 8. The y-axis runs from 0 to 8. The curved half-line starts at the point (0, 0) and then goes up and to the right. The curved half line goes through the points (1, 1) and (4, 2). Next to the graph is a table. The table has 5 rows and 3 columns. The first row is a header row with the headers x, f of x equalssquare root of x, and (x, f of x). The second row has the coordinates 0, 0, and (0, 0). The third row has the coordinates 1, 1, and (1, 1). The fourth row has the coordinates 4, 2, and (4, 2). The fifth row has the coordinates 9, 3, and (9, 3).
    Try It 3.111

    Graph: f(x)=x.f(x)=x.

    Try It 3.112

    Graph: f(x)=x.f(x)=x.

    Square Root Function

    This figure has a curved half-line graphed on the x y-coordinate plane. The x-axis runs from 0 to 8. The y-axis runs from 0 to 8. The curved half-line starts at the point (0, 0) and then goes up and to the right. The curved half line goes through the points (1, 1) and (4, 2). Next to the graph are the following: “f of x equalssquare root of x”, “Domain: [0, infinity)”, and “Range: [0, infinity)”.

    Our last basic function is the absolute value function, f(x)=|x|.f(x)=|x|. Keep in mind that the absolute value of a number is its distance from zero. Since we never measure distance as a negative number, we will never get a negative number in the range.

    Example 3.57

    Graph: f(x)=|x|.f(x)=|x|.

    Answer

    We choose x-values. We substitute them in and then create a chart.

    This figure has a v-shaped line graphed on the x y-coordinate plane. The x-axis runs from negative 4 to 4. The y-axis runs from negative 1 to 6. The v-shaped line goes through the points (negative 3, 3), (negative 2, 2), (negative 1, 1), (0, 0), (1, 1), (2, 2), and (3, 3). Next to the graph is a table. The table has 8 rows and 3 columns. The first row is a header row with the headers x, f of x equalsabsolute value of x, and (x, f of x). The second row has the coordinates negative 3, 3, and (negative 3, 3). The third row has the coordinates negative 2, 2, and (negative 2, 2). The fourth row has the coordinates negative 1, 1, and (negative 1, 1). The fifth row has the coordinates 0, 0, and (0, 0). The sixth row has the coordinates 1, 1, and (1, 1). The seventh row has the coordinates 2, 2, and (2, 2). The eighth row has the coordinates 3, 3, and (3, 3).
    Try It 3.113

    Graph: f(x)=|x|.f(x)=|x|.

    Try It 3.114

    Graph: f(x)=|x|.f(x)=|x|.

    Absolute Value Function

    This figure has a v-shaped line graphed on the x y-coordinate plane. The x-axis runs from negative 4 to 4. The y-axis runs from negative 1 to 6. The v-shaped line goes through the points (negative 3, 3), (negative 2, 2), (negative 1, 1), (0, 0), (1, 1), (2, 2), and (3, 3). The point (0, 0) where the line changes slope is called the vertex. Next to the graph are the following: “f of x equalsabsolute value of x”, “Domain: (negative infinity, infinity)”, and “Range: [0, infinity)”.

    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.

    Example 3.58

    Use the graph of the function to find its domain and range. Write the domain and range in interval notation.

    This figure has a curved line segment graphed on the x y-coordinate plane. The x-axis runs from negative 4 to 4. The y-axis runs from negative 4 to 4. The curved line segment goes through the points (negative 3, negative 1), (1.5, 3), and (3, 1). The interval [negative 3, 3] is marked on the horizontal axis. The interval [negative 1, 3] is marked on the vertical axis.
    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].

    Try It 3.115

    Use the graph of the function to find its domain and range. Write the domain and range in interval notation.

    This figure has a curved line segment graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 6 to 6. The curved line segment goes through the points (negative 5, negative 4), (0, negative 3), and (1, 2). The interval [negative 5, 1] is marked on the horizontal axis. The interval [negative 4, 2] is marked on the vertical axis.
    Try It 3.116

    Use the graph of the function to find its domain and range. Write the domain and range in interval notation.

    This figure has a curved line segment graphed on the x y-coordinate plane. The x-axis runs from negative 4 to 5. The y-axis runs from negative 6 to 4. The curved line segment goes through the points (negative 2, 1), (0, 3), and (4, negative 5). The interval [negative 2, 4] is marked on the horizontal axis. The interval [negative 5, 3] is marked on the vertical axis.

    We are now going to read information from the graph that you may see in future math classes.

    Example 3.59

    Use the graph of the function to find the indicated values.

    This figure has a wavy curved line graphed on the x y-coordinate plane. The x-axis runs from negative 2 times pi to 2 times pi. The y-axis runs from negative 4 to 4. The curved line segment goes through the points (negative 2 times pi, 0), (negative 3 divided by 2 times pi, 1), (negative pi, 0), (negative 1 divided by 2 times pi, negative 1), (0, 0), (1 divided by 2 times pi, 1), (pi, 0), (3 divided by 2 times pi, negative 1), and (2 times pi, 0). The points (negative 3 divided by 2 times pi, 1) and (1 divided by 2 times pi, 1) are the highest points on the graph. The points (negative 1 divided by 2 times pi, negative 1) and (3 divided by 2 times pi, negative 1) are the lowest points on the graph. The pattern extends infinitely to the left and right.

    Find: f(0).f(0).
    Find: f(32π).f(32π).
    Find: f(12π).f(12π).
    Find the values for x when f(x)=0.f(x)=0.
    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 x=0,x=0, the function crosses the y-axis at 0. So, f(0)=0.f(0)=0.
    When x=32π,x=32π, the y-value of the function is −1.−1. So, f(32π)=−1.f(32π)=−1.
    When x=12π,x=12π, the y-value of the function is −1.−1. So, f(12π)=−1.f(12π)=−1.
    The function is 0 at the points, (−2π,0),(π,0),(0,0),(π,0),(2π,0).(−2π,0),(π,0),(0,0),(π,0),(2π,0). The x-values when f(x)=0f(x)=0 are −2π,π,0,π,2π.−2π,π,0,π,2π.
    The x-intercepts occur when y=0.y=0. So the x-intercepts occur when f(x)=0.f(x)=0. The x-intercepts are (−2π,0),(π,0),(0,0),(π,0),(2π,0).(−2π,0),(π,0),(0,0),(π,0),(2π,0).
    The y-intercepts occur when x=0.x=0. So the y-intercepts occur at f(0).f(0). The y-intercept is (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 −1−1 to 1. Therefore, the range, in interval notation, is [−1,1].[−1,1].

    Try It 3.117

    Use the graph of the function to find the indicated values.

    This figure has a wavy curved line graphed on the x y-coordinate plane. The x-axis runs from negative 2 times pi to 2 times pi. The y-axis runs from negative 6 to 6. The curved line segment goes through the points (negative 2 times pi, 0), (negative 3 divided by 2 times pi, 2), (negative pi, 0), (negative 1 divided by 2 times pi, negative 2), (0, 0), (1 divided by 2 times pi, 2), (pi, 0), (3 divided by 2 times pi, negative 2), and (2 times pi, 0). The points (negative 3 divided by 2 times pi, 2) and (1 divided by 2 times pi, 2) are the highest points on the graph. The points (negative 1 divided by 2 times pi, negative 2) and (3 divided by 2 times pi, negative 2) are the lowest points on the graph. The line extends infinitely to the left and right.

    Find: f(0).f(0).
    Find: f(12π).f(12π).
    Find: f(32π).f(32π).
    Find the values for x when f(x)=0.f(x)=0.
    Find the x-intercepts.
    Find the y-intercepts.
    Find the domain. Write it in interval notation.
    Find the range. Write it in interval notation.

    Try It 3.118

    Use the graph of the function to find the indicated values.

    This figure has a wavy curved line graphed on the x y-coordinate plane. The x-axis runs from negative 2 times pi to 2 times pi. The y-axis runs from negative 6 to 6. The curved line segment goes through the points (negative 2 times pi, 1), (negative 3 divided by 2 times pi, 0), (negative pi, negative 1), (negative 1 divided by 2 times pi, 0), (0, 1), (1 divided by 2 times pi, 0), (pi, negative 1), (3 divided by 2 times pi, 0), and (2 times pi, 1). The points (negative 2 times pi, 1), (0, 1), and (2 times pi, 1) are the highest points on the graph. The points (negative pi, negative 1) and (pi, negative 1) are the lowest points on the graph. The pattern extends infinitely to the left and right.

    Find: f(0).f(0).
    Find: f(π).f(π).
    Find: f(π).f(π).
    Find the values for x when f(x)=0.f(x)=0.
    Find the x-intercepts.
    Find the y-intercepts.
    Find the domain. Write it in interval notation.
    Find the range. Write it in interval notation.

    Media

    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.

    337.

    The figure has a circle graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 6 to 6. The circle goes through the points (negative 3, 0), (3, 0), (0, negative 3), and (0, 3).


    The figure has a parabola opening up graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 4 to 8. The parabola goes through the points (negative 2, 6), (1, 3), (0, 2), (1, 3), and (2, 6).
    338.

    The figure has an s-shaped curved line graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 6 to 6. The s-shaped curved line goes through the points (negative 1, 1), (0, 0), and (1, 1).


    The figure has a circle graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 6 to 6. The circle goes through the points (negative 4, 0), (4, 0), (0, negative 4), and (0, 4).
    339.

    The figure has a parabola opening right graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 6 to 6. The parabola goes through the points (negative 2, 0), (negative 1, 1), (negative 1, negative 1), (negative 2, 2), and (2, 2).


    The figure has a cube function graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 6 to 6. The curved line goes through the points (negative 1, negative 1), (0, 0), and (1, 1).
    340.

    The figure has two curved lines graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 6 to 6. The curved line on the left goes through the points (negative 2, 0), (negative 4, 5), and (negative 4, negative 5). The curved line on the right goes through the points (2, 0), (4, 5), and (4, negative 5).


    The figure has a sideways absolute value function graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 6 to 6. The line bends at the point (0, 2) and goes to the right. The line goes through the points (1, 3), (2, 4), (1, 1), and (2, 0).

    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.

    341.

    f ( x ) = 3 x + 4 f ( x ) = 3 x + 4

    342.

    f ( x ) = 2 x + 5 f ( x ) = 2 x + 5

    343.

    f ( x ) = x 2 f ( x ) = x 2

    344.

    f ( x ) = −4 x 3 f ( x ) = −4 x 3

    345.

    f ( x ) = −2 x + 2 f ( x ) = −2 x + 2

    346.

    f ( x ) = −3 x + 3 f ( x ) = −3 x + 3

    347.

    f ( x ) = 1 2 x + 1 f ( x ) = 1 2 x + 1

    348.

    f ( x ) = 2 3 x 2 f ( x ) = 2 3 x 2

    349.

    f ( x ) = 5 f ( x ) = 5

    350.

    f ( x ) = 2 f ( x ) = 2

    351.

    f ( x ) = −3 f ( x ) = −3

    352.

    f ( x ) = −1 f ( x ) = −1

    353.

    f ( x ) = 2 x f ( x ) = 2 x

    354.

    f ( x ) = 3 x f ( x ) = 3 x

    355.

    f ( x ) = −2 x f ( x ) = −2 x

    356.

    f ( x ) = −3 x f ( x ) = −3 x

    357.

    f ( x ) = 3 x 2 f ( x ) = 3 x 2

    358.

    f ( x ) = 2 x 2 f ( x ) = 2 x 2

    359.

    f ( x ) = −3 x 2 f ( x ) = −3 x 2

    360.

    f ( x ) = −2 x 2 f ( x ) = −2 x 2

    361.

    f ( x ) = 1 2 x 2 f ( x ) = 1 2 x 2

    362.

    f ( x ) = 1 3 x 2 f ( x ) = 1 3 x 2

    363.

    f ( x ) = x 2 1 f ( x ) = x 2 1

    364.

    f ( x ) = x 2 + 1 f ( x ) = x 2 + 1

    365.

    f ( x ) = −2 x 3 f ( x ) = −2 x 3

    366.

    f ( x ) = 2 x 3 f ( x ) = 2 x 3

    367.

    f ( x ) = x 3 + 2 f ( x ) = x 3 + 2

    368.

    f ( x ) = x 3 2 f ( x ) = x 3 2

    369.

    f ( x ) = 2 x f ( x ) = 2 x

    370.

    f ( x ) = −2 x f ( x ) = −2 x

    371.

    f ( x ) = x 1 f ( x ) = x 1

    372.

    f ( x ) = x + 1 f ( x ) = x + 1

    373.

    f ( x ) = 3 | x | f ( x ) = 3 | x |

    374.

    f ( x ) = −2 | x | f ( x ) = −2 | x |

    375.

    f ( x ) = | x | + 1 f ( x ) = | x | + 1

    376.

    f ( x ) = | x | 1 f ( x ) = | x | 1

    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.

    377.
    The figure has a square root function graphed on the x y-coordinate plane. The x-axis runs from negative 2 to 8. The y-axis runs from negative 2 to 8. The half-line starts at the point (2, 0) and goes through the points (3, 1) and (6, 2).
    378.
    The figure has a square root function graphed on the x y-coordinate plane. The x-axis runs from negative 2 to 8. The y-axis runs from negative 2 to 10. The half-line starts at the point (negative 3, 0) and goes through the points (negative 2, 1) and (1, 2).
    379.
    The figure has an absolute value function graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from 0 to 12. The vertex is at the point (0, 4). The line goes through the points (negative 2, 6) and (2, 6).
    380.
    The figure has an absolute value function graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 4 to 8. The vertex is at the point (0, negative 1). The line goes through the points (negative 1, 0) and (1, 0).
    381.
    The figure has a half-circle graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 6 to 6. The curved line segment starts at the point (negative 2, 0). The line goes through the point (0, 2) and ends at the point (2, 0).
    382.
    The figure has a half-circle graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 2 to 10. The curved line segment starts at the point (negative 3, 3). The line goes through the point (0, 6) and ends at the point (3, 3).

    In the following exercises, use the graph of the function to find the indicated values.

    383.
    This figure has a wavy curved line graphed on the x y-coordinate plane. The x-axis runs from negative 2 times pi to 2 times pi. The y-axis runs from negative 6 to 6. The curved line segment goes through the points (negative 2 times pi, 0), (negative 3 divided by 2 times pi, negative 1), (negative pi, 0), (negative 1 divided by 2 times pi, 1), (0, 0), (1 divided by 2 times pi, negative 1), (pi, 0), (3 divided by 2 times pi, 1), and (2 times pi, 0). The points (negative 3 divided by 2 times pi, negative 1) and (1 divided by 2 times pi, negative 1) are the lowest points on the graph. The points (negative 1 divided by 2 times pi, 1) and (3 divided by 2 times pi, 1) are the highest points on the graph. The pattern extends infinitely to the left and right.

    Find: f(0).f(0).
    Find: f(12π).f(12π).
    Find: f(32π).f(32π).
    Find the values for x when f(x)=0.f(x)=0.
    Find the x-intercepts.
    Find the y-intercepts.
    Find the domain. Write it in interval notation.
    Find the range. Write it in interval notation.

    384.
    This figure has a wavy curved line graphed on the x y-coordinate plane. The x-axis runs from negative 2 times pi to 2 times pi. The y-axis runs from negative 6 to 6. The curved line segment goes through the points (negative 2 times pi, negative 1), (negative 3 divided by 2 times pi, 0), (negative pi, 1), (negative 1 divided by 2 times pi, 0), (0, negative 1), (1 divided by 2 times pi, 0), (pi, 1), (3 divided by 2 times pi, 0), and (2 times pi, negative 1). The points (negative 2 times pi, negative 1) and (2 times pi, negative 1) are the lowest points on the graph. The points (negative pi, 1) and (pi, 1) are the highest points on the graph. The pattern extends infinitely to the left and right.

    Find: f(0).f(0).
    Find: f(π).f(π).
    Find: f(π).f(π).
    Find the values for x when f(x)=0.f(x)=0.
    Find the x-intercepts.
    Find the y-intercepts.
    Find the domain. Write it in interval notation.
    Find the range. Write it in interval notation

    385.
    The figure has the top half of a circle graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 4 to 8. The curved line segment starts at the point (negative 3, 2). The line goes through the point (0, 5) and ends at the point (3, 2). The point (0, 5) is the highest point on the graph. The points (negative 3, 2) and (3, 2) are the lowest points on the graph.

    Find: f(0).f(0).
    Find: f(−3).f(−3).
    Find: f(3).f(3).
    Find the values for x when f(x)=0.f(x)=0.
    Find the x-intercepts.
    Find the y-intercepts.
    Find the domain. Write it in interval notation.
    Find the range. Write it in interval notation.

    386.
    The figure has the top half of a circle graphed on the x y-coordinate plane. The x-axis runs from negative 6 to 6. The y-axis runs from negative 4 to 8. The curved line segment starts at the point (negative 4, 0). The line goes through the point (0, 4) and ends at the point (4, 0). The point (0, 4) is the highest point on the graph. The points (negative 4, 0) and (4, 0) are the lowest points on the graph.

    Find: f(0).f(0).
    Find the values for x when f(x)=0.f(x)=0.
    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

    387.

    Explain in your own words how to find the domain from a graph.

    388.

    Explain in your own words how to find the range from a graph.

    389.

    Explain in your own words how to use the vertical line test.

    390.

    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.

    The figure shows a table with four rows and four columns. The first row is a header row and it labels each column. The first column header is “I can…”, the second is "confidently", the third is “with some help”, “no minus I don’t get it!”. Under the first column are the phrases “use the vertical line test”, “identify graphs of basic functions”, and “read information from a graph”. Under the second, third, fourth columns are blank spaces where the learner can check what level of mastery they have achieved

    After reviewing this checklist, what will you do to become confident for all objectives?


    This page titled 3.7: Graphs of Functions is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.