M4.10.6 Chapter 6
Moving graphs
If I draw y = f(x + 3), does the graph of y = f(x) slide to the right or to the left?
Your guess
Pick one before you read on. It is fine to be wrong.
By the end you can
- Sketch y = f(x) + a and y = f(x + a)
- Sketch y = −f(x) and y = f(−x)
Once you know the shape of a graph, you can move it about. We start with one curve, y = f(x), where f(x) = x² − 2x. Its lowest point is V at (1, −1), because f(1) = 1 − 2 = −1.
Follow V as the curve moves. Each change to the rule moves V in a different way. The shape of the curve stays the same, unless the curve is turned over.
First, add a number after the function. For y = f(x) + 3, every output is 3 more than before. So every point of the curve goes up by 3. A slide like this is called a translation.
Worked example
Find the lowest point of y = f(x) + 3.
- The lowest point of y = f(x) is V at (1, −1), because f(1) = −1.
- For y = f(x) + 3, at x = 1 the output is f(1) + 3 = −1 + 3.
- So −1 + 3 = 2, and the lowest point moves up to (1, 2).
Answer: The lowest point is (1, 2).
Now add a number inside the brackets. For y = f(x + 3), the input is changed before f works on it. The result may be a surprise: the curve slides to the left.
Here is why. V is the lowest point because f works on the input 1. For y = f(x + 3) we need x + 3 = 1, which gives x = −2. So the lowest point now stands at x = −2. The graph has moved 3 to the left.
Worked example
Find the lowest point of y = f(x + 3).
- The lowest point of y = f(x) is where the input of f is 1.
- For y = f(x + 3), we need x + 3 = 1. So x = 1 − 3 = −2.
- At x = −2 the output is f(−2 + 3) = f(1) = −1.
- So the lowest point moves to (−2, −1), which is 3 to the left of V.
Answer: The lowest point is (−2, −1).
The plus sign inside the brackets moves the graph left, and a minus sign moves it right. So y = f(x − 2) slides the graph 2 to the right.
Next, the flips. The rule y = −f(x) changes the sign of every output. A point (x, y) becomes (x, −y). So the curve is turned over, like a mirror image in the x axis. We call this a reflection. Points on the x axis stay where they are.
The rule y = f(−x) changes the sign of every input. A point (x, y) becomes (−x, y). So the curve is turned over like a reflection in the y axis. Points on the y axis stay where they are.
Worked example
The curve y = f(x) passes through the point (3, 3). Find the matching points on y = −f(x) and on y = f(−x).
- First check that (3, 3) is on the curve. f(3) = 3² − 2 × 3 = 9 − 6 = 3.
- For y = −f(x) keep x = 3 and change the sign of y. So −f(3) = −3.
- The matching point on y = −f(x) is (3, −3).
- For y = f(−x) change the sign of x. At x = −3, f(−x) = f(3) = 3. The matching point is (−3, 3).
Answer: The points are (3, −3) and (−3, 3).
See it three ways
With things
A path is drawn on a map. The whole map is slid 3 squares up. Every point of the path stays in its column, and is 3 squares higher.
As a picture
In words
Each output has 3 added to it. Each x stays the same. So every point moves straight up by 3.
In symbols
y = f(x) + 3, so (1, −1) moves to (1, 2).
Try it
Slide and flip a curve
You need: squared paper, thin paper that you can see through, a pencil.
- Draw y = x² − 2x on squared paper, and mark its lowest point V at (1, −1). Trace the curve and the axes onto the thin paper.
- Slide the thin paper 3 up, keeping the axes level, and mark where V lands. Put it back, then slide it 3 to the left and mark V again.
- Put it back. Fold the thin paper along the x axis and mark V. Unfold it, then fold along the y axis and mark V.
What you will see: Slides keep the curve the same way up. Folding along the x axis turns it upside down. Folding along the y axis turns it left to right.
A wrong idea many people have
y = f(x + 3) moves the graph 3 to the right.
Why it feels right: Adding 3 usually makes things larger or moves them to the right along a number line.
The test that breaks it: The lowest point of y = f(x) is at x = 1. For y = f(x + 3), the lowest point needs x + 3 = 1, so it is at x = −2, which is left of 1.
What is true: A number added inside the brackets moves the graph the opposite way. The graph of f(x + 3) moves left 3. The graph of f(x − 3) moves right 3.
A wrong idea many people have
y = −f(x) and y = f(−x) are the same.
Why it feels right: Both have a minus sign next to f, and both seem to turn the graph round.
The test that breaks it: For f(x) = x² − 2x, the point V is at (1, −1). On y = −f(x) it goes to (1, 1). On y = f(−x) it goes to (−1, −1). They are different points.
What is true: A minus outside, as in −f(x), turns the graph over in the x axis. A minus inside, as in f(−x), turns it over in the y axis.
Key words
- translation
- a slide of a graph without turning it, such as 3 up or 3 left.
- reflection
- a turn over of a graph, as in a mirror, such as in the x axis or the y axis.
Back to your guess
The answer is B: To the left, even though 3 is added to x.
The graph slides 3 to the left. The curve y = f(x + 3) gives at x = −2 the same output that y = f(x) gives at x = 1. So every point of the curve arrives 3 earlier on the x axis, which is to the left.
Check yourself
Try each one before you look. A wrong answer tells you where to go next.
The curve y = f(x) has its lowest point at (2, 5). Where is the lowest point of y = f(x) − 4?
See the answer
(2, 1)
The x value stays at 2. Every output has 4 taken away, so y goes from 5 to 5 − 4 = 1.
The curve y = f(x) has its lowest point at (2, 5). Where is the lowest point of y = f(x + 4)?
See the answer
(−2, 5)
The lowest point is where the input of f is 2. So we need x + 4 = 2, which gives x = −2. The height stays 5.
The dashed curve is a moved copy of the solid curve y = f(x). Which equation gives the dashed curve?
See the answer
y = f(x − 4)
The dashed curve is the solid curve slid 4 to the right, with its lowest point at (5, −1). A minus inside the brackets moves the graph right, so it is y = f(x − 4).
- If you chose A: That would move the curve up by 4. The dashed curve is at the same height as the solid one, so it has moved sideways. Go to M4.10.6.
- If you chose B: That would move the curve 4 to the left, because a plus inside the brackets moves the graph left. The dashed curve is on the right. Go to M4.10.6.
- If you chose C: That would turn the curve upside down. The dashed curve is the same way up as the solid one. Go to M4.10.6.
Which rule turns the graph of y = f(x) upside down, in the x axis?
See the answer
y = −f(x)
The rule −f(x) changes the sign of every output. So points above the x axis go below it, and the graph turns upside down.
The curve y = f(x) passes through the point (3, 4). Which point is on the curve y = f(−x)?
See the answer
(−3, 4)
For y = f(−x), at x = −3 the output is f(3) = 4. So the point (−3, 4) is on the curve. Only the x value changes sign.
Which rule moves the graph of y = f(x) up by 5?
See the answer
y = f(x) + 5
To move every point up by 5, add 5 to every output, outside the function. That is y = f(x) + 5.
From an earlier chapter
The equation sin x = 0.5 has the solutions 30° and 150°, between 0° and 360°. What are the solutions of sin x = −0.5?
See the answer
x = 210° or x = 330°
The calculator gives sin⁻¹(−0.5) = −30°. On the wave the angles are 180° + 30° = 210° and 360° − 30° = 330°.
The lowest point of y = f(x) is at (4, −3). What is the y value of the lowest point of y = f(x) + 5?
See the answer
2
Adding 5 outside the function moves every point up 5. So the y value goes from −3 to −3 + 5 = 2.
The lowest point of y = f(x) is at (5, 2). What is the x value of the lowest point of y = f(x + 3)?
See the answer
2
We need x + 3 = 5, so x = 5 − 3 = 2. The graph moves 3 to the left.
Keep it
Copy this into your exercise book.
f(x) + a: up a. f(x + a): left a. −f(x): over in the x axis. f(−x): over in the y axis. Follow one point to check.
Draw: A curve and its four moved copies, with one marked point on each.