<< Chapter < Page Chapter >> Page >

Is the initial value always provided in a table of values like [link] ?

No. Sometimes the initial value is provided in a table of values, but sometimes it is not. If you see an input of 0, then the initial value would be the corresponding output. If the initial value is not provided because there is no value of input on the table equal to 0, find the slope, substitute one coordinate pair and the slope into f ( x ) = m x + b , and solve for b .

A new plant food was introduced to a young tree to test its effect on the height of the tree. [link] shows the height of the tree, in feet, x months since the measurements began. Write a linear function, H ( x ) , where x is the number of months since the start of the experiment.

x 0 2 4 8 12
H ( x ) 12.5 13.5 14.5 16.5 18.5

H ( x ) = 0.5 x + 12.5

Got questions? Get instant answers now!

Graphing linear functions

Now that we’ve seen and interpreted graphs of linear functions, let’s take a look at how to create the graphs. There are three basic methods of graphing linear functions. The first is by plotting points and then drawing a line through the points. The second is by using the y- intercept and slope. And the third method is by using transformations of the identity function f ( x ) = x .

Graphing a function by plotting points

To find points of a function, we can choose input values, evaluate the function at these input values, and calculate output values. The input values and corresponding output values form coordinate pairs. We then plot the coordinate pairs on a grid. In general, we should evaluate the function at a minimum of two inputs in order to find at least two points on the graph. For example, given the function, f ( x ) = 2 x , we might use the input values 1 and 2. Evaluating the function for an input value of 1 yields an output value of 2, which is represented by the point ( 1 , 2 ) . Evaluating the function for an input value of 2 yields an output value of 4, which is represented by the point ( 2 , 4 ) . Choosing three points is often advisable because if all three points do not fall on the same line, we know we made an error.

Given a linear function, graph by plotting points.

  1. Choose a minimum of two input values.
  2. Evaluate the function at each input value.
  3. Use the resulting output values to identify coordinate pairs.
  4. Plot the coordinate pairs on a grid.
  5. Draw a line through the points.

Graphing by plotting points

Graph f ( x ) = 2 3 x + 5 by plotting points.

Begin by choosing input values. This function includes a fraction with a denominator of 3, so let’s choose multiples of 3 as input values. We will choose 0, 3, and 6.

Evaluate the function at each input value, and use the output value to identify coordinate pairs.

x = 0 f ( 0 ) = 2 3 ( 0 ) + 5 = 5 ( 0 , 5 ) x = 3 f ( 3 ) = 2 3 ( 3 ) + 5 = 3 ( 3 , 3 ) x = 6 f ( 6 ) = 2 3 ( 6 ) + 5 = 1 ( 6 , 1 )

Plot the coordinate pairs and draw a line through the points. [link] represents the graph of the function f ( x ) = 2 3 x + 5.

This graph shows a decreasing function graphed on an x y coordinate plane. The x axis runs from negative 4 to 7 and the y axis runs from negative 2 to 7. The y axis is labeled f of x. The function passes through the points (0, 5), (3, 3) and (6, 1)
The graph of the linear function f ( x ) = 2 3 x + 5.
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Graph f ( x ) = 3 4 x + 6 by plotting points.

This graph shows a decreasing function graphed on an x y coordinate plane. The x-axis runs from negative 8 to 10 and the y-axis runs from negative 8 to 8. The function passes through the points (0,6), (4,3) and (8,0).
Got questions? Get instant answers now!

Graphing a function using y- Intercept and slope

Another way to graph linear functions is by using specific characteristics of the function rather than plotting points. The first characteristic is its y- intercept, which is the point at which the input value is zero. To find the y- intercept, we can set x = 0 in the equation.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, College algebra. OpenStax CNX. Feb 06, 2015 Download for free at https://legacy.cnx.org/content/col11759/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'College algebra' conversation and receive update notifications?

Ask