6282015 15+ Shing, Reflecting, and Stretching Graphs
1.5 - Shifting, Reflecting, and Stretching Graphs
Definitions
Abscissa
‘The x-coordinate
Ordinate
‘The y-coordinate
Shift
‘Atranslation in which the size and shape of a graph of a function is not changed, but the location of the graph is,
Scale
‘Atranslation in which the size and shape of the graph of a function is changed.
Reflection
A translation in which the graph of a function is mirrored about an axis.
Common Functions
Part of the beauty of mathematics is that almost everything builds upon something else, and if you can understand the
foundations, then you can apply new elements to old. Itis this ability which makes comprehension of mathematics
possible. If you were to memorize every piece of mathematics presented to you without making the connection to other
parts, you will 1) become frustrated at math and 2) not really understand math
There are some basic graohs that we have seen before, By applying translations to these basic graphs, we are able to
obtain new graphs that stil have all the properties of the old ones. By understanding the basic graphs and the way
translations apply to them, we will recognize each new graph as a small variation in an old one, not as a completely
different graph that we have never seen before. Understanding these translations wil allow us to quickly recognize and
sketch a new function without having to resort to plotting points.
‘These are the common functions you should know the graphs of at this time:
+ Constant Function: y= ¢
* Linear Function: y
+ Quadratic Function: y = x2
‘Cubic Function: y = x3
‘Absolute Value Function: y = bx]
‘Square Root Function: y = sqrtix)
Greatest Integer Function: y = int(x) was talked about in the last section
nip spoopl richand edujamesecturem 16runctonstransatons tml
‘Constant Function Linear Function (Quadratic Function
‘7x ‘Ty
i oe i oe i
— Sabet 4 4
L i i :
“4 12 a 4 a 1 12 a 4 a 34
é i é al é
-3
a 4
‘Cubic function ‘Absolute Value function [Square Root function
us682015 15+ Shing, Reflecting, and Stretching Graphs
ary ary ary
he fe ated fe ated he fe ated
bo apeny 4 bape 4 bape i
1 1 1
Your text calls the linear function the identity function and the quadratic function the squaring function.
Translations
There are two kinds of translations that we can do to a graph of a function. They are shifting and scaling, There are
three if you count reflections, but reflections are just a special case of the second translation.
Shifts
A shift is a rigid translation in that it does not change the shape or size of the graph of the function. All that a shift will do
is change the location of the graph. A vertical shift adds/subtracts a constant to/from every y-coordinate while leaving
the x-coordinate unchanged. A horizontal shift adds/subtracts a constant to/from every x-coordinate while leaving the y-
coordinate unchanged. Vertical and horizontal shifts can be combined into one expression.
Shifts are added/subtracted to the x or f(x) components. If the constant is grouped with the x, then itis a horizontal shift,
otherwise itis a vertical shift
Scales (Stretch/Compress)
A scale is a non-rigid translation in that it does alter the shape and size of the graph of the function. A scale will
multiply/divide coordinates and this will change the appearance as well as the location. A vertical scaling
multipliesidivides every y-coordinate by a constant while leaving the x-coordinate unchanged. A horizontal scaling
multiplies/divides every x-coordinate by a constant while leaving the y-coordinate unchanged. The vertical and
horizontal scalings can be combined into one expression.
‘Scaling factors are multiplied/divided by the x or f(x) components, If the constant is grouped with the x, then itis a
horizontal scaling, otherwise it is a vertical scaling,
Reflections
‘A function can be reflected about an axis by muttiplying by negative one. To reflect about the y-axis, multiply every x by
~1 to get -x. To reflect about the x-axis, multiply f(x) by -1 to get -f().
Putting it all together
Consider the basic graph of the function: y = f(x)
All of the translations can be expressed in the form:
yeatf[b(xc)]+d
Vertical Horizontal
T 1
Inipspoopl richand edujamesecturem 16tunctonstransatons tml682015 15+ Shing, Reflecting, and Stretching Graphs
Scale a b
Shift d ce
acts normally | acts inversely
Digression
Understanding the concepts here are fundamental to understanding polynomial and rational functions (ch 3) and
especially conic sections (ch 8). It will also play a very big rollin Trigonometry (Math 117) and Calculus (Math 121, 122,
221, or 190)
Earlier in the text (section 1.2, problems 61-64), there were a series of problems which wrote the equation of a line as
wa+ylb=1
Where a was the x-intercept and b was the y-intercept of the line. The "a" could really be thought of how far to go in the
rection (an x-scaling) and the "b" could be thought of as how far to go in the “y” direction (a y-scaling). So the "a" and.
there are actually multipliers (even though they appear on the bottom). What they are multiplying is the 1 which is on
the right side. x+y=1 would have an x-intercept and y-intercept of 1
‘Okay. Consider the equation: y = f(x)
This is the most basic graph of the function. But transformations can be applied to it, too, It can be written in the format
shown to the below.
In this format, the “a” is a vertical multiplier and the "b" is a horizontal multiplier. We know that
itis grouped with the y and the "b” affects the x because it is grouped with the x,
fects the y because
‘The "d" and "c" are vertical and horizontal shifts, respectively. We know that they are shifts because they are subtracted
from the variable rather than being divided into the variable, which would make them scales.
In this format, all changes seem to be the opposite of what you would expect. if you have the expression (y-2)/3, itis a
Vertical shift of 2 to the right (even though it says y minus 2) and itis a vertical stretching by 3 (even though it says y
divided by 3). itis important to realize that in this format, when the constants are grouped with the variable they are
affecting, the translation is the opposite (inverse) of what most people think it should be.
However, this format is not conducive to sketching with technology, because we like functions to be written as y =, rather
than (y-c)/d =. So, if you take the notation above and solve it for y, you get the notation below, which is similar, but not
exactly our basic form state above
yeatt((c)/b) +d
fory, you have had to inverse both the "a" and “d” constants. instead of dividing by “a", you are now
Well, used to be that you had to apply the inverse of the constant anyway. When it said “divide by
a, you knew that it meant to ‘multiply each y by a". When it said "subtract d°, you knew that you really had to "add a”
You have already applied the inverse, so don't do it again! With the constants affecting the y, since they have been
moved to the other side, take them at face value. Ifit says multiply by 2, do it, dont divide by 2
However, the constants affecting the x have not been changed. They are still the opposite of what you think they should
be. And, to make matters worse, the "x divided b” that really means multiply each x-coordinate by "b" has been reversed
to be written as “b times x" so that it really means divide each x by "b", The "x minus c" really means add c to each x-
coordinate.
So, the final form (for technology) is as above:
yeatt[bQc)]+d
Ok, end of digression.
Normal & Inverse Behavior
nippoopl richand edujamesecturem 16runctonstransatons tm as6282015 15+ Shing, Reflecting, and Stretching Graphs
You will notice that the chart says the vertical translations are normal and the horizontal translations are inversed. For an
explanation of why, read the digression above. The concepts in there really are fundamental to understanding a lot of,
graphing.
Examples
(x)
No translation
(x2)
The #2 is grouped with the x, therefore itis a horizontal translation. Since itis added to the x, rather than multiplied
by the x, itis a shift and not a scale. Since it says plus and the horizontal changes are inversed, the actual
translation is to move the entire graph to the left two units or “subtract two from every x-coordinate" while leaving
the y-coordinates alone,
yrfix)+2
‘The +2 Is not grouped with the x, therefore it is a vertical translation. Since itis added, rather than multiplied, itis a
shift and not a scale. Since it says plus and the vertical changes act the way they look, the actual translation is to
‘move the entire graph two units up or "add two to every y-coordinate" while leaving the x-coordinates alone.
(x-3}45
This time, there is a horizontal shift of three to the right and vertical shift of five up. So the transtation would be to
move the entire graph right three and up five or "add three to every x-coordinate and five to every y-coordinate"
= 3f(x)
Fee The 3 is mulipied so tis a sealing rather than a shiing. The 3is not grouped withthe x, soitis a vertical scaling
Vertical changes are affected the way you think they should be, so the result is to “multiply every y-coordinate by
three" while leaving the x-coordinates alone.
(x)
‘The y is to be multiplied by -1. This makes the translation to be "reflect about the x-axis" while leaving the x-
coordinates alone
2x)
‘The 2 is multiplied rather than added, so itis a scaling instead of a shifting. The 2 is grouped with the x, so it is a
horizontal scaling. Horizontal changes are the inverse of what they appear to be so instead of multiplying every x-
‘coordinate by two, the translation is to "divide every x-coordinate by two" while leaving the y-coordinates
unchanged
(-x)
‘The x is to be multiplied by -1. This makes the translation to be "reflect about the y-axis" while leaving the y-
coordinates alone.
12.{(x/3)
The translation here would be to "multiply every y-coordinate by 1/2 and multiply every x-coordinate by 3"
f(x
‘There could be some ambiguity here. Do you “add five to every y-coordinate and then multiply by two" or do you
“multiply every y-coordinate by two and then add five"? This is where my comment earlier about mathematics
building upon itself comes into play. There is an order of operations which says that multiplication and division is
performed before addition and subtraction. If you remember this, then the decision is easy. The correct
transformation is to "multiply every y-coordinate by two and then add five" while leaving the x-coordinates alone.
(2x-3)
Now that the order of operations is clearly defined, the ambiguity here about which should be done first is,
removed. The answer is not to “divide each x-coordinate by two and add three” as you might expect. The reason is
that problem is not written in standard form. Standard form is y=ft’a¢x-c) . When written in standard form, this
problem becomes y-£[2(x-3/2)]. This means that the proper translation is to “divide every x-coordinate by two and
‘add three-halves" while leaving the y-coordinates unchanged
y=3f(x-2)
‘The translation here is to "multiply every y-coordinate by three and add two to every x-coordinate”. Altematively,
you could change the order around. Changes to the x or y can be made independently of each other, but if there
are scales and shifts to the same variable, itis important to do the scaling first and the shifting second,
Translations and the Effect on Domain & Range
‘Any horizontal translation will affect the domain and leave the range unchanged. Any vertical translation will affect the
range and the leave the domain unchanged.
Apply the same translation to the domain or range that you apply to the x-coordinates or the y-coordinates. This works
because the domain can be written in interval notation as the interval between two x-coordinates. Likewise for the range
as the interval between two y-coordinates.
nippoopl richand edujamesecturem 16runctonstransatons tm 4se2a7015 15+ Shifting, Reflecting, ae Setting Graphs
In the following table, remember that domain and range are given in interval notation. If you're not familiar with interval
notation, then please check the prerequisite chapter. The first ine is the definition statement and should be used to
determine the rest of the answers.
Translation Domain | Range
hone 25) | [48]
right 2 a7 | 48]
down 2 (25) | (2.6)
multiply each y by 3 (25) | [12,24]
divide each x by 3 (-213,5/3)| (4,8)
y=21(x-3)-5 | multiply each y by 2 and subtract 5; | (1,8) | [3.11]
add 3 to every x
108) reflect about x-axis (25) | £84)
y= titi) take the reciprocal of each y (25) | [18,114]
Notice on the last two that the order in the range has changed. This is because in interval notation, the smaller number
always comes first
Really Good Stuff
Understanding the translations can also help when finding the domain and range of a function. Let's say your problem is
to find the domain and range of the funetion y=2-sqrt(x-3)
Begin with what you know. You know the basic function is the sqrt(x) and you know the domain and range of the sqrt(x)
are both [0,*infinity), You know this because you know those six common functions on the front cover of your text which
are going to be used as building blocks for other functions.
Function Transiation Domain | Range
Begin with what you know |y=sqrt(x) | None [0,+infinity) | [0,+infinity)
Apply the transiations |y=-sqrt(x) | Reflect about x-axis | [0,+infinity) | (-infinity,0]
y=2-sqrt(x) [Add 2 to each ordinate | (0.+infinity) | (infinity,2]
y=2-sqrt(x-3) | Add 3 to each abscissa | (3,+infinity) | Cinfinity,2]
So, for the function y=2-sqrt(x-3), the domain is x23 and the range is ys2.
‘And the best part of itis that you understood it! Not only did you understand it, but you were able to do it without
graphing it on the calculator.
There is nothing wrong with making a graph to see what's going on, but you should be able to understand what's going
‘on without the graph because we have learned that the graphing calculator doesn't always show exactly what's going
on. Itis a tool to assist your understanding and comprehension, not a tool to replace tt.
Itis this cohesiveness of math that I want all of you to “get”. Ital fits together so beautifully.
nipspoopl ichand edujamesecturem 16runconstransatons tml