# 4.1 Linear functions  (Page 9/27)

 Page 9 / 27

## Vertical stretch or compression

In the equation $\text{\hspace{0.17em}}f\left(x\right)=mx,$ the $\text{\hspace{0.17em}}m\text{\hspace{0.17em}}$ is acting as the vertical stretch    or compression of the identity function. When $\text{\hspace{0.17em}}m\text{\hspace{0.17em}}$ is negative, there is also a vertical reflection of the graph. Notice in [link] that multiplying the equation of $\text{\hspace{0.17em}}f\left(x\right)=x\text{\hspace{0.17em}}$ by $\text{\hspace{0.17em}}m\text{\hspace{0.17em}}$ stretches the graph of $\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$ by a factor of $\text{\hspace{0.17em}}m\text{\hspace{0.17em}}$ units if $\text{\hspace{0.17em}}m>\text{1}\text{\hspace{0.17em}}$ and compresses the graph of $\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$ by a factor of $\text{\hspace{0.17em}}m\text{\hspace{0.17em}}$ units if $\text{\hspace{0.17em}}0 This means the larger the absolute value of $\text{\hspace{0.17em}}m,\text{\hspace{0.17em}}$ the steeper the slope.

## Vertical shift

In $\text{\hspace{0.17em}}f\left(x\right)=mx+b,$ the $\text{\hspace{0.17em}}b\text{\hspace{0.17em}}$ acts as the vertical shift    , moving the graph up and down without affecting the slope of the line. Notice in [link] that adding a value of $\text{\hspace{0.17em}}b\text{\hspace{0.17em}}$ to the equation of $\text{\hspace{0.17em}}f\left(x\right)=x\text{\hspace{0.17em}}$ shifts the graph of $\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$ a total of $\text{\hspace{0.17em}}b\text{\hspace{0.17em}}$ units up if $\text{\hspace{0.17em}}b\text{\hspace{0.17em}}$ is positive and $\text{\hspace{0.17em}}|b|\text{\hspace{0.17em}}$ units down if $\text{\hspace{0.17em}}b\text{\hspace{0.17em}}$ is negative.

Using vertical stretches or compressions along with vertical shifts is another way to look at identifying different types of linear functions. Although this may not be the easiest way to graph this type of function, it is still important to practice each method.

Given the equation of a linear function, use transformations to graph the linear function in the form $\text{\hspace{0.17em}}f\left(x\right)=mx+b.$

1. Graph $\text{\hspace{0.17em}}f\left(x\right)=x.$
2. Vertically stretch or compress the graph by a factor $\text{\hspace{0.17em}}m.$
3. Shift the graph up or down $\text{\hspace{0.17em}}b\text{\hspace{0.17em}}$ units.

## Graphing by using transformations

Graph $\text{\hspace{0.17em}}f\left(x\right)=\frac{1}{2}x-3\text{\hspace{0.17em}}$ using transformations.

The equation for the function shows that $\text{\hspace{0.17em}}m=\frac{1}{2}\text{\hspace{0.17em}}$ so the identity function is vertically compressed by $\text{\hspace{0.17em}}\frac{1}{2}.\text{\hspace{0.17em}}$ The equation for the function also shows that $\text{\hspace{0.17em}}b=-3\text{\hspace{0.17em}}$ so the identity function is vertically shifted down 3 units. First, graph the identity function, and show the vertical compression as in [link] .

Then show the vertical shift as in [link] .

Graph $\text{\hspace{0.17em}}f\left(x\right)=4+2x\text{\hspace{0.17em}}$ using transformations.

In [link] , could we have sketched the graph by reversing the order of the transformations?

No. The order of the transformations follows the order of operations. When the function is evaluated at a given input, the corresponding output is calculated by following the order of operations. This is why we performed the compression first. For example, following the order: Let the input be 2.

$\begin{array}{ccc}\hfill f\left(2\right)& =& \frac{1}{2}\left(2\right)-3\hfill \\ & =& 1-3\hfill \\ & =& -2\hfill \end{array}$

## Writing the equation for a function from the graph of a line

Earlier, we wrote the equation for a linear function from a graph. Now we can extend what we know about graphing linear functions to analyze graphs a little more closely. Begin by taking a look at [link] . We can see right away that the graph crosses the y -axis at the point $\text{\hspace{0.17em}}\left(0,\text{4}\right)\text{\hspace{0.17em}}$ so this is the y -intercept.

Then we can calculate the slope by finding the rise and run. We can choose any two points, but let’s look at the point $\text{\hspace{0.17em}}\left(–2,0\right).\text{\hspace{0.17em}}$ To get from this point to the y- intercept, we must move up 4 units (rise) and to the right 2 units (run). So the slope must be

$m=\frac{\text{rise}}{\text{run}}=\frac{4}{2}=2$

Substituting the slope and y- intercept into the slope-intercept form of a line gives

The sequence is {1,-1,1-1.....} has
how can we solve this problem
Sin(A+B) = sinBcosA+cosBsinA
Prove it
Eseka
Eseka
hi
Joel
June needs 45 gallons of punch. 2 different coolers. Bigger cooler is 5 times as large as smaller cooler. How many gallons in each cooler?
find the sum of 28th term of the AP 3+10+17+---------
I think you should say "28 terms" instead of "28th term"
Vedant
if sequence sn is a such that sn>0 for all n and lim sn=0than prove that lim (s1 s2............ sn) ke hole power n =n
write down the polynomial function with root 1/3,2,-3 with solution
if A and B are subspaces of V prove that (A+B)/B=A/(A-B)
write down the value of each of the following in surd form a)cos(-65°) b)sin(-180°)c)tan(225°)d)tan(135°)
Prove that (sinA/1-cosA - 1-cosA/sinA) (cosA/1-sinA - 1-sinA/cosA) = 4
what is the answer to dividing negative index
In a triangle ABC prove that. (b+c)cosA+(c+a)cosB+(a+b)cisC=a+b+c.
give me the waec 2019 questions
the polar co-ordinate of the point (-1, -1)