# 3.5 Transformation of functions

 Page 1 / 21
In this section, you will:
• Graph functions using vertical and horizontal shifts.
• Graph functions using reflections about the $\text{\hspace{0.17em}}x\text{-axis}\text{\hspace{0.17em}}$ axis and the $\text{\hspace{0.17em}}y\text{-axis}.$
• Determine whether a function is even, odd, or neither from its graph.
• Graph functions using compressions and stretches.
• Combine transformations.

We all know that a flat mirror enables us to see an accurate image of ourselves and whatever is behind us. When we tilt the mirror, the images we see may shift horizontally or vertically. But what happens when we bend a flexible mirror? Like a carnival funhouse mirror, it presents us with a distorted image of ourselves, stretched or compressed horizontally or vertically. In a similar way, we can distort or transform mathematical functions to better adapt them to describing objects or processes in the real world. In this section, we will take a look at several kinds of transformations.

## Graphing functions using vertical and horizontal shifts

Often when given a problem, we try to model the scenario using mathematics in the form of words, tables, graphs, and equations. One method we can employ is to adapt the basic graphs of the toolkit functions to build new models for a given scenario. There are systematic ways to alter functions to construct appropriate models for the problems we are trying to solve.

## Identifying vertical shifts

One simple kind of transformation involves shifting the entire graph of a function up, down, right, or left. The simplest shift is a vertical shift , moving the graph up or down, because this transformation involves adding a positive or negative constant to the function. In other words, we add the same constant to the output value of the function regardless of the input. For a function $\text{\hspace{0.17em}}g\left(x\right)=f\left(x\right)+k,\text{\hspace{0.17em}}$ the function $\text{\hspace{0.17em}}f\left(x\right)\text{\hspace{0.17em}}$ is shifted vertically $\text{\hspace{0.17em}}k\text{\hspace{0.17em}}$ units. See [link] for an example.

To help you visualize the concept of a vertical shift, consider that $\text{\hspace{0.17em}}y=f\left(x\right).\text{\hspace{0.17em}}$ Therefore, $\text{\hspace{0.17em}}f\left(x\right)+k\text{\hspace{0.17em}}$ is equivalent to $\text{\hspace{0.17em}}y+k.\text{\hspace{0.17em}}$ Every unit of $\text{\hspace{0.17em}}y\text{\hspace{0.17em}}$ is replaced by $\text{\hspace{0.17em}}y+k,\text{\hspace{0.17em}}$ so the y -value increases or decreases depending on the value of $\text{\hspace{0.17em}}k.\text{\hspace{0.17em}}$ The result is a shift upward or downward.

## Vertical shift

Given a function $f\left(x\right),$ a new function $g\left(x\right)=f\left(x\right)+k,$ where $\text{\hspace{0.17em}}k$ is a constant, is a vertical shift    of the function $f\left(x\right).$ All the output values change by $k$ units. If $k$ is positive, the graph will shift up. If $k$ is negative, the graph will shift down.

## Adding a constant to a function

To regulate temperature in a green building, airflow vents near the roof open and close throughout the day. [link] shows the area of open vents $\text{\hspace{0.17em}}V\text{\hspace{0.17em}}$ (in square feet) throughout the day in hours after midnight, $\text{\hspace{0.17em}}t.\text{\hspace{0.17em}}$ During the summer, the facilities manager decides to try to better regulate temperature by increasing the amount of open vents by 20 square feet throughout the day and night. Sketch a graph of this new function.

We can sketch a graph of this new function by adding 20 to each of the output values of the original function. This will have the effect of shifting the graph vertically up, as shown in [link] .

Notice that in [link] , for each input value, the output value has increased by 20, so if we call the new function $\text{\hspace{0.17em}}S\left(t\right),$ we could write

$S\left(t\right)=V\left(t\right)+20$

This notation tells us that, for any value of $\text{\hspace{0.17em}}t,S\left(t\right)\text{\hspace{0.17em}}$ can be found by evaluating the function $\text{\hspace{0.17em}}V\text{\hspace{0.17em}}$ at the same input and then adding 20 to the result. This defines $\text{\hspace{0.17em}}S\text{\hspace{0.17em}}$ as a transformation of the function $\text{\hspace{0.17em}}V,\text{\hspace{0.17em}}$ in this case a vertical shift up 20 units. Notice that, with a vertical shift, the input values stay the same and only the output values change. See [link] .

 $t$ 0 8 10 17 19 24 $V\left(t\right)$ 0 0 220 220 0 0 $S\left(t\right)$ 20 20 240 240 20 20

The sides of a triangle are three consecutive natural number numbers and it's largest angle is twice the smallest one. determine the sides of a triangle
Will be with you shortly
Inkoom
3, 4, 5 principle from geo? sounds like a 90 and 2 45's to me that my answer
Neese
prove that [a+b, b+c, c+a]= 2[a b c]
can't prove
Akugry
i can prove [a+b+b+c+c+a]=2[a+b+c]
this is simple
Akugry
hi
Stormzy
x exposant 4 + 4 x exposant 3 + 8 exposant 2 + 4 x + 1 = 0
x exposent4+4x exposent3+8x exposent2+4x+1=0
HERVE
How can I solve for a domain and a codomains in a given function?
ranges
EDWIN
Thank you I mean range sir.
Oliver
proof for set theory
don't you know?
Inkoom
find to nearest one decimal place of centimeter the length of an arc of circle of radius length 12.5cm and subtending of centeral angle 1.6rad
factoring polynomial
find general solution of the Tanx=-1/root3,secx=2/root3
find general solution of the following equation
Nani
the value of 2 sin square 60 Cos 60
0.75
Lynne
0.75
Inkoom
when can I use sin, cos tan in a giving question
depending on the question
Nicholas
I am a carpenter and I have to cut and assemble a conventional roof line for a new home. The dimensions are: width 30'6" length 40'6". I want a 6 and 12 pitch. The roof is a full hip construction. Give me the L,W and height of rafters for the hip, hip jacks also the length of common jacks.
John
I want to learn the calculations
where can I get indices
I need matrices
Nasasira
hi
Raihany
Hi
Solomon
need help
Raihany
maybe provide us videos
Nasasira
Raihany
Hello
Cromwell
a
Amie
What do you mean by a
Cromwell
nothing. I accidentally press it
Amie
you guys know any app with matrices?
Khay
Ok
Cromwell
Solve the x? x=18+(24-3)=72
x-39=72 x=111
Suraj
Solve the formula for the indicated variable P=b+4a+2c, for b
Need help with this question please
b=-4ac-2c+P
Denisse
b=p-4a-2c
Suddhen
b= p - 4a - 2c
Snr
p=2(2a+C)+b
Suraj
b=p-2(2a+c)
Tapiwa
P=4a+b+2C
COLEMAN
b=P-4a-2c
COLEMAN
like Deadra, show me the step by step order of operation to alive for b
John