Shifting a curve up or down, y = f(x) + a, and left or right, y = f(x + a), and writing the rule of a shifted graph
General Mathematics Sec 2 Term 1, Unit 1, Lesson 4
GoalMove a graph up, down, left or right by changing the rule, and write the rule of a moved graph.
New words
vertical shift · y = f(x) + a moves the curve a units up if a > 0, down if a < 0horizontal shift · y = f(x + a) moves the curve a units left if a > 0, right if a < 0translation · moving a whole curve without turning it or changing its shape
Explanation
Adding a number after the rule is easy to picture: y = f(x) + a adds a to every height, so every point moves a units up when a > 0 and |a| units down when a < 0. Adding inside the bracket is the surprising one. For y = f(x + a), the value that f gives at x is the value it used to give a units further right. So every feature of the curve happens a units earlier: the curve moves LEFT when a > 0 and RIGHT when a < 0. Example: |x| has its corner where x = 0; |x + 2| has its corner where x + 2 = 0, that is at x = −2, two units to the left; |x − 3| has it at x = 3, three units to the right. A shift moves the curve but does not change its shape, so the range changes only for vertical shifts: x² has range [0, ∞[ and x² − 1 has range [−1, ∞[.
Worked examples
Vertical shifts of y = x²: y = x² + 2 is the same parabola 2 units up, vertex (0, 2), range [2, ∞[. y = x² − 1 is 1 unit down, vertex (0, −1), range [−1, ∞[.
Horizontal shifts of y = |x|: |x + 2| has its corner at (−2, 0) (2 units left); |x − 3| at (3, 0) (3 units right). Both have the range [0, ∞[.
Writing a rule from a graph: a parabola with the shape of x² and its vertex at (0, −3) is y = x² − 3. Check: at x = 0 it gives −3; its zeros are x² = 3, x = ±√3. A V with corner at (4, 0) is y = |x − 4|.
Class activity
Graph |x|, |x| + 2 and |x − 2| on one grid. Which two curves look identical in shape? How do their corners differ?
Practice
1
Describe the move from y = x² to y = x² − 5 and to y = (x + 4)².
x² − 5: 5 units down. (x + 4)²: 4 units left (vertex (−4, 0)).
2
Where is the corner of y = |x + 5|? Of y = |x| − 2?
|x + 5|: (−5, 0). |x| − 2: (0, −2).
3
Write the rule of the graph of x² moved 3 units right.
y = (x − 3)², vertex (3, 0).
4
Give the range of y = x² + 4 and of y = |x − 1| − 3.
[4, ∞[ and [−3, ∞[.
5
A student says (x + 2)² moves the parabola 2 units right “because of the plus”. Correct this.
It moves it 2 units LEFT: the vertex is where x + 2 = 0, at x = −2.