Shifting Graphs
Progress can't be saved in this browser, so this lesson's status can't be set.
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, or translation, moves every point the same distance in the same direction. The graph keeps its shape. A vertical shift changes heights; a horizontal shift changes left-to-right positions.
Recall that is on the graph of exactly when is in its domain and . We will track these input-output pairs to explain each shift.
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 .
For any function, adding outside gives . Each output increases by : up if , down if , and unchanged if .
Why slides the graph up by #
If and , then . The point moves to : the input stays and the height increases by .
Now let and take any in the domain of . Then
Thus becomes . Its first coordinate stays fixed and its second changes by . Every new point comes from the old point at the same input, so this describes the whole graph. If , each point rises by ; if , each drops by ; if , none moves. Moving every point this way is a vertical translation, so the shape stays the same.
You can use the same reasoning to read points off a graph. 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
For , this moves the graph right by . To see why, find where a familiar input reappears inside the new rule.
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 whole parabola moves three units to the right, as the picture shows.
To track the old point , set the inside equal to its old input . This gives , not . The minus sign may suggest moving left, but to match the old input, the point has to move three units right. The proof below does the same for any function.
Why slides the graph right by #
For and , the old point becomes because . The new point has the same height and an input greater.
Let and let be any input in the domain of . To feed that same input, solve
Substitution checks the height:
Thus moves to . Conversely, every allowed input of has in the old domain, so every point on the new graph arises this way.
The height stays fixed while the input increases by . For this is a move right by ; for it is a move left by ; for nothing moves. In particular, shifts left by . The sign looks reversed because we solve for the new input that makes the inside equal the old one.
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 proof gives the reason: to make equal an input value that already used, must equal , three more than before. Each feature now needs a larger input to appear, so the graph moves right.
The proof works for any function and any input , not only for squaring. The curve above has a single rounded peak instead of a parabola’s smooth bowl, and the peak still moves from input to input under , for the same reason a parabola’s vertex does.
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 a positive number inside moves the graph left, the opposite of , 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.
Now you can see where vertex form comes from. Applying the combined shift to gives , and since the vertex of is at the origin, it lands at . So the numbers and in vertex form tell you how far the basic bowl was slid right and up.
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 explains what it does.
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.
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 . Without the shift down , would only touch the axis at its vertex.
Check your understanding
A graph of crosses the x-axis at and . Where do these two x-intercepts move on ?
A horizontal shift moves every point sideways by , including the two given 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 has the sign reversed.