Fiveable

📈College Algebra Unit 3 Review

QR code for College Algebra practice questions

3.5 Transformation of Functions

3.5 Transformation of Functions

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
📈College Algebra
Unit & Topic Study Guides

Function transformations let you take a base function and shift, reflect, stretch, or compress its graph without changing its core shape. Once you understand these rules, you can quickly sketch complex graphs by starting from a simple parent function and applying changes step by step.

Function Transformations

Vertical and Horizontal Shifts

Shifts slide the entire graph in one direction without altering its shape.

Vertical shifts move the graph up or down along the y-axis:

  • f(x)+kf(x) + k shifts the graph up by kk units
  • f(x)kf(x) - k shifts the graph down by kk units

Horizontal shifts move the graph left or right along the x-axis. These work opposite to what you might expect:

  • f(xh)f(x - h) shifts the graph right by hh units
  • f(x+h)f(x + h) shifts the graph left by hh units

The counterintuitive direction of horizontal shifts trips up a lot of students. Think of it this way: in f(x3)f(x - 3), the function reaches the same y-value that f(x)f(x) had, but 3 units later (to the right), because you need x=3x = 3 just to get f(0)f(0).

Vertical shifts change the range but not the domain. Horizontal shifts change the domain but not the range.

Vertical and horizontal shifts, Transformations of Functions | College Algebra

Reflections Across Axes

Reflections flip the graph over an axis, creating a mirror image.

  • f(x)-f(x) reflects across the x-axis (flips the graph upside down by negating all y-values)
  • f(x)f(-x) reflects across the y-axis (flips the graph left-to-right by negating all x-inputs)

A quick way to remember: the negative sign goes where the change happens. Negative outside the function affects y (x-axis reflection). Negative inside the function affects x (y-axis reflection).

Vertical and horizontal shifts, Combine vertical and horizontal shifts | College Algebra

Even and Odd Functions

Symmetry in functions connects directly to reflections.

Even functions are symmetric about the y-axis, meaning reflecting across the y-axis leaves the graph unchanged. The test: f(x)=f(x)f(-x) = f(x) for all xx in the domain. Common examples include f(x)=x2f(x) = x^2 and f(x)=xf(x) = |x|.

Odd functions are symmetric about the origin, meaning a 180° rotation around the origin leaves the graph unchanged. The test: f(x)=f(x)f(-x) = -f(x) for all xx in the domain. Common examples include f(x)=x3f(x) = x^3 and f(x)=xf(x) = x.

Most functions are neither even nor odd. For instance, f(x)=2xf(x) = 2^x fails both tests. To classify a function, plug in x-x and simplify. If you get back the original, it's even. If you get the negative of the original, it's odd. If neither, it's neither.

Compressions and Stretches

These transformations change how "tall" or "wide" the graph appears.

Vertical stretches and compressions multiply the output:

  • af(x)a \cdot f(x) where a>1|a| > 1 stretches the graph vertically (pulls it away from the x-axis)
  • af(x)a \cdot f(x) where 0<a<10 < |a| < 1 compresses the graph vertically (pushes it toward the x-axis)

For example, 2f(x)2f(x) doubles every y-value, making the graph twice as tall. And 0.5f(x)0.5f(x) halves every y-value, making the graph half as tall.

Horizontal stretches and compressions multiply the input:

  • f(bx)f(bx) where b>1|b| > 1 compresses the graph horizontally by a factor of 1b\frac{1}{|b|}
  • f(bx)f(bx) where 0<b<10 < |b| < 1 stretches the graph horizontally by a factor of 1b\frac{1}{|b|}

Horizontal changes are again counterintuitive: a larger value of b|b| makes the graph narrower, not wider. For example, f(2x)f(2x) compresses the graph to half its original width because every x-value is reached twice as fast.

Combining Multiple Transformations

When a function has several transformations at once, apply them in this order:

  1. Horizontal stretch/compression
  2. Reflection(s)
  3. Horizontal shift
  4. Vertical stretch/compression (and vertical reflection, if present)
  5. Vertical shift

Example: Break down g(x)=2f(3x1)+4g(x) = -2f(3x - 1) + 4.

First, rewrite the inside to see the horizontal shift clearly: 3x1=3(x13)3x - 1 = 3(x - \frac{1}{3}).

Now apply transformations step by step:

  1. Horizontal compression by a factor of 13\frac{1}{3} (from the 33 multiplying xx)
  2. Horizontal shift right by 13\frac{1}{3} units (from the 13-\frac{1}{3} inside)
  3. Vertical stretch by a factor of 22 (from the 22 multiplying ff)
  4. Reflection across the x-axis (from the negative sign)
  5. Vertical shift up by 44 units (from the +4+4)

Common mistake: Students often read 3x13x - 1 and say the horizontal shift is 1 unit right. You need to factor out the coefficient first: 3(x13)3(x - \frac{1}{3}), so the shift is actually 13\frac{1}{3} unit right.