# 4.1 Linear functions Â (Page 7/27)

 Â  Â  Page 7 / 27

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 $\text{\hspace{0.17em}}f\left(x\right)=mx+b,\text{\hspace{0.17em}}$ and solve for $\text{\hspace{0.17em}}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, $\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$ months since the measurements began. Write a linear function, $\text{\hspace{0.17em}}H\left(x\right),$ where $\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$ 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\left(x\right)=0.5x+12.5$

## 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 $\text{\hspace{0.17em}}f\left(x\right)=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, $\text{\hspace{0.17em}}f\left(x\right)=2x,$ 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 $\text{\hspace{0.17em}}\left(1,2\right).\text{\hspace{0.17em}}$ Evaluating the function for an input value of 2 yields an output value of 4, which is represented by the point $\text{\hspace{0.17em}}\left(2,4\right).\text{\hspace{0.17em}}$ 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 $\text{\hspace{0.17em}}f\left(x\right)=-\frac{2}{3}x+5\text{\hspace{0.17em}}$ 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.

$\begin{array}{cc}\hfill x=0& \phantom{\rule{2em}{0ex}}f\left(0\right)=-\frac{2}{3}\left(0\right)+5=5⇒\left(0,5\right)\hfill \\ \hfill x=3& \phantom{\rule{2em}{0ex}}f\left(3\right)=-\frac{2}{3}\left(3\right)+5=3⇒\left(3,3\right)\hfill \\ \hfill x=6& \phantom{\rule{2em}{0ex}}f\left(6\right)=-\frac{2}{3}\left(6\right)+5=1⇒\left(6,1\right)\hfill \end{array}$

Plot the coordinate pairs and draw a line through the points. [link] represents the graph of the function $\text{\hspace{0.17em}}f\left(x\right)=-\frac{2}{3}x+5.$

Graph $\text{\hspace{0.17em}}f\left(x\right)=-\frac{3}{4}x+6\text{\hspace{0.17em}}$ by plotting points.

## 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 $\text{\hspace{0.17em}}x=0\text{\hspace{0.17em}}$ in the equation.

#### Questions & Answers

write down the polynomial function with root 1/3,2,-3 with solution
Gift Reply
if A and B are subspaces of V prove that (A+B)/B=A/(A-B)
Pream Reply
write down the value of each of the following in surd form a)cos(-65Â°) b)sin(-180Â°)c)tan(225Â°)d)tan(135Â°)
Oroke Reply
Prove that (sinA/1-cosA - 1-cosA/sinA) (cosA/1-sinA - 1-sinA/cosA) = 4
kiruba Reply
what is the answer to dividing negative index
Morosi Reply
In a triangle ABC prove that. (b+c)cosA+(c+a)cosB+(a+b)cisC=a+b+c.
Shivam Reply
give me the waec 2019 questions
Aaron Reply
the polar co-ordinate of the point (-1, -1)
Sumit Reply
prove the identites sin x ( 1+ tan x )+ cos x ( 1+ cot x )= sec x + cosec x
Rockstar Reply
tanh`(x-iy) =A+iB, find A and B
Pankaj Reply
B=Ai-itan(hx-hiy)
Rukmini
what is the addition of 101011 with 101010
Branded Reply
If those numbers are binary, it's 1010101. If they are base 10, it's 202021.
Jack
extra power 4 minus 5 x cube + 7 x square minus 5 x + 1 equal to zero
archana Reply
the gradient function of a curve is 2x+4 and the curve passes through point (1,4) find the equation of the curve
Kc Reply
1+cosÂ²A/cosÂ²A=2cosecÂ²A-1
Ramesh Reply
test for convergence the series 1+x/2+2!/9x3
success Reply

### Read also:

#### Get the best Algebra and trigonometry course in your pocket!

Source:Â  OpenStax, Algebra and trigonometry. OpenStax CNX. Nov 14, 2016 Download for free at https://legacy.cnx.org/content/col11758/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Algebra and trigonometry' conversation and receive update notifications?

 By By By By