# 3.5 Transformation of functions  (Page 8/21)

 Page 8 / 21

Write the formula for the function that we get when we stretch the identity toolkit function by a factor of 3, and then shift it down by 2 units.

$g\left(x\right)=3x-2$

## Horizontal stretches and compressions

Now we consider changes to the inside of a function. When we multiply a function’s input by a positive constant, we get a function whose graph is stretched or compressed horizontally in relation to the graph of the original function. If the constant is between 0 and 1, we get a horizontal stretch ; if the constant is greater than 1, we get a horizontal compression of the function.

Given a function $\text{\hspace{0.17em}}y=f\left(x\right),\text{\hspace{0.17em}}$ the form $\text{\hspace{0.17em}}y=f\left(bx\right)\text{\hspace{0.17em}}$ results in a horizontal stretch or compression. Consider the function $\text{\hspace{0.17em}}y={x}^{2}.\text{\hspace{0.17em}}$ Observe [link] . The graph of $\text{\hspace{0.17em}}y={\left(0.5x\right)}^{2}\text{\hspace{0.17em}}$ is a horizontal stretch of the graph of the function $\text{\hspace{0.17em}}y={x}^{2}\text{\hspace{0.17em}}$ by a factor of 2. The graph of $\text{\hspace{0.17em}}y={\left(2x\right)}^{2}\text{\hspace{0.17em}}$ is a horizontal compression of the graph of the function $\text{\hspace{0.17em}}y={x}^{2}\text{\hspace{0.17em}}$ by a factor of 2.

## Horizontal stretches and compressions

Given a function $\text{\hspace{0.17em}}f\left(x\right),\text{\hspace{0.17em}}$ a new function $\text{\hspace{0.17em}}g\left(x\right)=f\left(bx\right),\text{\hspace{0.17em}}$ where $\text{\hspace{0.17em}}b\text{\hspace{0.17em}}$ is a constant, is a horizontal stretch    or horizontal compression    of the function $\text{\hspace{0.17em}}f\left(x\right).$

• If $\text{\hspace{0.17em}}b>1,\text{\hspace{0.17em}}$ then the graph will be compressed by $\text{\hspace{0.17em}}\frac{1}{b}.$
• If $\text{\hspace{0.17em}}0 then the graph will be stretched by $\text{\hspace{0.17em}}\frac{1}{b}.$
• If $\text{\hspace{0.17em}}b<0,\text{\hspace{0.17em}}$ then there will be combination of a horizontal stretch or compression with a horizontal reflection.

Given a description of a function, sketch a horizontal compression or stretch.

1. Write a formula to represent the function.
2. Set $\text{\hspace{0.17em}}g\left(x\right)=f\left(bx\right)\text{\hspace{0.17em}}$ where $\text{\hspace{0.17em}}b>1\text{\hspace{0.17em}}$ for a compression or $\text{\hspace{0.17em}}0 for a stretch.

## Graphing a horizontal compression

Suppose a scientist is comparing a population of fruit flies to a population that progresses through its lifespan twice as fast as the original population. In other words, this new population, $\text{\hspace{0.17em}}R,\text{\hspace{0.17em}}$ will progress in 1 hour the same amount as the original population does in 2 hours, and in 2 hours, it will progress as much as the original population does in 4 hours. Sketch a graph of this population.

Symbolically, we could write

See [link] for a graphical comparison of the original population and the compressed population.

## Finding a horizontal stretch for a tabular function

A function $\text{\hspace{0.17em}}f\left(x\right)\text{\hspace{0.17em}}$ is given as [link] . Create a table for the function $\text{\hspace{0.17em}}g\left(x\right)=f\left(\frac{1}{2}x\right).$

 $x$ 2 4 6 8 $f\left(x\right)$ 1 3 7 11

The formula $\text{\hspace{0.17em}}g\left(x\right)=f\left(\frac{1}{2}x\right)\text{\hspace{0.17em}}$ tells us that the output values for $\text{\hspace{0.17em}}g\text{\hspace{0.17em}}$ are the same as the output values for the function $\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$ at an input half the size. Notice that we do not have enough information to determine $\text{\hspace{0.17em}}g\left(2\right)\text{\hspace{0.17em}}$ because $\text{\hspace{0.17em}}g\left(2\right)=f\left(\frac{1}{2}\cdot 2\right)=f\left(1\right),\text{\hspace{0.17em}}$ and we do not have a value for $\text{\hspace{0.17em}}f\left(1\right)\text{\hspace{0.17em}}$ in our table. Our input values to $\text{\hspace{0.17em}}g\text{\hspace{0.17em}}$ will need to be twice as large to get inputs for $\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$ that we can evaluate. For example, we can determine $\text{\hspace{0.17em}}g\left(4\right)\text{.}$

$g\left(4\right)=f\left(\frac{1}{2}\cdot 4\right)=f\left(2\right)=1$

We do the same for the other values to produce [link] .

 $x$ 4 8 12 16 $g\left(x\right)$ 1 3 7 11

[link] shows the graphs of both of these sets of points.

## Recognizing a horizontal compression on a graph

Relate the function $\text{\hspace{0.17em}}g\left(x\right)\text{\hspace{0.17em}}$ to $\text{\hspace{0.17em}}f\left(x\right)\text{\hspace{0.17em}}$ in [link] .

The graph of $\text{\hspace{0.17em}}g\left(x\right)\text{\hspace{0.17em}}$ looks like the graph of $\text{\hspace{0.17em}}f\left(x\right)\text{\hspace{0.17em}}$ horizontally compressed. Because $\text{\hspace{0.17em}}f\left(x\right)\text{\hspace{0.17em}}$ ends at $\text{\hspace{0.17em}}\left(6,4\right)\text{\hspace{0.17em}}$ and $\text{\hspace{0.17em}}g\left(x\right)\text{\hspace{0.17em}}$ ends at $\text{\hspace{0.17em}}\left(2,4\right),\text{\hspace{0.17em}}$ we can see that the $\text{\hspace{0.17em}}x\text{-}$ values have been compressed by $\text{\hspace{0.17em}}\frac{1}{3},\text{\hspace{0.17em}}$ because $\text{\hspace{0.17em}}6\left(\frac{1}{3}\right)=2.\text{\hspace{0.17em}}$ We might also notice that $\text{\hspace{0.17em}}g\left(2\right)=f\left(6\right)\text{\hspace{0.17em}}$ and $\text{\hspace{0.17em}}g\left(1\right)=f\left(3\right).\text{\hspace{0.17em}}$ Either way, we can describe this relationship as $\text{\hspace{0.17em}}g\left(x\right)=f\left(3x\right).\text{\hspace{0.17em}}$ This is a horizontal compression by $\text{\hspace{0.17em}}\frac{1}{3}.$

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)
prove the identites sin x ( 1+ tan x )+ cos x ( 1+ cot x )= sec x + cosec x
tanh`(x-iy) =A+iB, find A and B
B=Ai-itan(hx-hiy)
Rukmini
Give me the reciprocal of even number
Aliyu
The reciprocal of an even number is a proper fraction
Jamilu
what is the addition of 101011 with 101010
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
the gradient function of a curve is 2x+4 and the curve passes through point (1,4) find the equation of the curve