Login
📚 Precalculus
Chapters ▾

1.6 Graphs of Functions

In Section we defined a function as a special type of relation; one in which each x -coordinate was matched with only one y -coordinate. We spent most of our time in that section looking at functions graphically because they were, after all, just sets of points in the plane. Then in Section we described a function as a process and defined the notation necessary to work with functions algebraically. So now it's time to look at functions graphically again, only this time we'll do so with the notation defined in Section. We start with what should not be a surprising connection.

The Fundamental Graphing Principle for Functions

The graph of a function f is the set of points which satisfy the equation y = f ( x ) . That is, the point ( x , y ) is on the graph of f if and only if y = f ( x ) .

Graphing piecewise-defined functions is a bit more of a challenge.

In the previous two examples, the x -coordinates of the x -intercepts of the graph of y = f ( x ) were found by solving f ( x ) = 0 . For this reason, they are called the zeros of f .

Of the three symmetries discussed in Section, only two are of significance to functions: symmetry about the y -axis and symmetry about the origin.2 Recall that we can test whether the graph of an equation is symmetric about the y -axis by replacing x with x and checking to see if an equivalent equation results. If we are graphing the equation y = f ( x ) , substituting x for x results in the equation y = f ( x ) . In order for this equation to be equivalent to the original equation y = f ( x ) we need f ( x ) = f ( x ) . In a similar fashion, we recall that to test an equation's graph for symmetry about the origin, we replace x and y with x and y , respectively. Doing this substitution in the equation y = f ( x ) results in y = f ( x ) . Solving the latter equation for y gives y = f ( x ) . In order for this equation to be equivalent to the original equation y = f ( x ) we need f ( x ) = f ( x ) , or, equivalently, f ( x ) = f ( x ) . These results are summarized below.

Testing the Graph of a Function for Symmetry

The graph of a function f is symmetric

For reasons which won't become clear until we study polynomials, we call a function even if its graph is symmetric about the y -axis or odd if its graph is symmetric about the origin. Apart from a very specialized family of functions which are both even and odd,3 functions fall into one of three distinct categories: even, odd, or neither even nor odd.

There are two lessons to be learned from the last example. The first is that sampling function values at particular x values is not enough to prove that a function is even or odd despite the fact that j ( 1 ) = j ( 1 ) , j turned out not to be odd. Secondly, while the calculator may suggest mathematical truths, it is the Algebra which proves mathematical truths.6

General Function Behavior

The last topic we wish to address in this section is general function behavior. As you shall see in the next several chapters, each family of functions has its own unique attributes and we will study them all in great detail. The purpose of this section's discussion, then, is to lay the foundation for that further study by investigating aspects of function behavior which apply to all functions. To start, we will examine the concepts of increasing, decreasing and constant. Before defining the concepts algebraically, it is instructive to first look at them graphically. Consider the graph of the function f below.

Figure: The graph of
Figure 1.158 The graph of y = f ( x )

Reading from left to right, the graph `starts' at the point ( 4 , 3 ) and `ends' at the point ( 6 , 5.5 ) . If we imagine walking from left to right on the graph, between ( 4 , 3 ) and ( 2 , 4.5 ) , we are walking `uphill'; then between ( 2 , 4.5 ) and ( 3 , 8 ) , we are walking `downhill'; and between ( 3 , 8 ) and ( 4 , 6 ) , we are walking `uphill' once more. From ( 4 , 6 ) to ( 5 , 6 ) , we `level off', and then resume walking `uphill' from ( 5 , 6 ) to ( 6 , 5.5 ) . In other words, for the x values between 4 and 2 (inclusive), the y -coordinates on the graph are getting larger, or increasing, as we move from left to right. Since y = f ( x ) , the y values on the graph are the function values, and we say that the function f is increasing on the interval [ 4 , 2 ] . Analogously, we say that f is decreasing on the interval [ 2 , 3 ] increasing once more on the interval [ 3 , 4 ] , constant on [ 4 , 5 ] , and finally increasing once again on [ 5 , 6 ] . It is extremely important to notice that the behavior (increasing, decreasing or constant) occurs on an interval on the x -axis. When we say that the function f is increasing on [ 4 , 2 ] we do not mention the actual y values that f attains along the way. Thus, we report where the behavior occurs, not to what extent the behavior occurs.7 Also notice that we do not say that a function is increasing, decreasing or constant at a single x value. In fact, we would run into serious trouble in our previous example if we tried to do so because x = 2 is contained in an interval on which f was increasing and one on which it is decreasing. (There's more on this issue – and many others – in the Exercises.)

We're now ready for the more formal algebraic definitions of what it means for a function to be increasing, decreasing or constant.

It is worth taking some time to see that the algebraic descriptions of increasing, decreasing and constant as stated in Definition agree with our graphical descriptions given earlier. You should look back through the examples and exercise sets in previous sections where graphs were given to see if you can determine the intervals on which the functions are increasing, decreasing or constant. Can you find an example of a function for which none of the concepts in Definition apply?

Now let's turn our attention to a few of the points on the graph. Clearly the point ( 2 , 4.5 ) does not have the largest y value of all of the points on the graph of f indeed that honor goes to ( 6 , 5.5 ) but ( 2 , 4.5 ) should get some sort of consolation prize for being `the top of the hill' between x = 4 and x = 3 . We say that the function f has a local maximum 8 at the point ( 2 , 4.5 ) , because the y -coordinate 4.5 is the largest y -value (hence, function value) on the curve `near'9 x = 2 . Similarly, we say that the function f has a local minimum 10 at the point ( 3 , 8 ) , since the y -coordinate 8 is the smallest function value near x = 3 . Although it is tempting to say that local extrema11 occur when the function changes from increasing to decreasing or vice versa, it is not a precise enough way to define the concepts for the needs of Calculus. At the risk of being pedantic, we will present the traditional definitions and thoroughly vet the pathologies they induce in the Exercises. We have one last observation to make before we proceed to the algebraic definitions and look at a fairly tame, yet helpful, example.

If we look at the entire graph, we see that the largest y value (the largest function value) is 5.5 at x = 6 . In this case, we say the maximum 12 of f is 5.5 ; similarly, the minimum 13 of f is  8 .

We formalize these concepts in the following definitions.

It's important to note that not every function will have all of these features. Indeed, it is possible to have a function with no local or absolute extrema at all! (Any ideas of what such a function's graph would have to look like?) We shall see examples of functions in the Exercises which have one or two, but not all, of these features, some that have instances of each type of extremum and some functions that seem to defy common sense. In all cases, though, we shall adhere to the algebraic definitions above as we explore the wonderful diversity of graphs that functions provide us.

Here is the `tame' example which was promised earlier. It summarizes all of the concepts presented in this section as well as some from previous sections so you should spend some time thinking deeply about it before proceeding to the Exercises.

With few exceptions, we will not develop techniques in College Algebra which allow us to determine the intervals on which a function is increasing, decreasing or constant or to find the local maximums and local minimums analytically; this is the business of Calculus.15 When we have need to find such beasts, we will resort to the calculator. Most graphing calculators have `Minimum' and `Maximum' features which can be used to approximate these values, as we now demonstrate.

Exercises

In Exercises -, sketch the graph of the given function. State the domain of the function, identify any intercepts and test for symmetry.

  1. f ( x ) = 2 x
  2. f ( x ) = x 2 3
  3. f ( x ) = x 2 + 1
  4. f ( x ) = 4 x 2
  5. f ( x ) = 2
  6. f ( x ) = x 3
  7. f ( x ) = x ( x 1 ) ( x + 2 )
  8. f ( x ) = x 2
  9. f ( x ) = 5 x
  10. f ( x ) = 3 2 x + 2
  11. f ( x ) = x 3
  12. f ( x ) = 1 x 2 + 1
  13. f ( x ) = { 4 x  if  x 3 2  if  x > 3
  14. f ( x ) = { x 2  if  x 0 2 x  if  x > 0
  15. f ( x ) = { 3  if  x < 0 2 x 3  if  0 x 3 3  if  x > 3
  16. f ( x ) = { x 2 4  if  x 2 4 x 2  if  2 < x < 2 x 2 4  if  x 2
  17. f ( x ) = { 2 x 4  if  x < 0 3 x  if  x 0
  18. f ( x ) = { x + 4  if  4 x < 5 x 1  if  x 5
  19. f ( x ) = { x 2  if  x 2 3 x  if  2 < x < 2 4  if  x 2
  20. f ( x ) = { 1 x  if  6 < x < 1 x  if  1 < x < 1 x  if  1 < x < 9
  21. f ( x ) = 7 x
  22. f ( x ) = 7 x + 2
  23. f ( x ) = 7
  24. f ( x ) = 3 x 2 4
  25. f ( x ) = 4 x 2
  26. f ( x ) = x 2 x 6
  27. f ( x ) = 2 x 3 x
  28. f ( x ) = x 5 + 2 x 3 x
  29. f ( x ) = x 6 x 4 + x 2 + 9
  30. f ( x ) = x 3 + x 2 + x + 1
  31. f ( x ) = 1 x
  32. f ( x ) = 1 x 2
  33. f ( x ) = 0
  34. f ( x ) = x 3
  35. f ( x ) = x 2 3
  36. f ( x ) = 3 x 2
  37. f ( x ) = 2 x 1 x + 1
  38. f ( x ) = 3 x x 2 + 1
  39. f ( x ) = x 2 3 x 4 x 3
  40. f ( x ) = 9 4 x 2
  41. f ( x ) = x 3 + x 3 5 x

In Exercises -, sketch the graph of the given piecewise-defined function.

In Exercises -, determine analytically if the following functions are even, odd or neither.

In Exercises -, use the graph of y = f ( x ) given below to answer the question.

Coordinate-plane figure.
Figure 1.167
  1. Find the domain of f .
  2. Find the range of f .
  3. Determine f ( 2 ) .
  4. Solve f ( x ) = 4 .
  5. List the x -intercepts, if any exist.
  6. List the y -intercepts, if any exist.
  7. Find the zeros of f .
  8. Solve f ( x ) 0 .
  9. Find the number of solutions to f ( x ) = 1 .
  10. Does f appear to be even, odd, or neither?
  11. List the intervals where f is increasing.
  12. List the intervals where f is decreasing.
  13. List the local maximums, if any exist.
  14. List the local minimums, if any exist.
  15. Find the maximum, if it exists.
  16. Find the minimum, if it exists.

In Exercises -, use the graph of y = f ( x ) given below to answer the question.

Coordinate-plane figure.
Figure 1.168
  1. Find the domain of f .
  2. Find the range of f .
  3. Determine f ( 2 ) .
  4. Solve f ( x ) = 5 .
  5. List the x -intercepts, if any exist.
  6. List the y -intercepts, if any exist.
  7. Find the zeros of f .
  8. Solve f ( x ) 0 .
  9. Find the number of solutions to f ( x ) = 3 .
  10. Does f appear to be even, odd, or neither?
  11. List the intervals where f is increasing.
  12. List the intervals where f is decreasing.
  13. List the local maximums, if any exist.
  14. List the local minimums, if any exist.
  15. Find the maximum, if it exists.
  16. Find the minimum, if it exists.
  17. f ( x ) = x 4 3 x 3 24 x 2 + 28 x + 48
  18. f ( x ) = x 2 / 3 ( x 4 )
  19. f ( x ) = 9 x 2
  20. f ( x ) = x 9 x 2

In Exercises -, use your graphing calculator to approximate the local and absolute extrema of the given function. Approximate the intervals on which the function is increasing and those on which it is decreasing. Round your answers to two decimal places.

In Exercises -, use the graphs of y = f ( x ) and y = g ( x ) below to find the function value.

Coordinate-plane figure.
Figure 1.169 y = f ( x )
Coordinate-plane figure.
Figure 1.170 y = g ( x )
  1. ( f + g ) ( 0 )
  2. ( f + g ) ( 1 )
  3. ( f g ) ( 1 )
  4. ( g f ) ( 2 )
  5. ( f g ) ( 2 )
  6. ( f g ) ( 1 )
  7. ( f g ) ( 4 )
  8. ( g f ) ( 2 )

The graph below represents the height h of a Sasquatch (in feet) as a function of its age N in years. Use it to answer the questions in Exercises -.

Coordinate-plane figure.
Figure 1.171 y = h ( N )
  1. Find and interpret h ( 0 ) .
  2. How tall is the Sasquatch when she is 15 years old?
  3. Solve h ( N ) = 6 and interpret.
  4. List the interval over which h is constant and interpret your answer.
  5. List the interval over which h is decreasing and interpret your answer.
  6. Graph y = f ( x ) . Be careful to correctly describe the behavior of the graph near the integers.
  7. Is f even, odd, or neither? Explain.
  8. Discuss with your classmates which points on the graph are local minimums, local maximums or both. Is f ever increasing? Decreasing? Constant?
  9. f ( x ) = x 3 + x 12
  10. f ( x ) = 5 x + 2
  11. In Exercise in Section, we saw that the population of Sasquatch in Portage County could be modeled by the function P ( t ) = 150 t t + 15 , where t = 0 represents the year 1803. Use your graphing calculator to analyze the general function behavior of P . Will there ever be a time when 200 Sasquatch roam Portage County?
  12. Suppose f and g are both even functions. What can be said about the functions f + g , f g , f g and f g ? What if f and g are both odd? What if f is even but g is odd?
  13. One of the most important aspects of the Cartesian Coordinate Plane is its ability to put Algebra into geometric terms and Geometry into algebraic terms. We've spent most of this chapter looking at this very phenomenon and now you should spend some time with your classmates reviewing what we've done. What major results do we have that tie Algebra and Geometry together? What concepts from Geometry have we not yet described algebraically? What topics from Intermediate Algebra have we not yet discussed geometrically?
  14. Consider the graph of the function f given below.

    Coordinate-plane figure.
    Figure 1.172
    1. Show that f has a local maximum but not a local minimum at the point ( 1 , 1 ) .
    2. Show that f has a local minimum but not a local maximum at the point ( 1 , 1 ) .
    3. Show that f has a local maximum AND a local minimum at the point ( 0 , 1 ) .
    4. Show that f is constant on the interval [ 1 , 1 ] and thus has both a local maximum AND a local minimum at every point ( x , f ( x ) ) where 1 < x < 1 .
  15. Using Example Example 4 as a guide, show that the function g whose graph is given below does not have a local maximum at ( 3 , 5 ) nor does it have a local minimum at ( 3 , 3 ) . Find its extrema, both local and absolute. What's unique about the point ( 0 , 4 ) on this graph? Also find the intervals on which g is increasing and those on which g is decreasing.

    Coordinate-plane figure.
    Figure 1.173
  16. We said earlier in the section that it is not good enough to say local extrema exist where a function changes from increasing to decreasing or vice versa. As a previous exercise showed, we could have local extrema when a function is constant so now we need to examine some functions whose graphs do indeed change direction. Consider the functions graphed below. Notice that all four of them change direction at an open circle on the graph. Examine each for local extrema. What is the effect of placing the “dot” on the y -axis above or below the open circle? What could you say if no function value were assigned to x = 0 ?

    1. Figure: Function I
      Figure 1.174 Function I
    2. Figure: Function II
      Figure 1.175 Function II
    1. Figure: Function III
      Figure 1.176 Function III
    2. Figure: Function IV
      Figure 1.177 Function IV

For Exercises -, let f ( x ) = x be the greatest integer function as defined in Exercise in Section.

In Exercises -, use your graphing calculator to show that the given function does not have any extrema, neither local nor absolute.

It's now time to “thoroughly vet the pathologies induced” by the precise definitions of local maximum and local minimum. We'll do this by providing you and your classmates a series of Exercises to discuss. You will need to refer back to Definition (Increasing, Decreasing and Constant) and Definition (Maximum and Minimum) during the discussion.

Answers

  1. f ( x ) = 2 x

    Domain: ( , )

    x -intercept: ( 2 , 0 )

    y -intercept: ( 0 , 2 )

    No symmetry

    Coordinate-plane figure.
    Figure 1.178
  2. f ( x ) = x 2 3

    Domain: ( , )

    x -intercept: ( 2 , 0 )

    y -intercept: ( 0 , 2 3 )

    No symmetry

    Coordinate-plane figure.
    Figure 1.179
  3. f ( x ) = x 2 + 1

    Domain: ( , )

    x -intercept: None

    y -intercept: ( 0 , 1 )

    Even

    Coordinate-plane figure.
    Figure 1.180
  4. f ( x ) = 4 x 2

    Domain: ( , )

    x -intercepts: ( 2 , 0 ) , ( 2 , 0 )

    y -intercept: ( 0 , 4 )

    Even

    Coordinate-plane figure.
    Figure 1.181
  5. f ( x ) = 2

    Domain: ( , )

    x -intercept: None

    y -intercept: ( 0 , 2 )

    Even

    Coordinate-plane figure.
    Figure 1.182
  6. f ( x ) = x 3

    Domain: ( , )

    x -intercept: ( 0 , 0 )

    y -intercept: ( 0 , 0 )

    Odd

    Coordinate-plane figure.
    Figure 1.183
  7. f ( x ) = x ( x 1 ) ( x + 2 )

    Domain: ( , )

    x -intercepts: ( 2 , 0 ) , ( 0 , 0 ) , ( 1 , 0 )

    y -intercept: ( 0 , 0 )

    No symmetry

    Coordinate-plane figure.
    Figure 1.184
  8. f ( x ) = x 2

    Domain: [ 2 , )

    x -intercept: ( 2 , 0 )

    y -intercept: None

    No symmetry

    Coordinate-plane figure.
    Figure 1.185
  9. f ( x ) = 5 x

    Domain: ( , 5 ]

    x -intercept: ( 5 , 0 )

    y -intercept: ( 0 , 5 )

    No symmetry

    Coordinate-plane figure.
    Figure 1.186
  10. f ( x ) = 3 2 x + 2

    Domain: [ 2 , )

    x -intercept: ( 1 4 , 0 )

    y -intercept: ( 0 , 3 2 2 )

    No symmetry

    Coordinate-plane figure.
    Figure 1.187
  11. f ( x ) = x 3

    Domain: ( , )

    x -intercept: ( 0 , 0 )

    y -intercept: ( 0 , 0 )

    Odd

    Coordinate-plane figure.
    Figure 1.188
  12. f ( x ) = 1 x 2 + 1

    Domain: ( , )

    x -intercept: None

    y -intercept: ( 0 , 1 )

    Even

    Coordinate-plane figure.
    Figure 1.189
  13. Coordinate-plane figure.
    Figure 1.190
  14. Coordinate-plane figure.
    Figure 1.191
  15. Coordinate-plane figure.
    Figure 1.192
  16. Coordinate-plane figure.
    Figure 1.193
  17. Coordinate-plane figure.
    Figure 1.194
  18. Coordinate-plane figure.
    Figure 1.195
  19. Coordinate-plane figure.
    Figure 1.196
  20. Coordinate-plane figure.
    Figure 1.197
  21. odd
  22. neither
  23. even
  24. even
  25. even
  26. neither
  27. odd
  28. odd
  29. even
  30. neither
  31. neither
  32. even
  33. even and odd
  34. odd
  35. even
  36. even
  37. neither
  38. odd
  39. odd
  40. even
  41. even
  42. [ 5 , 3 ]
  43. [ 5 , 4 ]
  44. f ( 2 ) = 2
  45. x = 3
  46. ( 4 , 0 ) , ( 1 , 0 ) , ( 1 , 0 )
  47. ( 0 , 1 )
  48. 4 , 1 , 1
  49. [ 4 , 1 ] [ 1 , 3 ]
  50. 4
  51. neither
  52. [ 5 , 3 ] , [ 0 , 2 ]
  53. [ 3 , 0 ] , [ 2 , 3 ]
  54. f ( 3 ) = 4 , f ( 2 ) = 3
  55. f ( 0 ) = 1
  56. f ( 3 ) = 4
  57. f ( 5 ) = 5
  58. [ 4 , 4 ]
  59. [ 5 , 5 )
  60. f ( 2 ) = 3
  61. x = 2
  62. ( 4 , 0 ) , ( 0 , 0 ) , ( 4 , 0 )
  63. ( 0 , 0 )
  64. 4 , 0 , 4
  65. [ 4 , 0 ] { 4 }
  66. 3
  67. neither
  68. [ 2 , 2 )
  69. [ 4 , 2 ] , ( 2 , 4 ]
  70. none
  71. f ( 2 ) = 5 , f ( 2 ) = 3
  72. none
  73. f ( 2 ) = 5
  74. No absolute maximum Absolute minimum f ( 4.55 ) 175.46 Local minimum at ( 2.84 , 91.32 ) Local maximum at ( 0.54 , 55.73 ) Local minimum at ( 4.55 , 175.46 ) Increasing on [ 2.84 , 0.54 ] , [ 4.55 , ) Decreasing on ( , 2.84 ] , [ 0.54 , 4.55 ]
  75. No absolute maximum No absolute minimum Local maximum at ( 0 , 0 ) Local minimum at ( 1.60 , 3.28 ) Increasing on ( , 0 ] , [ 1.60 , ) Decreasing on [ 0 , 1.60 ]
  76. Absolute maximum f ( 0 ) = 3 Absolute minimum f ( ± 3 ) = 0 Local maximum at ( 0 , 3 ) No local minimum Increasing on [ 3 , 0 ] Decreasing on [ 0 , 3 ]
  77. Absolute maximum f ( 2.12 ) 4.50 Absolute minimum f ( 2.12 ) 4.50 Local maximum ( 2.12 , 4.50 ) Local minimum ( 2.12 , 4.50 ) Increasing on [ 2.12 , 2.12 ] Decreasing on [ 3 , 2.12 ] , [ 2.12 , 3 ]
  78. ( f + g ) ( 0 ) = 4
  79. ( f + g ) ( 1 ) = 5
  80. ( f g ) ( 1 ) = 1
  81. ( g f ) ( 2 ) = 0
  82. ( f g ) ( 2 ) = 9
  83. ( f g ) ( 1 ) = 6
  84. ( f g ) ( 4 ) = 0
  85. ( g f ) ( 2 ) = 1
  86. h ( 0 ) = 2 , so the Sasquatch is 2 feet tall at birth.
  87. h ( 15 ) = 6 , so the Saquatch is 6 feet tall when she is 15 years old.
  88. h ( N ) = 6 when N = 15 and N = 60 . This means the Sasquatch is 6 feet tall when she is 15 and 60 years old.
  89. h is constant on [ 30 , 45 ] . This means the Sasquatch's height is constant (at 8 feet) for these years.
  90. h is decreasing on [ 45 , 60 ] . This means the Sasquatch is getting shorter from the age of 45 to the age of 60. (Sasquatchteoporosis, perhaps?)
  91. Figure: The graph of .
    Figure 1.198 The graph of f ( x ) = x .
  92. Note that f ( 1.1 ) = 1 , but f ( 1.1 ) = 2 , so f is neither even nor odd.

Adapted from Precalculus, 3rd corrected edition, by Carl Stitz and Jeff Zeager (stitz-zeager.com), licensed under CC BY-NC-SA 3.0. Changes were made: reformatted as an accessible XYZ web edition. License: CC-BY-NC-SA-3.0.