Function Transformation Rules

Study smarter with Fiveable

Get study guides, practice questions, and cheatsheets for all your subjects. Join 500,000+ students with a 96% pass rate.

Get Started

Why This Matters

Function transformations are the backbone of graphing in Precalculusโ€”and they show up constantly on exams. You're being tested on your ability to predict how a graph will change when its equation is modified, whether that's a simple shift or a complex combination of stretches, reflections, and translations. Mastering these rules means you can sketch transformed functions quickly without plotting dozens of points, and you'll recognize parent functions hiding inside complicated equations.

The key insight is that transformations fall into two categories: those that affect inputs (x-values) and those that affect outputs (y-values). Understanding this distinction explains why horizontal transformations often feel "backwards" from what you'd expect. Don't just memorize the rulesโ€”know which part of the function each transformation modifies and why the graph responds the way it does.


Translations (Shifts)

Translations move the entire graph without changing its shape or orientation. The graph slides to a new position while every point maintains its relative distance from other points.

Vertical Shift: f(x)+kf(x) + k

  • Add kk outside the functionโ€”the graph moves up when k>0k > 0 and down when k<0k < 0
  • Output values change while input values stay the same; every y-coordinate increases or decreases by kk
  • Y-intercept shifts directly by kk units, making this transformation easy to verify on a graph

Horizontal Shift: f(xโˆ’h)f(x - h)

  • Subtract hh inside the functionโ€”the graph moves right when h>0h > 0 and left when h<0h < 0 (opposite of what the sign suggests)
  • Input values adjust while output values stay the same; every x-coordinate shifts by hh
  • Key points like vertices and intercepts all translate horizontally by the same amount

Compare: f(x)+kf(x) + k vs. f(xโˆ’h)f(x - h)โ€”both preserve shape, but vertical shifts affect outputs (intuitive direction) while horizontal shifts affect inputs (counterintuitive direction). If an exam asks why f(xโˆ’3)f(x - 3) shifts right instead of left, explain that you need x=3x = 3 to produce the same output that x=0x = 0 originally did.


Stretches and Compressions

These transformations change the graph's proportions by multiplying coordinates. The key is whether the multiplier affects inputs or outputsโ€”and whether it's greater or less than 1.

Vertical Stretch/Compression: aโ‹…f(x)a \cdot f(x)

  • Multiply outside the functionโ€”if โˆฃaโˆฃ>1|a| > 1, the graph stretches vertically; if 0<โˆฃaโˆฃ<10 < |a| < 1, it compresses toward the x-axis
  • Y-values scale by factor aa while x-values remain fixed; points move farther from or closer to the x-axis
  • Points on the x-axis stay anchored since multiplying zero by any value still yields zero

Horizontal Stretch/Compression: f(ax)f(ax)

  • Multiply inside the functionโ€”if โˆฃaโˆฃ>1|a| > 1, the graph compresses horizontally; if 0<โˆฃaโˆฃ<10 < |a| < 1, it stretches (again, counterintuitive)
  • X-values scale by factor 1a\frac{1}{a} while y-values remain fixed; the graph gets narrower or wider
  • Points on the y-axis stay anchored since the input x=0x = 0 is unaffected by multiplication

Compare: aโ‹…f(x)a \cdot f(x) vs. f(ax)f(ax)โ€”both use multiplication, but vertical scaling works intuitively (multiply by 2, stretch by 2) while horizontal scaling is inverted (multiply input by 2, compress by 12\frac{1}{2}). FRQs often test whether you understand this distinction.


Reflections

Reflections flip the graph across an axis by introducing a negative sign. The placement of the negative determines which axis serves as the mirror.

Reflection Over the X-Axis: โˆ’f(x)-f(x)

  • Negate outside the functionโ€”the graph flips upside down across the x-axis
  • All y-values change sign while x-values remain unchanged; peaks become valleys and vice versa
  • X-intercepts stay fixed since negating zero still produces zero

Reflection Over the Y-Axis: f(โˆ’x)f(-x)

  • Negate inside the functionโ€”the graph flips horizontally across the y-axis
  • All x-values change sign while y-values remain unchanged; left and right sides swap
  • Y-intercept stays fixed since the input x=0x = 0 is unaffected by negation

Compare: โˆ’f(x)-f(x) vs. f(โˆ’x)f(-x)โ€”both involve negation, but the position determines the axis of reflection. Remember: negative outside flips over x-axis (affects y), negative inside flips over y-axis (affects x). For even functions, f(โˆ’x)=f(x)f(-x) = f(x), so the y-axis reflection looks identical to the original.


Special Transformations

Some transformations don't fit neatly into the categories above but appear frequently on exams.

Absolute Value Transformation: โˆฃf(x)โˆฃ|f(x)|

  • Take absolute value of outputsโ€”any portion of the graph below the x-axis reflects upward
  • Negative y-values become positive while positive y-values remain unchanged; the graph never dips below the x-axis
  • Creates sharp corners (cusps) wherever the original function crossed the x-axis, since the graph now "bounces" off it

Composite Transformations

  • Multiple rules apply in sequenceโ€”the standard order is horizontal stretch/compression, horizontal shift, vertical stretch/compression, then vertical shift
  • Work from inside out when analyzing aโ‹…f(b(xโˆ’h))+ka \cdot f(b(x - h)) + k; apply transformations to x first, then to the entire expression
  • Track anchor points through each step to verify your final graph matches the transformed equation

Compare: โˆฃf(x)โˆฃ|f(x)| vs. f(โˆฃxโˆฃ)f(|x|)โ€”both use absolute value, but โˆฃf(x)โˆฃ|f(x)| reflects negative outputs upward while f(โˆฃxโˆฃ)f(|x|) reflects the right half of the graph onto the left (creating y-axis symmetry). This distinction is a common exam trap.


Quick Reference Table

ConceptTransformation Rule
Shift up/downf(x)+kf(x) + k (up if k>0k > 0)
Shift left/rightf(xโˆ’h)f(x - h) (right if h>0h > 0)
Vertical stretch/compressaโ‹…f(x)a \cdot f(x) (stretch if โˆฅaโˆฅ>1\|a\| > 1)
Horizontal stretch/compressf(ax)f(ax) (compress if โˆฅaโˆฅ>1\|a\| > 1)
Reflect over x-axisโˆ’f(x)-f(x)
Reflect over y-axisf(โˆ’x)f(-x)
Reflect negative outputs upโˆฅf(x)โˆฅ\|f(x)\|
General formaโ‹…f(b(xโˆ’h))+ka \cdot f(b(x - h)) + k

Self-Check Questions

  1. Which two transformations both preserve the shape of a graph while changing only its position? How do their effects on coordinates differ?

  2. If g(x)=3f(xโˆ’2)+1g(x) = 3f(x - 2) + 1, describe each transformation applied to f(x)f(x) and state the order in which you would apply them when graphing.

  3. Compare and contrast f(2x)f(2x) and 2f(x)2f(x). Which one makes the graph narrower, and why does the horizontal transformation seem to work "backwards"?

  4. A function has a maximum at (4,6)(4, 6). After applying โˆ’f(x)-f(x), what are the new coordinates of this point, and is it still a maximum?

  5. Explain why โˆฃf(x)โˆฃ|f(x)| and f(โˆฃxโˆฃ)f(|x|) produce different graphs. If f(x)=x2โˆ’4f(x) = x^2 - 4, sketch or describe what each transformation would look like.