Activity
Horizontal Shifts
1. Use the Desmos graphing tool or technology outside the course. Graph the following linear functions.
Compare your work:
2. What is the direction and horizontal distance between the -intercepts of and ?
Compare your answer:
The -intercept for is 2 spaces to the right of .
3. How can the function, be shifted to overlap ?
Compare your answer:
Shift right 4 spaces.
4. What is the direction and horizontal distance between the -intercepts of and ?
Compare your answer:
The -intercepts for has been shifted 2 spaces to the left of .
5. How can the function, , be shifted to overlap ?
Compare your answer:
Shift left 4 spaces.
In linear functions, when a value is added to or subtracted from the input value, or the -values, the graph acts as if a horizontal shift is applied. This is another type of transformation to the graph.
Horizontal Shift of a Function
A horizontal shift “transforms” the parent function into another function by moving the graph to the left or right units.
Horizontal Shift →
If the value is positive, the graph of the function shifts right. If the value is negative, the graph of the function shifts left.
But, be careful! The sign of the value is preceded by subtraction in the equation. When the equation is simplified, the sign of the value is changed.
Self Check
Additional Resources
Horizontal Shifts and -intercepts
In addition to being shifted vertically, graphs can also be shifted to the right or left. For linear functions, this is sometimes hard to identify because a line that is shifted horizontally may appear to have a vertical shift.
Let’s shift the parent function, , horizontally to the left 7 units.
If the line shifts horizontally 7 units to the left, the -intercept is shifted 7 units to the left, as well.
The graph of the parent function, , is represented by the dashed orange line. The graph of the solid blue line represents the line that we horizontally shift 7 units to the left.
To determine the equation of the shifted line, we use the slope of 1 and as a point on the line.
Substituting these values into point-slope form, we get:
So, the equation of a line that has been shifted 7 units to the left from the parent function, , is
But, doesn’t it look like the function was shifted up 7 units, too? This is because is equivalent to . And this is what makes horizontal shifts difficult to see.
Example 1
How has the function been transformed from ?
Solution
To answer this question, first consider how the x-values, including the -intercept, are being changed. The function says to subtract 4 from each x-value. This means the function is being shifted 4 units.
Next, we need to determine which direction the x-values are being shifted. Let’s look at the graphs.
The solid blue line represents the graph of . The dashed orange line represents the graph of .
On the graph, we can look at specific points on the parent function like the -intercept (0, 0) and (1, 3). The transformed line is to the right of our parent function. To determine how far to the right the line has been shifted, we count the number of horizontal units between the lines.
- We see that (0, 0) corresponds to the point (4, 0) on the transformed line.
- The point (1, 3) corresponds to the point (5, 3) on the transformed line.
- Each point on the parent function has been shifted 4 units to the right.
Therefore, we conclude the line representing appears to have been shifted 4 units to the right from the function .
Example 2
Use the -intercept to describe how the function has been transformed from the parent function .
Solution
We know the shift is 9 units, but we need to consider which direction the -intercept has been moved.
The orange dashed line represents the parent function, and the solid blue line represents the shifted function.
Carefully looking at the -intercepts, we see the line representing has been shifted 9 units to the left from the parent function, .
Often the horizontal shift is denoted using parentheses to explicitly identify how the values of the independent variable, or domain, are being changed.
Example 3
Describe how the function is horizontally transformed to .
Solution
Let’s rewrite the equations in point-slope form, :
So, the -intercept is .
So, the -intercept is .
The -intercept of starts at and moves to , so this represents a shift of 6 units to the right.
We can also check this using graphs.
Examining the -intercept for , on the orange dashed line, we see that gets shifted 6 units to the right and lands at on , represented by the blue solid line.
So, we can identify horizontal shifts using either graphs or algebraic equations.
Horizontal Shift of a Function
A horizontal shift “transforms” the parent function into another function by moving the graph to the left or right units.
Horizontal Shift →
If the value is positive, the graph of the function shifts right. If the value is negative, the graph of the function shifts left. But, be careful! The sign of the value is preceded by subtraction in the equation. When the equation is simplified, the sign of the value is changed.
Try it
Try It: Horizontal Shifts and -intercepts
Tell the shift made to to arrive at using the -intercepts to describe the change.
Compare your work:
Here is how to find the shift made to f(x)=x using the -intercept to describe the move:
Since the -intercept of = x-5 is , the graph of is shifted right 5 units to arrive at .