Mathematics 265 Introduction to Calculus I

Study Guide :: Unit 2

Functions

The Graph of a Function

Prerequisites

To complete this section, you must be able to locate points on the Cartesian plane (read pages 344-345 of the textbook, and do Exercises 1-6, 11, 13 and 15 on page 349).

To aid our understanding of a function, we resort to its graph whenever possible. The graph of a function is its visual representation. We must learn how to obtain information about a function from its graph; that is, visually.

As we stated above, a function is a set of pairs

{ ( a , F ( a ) ) | a   is in the domain of   F } .

We can plot the pairs ( a , F ( a ) ) on the Cartesian plane, with a as the x-coordinate and F ( a ) as the y-coordinate. If we could do this for every number a in the domain of the function F, we would end up with a set of points on the Cartesian plane—as many points as the number of elements in the domain. Taken together, all of these points make up the graph of the function F .

Definition 2.7. The graph of a function F , is the set of all points ( a , F ( a ) ) on the Cartesian plane, where a is in the domain of F .

You can see that if the domain of F is an infinite set, we cannot possibly plot all the pairs ( a , F ( a ) ) to obtain the graph of the function F. We will learn later how to overcome this problem. For now, we want to learn to read a function’s graph; that is, to obtain information about the function from its graph. Later, we will also learn to graph functions.

If a pair ( a , b ) is on the graph of a function F, then a is in the domain of F and F ( a ) = b . Observe that the domain of the function F is all numbers a on the x-axis, such that ( a , b ) is on the graph of F for some b on the y-axis.

Example 2.33. See the graph below.

Figure 2.3. Constant function d

Figure 2.3 is the graph of a function, say C, represented by an infinite horizontal line passing through the point ( 0 , d ) . [Why?] All of the points on this line are of the form ( a , d ) , with d fixed and a any real number. Since any of these pairs is on the graph of the function C, we understand two things: the domain of C is all real numbers, and C ( a ) = d for any real number a. This function is called the constant function d, because the value of the function is d for any real number.

Example 2.34. Compare the graph in Figure 2.3, above, with the following graph:

Figure 2.4. Infinite horizontal line with domain a < 6

This function, say P, also describes an infinite horizontal line, but the line stops at the point ( 6 , C ) . Any point on this line is of the form ( a , C ) , but a < 6 (the “open” circle indicates that there is no number on the y-axis associated to 6). That is, the pair ( 6 , b ) is not in the graph of P for any b, and we say that P is not defined at 6. Hence, it is not true that P ( 6 ) = C . From this graph, we can see that the domain of P is all a < 6 [in interval notation ( - , 6 ) ], and that P ( a ) = C for any a < 6.

Hence,

P - 3 4 = C , P ( 3 ) = C , and P ( 9 ) is undefined.

Example 2.35. Let Q be the function whose graph is shown in Figure 2.5, below.

Figure 2.5. Horizontal line with domain - 6 a < 1 0

The graph of Q is a horizontal line from the point ( - 6 , C ) to the point ( 1 0 , C ) . The graph of Q has infinitely many points, and the “closed” circle indicates that the pair ( - 6 , C ) is on the graph of Q. As you have probably concluded from the open circle, the pair ( 1 0 , C ) is not on the graph of Q. The pairs on this line are of the form ( a , C ) with - 6 a < 1 0. Hence, the domain of Q is the interval [ - 6 , 1 0 ) . You can see that Q ( - 6 ) = C , Q ( 0 ) = C , and Q ( 1 0 ) is undefined.

Example 2.36. The graph of the function I is as follows:

Figure 2.6. Identity function I

This line makes an angle of 4 5 ° with the x-axis. Any pair on this line has coordinates ( a , a ) . Hence, the domain is all real numbers and I ( a ) = a for any real number a . For example, I ( 4 7 ) = 4 7 , and I ( π ) = π .

This function is called the identity function.

Example 2.37. Let us study the graph of the function f shown in Figure 2.7, below.

Figure 2.7. Function f, Example 2.37

First, let us see which pairs are on the graph and which are not. Are the pairs ( 0 , 2 ) and ( 1 , 2 ) on the graph? What is the domain of the function graphed? What is the value of f ( 1 ) ?

The function has the constant value 2 for x > 1, that is f ( x ) = 2 for x > 1. The pair ( 0 , 1 ) is on the graph, but ( 0 , 2 ) is not; hence, f ( 0 ) = 1 . The pair ( 1 , 1 ) is on the graph, but ( 1 , 2 ) is not; hence, f ( 1 ) = 1 . For any x-coordinate there is a y-coordinate, such that ( x , y ) is on the graph. To see that the domain is all of the real numbers, take any number x and draw a vertical line through the point ( x , 0 ) , you see that this line cuts the graph of the function at one point, ( x , y ) . This point of intersection is on the graph, and the value of f at x is y; that is f ( x ) = y . See Figure 2.8, below.

Figure 2.8. Function f, showing intersection with the vertical line through x

Example 2.38. Study the following graph of the function G, and check that the information given is correct.

Figure 2.9. Function G, Example 2.38

The pairs ( - 4 , 2 ) , ( - 4 , 4 ) and ( 1 , 4 ) are not on the graph, but the pair ( 1 , 3 ) is on the graph. The domain is all real numbers except - 4 .

G ( a ) = 2 for a < - 4 , G ( a ) = 4 for - 4 < a < 1 ,

G ( a ) = - 1 for a > 1 , and G ( 1 ) = 3 .

Example 2.39. Consider the following graph of a function f:

Figure 2.10. Function f, Example 2.39

The domain of the function is all positive numbers; that is the interval ( 0 , ) , the value of the function at 4 is 0 .

Exercises
  1. Graph the identity function with the domain being the interval [ 5 , 9 ) .
  2. See the graph of Problem 4 on page 57 of the textbook.
    1. What is the domain of the function?
    2. What is f ( 3 ) ?
  3. See the graph of the function g in Problem 6 on page 58 of the textbook.
    1. Is 0 in the domain of g?
    2. What is the value of g at - 2?
    3. What is the value of g at 2?
    4. What is the domain of g?
  4. See the graph R in Problem 8 on page 58 of the textbook. Explain why the function is not defined at - 3, 2 and 5.
  5. Sketch the graph of one function f that has all of the properties listed below.
    1. domain is the interval ( - 4 , 1 2 ]
    2. f ( u ) = 1 on ( - 4 , 0 )
    3. f ( 0 ) = - 1
    4. f ( u ) = - 3 on ( 0 , 1 2 )
    5. f ( 1 2 ) = 0

Answers to Exercises

In a function, a pair ( a , b ) is a point on the Cartesian plane. Observe that pairs of the form ( a , b ) and ( a , c ) are on the vertical line x = a, as shown in Figure 2.11, below.

Figure 2.11. Multiple points on the vertical line x = a

A function does not include pairs like ( a , b ) and ( a , c ) , so the graph of a function does not include such pairs either.

Definition 2.8. A curve on a Cartesian plane is the graph of a function only if any vertical line cuts the curve at only one point. This criterion is known as the vertical line test (see page 13 of the textbook).

Example 2.40. The following curves are not graphs of functions, because all of them fail the vertical line test.

Figure 2.12. Curves that do not meet the vertical line test

Example 2.41. The following curves are graphs of functions. You can see that no vertical line intersects a curve at more than one point.

Figure 2.13. Curves that meet the vertical line test

To continue our study of functions, we must memorize a few basic graphs. For now, we will accept them as given; later, we will understand why the graphs are the way they are.

Note: In addition to the graphs shown in Table 2.1, below, consider the graphs of the trigonometric functions (shown on page 2 of the “Reference Pages” at the front of the textbook). Study each of these twelve graphs carefully: look for the domain of each graph, and identify some of its points.

Function   Graph
$F(x) = x$
Identity function
 
$F(x) = {x^2}$
Basic quadratic function
 
$F(x) = {x^3}$
Basic cubic function
 
$F(x) = |x|$
Absolute value function
 
$F(x) = \dfrac{1}{x}$  
$F(x) = \sqrt x $
Basic square root function
 

We refer to the function $F(x) = {x^2}$ as the “basic” quadratic function to distinguish it from other quadratic functions, such as $G(x) = {x^2} + 4$. We do the same for the cubic and square root functions.

Table 2.1. Graphs of basic functions