Functions

Horizontal Shift

A child slides a transparent graph card sideways.

Horizontal Shift definition

A horizontal shift moves a graph left or right while keeping every point at the same height.

In Spanish
desplazamiento horizontal
Topic
Transformations

Horizontal Shift in a picture

Horizontal Shift diagramThe vertex of |x| moves from (0, 0) to (2, 0) in |x − 2|.xyOriginalNew graph
The vertex of |x| moves from (0, 0) to (2, 0) in |x − 2|.

How it works

For g(x) = f(x − h), a point (a, b) on f moves to (a + h, b) on g. If h is positive, this moves right. Adding inside the input shifts the graph left: f(x + h) moves left by h for positive h. The domain shifts, while the range remains the same.

Worked examples

Move f(x) = x² right by 3.

Use g(x) = (x − 3)².

Which way does g(x) = f(x + 5) move?

Five units left.

If (1, 4) is on f, where is its image on f(x − 2)?

(3, 4).

Common mistake

Read the change in the whole input. For f(x − 3), the new x must be three greater to reach the original input.

Quick check

Does a horizontal shift change y-coordinates?

Show answer

No.

Which way does f(x − 1) move?

Show answer

Right by one.

If the original domain is [0, 2], what is the domain after shifting right by 3?

Show answer

[3, 5].

Sources

Flashcard

Horizontal Shift

Reveal the definition

A horizontal shift moves a graph left or right while keeping every point at the same height.

Effortless Math. “Horizontal Shift.” Math Dictionary.