upgrade
upgrade

📈College Algebra

Function Transformations

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 universal language for describing how graphs change—and they show up everywhere in algebra and trigonometry. Whether you're graphing a shifted parabola, analyzing a stretched sine wave, or modeling real-world phenomena, you're applying the same core principles. Exams test whether you can predict how a graph will look based on its equation, and more importantly, whether you understand why each transformation behaves the way it does.

Here's the key insight: every transformation either affects the input (what happens to xx before the function processes it) or the output (what happens to yy after the function produces it). This input-output framework explains why horizontal transformations seem to work "backwards" while vertical ones feel intuitive. Don't just memorize that f(x+2)f(x + 2) shifts left—understand that you're feeding the function values 2 units earlier, so the graph responds 2 units sooner. Master this logic, and you'll handle any transformation problem with confidence.


Shifts: Moving the Graph Without Changing Its Shape

Shifts (or translations) relocate a graph while preserving its exact shape and size. The function's output values stay the same—they just occur at different locations on the coordinate plane.

Vertical Shifts f(x)+kf(x) + k

  • Adding kk to the output shifts the entire graph up or down—every point moves the same vertical distance
  • Positive kk shifts up; negative kk shifts down—this follows your intuition since you're directly adding to yy-values
  • Key points transform predictably: if (2,5)(2, 5) is on f(x)f(x), then (2,5+k)(2, 5+k) is on f(x)+kf(x) + k

Horizontal Shifts f(x+h)f(x + h)

  • Adding hh inside the function shifts the graph horizontally—but in the opposite direction you might expect
  • Positive hh shifts left; negative hh shifts right—think of it as the function "reaching" its values earlier or later
  • The counterintuitive direction occurs because f(x+2)=3f(x + 2) = 3 when x=2x = -2, not when x=2x = 2

Compare: Vertical shifts f(x)+kf(x) + k vs. Horizontal shifts f(x+h)f(x + h)—both preserve shape, but vertical shifts follow intuition (add positive, go up) while horizontal shifts work backwards (add positive, go left). If an FRQ gives you f(x3)+2f(x - 3) + 2, identify the horizontal shift first: right 3, then up 2.


Stretches and Compressions: Scaling the Graph

These transformations change the graph's dimensions by multiplying coordinates by a scale factor. Stretches pull the graph away from an axis; compressions push it toward that axis.

Vertical Stretches and Compressions af(x)af(x)

  • Multiplying the output by aa scales all yy-values—the graph stretches away from or compresses toward the xx-axis
  • a>1|a| > 1 stretches vertically; 0<a<10 < |a| < 1 compresses—a factor of 2 doubles heights, a factor of 12\frac{1}{2} halves them
  • xx-intercepts stay fixed since a0=0a \cdot 0 = 0—these are your anchor points when graphing

Horizontal Stretches and Compressions f(bx)f(bx)

  • Multiplying the input by bb scales all xx-values—but the effect is inverse to what you might expect
  • b>1|b| > 1 compresses horizontally; 0<b<10 < |b| < 1 stretchesf(2x)f(2x) makes the graph narrower, not wider
  • yy-intercept stays fixed since f(b0)=f(0)f(b \cdot 0) = f(0)—this point anchors horizontal scaling

Compare: Vertical scaling af(x)af(x) vs. Horizontal scaling f(bx)f(bx)—both use multiplication, but vertical scaling is intuitive (multiply by 2, get twice as tall) while horizontal scaling inverts (multiply by 2, get half as wide). Remember: inside transformations always work opposite to intuition.


Reflections: Flipping the Graph Across an Axis

Reflections create mirror images of the original graph across a line. Each point maps to its mirror counterpart at equal distance from the axis of reflection.

Reflection Over the xx-Axis f(x)-f(x)

  • Negating the output flips the graph vertically—points above the xx-axis move below, and vice versa
  • xx-intercepts remain unchanged since negating zero still gives zero—these points lie on the mirror line
  • Peaks become valleys and valleys become peaks—maximum values become minimum values

Reflection Over the yy-Axis f(x)f(-x)

  • Negating the input flips the graph horizontally—the left and right sides swap positions
  • yy-intercept remains unchanged since f(0)=f(0)f(-0) = f(0)—this point lies on the mirror line
  • Tests for even functions: if f(x)=f(x)f(-x) = f(x), the function is symmetric about the yy-axis

Compare: xx-axis reflection f(x)-f(x) vs. yy-axis reflection f(x)f(-x)—the negative sign's position determines which axis serves as the mirror. For f(x)-f(x), the negative is outside (affects output, flips vertically). For f(x)f(-x), the negative is inside (affects input, flips horizontally).


Special Transformations: Absolute Value and Composites

These transformations build on the basics but introduce new graphical behaviors. They're especially useful for creating piecewise-looking graphs from smooth functions.

Absolute Value Transformation f(x)|f(x)|

  • Taking the absolute value of the output reflects negative portions above the xx-axis—any part of the graph below the axis "bounces" up
  • Positive portions remain unchanged—only negative yy-values are affected
  • Creates sharp corners at xx-intercepts where the original graph crossed the axis—these corners indicate non-differentiability

Composite Transformations

  • Multiple transformations applied in sequence follow a specific order: horizontal shifts/scales first (inside), then vertical shifts/scales (outside)
  • Order matters critically2f(x)+32f(x) + 3 (stretch then shift) differs from 2(f(x)+3)=2f(x)+62(f(x) + 3) = 2f(x) + 6
  • Standard form af(b(xh))+ka \cdot f(b(x - h)) + k reveals all transformations: aa = vertical scale, bb = horizontal scale, hh = horizontal shift, kk = vertical shift

Compare: f(x)|f(x)| vs. f(x)f(|x|)—these look similar but behave very differently. f(x)|f(x)| reflects negative outputs upward, while f(x)f(|x|) makes the function even by mirroring the right side onto the left. Know which is which for multiple-choice questions.


Parent Functions: Your Starting Points

Understanding parent functions gives you a reference point for all transformations. Every transformed function is just a parent function that's been shifted, scaled, or reflected.

Recognizing and Using Parent Functions

  • Common parent functions include f(x)=xf(x) = x, x2x^2, x3x^3, x\sqrt{x}, x|x|, 1x\frac{1}{x}, and trigonometric functions
  • Key features to memorize: intercepts, domain/range, symmetry, and general shape for each parent
  • Transformation problems typically start here—identify the parent function first, then apply transformations step-by-step using key points

Quick Reference Table

ConceptTransformationEffect on Graph
Vertical Shiftf(x)+kf(x) + kUp if k>0k > 0, down if k<0k < 0
Horizontal Shiftf(x+h)f(x + h)Left if h>0h > 0, right if h<0h < 0
Vertical Stretch/Compressaf(x)af(x)Stretch if $$
Horizontal Stretch/Compressf(bx)f(bx)Compress if $$
xx-Axis Reflectionf(x)-f(x)Flip vertically
yy-Axis Reflectionf(x)f(-x)Flip horizontally
Absolute Valuef(x)\|f(x)\|Reflect negative outputs upward
General Formaf(b(xh))+ka \cdot f(b(x-h)) + kAll transformations combined

Self-Check Questions

  1. If the point (3,4)(3, -4) is on f(x)f(x), what point is on 2f(x1)+5-2f(x - 1) + 5?

  2. Which two transformations both preserve the yy-intercept of a function, and why?

  3. Compare and contrast the graphs of f(x)|f(x)| and f(x)f(|x|) for a function like f(x)=x2f(x) = x - 2. How do they differ?

  4. A student claims that f(x+3)f(x + 3) shifts the graph right because "you're adding 3." Explain the error in their reasoning.

  5. Given g(x)=12(x+4)23g(x) = -\frac{1}{2}(x + 4)^2 - 3, identify the parent function and describe each transformation in the order they should be applied when graphing.