TExcelTAD
Home › School Functions, Exponentials & Logarithms › Graph Transformations: Vertical and Horizontal Shifts

Graph Transformations: Vertical and Horizontal Shifts

In mathematics, you do not need to memorize hundreds of individual graphs or plot dozens of coordinate points every time an equation changes slightly. Instead, mathematicians rely on parent functions (such as y=x2y = x^2, y=xy = \sqrt{x}, y=∣x∣y = |x|, or y=1xy = \frac{1}{x}) and apply systematic geometric operations called transformations.

The simplest class of transformations is translations (or shifts). Translations are rigid motions: they slide the entire curve across the Cartesian plane without twisting, stretching, or distorting its shape.


1. Vertical Translations: y=f(x)±cy = f(x) \pm c

When a constant c>0c > 0 is added to or subtracted from the outside of the function expression:

y=f(x)+cory=f(x)−c(c>0)y = f(x) + c \quad \text{or} \quad y = f(x) - c \quad (c > 0)

The operation directly modifies the output yy-value for every fixed input xx.

Vertical Shift Coordinate Rule Box

  1. Upward Shift (+c+c): The graph of y=f(x)+cy = f(x) + c shifts the parent graph vertically upward by cc units.

    (x,y)⟼(x,y+c)(x, y) \longmapsto (x, y + c)
  2. Downward Shift (−c-c): The graph of y=f(x)−cy = f(x) - c shifts the parent graph vertically downward by cc units.

    (x,y)⟼(x,y−c)(x, y) \longmapsto (x, y - c)

Domain & Range impact: The domain remains unchanged. The range shifts by +c+c or −c-c: if the parent range was [0,+∞)[0, +\infty), the new range becomes [c,+∞)[c, +\infty) or [−c,+∞)[-c, +\infty).


2. Horizontal Translations: y=f(x±c)y = f(x \pm c)

When a constant c>0c > 0 is added to or subtracted from inside the function's parentheses:

y=f(x−c)ory=f(x+c)(c>0)y = f(x - c) \quad \text{or} \quad y = f(x + c) \quad (c > 0)

The operation affects the input xx before the rule of ff is applied.

Horizontal Shift Coordinate Rule Box

  1. Rightward Shift (−c-c): The graph of y=f(x−c)y = f(x - c) shifts the parent graph horizontally to the right by cc units.

    (x,y)⟼(x+c,y)(x, y) \longmapsto (x + c, y)
  2. Leftward Shift (+c+c): The graph of y=f(x+c)y = f(x + c) shifts the parent graph horizontally to the left by cc units.

    (x,y)⟼(x−c,y)(x, y) \longmapsto (x - c, y)

Why Does x−cx - c Shift to the Right? (The Paper Paradox)

Students often wonder: "Why does minus mean right and plus mean left?"

Consider the parent function f(x)=x2f(x) = x^2, which reaches its vertex (y=0)(y = 0) when its input is 00. Now consider g(x)=(x−3)2g(x) = (x - 3)^2. To reach that same vertex value (y=0y = 0), the inside of the parentheses must equal 00:

x−3=0  ⟹  x=+3x - 3 = 0 \implies x = +3

Every original output occurs 33 units later along the positive xx-axis. Therefore, the entire graph must slide 33 units to the right.


3. Combined Translations: y=f(x−h)+ky = f(x - h) + k

When horizontal and vertical shifts are combined into the standard form:

y=f(x−h)+ky = f(x - h) + k

The point (0,0)(0, 0) of the parent graph moves directly to the new reference point:

(0,0)⟼(h,k)(0, 0) \longmapsto (h, k)
Parent FunctionTransformed FormKey Parent AnchorNew Anchor Pointy=x2y=(x−h)2+kVertex (0,0)Vertex (h,k)y=xy=x−h+kEndpoint (0,0)Endpoint (h,k)y=∣x∣y=∣x−h∣+kCorner (0,0)Corner (h,k)y=1xy=1x−h+kIntersection of asymptotes (0,0)Center (h,k)\begin{array}{|l|l|l|l|} \hline \textbf{Parent Function} & \textbf{Transformed Form} & \textbf{Key Parent Anchor} & \textbf{New Anchor Point} \\ \hline y = x^2 & y = (x - h)^2 + k & \text{Vertex } (0, 0) & \text{Vertex } (h, k) \\ y = \sqrt{x} & y = \sqrt{x - h} + k & \text{Endpoint } (0, 0) & \text{Endpoint } (h, k) \\ y = |x| & y = |x - h| + k & \text{Corner } (0, 0) & \text{Corner } (h, k) \\ y = \frac{1}{x} & y = \frac{1}{x - h} + k & \text{Intersection of asymptotes } (0, 0) & \text{Center } (h, k) \\ \hline \end{array}

4. The 4-Step Paper Tracking Protocol

To accurately graph or analyze any shifted function on paper:

  1. Identify the Parent Function f(x)f(x): Strip away the added/subtracted constants.
  2. Read Off hh and kk:
    • Look inside: x−h  ⟹  x - h \implies shift right by hh (if x+4x + 4, then h=−4h = -4, shift left 44).
    • Look outside: +k  ⟹  +k \implies shift up kk (if −k-k, shift down kk).
  3. Map the Anchor Table: Take 33 to 55 standard parent points and apply the coordinate mapping rule:
    (xparent,yparent)⟼(xparent+h,  yparent+k)(x_{\text{parent}}, y_{\text{parent}}) \longmapsto (x_{\text{parent}} + h, \; y_{\text{parent}} + k)
  4. Draft on Grid Paper: Plot the shifted anchor points and redraw the identical parent curve through them.

5. Worked Examples

Worked Example 1: Translating a Parabola

Problem: Starting from the parent parabola f(x)=x2f(x) = x^2, sketch g(x)=(x−3)2+2g(x) = (x - 3)^2 + 2 by mapping 5 reference points.

Step-by-Step Solution:

  • Step 1: Identify translations.

    • Inside: x−3  ⟹  h=3x - 3 \implies h = 3 (shift right 33 units).
    • Outside: +2  ⟹  k=2+ 2 \implies k = 2 (shift up 22 units).
    • Mapping rule: (x,y)⟼(x+3,y+2)(x, y) \longmapsto (x + 3, y + 2).
  • Step 2: Apply the map to 5 parent coordinates.

    Parent Point (x,y)x+3y+2Transformed Point(−2,4)−2+3=14+2=6(1,6)(−1,1)−1+3=21+2=3(2,3)(0,0) (vertex)0+3=30+2=2(3,2) (new vertex)(1,1)1+3=41+2=3(4,3)(2,4)2+3=54+2=6(5,6)\begin{array}{|c|c|c|c|} \hline \text{Parent Point } (x, y) & x + 3 & y + 2 & \text{Transformed Point} \\ \hline (-2, 4) & -2 + 3 = 1 & 4 + 2 = 6 & (1, 6) \\ (-1, 1) & -1 + 3 = 2 & 1 + 2 = 3 & (2, 3) \\ (0, 0) \text{ (vertex)} & 0 + 3 = 3 & 0 + 2 = 2 & (3, 2) \text{ (new vertex)} \\ (1, 1) & 1 + 3 = 4 & 1 + 2 = 3 & (4, 3) \\ (2, 4) & 2 + 3 = 5 & 4 + 2 = 6 & (5, 6) \\ \hline \end{array}
  • Step 3: State key features.

    • Vertex: V(3,2)V(3, 2).
    • Axis of symmetry: x=3x = 3.
    • Domain: (−∞,+∞)(-\infty, +\infty).
    • Range: [2,+∞)[2, +\infty).

Worked Example 2: Translating a Square Root Curve

Problem: For the function h(x)=x+4−1h(x) = \sqrt{x + 4} - 1:

  1. State the parent function and describe the geometric shifts in words.
  2. Determine the natural domain and range.
  3. Map 3 anchor points and determine the xx- and yy-intercepts.

Step-by-Step Solution:

  • Step 1: Identify shifts.

    • Parent function: f(x)=xf(x) = \sqrt{x}.
    • Inside: x+4=x−(−4)  ⟹  x + 4 = x - (-4) \implies shift left by 44 units.
    • Outside: −1  ⟹  - 1 \implies shift down by 11 unit.
    • Mapping rule: (x,y)⟼(x−4,y−1)(x, y) \longmapsto (x - 4, y - 1).
  • Step 2: Domain and range.

    • Parent domain is x≥0x \ge 0. With x+4≥0x + 4 \ge 0, new domain is x≥−4x \ge -4, or [−4,+∞)[-4, +\infty).
    • Parent range is y≥0y \ge 0. With −1-1 vertical shift, new range is y≥−1y \ge -1, or [−1,+∞)[-1, +\infty).
  • Step 3: Point mapping.

    Parent (x,x)(x−4,y−1)New Point(0,0)(0−4,0−1)(−4,−1) (Initial endpoint)(1,1)(1−4,1−1)(−3,0) (x-intercept!)(4,2)(4−4,2−1)(0,1) (y-intercept!)(9,3)(9−4,3−1)(5,2)\begin{array}{|c|c|c|} \hline \text{Parent } (x, \sqrt{x}) & (x - 4, y - 1) & \text{New Point} \\ \hline (0, 0) & (0 - 4, 0 - 1) & (-4, -1) \text{ (Initial endpoint)} \\ (1, 1) & (1 - 4, 1 - 1) & (-3, 0) \text{ (}x\text{-intercept!)} \\ (4, 2) & (4 - 4, 2 - 1) & (0, 1) \text{ (}y\text{-intercept!)} \\ (9, 3) & (9 - 4, 3 - 1) & (5, 2) \\ \hline \end{array}

    The curve starts at the endpoint (−4,−1)(-4, -1), crosses the xx-axis at (−3,0)(-3, 0), crosses the yy-axis at (0,1)(0, 1), and arches upward smoothly to the right.


Worked Example 3: Translating a Hyperbola and its Asymptotes

Problem: Analyze r(x)=1x−2+5r(x) = \frac{1}{x - 2} + 5. Find its new asymptotes, center of symmetry, and domain/range.

Step-by-Step Solution:

  • Step 1: Identify parent and shifts. Parent function: f(x)=1xf(x) = \frac{1}{x}.

    • Horizontal shift: h=2h = 2 (22 units right).
    • Vertical shift: k=5k = 5 (55 units up).
  • Step 2: Transform the asymptotes.

    • Parent vertical asymptote was x=0x = 0. Shifted: x=0+2  ⟹  x=2x = 0 + 2 \implies x = 2.
    • Parent horizontal asymptote was y=0y = 0. Shifted: y=0+5  ⟹  y=5y = 0 + 5 \implies y = 5.
  • Step 3: Center of symmetry. The parent hyperbola is symmetric about (0,0)(0, 0). The new center of symmetry is (2,5)(2, 5).

  • Step 4: Domain and Range.

    • Domain: R∖{2}=(−∞,2)∪(2,+∞)\mathbb{R} \setminus \{2\} = (-\infty, 2) \cup (2, +\infty).
    • Range: R∖{5}=(−∞,5)∪(5,+∞)\mathbb{R} \setminus \{5\} = (-\infty, 5) \cup (5, +\infty).

6. Common Mistakes & Paper Traps

  1. The Inverse Horizontal Sign Trap: Seeing f(x+5)f(x + 5) and shifting to the right 55.

    • Mnemonic: "Inside is inverse!" +5+5 inside means shift LEFT −5-5.
  2. Mixing Inside and Outside Operations:

    • f(x)−4f(x) - 4 is a downward shift of 44.
    • f(x−4)f(x - 4) is a rightward shift of 44. Always look at the grouping symbols: are the brackets around xx alone, or around the constant too?
  3. Forgetting to Shift the Asymptotes: When sketching rational functions like 1x−3+1\frac{1}{x - 3} + 1, students often keep the asymptotes on the xx- and yy-axes. Always draw the new dashed asymptote lines x=3x = 3 and y=1y = 1 first before sketching the branches.


7. Pencil & Paper Practice

Solve these problems on paper before opening the solutions.

Practice 1

The graph of y=∣x∣y = |x| is shifted 44 units left and 33 units down.

  1. Write the equation of the transformed function g(x)g(x).
  2. What are the coordinates of the corner (vertex) point?
  3. What is the yy-intercept of g(x)g(x)?

??? success "Solution to Practice 1" 1. Shifting 44 units left replaces xx with x+4x + 4. Shifting 33 units down subtracts 33: math g(x) = |x + 4| - 3 2. The vertex moves from (0,0)(0, 0) to (−4,−3)(-4, -3). 3. yy-intercept: set x=0x = 0: math g(0) = |0 + 4| - 3 = 4 - 3 = 1 \implies (0, 1) Answer: g(x)=∣x+4∣−3g(x) = |x + 4| - 3; vertex is (−4,−3)(-4, -3); yy-intercept is (0,1)(0, 1).


Practice 2

Given the parent curve f(x)=x3f(x) = x^3, the function p(x)=(x+1)3−8p(x) = (x + 1)^3 - 8 is constructed. Find its xx-intercept on paper.

??? success "Solution to Practice 2" 1. Set p(x)=0p(x) = 0: math (x + 1)^3 - 8 = 0 2. Add 88: math (x + 1)^3 = 8 3. Take the real cube root of both sides: math x + 1 = \sqrt[3]{8} = 2 4. Solve for xx: math x = 2 - 1 = 1 Answer: The xx-intercept is (1,0)(1, 0).


Test yourself

How is the graph of g(x)=(x+7)2−4g(x) = (x + 7)^2 - 4 obtained from the parent graph of f(x)=x2f(x) = x^2?

  1. Shift 77 units right and 44 units down
  2. Shift 77 units left and 44 units down
  3. Shift 77 units left and 44 units up
  4. Shift 77 units right and 44 units up

What is the domain of the shifted square root function h(x)=x−5+6h(x) = \sqrt{x - 5} + 6?

  1. [6,+∞)[6, +\infty)
  2. [−5,+∞)[-5, +\infty)
  3. [5,+∞)[5, +\infty)
  4. (−∞,5](-\infty, 5]

If the parent hyperbola y=1xy = \frac{1}{x} is transformed into y=1x+3−2y = \frac{1}{x + 3} - 2, what is the point of intersection of its two asymptotes?

  1. (3,−2)(3, -2)
  2. (−3,−2)(-3, -2)
  3. (−3,2)(-3, 2)
  4. (0,0)(0, 0)