TExcelTAD
Home › School Functions, Exponentials & Logarithms › Reflections and Scaling of Function Graphs

Reflections and Scaling of Function Graphs

While translations slide a graph across paper without changing its proportions, reflections and scalings reshape the curve:

  • Reflections flip the curve across a coordinate axis, reversing its orientation.
  • Scalings (dilations) stretch or compress the curve vertically or horizontally.

When combined with translations into the master transformation form:

y=a⋅f(b(x−h))+ky = a \cdot f\big(b(x - h)\big) + k

you can predict the behavior, domain, range, and exact sketch of any transformed function on paper.


1. Reflections Across the Axes

A negative sign applied to a function operates as a geometric reflection (mirror flip).

TransformationAlgebraic ChangeGeometric ActionCoordinate Mapy=−f(x)Outside sign (negates y)Reflection across the x-axis(x,y)⟼(x,−y)y=f(−x)Inside sign (negates x)Reflection across the y-axis(x,y)⟼(−x,y)y=−f(−x)Both inside and outside180∘ rotation about the origin (0,0)(x,y)⟼(−x,−y)\begin{array}{|l|l|l|l|} \hline \textbf{Transformation} & \textbf{Algebraic Change} & \textbf{Geometric Action} & \textbf{Coordinate Map} \\ \hline y = -f(x) & \text{Outside sign (negates } y\text{)} & \text{Reflection across the } x\text{-axis} & (x, y) \longmapsto (x, -y) \\ y = f(-x) & \text{Inside sign (negates } x\text{)} & \text{Reflection across the } y\text{-axis} & (x, y) \longmapsto (-x, y) \\ y = -f(-x) & \text{Both inside and outside} & 180^\circ \text{ rotation about the origin } (0, 0) & (x, y) \longmapsto (-x, -y) \\ \hline \end{array}

Visualizing with the Square Root Function f(x)=xf(x) = \sqrt{x}:

  • Parent y=xy = \sqrt{x}: Domain [0,+∞)[0, +\infty), Range [0,+∞)[0, +\infty) (Quadrant I).
  • Vertical Flip y=−xy = -\sqrt{x}: Flips upside down across the xx-axis. Domain [0,+∞)[0, +\infty), Range (−∞,0](-\infty, 0] (Quadrant IV).
  • Horizontal Flip y=−xy = \sqrt{-x}: Flips leftward across the yy-axis. Requires −x≥0  ⟹  x≤0-x \ge 0 \implies x \le 0. Domain (−∞,0](-\infty, 0], Range [0,+∞)[0, +\infty) (Quadrant II).

2. Vertical Scaling: y=a⋅f(x)y = a \cdot f(x) (a>0a > 0)

Multiplying the output of a function by a positive scalar aa affects only the vertical distances from the horizontal axis:

(x,y)⟼(x,a⋅y)(x, y) \longmapsto (x, a \cdot y)

Vertical Scaling Rule Box

  1. Vertical Stretch (a>1a > 1): The graph is pulled away from the xx-axis by a factor of aa. The curve becomes steeper and taller.
  2. Vertical Compression (0<a<10 < a < 1): The graph is pushed toward the xx-axis by a factor of aa. The curve becomes flatter and wider.
  3. Invariant Points: Any point where y=0y = 0 (xx-intercept) does not move, because a×0=0a \times 0 = 0.

3. Horizontal Scaling: y=f(b⋅x)y = f(b \cdot x) (b>0b > 0)

Multiplying the input variable xx by a positive scalar bb inside the function operates with the same inverse behavior seen in horizontal translations:

(x,y)⟼(xb,y)(x, y) \longmapsto \left(\frac{x}{b}, y\right)

Horizontal Scaling Rule Box

  1. Horizontal Compression (b>1b > 1): Every point on the graph is squeezed toward the yy-axis by a factor of 1b\frac{1}{b}.
  2. Horizontal Stretch (0<b<10 < b < 1): Every point on the graph is expanded away from the yy-axis by a factor of 1b\frac{1}{b}.
  3. Invariant Points: Any point where x=0x = 0 (yy-intercept) does not move, because 0b=0\frac{0}{b} = 0.

Why Does f(2x)f(2x) Compress Horizontally?

If f(x)f(x) takes an input of 44 to produce f(4)f(4), then for g(x)=f(2x)g(x) = f(2x), we only need x=2x = 2 to feed 2(2)=42(2) = 4 into ff. The output happens at half the horizontal distance!


4. The Master Transformation & Order of Operations

When multiple transformations occur simultaneously:

y=a⋅f(b(x−h))+ky = a \cdot f\big(b(x - h)\big) + k

[!IMPORTANT] The Factorization Rule: Always factor out the coefficient of xx inside the parentheses:

f(bx−c)=f(b(x−cb))f(bx - c) = f\left(b\left(x - \frac{c}{b}\right)\right)

The true horizontal shift is cb\frac{c}{b}, not cc!

The Safe Paper Order of Operations:

  1. Horizontal Operations (affecting xx):
    • Multiply xx by 1b\frac{1}{b} (compress/stretch by 1∣b∣\frac{1}{|b|}, reflect across yy-axis if b<0b < 0).
    • Add hh (shift horizontally by hh).
  2. Vertical Operations (affecting yy):
    • Multiply yy by aa (stretch/compress by ∣a∣|a|, reflect across xx-axis if a<0a < 0).
    • Add kk (shift vertically by kk).

5. Worked Examples

Worked Example 1: Comparing Axis Reflections

Problem: For the parent function f(x)=x3−4xf(x) = x^3 - 4x:

  1. Write the explicit algebraic formulas for g(x)=−f(x)g(x) = -f(x) and h(x)=f(−x)h(x) = f(-x).
  2. Explain their geometric relationship to the graph of f(x)f(x).

Step-by-Step Solution:

  • Step 1: Vertical reflection g(x)=−f(x)g(x) = -f(x). Negate the entire output:

    g(x)=−(x3−4x)=−x3+4xg(x) = -(x^3 - 4x) = -x^3 + 4x

    Geometric meaning: Every point (x,y)(x, y) is mapped to (x,−y)(x, -y). The graph is reflected across the xx-axis.

  • Step 2: Horizontal reflection h(x)=f(−x)h(x) = f(-x). Substitute (−x)(-x) for every occurrence of xx:

    h(x)=(−x)3−4(−x)=−x3+4x\begin{aligned} h(x) &= (-x)^3 - 4(-x) \\ &= -x^3 + 4x \end{aligned}

    Geometric meaning: Every point (x,y)(x, y) is mapped to (−x,y)(-x, y). The graph is reflected across the yy-axis.

  • Step 3: Comparative analysis. Notice that g(x)=h(x)=−x3+4xg(x) = h(x) = -x^3 + 4x. Why are both reflections identical? Because f(x)f(x) is an odd function:

    f(−x)=−f(x)f(-x) = -f(x)

    Reflecting an odd function across the yy-axis yields the exact same visual curve as reflecting it across the xx-axis.


Worked Example 2: Vertical Scaling with Reflection

Problem: Starting from the parent parabola f(x)=x2f(x) = x^2, describe the sequence of transformations required to sketch:

g(x)=−2(x+1)2+8g(x) = -2(x + 1)^2 + 8

Track the vertex and the two xx-intercepts.

Step-by-Step Solution:

  • Step 1: Decompose the parameters. Comparing g(x)=a(x−h)2+kg(x) = a(x - h)^2 + k:

    • a=−2a = -2: Vertical stretch by factor 22, followed by reflection across the xx-axis (opens downward).
    • h=−1h = -1: Shift left by 11 unit.
    • k=+8k = +8: Shift up by 88 units.
  • Step 2: Coordinate mapping rule.

    (x,y)⟼(x−1,  −2y+8)(x, y) \longmapsto (x - 1, \; -2y + 8)
  • Step 3: Track key anchor points.

    • Vertex of parent: (0,0)(0, 0)
      (0−1,  −2(0)+8)=(−1,8)(0 - 1, \; -2(0) + 8) = (-1, 8)
      New vertex: V(−1,8)V(-1, 8).
    • Points (1,1)(1, 1) and (−1,1)(-1, 1):
      • (1,1)⟼(1−1,  −2(1)+8)=(0,6)(1, 1) \longmapsto (1 - 1, \; -2(1) + 8) = (0, 6) (this is the yy-intercept!).
      • (−1,1)⟼(−1−1,  −2(1)+8)=(−2,6)(-1, 1) \longmapsto (-1 - 1, \; -2(1) + 8) = (-2, 6) (symmetric partner).
    • xx-intercepts of g(x)g(x): Set g(x)=0g(x) = 0:
      −2(x+1)2+8=0−2(x+1)2=−8(x+1)2=4x+1=±2  ⟹  x=1orx=−3\begin{aligned} -2(x + 1)^2 + 8 &= 0 \\ -2(x + 1)^2 &= -8 \\ (x + 1)^2 &= 4 \\ x + 1 &= \pm 2 \implies x = 1 \quad \text{or} \quad x = -3 \end{aligned}
      The roots (−3,0)(-3, 0) and (1,0)(1, 0) are symmetric around x=−1x = -1.

Worked Example 3: The Factoring Trap in Horizontal Transformations

Problem: Describe the exact geometric transformations that convert the parent graph f(x)=xf(x) = \sqrt{x} into:

p(x)=6−2xp(x) = \sqrt{6 - 2x}

Find the domain and sketch the anchor points.

Step-by-Step Solution:

  • Step 1: Factor out the horizontal coefficient. The expression inside the radical is 6−2x=−2x+66 - 2x = -2x + 6. Factor out −2-2:

    p(x)=−2(x−3)p(x) = \sqrt{-2(x - 3)}

    (Trap warning: Do not say "shift right 66." Because −2-2 is factored out, the shift is right by 33).

  • Step 2: Identify the sequence of transformations. Starting from f(x)=xf(x) = \sqrt{x}:

    1. Horizontal reflection: Reflect across the yy-axis due to the negative sign on −2-2.
    2. Horizontal compression: Compress toward the yy-axis by a factor of 12\frac{1}{2}.
    3. Horizontal shift: Shift to the right by 33 units.
  • Step 3: Determine domain and key points. Radicand must be non-negative:

    6−2x≥0  ⟹  2x≤6  ⟹  x≤36 - 2x \ge 0 \implies 2x \le 6 \implies x \le 3

    Domain: (−∞,3](-\infty, 3].

  • Step 4: Point evaluation table.

    xp(x)=6−2xRole on Paper36−6=0Starting endpoint (3,0)16−2=4=2Interior anchor point (1,2)−56−2(−5)=16=4Far-left point (−5,4)06−0=6≈2.45y-intercept (0,6)\begin{array}{|c|c|l|} \hline x & p(x) = \sqrt{6 - 2x} & \text{Role on Paper} \\ \hline 3 & \sqrt{6 - 6} = 0 & \text{Starting endpoint } (3, 0) \\ 1 & \sqrt{6 - 2} = \sqrt{4} = 2 & \text{Interior anchor point } (1, 2) \\ -5 & \sqrt{6 - 2(-5)} = \sqrt{16} = 4 & \text{Far-left point } (-5, 4) \\ 0 & \sqrt{6 - 0} = \sqrt{6} \approx 2.45 & y\text{-intercept } (0, \sqrt{6}) \\ \hline \end{array}

    The curve starts at (3,0)(3, 0) and extends leftward and upward into Quadrant II.


6. Common Mistakes & Paper Traps

  1. The "Inside Factor" Trap: Given f(3x−9)f(3x - 9), students often state that the graph shifts right by 99.

    • Correction: Factor first: f(3(x−3))f(3(x - 3)). The graph shifts right by 33, and is compressed horizontally by a factor of 13\frac{1}{3}.
  2. The Horizontal Scaling Direction Confusion:

    • y=f(3x)y = f(3x) is compressed by 13\frac{1}{3} (becomes narrower).
    • y=f(13x)y = f\left(\frac{1}{3}x\right) is stretched by 33 (becomes wider). Remember: operations inside parentheses always do the reciprocal of what common sense suggests.
  3. Mixing up xx-axis and yy-axis Reflections:

    • −f(x)-f(x) negates outputs   ⟹  \implies flips vertically (over the xx-axis).
    • f(−x)f(-x) negates inputs   ⟹  \implies flips horizontally (over the yy-axis).

7. Pencil & Paper Practice

Solve these problems on paper before checking the worked solutions.

Practice 1

If the point (3,−5)(3, -5) lies on the graph of y=f(x)y = f(x), find the corresponding point that must lie on the graph of:

  1. y=−f(x)y = -f(x)
  2. y=f(−x)y = f(-x)
  3. y=4f(x)y = 4f(x)
  4. y=f(2x)y = f(2x)

??? success "Solution to Practice 1" 1. For y=−f(x)y = -f(x): negate the yy-coordinate: math (3, -(-5)) = (3, 5) 2. For y=f(−x)y = f(-x): negate the xx-coordinate: math (-3, -5) 3. For y=4f(x)y = 4f(x): multiply the yy-coordinate by 44: math (3, 4 \times (-5)) = (3, -20) 4. For y=f(2x)y = f(2x): divide the xx-coordinate by 22: math \left(\frac{3}{2}, -5\right) = (1.5, -5)


Practice 2

Given the parent curve y=∣x∣y = |x|, write the equation for the function obtained by vertically stretching by a factor of 33, reflecting across the xx-axis, and shifting down by 77 units.

??? success "Solution to Practice 2" 1. Start with parent: f(x)=∣x∣f(x) = |x|. 2. Vertical stretch by 33: 3∣x∣3|x|. 3. Reflect across the xx-axis: −3∣x∣-3|x|. 4. Shift down by 77: −3∣x∣−7-3|x| - 7. Answer: y=−3∣x∣−7y = -3|x| - 7.


Test yourself

What sequence of transformations transforms the graph of f(x)f(x) into g(x)=f(4x−8)g(x) = f(4x - 8)?

  1. Horizontal stretch by 44, then shift right by 88
  2. Horizontal compression by factor 14\frac{1}{4}, then shift right by 22
  3. Horizontal compression by factor 14\frac{1}{4}, then shift right by 88
  4. Shift right by 22, then vertical stretch by 44

If the graph of y=xy = \sqrt{x} is reflected across the yy-axis and then shifted 55 units down, what is its formula and domain?

  1. y=−x−5y = \sqrt{-x} - 5, with domain (−∞,0](-\infty, 0]
  2. y=−x−5y = -\sqrt{x} - 5, with domain [0,+∞)[0, +\infty)
  3. y=−x−5y = \sqrt{-x - 5}, with domain (−∞,−5](-\infty, -5]
  4. y=−−x−5y = -\sqrt{-x} - 5, with domain R\mathbb{R}

How does the graph of y=13f(x)y = \frac{1}{3}f(x) compare geometrically to the graph of y=f(x)y = f(x)?

  1. It is vertically stretched by a factor of 33
  2. It is horizontally compressed by a factor of 13\frac{1}{3}
  3. It is vertically compressed by a factor of 13\frac{1}{3}
  4. It is shifted down by 33 units