algebraunstuck.com

Unit 2 · Transformations & graphs

Shifting graphs

About 12 minFree, no account needed
Goal
Shift graphs up, down, left and right, and write the new equation.

Adding outside the function moves the graph vertically: f(x)+kf(x) + k moves it up kk (down when kk is negative).

Changing the input moves it sideways, and the direction feels backwards: f(x−h)f(x - h) moves the graph right hh, and f(x+h)f(x + h) moves it left hh. The new graph needs an input hh bigger to reach the same output.

xy−44−1123456789(0, 0)(3, 2)
g(x) = (x − 3)² + 2 is f(x) = x² moved right 3 and up 2.

Example 1

Right 3 means x − 3 inside, not x + 3

f(x)=x2 → right 3, up 2f(x)=x^2\ \to\ \text{right }3,\ \text{up }2
  1. Right 3: replace x with x − 3 (inside)

    y=(x−3)2y=\mv{sq}{(x\hl{-3})^2}
  2. Up 2: add 2 outside

    g(x)=(x−3)2+2g(x)=\mv{sq}{(x-3)^2}\hl{+2}

Check: The vertex moves from (0, 0) to (3, 2) ✓

To move a single point, change xx by the horizontal shift and yy by the vertical shift. On y=f(x+4)−1y = f(x + 4) - 1, every point moves left 4 and down 1.

Example 2

Where does (2, 5) go on y = f(x + 4) − 1?

(2,5) on y=f(x);y=f(x+4)−1(2,5)\text{ on }y=f(x);\quad y=f(x+4)-1
  1. x + 4 inside moves left 4: subtract 4 from x

    x: 2→2−4=−2x:\ 2\to2-4=\mv{x}{-2}
  2. −1 outside moves down 1: subtract 1 from y

    y: 5→5−1=4y:\ 5\to5-1=\mv{y}{4}
  3. Put the new coordinates together

    (x,y)=(−2,4)(x,y)=(\mv{x}{-2},\mv{y}{4})

Check: f(−2 + 4) − 1 = f(2) − 1 = 5 − 1 = 4 ✓

Practice

10 practice problems with hints, then a mastery check of 8 questions, right on this page.