Shifting Functions Formula

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

The Formula

y=f(x−h)+k shifts right h and up k

Ask yourself: Is the graph the same shape just moved by an added constant (not stretched or flipped)?

Quick example

f(x)=x2.
f(x)+5=x2+5 (shift up 5).
f(x−2)=(x−2)2 (shift right 2).

Notation

f(x)+k: vertical shift. f(x−h): horizontal shift. Signs are opposite for horizontal: 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)+k shifts right by h and up by k.

Sliding a paper cut-out across a grid: the cut-out keeps its exact shape and only its position changes. The outside +k slides it straight up. The inside −h acts like a delayed start, reaching each point h units later, which is why x−h moves it right. A cut-out can also be turned; a shift never rotates anything.

Formal view

g(x)=f(x−h)+k: g(x0+h)=f(x0)+k, so each point (x0,f(x0)) maps to (x0+h, f(x0)+k)

Worked examples

Example 1

easy
Starting from f(x)=x2, describe and sketch the transformations for g(x)=(x−3)2+2.
Show solution

Answer

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

First step

1.
Horizontal shift: x−3 inside the function shifts the parabola 3 units to the right. Vertex moves from (0,0) to (3,0).

Full solution

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

Example 2

medium
The graph of f(x)=ex is shifted left 2 units and down 5 units to give g(x). Write g(x), find g(0), and determine if the horizontal asymptote changes.

Example 3

medium
Write the equation of y=x shifted right 5 and up 3. State the domain and the y-value at x=9.

Common mistakes

  • Reading f(x−3) as a left shift - inside shifts reverse: x−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

Shifts let you write a function from its key point: a parabola with vertex (h,k) is a(x−h)2+k, and a signal delayed by 2 seconds is f(t−2). Reading them correctly means you can sketch a graph without a table of values. The inside sign rule is where sketches go wrong: draw f(x−3) three units left and it lands 6 units from where it belongs.

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)+k shifts right by h and up by k.

How do you use the Shifting Functions formula?

Look for a constant added to the function, f(x)+k, or added to the input inside it, f(x−h), and for graphs described by a moved vertex, centre or starting point. Read the outside constant as written and reverse the inside one. If a number multiplies the function or its input, it is a scaling; if a negative sign sits in front of f or of x, it is a reflection. Many functions combine these, so name each piece separately.

What do the symbols mean in the Shifting Functions formula?

f(x)+k: vertical shift. f(x−h): horizontal shift. Signs are opposite for horizontal: f(x−3) shifts right 3.

Why is the Shifting Functions formula important in Math?

Shifts let you write a function from its key point: a parabola with vertex (h,k) is a(x−h)2+k, and a signal delayed by 2 seconds is f(t−2). Reading them correctly means you can sketch a graph without a table of values. The inside sign rule is where sketches go wrong: draw f(x−3) three units left and it lands 6 units from where it belongs.

What do students get wrong about Shifting Functions?

The procedure for shifting functions is the easy part; the trap is reading 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.

The full guide

This formula is covered in depth in Functions and Graphs: Complete Foundations for Algebra and Calculus.