Shifting functions along the x axis

An SAT Math micro-topic under Nonlinear functions (Advanced Math). Free to read — no account needed.

A horizontal shift slides the graph sideways while keeping its exact shape.
Replacing xx with x+kx + k moves the graph left by kk; replacing xx with x−kx - k moves it right by kk.
The sign works opposite to what you might expect.
shift_horizontal.png
The figure shows a graph and its horizontal shifts.
Replacing xx with x+2x + 2 slides the curve 22 units left, while x−2x - 2 slides it 22 units right.
The plus sign shifts left and the minus sign shifts right.
Every point moves by the same amount, so the vertex and the xx-intercepts shift too.
If a curve crosses the xx-axis at −3-3 and 11, then f(x+2)f(x + 2) crosses at −5-5 and −1-1.
Each intercept moves 22 units to the left.
shiftx_intercepts.png
This works for any function, not just parabolas.
Shifting y=3xy = 3^x left by 44 units gives y=3x+4y = 3^{x + 4}.
You always replace xx with x+kx + k for a left shift.

Worked examples

The graph of y=5xy = 5^x is shifted 22 units to the left. What is the new equation?
Shifting left by 22 means replacing xx with x+2x + 2.
So the new equation is y=5x+2y = 5^{x + 2}.
shiftx_ex1_exp.png
A curve crosses the xx-axis at −2-2 and 44. Where does f(x+3)f(x + 3) cross the xx-axis?
f(x+3)f(x + 3) shifts the graph 33 units left, so each intercept moves 33 left.
So the new xx-intercepts are −5-5 and 11.
shiftx_ex2_int.png
f(x)f(x) has its lowest point at x=−0.5x = -0.5. Where is the lowest point of f(x+2)f(x + 2)?
The lowest point of ff happens when the input to ff equals −0.5-0.5.
For f(x+2)f(x + 2), the input is x+2x + 2, so set x+2=−0.5x + 2 = -0.5.
Solving gives x=−0.5−2=−2.5x = -0.5 - 2 = -2.5.
shiftx_ex3_min.png

Is this one of the topics costing you points?

Take the free 10-question diagnostic for a predicted SAT score and a breakdown of which domains are costing you points.

Predict your SAT score →

More in Nonlinear functions