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(xโˆ’3)+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 aโ‹…0=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 stretchesโ€”f(2x)f(2x) makes the graph narrower, not wider
  • yy-intercept stays fixed since f(bโ‹…0)=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 criticallyโ€”2f(x)+32f(x) + 3 (stretch then shift) differs from 2(f(x)+3)=2f(x)+62(f(x) + 3) = 2f(x) + 6
  • Standard form aโ‹…f(b(xโˆ’h))+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 Reflectionโˆ’f(x)-f(x)Flip vertically
yy-Axis Reflectionf(โˆ’x)f(-x)Flip horizontally
Absolute Valueโˆฅf(x)โˆฅ\|f(x)\|Reflect negative outputs upward
General Formaโ‹…f(b(xโˆ’h))+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(xโˆ’1)+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)=xโˆ’2f(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)2โˆ’3g(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.