Sliding a Graph Left or Right
Horizontal translation slides a function graph left or right along the -axis without changing its shape. Every point moves by the same horizontal distance, as if the graph were an object sliding across a table.
If you have a function , then horizontal translation produces a new function where is the translation constant.
Reading the Sign Rule
Look at where sits in the rule below. It is written inside the parentheses together with , so it changes the input before the function runs.
Because sits inside the parentheses, its sign works the opposite way from the direction you read. Subtracting a positive number from slides the graph right, while adding a positive number slides it left.
| Value of | Shift of the graph | Example of the vertex |
|---|---|---|
| Right by | becomes | |
| Left by | becomes | |
| The graph does not move | stays where it is |
All three rows use the vertex as a reference so the direction is easy to compare. For a function with a different reference point, every point moves by the same distance in the same direction.
Checking the Rule on a Quadratic Graph
Picture three parabolas drawn on the same plane. They have exactly the same shape, but their vertices sit at different horizontal positions.
In the graph above, the purple curve is the original function with its vertex at . The orange curve is . Because is reduced by , the graph shifts right by and its vertex moves to . The green curve is . Here is increased by , so the graph shifts left by and its vertex moves to .
Notice that all three parabolas keep the same width and the same shape. Only the horizontal position changes, so you can read the direction of the shift straight from the sign inside the parentheses.
Checking the Rule on a Linear Graph
The same rule applies to the linear function . On a straight line, a horizontal shift does not change the slope, so checking the sign is easier than on a parabola.
The purple line is the original line with slope . The orange line is , which shifts right by , and the blue line is , which shifts left by . All three lines stay parallel because the slope does not change.
In both examples the direction of the shift always comes from the sign inside the parentheses. That is the opposite of a vertical translation, which adds its constant outside the function.
Which Values the Horizontal Shift Moves
Once you know the direction of the shift, you still need to know which parts of the function move with it. A horizontal translation acts on the input, so everything that depends on the position of moves, while the output values stay the same.
Take a point on the graph of . After a translation by , that point moves to on the graph of . The value does not change, only the coordinate moves.
| Part of the function | Before the translation | After the translation by |
|---|---|---|
| Graph shape | The original shape | The same shape, moved horizontally |
| Point | On the graph of | Moves to |
| Domain | The original interval | Moves to |
| Range | The original output values | The same values as the original function |
The domain moves with the graph because it describes the allowed values of , while the range stays the same because the height of the graph at each point is unchanged. A vertical translation swaps those roles, keeping the domain and moving the range.
Checking the Rule on an Exponential Graph
Exponential functions behave differently from lines and parabolas. Their shape and asymptote stay the same, but the point where the curve crosses the -axis moves with the graph.
The exponential function retains its shape and asymptote under a horizontal translation.
The horizontal asymptote stays at , because a horizontal shift does not change how the curve behaves when grows very large or very small. The function shifts right by , while shifts left by .
The -intercept moves as well, because that point sits at and no longer keeps its original height. This is where a horizontal shift differs from a vertical one, which moves the output values without changing the horizontal position of the intercept.
Telling Horizontal and Vertical Shifts Apart
Horizontal and vertical translations both move a graph, but they act on different parts of the rule. That difference decides which coordinate changes.
| Property | Horizontal translation | Vertical translation |
|---|---|---|
| Rule | ||
| Part that changes | The function input | The function output |
| Direction of the shift | Along the coordinate | Along the coordinate |
| Sign of the constant | Opposite to the direction you read | The same as the sign of |
| Domain and range | Domain moves, range stays | Domain stays, range moves |
The main difference is where the constant sits. A constant inside the parentheses changes the input, so the shift is horizontal and its sign works in reverse. A constant outside the parentheses changes the output, so the shift is vertical and its sign works as written.
Changes that stretch or compress a graph are covered separately in horizontal dilation and vertical dilation, while the order of steps for combining several transformations is covered in combined function transformations.
Exercises
The three problems below use the sign rule you have just learned. Try them without the answer key first, then compare your steps with the worked answers.
-
Given the function . Determine the equation of the function resulting from horizontal translation to the right by .
-
The graph of the function is translated horizontally to the left by . Determine the equation of the resulting translated function, then determine the domain of the function after translation.
-
Function undergoes horizontal translation such that point becomes . Determine the translation constant value and the equation of the resulting translated function.
Answer Key
Every worked answer starts by replacing correctly, because that is where the sign rule lives. The equation is then simplified and the new graph is checked to confirm the direction of the shift.
-
Horizontal translation to the right by :
Function and Its Translation ResultOriginal quadratic function and the result of horizontal translation to the right by . -
Equation of the resulting translated function:
- Translation to the left by :
- Domain after translation: , so or
Visualization:
Function and Its Translation ResultOriginal square root function and the result of horizontal translation to the left by . -
Point on becomes , meaning horizontal translation by to the right. Equation of the translation result:
Function and Its Translation ResultOriginal exponential function and the result of horizontal translation to the right by .