Shifting Graphs
Learning goals
- Move a graph up by with
- Shift right by with
- Explain why subtracting inside moves the graph rightward
- Combine both into
- Track how a shift moves intercepts, domain and range
Sliding a graph without building a new table
A shift, also called a translation, moves every point of a graph the same distance in the same direction, without turning it, stretching it, or flipping it. The shape stays identical; only its location changes. Because a graph is the set of points , a shift acts on those points. We can predict exactly where each point goes by looking at how the rule changes.
There are two kinds of shift: a vertical shift moves the graph up or down, and a horizontal shift moves it left or right. We handle each on its own first, then combine them. Throughout, keep one fact from the last lesson in front of you: a point lies on the graph of exactly when . So the second coordinate is an output and the first is an input. Every rule below comes straight from tracking what happens to that pairing.
Vertical shifts: change the output
Adding a number to the outside of a function moves its graph straight up or down. It never changes the graph’s shape. Here is what that looks like on a graph you already know.
Worked example 1 Graph by sliding upward
The rule takes the familiar bowl and adds to every output, so the whole graph rises by . There is no need to build a new table; shift the points you already know.
The vertex of sits at . Adding lifts it to
Take two more anchor points and raise each by . On the points and appear; after the shift they become
Plot the lifted vertex and the lifted points, then draw the identical bowl through them. Because the lowest output is now , the graph never dips below the line , and its y-intercept is . The parabola has not changed shape at all; it simply sits three units higher.
Look at what happened. Every output on picked up the same extra : the vertex became , and became . Adding the same number to every height is exactly what slides a shape straight up without bending it, and the same thing happens for any starting graph, not only a parabola. Written in general, adding a constant outside a function does this to every point of :
Every input still passes through , but whatever comes out is then increased by . Since the output is the height of the graph, raising every output by raises the whole graph by , up when and down when .
Why slides the graph up by #
Let . Pick any input . The original graph has the point , sitting at height directly above the input . The new graph has the point , and
so that point is . The two points share the same first coordinate , so they lie on the same vertical line. The new point’s second coordinate minus the old one’s equals exactly , whatever the sign of turns out to be. That is a rise of when , and a drop of when . Nothing about the input changed, so the point did not move left or right at all.
Since was an arbitrary input, this happens to every point at once: each one rises by when , or drops by when . A rigid slide of every point by the same amount in the same direction is exactly a translation. So the graph of is the graph of moved vertically by , and its shape is untouched.
The same reasoning reads points off a graph directly. If is on , then is on : keep the input, add to the height.
Check your understanding
The point lies on the graph of . Which point must lie on the graph of ?
Subtracting is a vertical shift, so keep the input the same and lower the output by .
The input does not change, which rules out and ; the height drops rather than rises, which rules out .
Horizontal shifts: the direction that looks backward
Now change the input instead of the output. Replace with to get
Here is the trap. Almost everyone expects , with its minus sign, to move the graph left, in the negative direction. It does the opposite: for the graph moves right by . Rather than memorize that, derive it, because the derivation shows exactly why the sign feels reversed.
Worked example 2 Relate to
The rule has the form with and . Check the direction with the vertex. The bowl bottoms out where its input is . For , the lowest output happens where the inside is :
so the new vertex is , three units right of the origin, even though the rule contains a minus sign. Track one more point the same way. The point is on ; to make the inside of equal , solve , giving . So the matching point on the new graph is , again shifted right by :
Every point moves the same way, so the parabola lands three units to the right, exactly as the picture shows.
Look at why that happened. To make reproduce the height that gave on the original graph, the inside had to equal , and that forced to be three more than before: , not . Subtracting inside asks to grow to keep the inside value the same, and that is true for every point, not just this one.
Why slides the graph right by #
Let . Fix any input , so the original graph has the point at height . Ask the key question: at which input does the new function produce that same height ?
The function returns the value when its input equals . But the input handed to inside is not ; it is . So produces that same height when the inside matches :
Therefore , which means the new graph has the point . Compare it with the old point : both sit at the same height . The new point, though, is at input , exactly units to the right of when .
Since was arbitrary, every point moves right by , so is shifted right by . The reason the minus sign feels backward is now visible: subtracting inside means the function needs a larger input to feed the same inside value. So each feature of the graph shows up units later, that is, farther to the right. Reading it the other way, is , a shift right by , which is a shift left by .
A horizontal shift always works this way: to make the inside expression reach a value it used to reach, you move in the direction that undoes the sign in front of .
Check your understanding
Why does move the graph of to the right, instead of to the left where the minus sign might suggest?
A horizontal shift changes inputs, not outputs, so the second and third options describe the wrong kind of change; there is no reflection involved either, only a slide. The real reason is the one the proof works out: to make equal an input value that already used, must equal , three more than before. Needing a larger input to reproduce the same feature is exactly what pushes the graph rightward.
Check your understanding
How is the graph of related to the graph of ?
Changing the input is a horizontal shift. For any point on , the new function reaches that same height once its inside equals : solving gives , four less than before. So every existing feature moves to an input smaller than where it used to sit, meaning the whole graph moved left .
Adding inside always pushes the graph in the negative direction, opposite to , which moves right .
Combining a horizontal and a vertical shift
The two moves do not interfere, so you can apply both at once. Starting from , the rule
shifts the graph right by (from the inside) and up by (from the outside). Track a single point to see both at work: a point on the original graph reappears at
its input increased by and its height increased by . Negative values of or just reverse the corresponding direction.
This is where vertex form finally makes complete sense. Applying the combined shift to gives , and since the vertex of is at the origin, it lands at . The numbers and in vertex form are not mysterious; they are simply how far the basic bowl was slid right and up.
Nothing in the argument used the fact that was a squaring function, so try the combined shift on a different shape: , a V-shaped graph with a corner instead of a smooth vertex. Start at and , then increase to . Watch the corner move three units to the right, even though the rule now reads . Next, hold where it is and change . The corner moves straight up or down and stays at the same left-to-right position, because never touches the inside of the function. Leave the coefficient at for now; the next lesson is what that control is for.
Move the corner of
y = |x|. Its corner sits at (0, 0), not shifted at all. Its two arms point upward, rising one unit for every unit across.
Worked example 3 Shift into vertex form
Read the rule as a set of directions applied to . The inside says shift right , and the outside says shift up .
Move the vertex first. It starts at , then goes right and up :
To confirm with the rule, the lowest output happens where the squared part is , at , so ; there the output is , matching the vertex . Carry one more point along for the shape: the point on moves right and up to . Plot the vertex and a few shifted points, then draw the same bowl. The graph is resting with its bottom at , which is precisely what vertex form announces.
Check your understanding
The point lies on the graph of . Which point must lie on the graph of ?
A combined shift moves the input by and the output by at the same time.
Subtracting from the input instead of adding it gives ; getting the sign of backward gives ; missing both signs gives . Both coordinates move here because both shifts are present.
A combined shift also relocates the intercepts. A horizontal shift slides the x-intercepts sideways by , while a vertical shift raises or lowers the graph. A vertical shift can also change how many x-intercepts there are, since it may push the curve across or away from the horizontal axis. Vertex form makes them easy to find by solving directly.
Worked example 4 Find the vertex and x-intercepts of
The rule shifts right and down , so the vertex moves from to
Because the vertex sits below the horizontal axis and the bowl opens upward, the graph must cross that axis twice, so expect two x-intercepts. Find them by setting the output to :
A number whose square is is or , so or , giving
The x-intercepts are and , sitting symmetrically on either side of the vertex’s input . The down- shift is what dropped the vertex below the axis and created two crossings; without it, would only touch the axis at its vertex.
Check your understanding
A graph of crosses the x-axis at and . What are the x-intercepts of ?
A horizontal shift moves every point sideways by , including the two points where the graph crosses the x-axis, so each x-intercept moves right by .
Shifting left instead of right gives and ; leaving the intercepts unchanged ignores the shift entirely; mixing up which intercept moves where gives and . Because this shift only changes the input, the number of x-intercepts stays the same, only their positions move; a vertical shift, unlike this one, can add or remove x-intercepts instead.
Worked example 5 Shift a general function and track its domain and range
Suppose has domain and range , and the point lies on its graph. Describe the graph of .
The rule shifts the graph right and up , so apply that to the point first:
The domain is the horizontal spread of the graph, so a shift right by slides both ends of the domain right by , adding to each:
The range is the vertical spread, so a shift up by raises both ends of the range by :
The horizontal shift touches only the inputs (the domain) and the vertical shift touches only the outputs (the range). The two moves can therefore be handled separately even when they happen together.
Check your understanding
A function has domain and range . What are the domain and range of ?
The horizontal shift moves only the domain, adding to each end: and , giving . The vertical shift moves only the range, subtracting from each end: and , giving .
Shifting both ends the wrong direction gives the second option; leaving the domain unshifted gives the third; leaving the range unshifted gives the fourth. Track the horizontal shift on the domain and the vertical shift on the range separately.
The four basic translations are worth keeping in one place. In each row, and stand for positive numbers.
| Rule | Effect on the graph of |
|---|---|
| up | |
| down | |
| right | |
| left |
Check your understanding
What is the vertex of the parabola ?
Vertex form is shifted right and up , landing the vertex at . Here (from ) and .
The inside moves the vertex right to , not left, so is the reversed-sign trap.