Shifting Functions Formula

Shifting functions are shifting a function translates its graph horizontally or vertically without changing its shape: f(x.

The Formula

y=f(xโˆ’h)+ky = f(x - h) + k shifts right hh and up kk

When to use: Shifting is like sliding the entire graph on the coordinate plane โ€” the function's shape is completely unchanged, only its position moves.

Quick Example

f(x)=x2f(x) = x^2.
f(x)+5=x2+5f(x) + 5 = x^2 + 5 (shift up 5).
f(xโˆ’2)=(xโˆ’2)2f(x - 2) = (x-2)^2 (shift right 2).

Notation

f(x)+kf(x) + k: vertical shift. f(xโˆ’h)f(x - h): horizontal shift. Signs are opposite for horizontal: f(xโˆ’3)f(x - 3) shifts right 3.

What This Formula Means

Shifting a function translates its graph horizontally or vertically without changing its shape: f(xโˆ’h)+kf(x - h) + k shifts right by hh and up by kk.

Shifting is like sliding the entire graph on the coordinate plane โ€” the function's shape is completely unchanged, only its position moves.

Formal View

g(x)=f(xโˆ’h)+kg(x) = f(x - h) + k: g(x0+h)=f(x0)+kg(x_0 + h) = f(x_0) + k, so each point (x0,f(x0))(x_0, f(x_0)) maps to (x0+h,โ€‰f(x0)+k)(x_0 + h,\, f(x_0) + k)

Worked Examples

Example 1

easy
Starting from f(x)=x2f(x)=x^2, describe and sketch the transformations for g(x)=(xโˆ’3)2+2g(x)=(x-3)^2+2.

Answer

Right 33, up 22; vertex at (3,2)(3, 2)

First step

1
Horizontal shift: xโˆ’3x-3 inside the function shifts the parabola 33 units to the right. Vertex moves from (0,0)(0,0) to (3,0)(3,0).

Full solution

  1. 2
    Vertical shift: +2+2 outside shifts the graph 22 units up. Vertex moves from (3,0)(3,0) to (3,2)(3,2).
  2. 3
    Result: upward-opening parabola with vertex at (3,2)(3,2); same shape as f(x)=x2f(x)=x^2.
Horizontal shifts come from changes inside the function argument: f(xโˆ’h)f(x-h) shifts right by hh (left if h<0h<0). Vertical shifts come from adding a constant outside: f(x)+kf(x)+k shifts up by kk. The vertex formula is (h,k)(h,k).

Example 2

medium
The graph of f(x)=exf(x)=e^x is shifted left 22 units and down 55 units to give g(x)g(x). Write g(x)g(x), find g(0)g(0), and determine if the horizontal asymptote changes.

Example 3

medium
Write the equation of y=xy = \sqrt{x} shifted right 55 and up 33. State the domain and the yy-value at x=9x = 9.

Common Mistakes

  • Reading f(xโˆ’3)f(x-3) as a left shift - inside shifts reverse: xโˆ’3x-3 moves the graph RIGHT 3.
  • Mixing up inside and outside constants - inside affects horizontal, outside affects vertical.
  • Thinking a shift changes the shape - translation only moves position; size and orientation are untouched.

Why This Formula Matters

Shifting is the other half of transformations alongside scaling, and the gateway to vertex form, sinusoid phase shifts, and reading any equation as 'parent function, relocated.' The inside-sign reversal trips up students constantly and must be drilled. Recognizing it by "Is the graph the same shape just moved by an added constant (not stretched or flipped)?" โ€” rather than by familiar numbers โ€” is what lets a student tell it apart from scaling functions and horizontal vs. vertical shift signs and reflecting functions in a mixed problem set.

Frequently Asked Questions

What is the Shifting Functions formula?

Shifting a function translates its graph horizontally or vertically without changing its shape: f(xโˆ’h)+kf(x - h) + k shifts right by hh and up by kk.

How do you use the Shifting Functions formula?

Shifting is like sliding the entire graph on the coordinate plane โ€” the function's shape is completely unchanged, only its position moves.

What do the symbols mean in the Shifting Functions formula?

f(x)+kf(x) + k: vertical shift. f(xโˆ’h)f(x - h): horizontal shift. Signs are opposite for horizontal: f(xโˆ’3)f(x - 3) shifts right 3.

Why is the Shifting Functions formula important in Math?

Shifting is the other half of transformations alongside scaling, and the gateway to vertex form, sinusoid phase shifts, and reading any equation as 'parent function, relocated.' The inside-sign reversal trips up students constantly and must be drilled. Recognizing it by "Is the graph the same shape just moved by an added constant (not stretched or flipped)?" โ€” rather than by familiar numbers โ€” is what lets a student tell it apart from scaling functions and horizontal vs. vertical shift signs and reflecting functions in a mixed problem set.

What do students get wrong about Shifting Functions?

The procedure for shifting functions is the easy part; the trap is reading f(xโˆ’3)f(x-3) as a left shift. Asking "Is the graph the same shape just moved by an added constant (not stretched or flipped)?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Shifting Functions formula?

Before studying the Shifting Functions formula, you should understand: transformation.

Want the Full Guide?

This formula is covered in depth in our complete guide:

Functions and Graphs: Complete Foundations for Algebra and Calculus โ†’