Fiveable

๐Ÿ“Honors Pre-Calculus Unit 1 Review

QR code for Honors Pre-Calculus practice questions

1.5 Transformation of Functions

1.5 Transformation of Functions

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025
๐Ÿ“Honors Pre-Calculus
Unit & Topic Study Guides
Pep mascot

Function Transformations

Function transformations let you take a parent function you already know and modify its graph by shifting, stretching, compressing, or reflecting it. Instead of graphing every new function from scratch, you can start with a familiar shape and apply predictable changes to get the new one.

This is one of the most practical skills in pre-calc. Once you understand how each transformation works, you can quickly sketch graphs, interpret equations, and build complex functions out of simple ones.

Pep mascot
more resources to help you study

Vertical and Horizontal Shifts

Shifts (also called translations) slide the entire graph without changing its shape or size.

Vertical shifts add a constant kk to the output: f(x)+kf(x) + k

  • Positive kk shifts the graph up (e.g., f(x)+3f(x) + 3 moves every point up 3 units)
  • Negative kk shifts the graph down (e.g., f(x)โˆ’2f(x) - 2 moves every point down 2 units)

Horizontal shifts add a constant hh inside the function argument: f(xโˆ’h)f(x - h)

  • Positive hh shifts the graph right (e.g., f(xโˆ’1)f(x - 1) shifts right 1 unit)
  • Negative hh shifts the graph left (e.g., f(x+4)=f(xโˆ’(โˆ’4))f(x + 4) = f(x - (-4)) shifts left 4 units)

The horizontal direction is counterintuitive for most people. The key: the shift goes in the opposite direction of the sign you see inside the parentheses. If you see f(x+4)f(x + 4), the graph moves left, not right. Think of it this way: the function "reaches" its original output values sooner (4 units to the left).

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

Reflections Across Axes

Reflections flip the graph over an axis.

  • Reflection across the x-axis: Multiply the entire function by โˆ’1-1 to get โˆ’f(x)-f(x). This negates every y-value, flipping the graph vertically.
    • Example: if f(x)=x2f(x) = x^2, then โˆ’f(x)=โˆ’x2-f(x) = -x^2 turns the upward-opening parabola into a downward-opening one.
  • Reflection across the y-axis: Replace xx with โˆ’x-x to get f(โˆ’x)f(-x). This mirrors the graph horizontally.
    • Example: if f(x)=x3f(x) = x^3, then f(โˆ’x)=(โˆ’x)3=โˆ’x3f(-x) = (-x)^3 = -x^3 reflects the cubic across the y-axis.

A quick way to remember: negating outside the function (โˆ’f(x)-f(x)) flips over the x-axis. Negating inside the function (f(โˆ’x)f(-x)) flips over the y-axis.

Vertical and horizontal shifts, Transformation of Functions | Precalculus

Even and Odd Functions

Symmetry and reflections connect directly to the idea of even and odd functions.

  • Even functions satisfy f(โˆ’x)=f(x)f(-x) = f(x) for all xx in the domain. Their graphs are symmetric about the y-axis, meaning reflecting across the y-axis produces the same graph.
    • Example: f(x)=x2f(x) = x^2 is even because f(โˆ’x)=(โˆ’x)2=x2=f(x)f(-x) = (-x)^2 = x^2 = f(x)
  • Odd functions satisfy f(โˆ’x)=โˆ’f(x)f(-x) = -f(x) for all xx in the domain. Their graphs are symmetric about the origin, meaning a 180ยฐ rotation around the origin produces the same graph.
    • Example: f(x)=x3f(x) = x^3 is odd because f(โˆ’x)=(โˆ’x)3=โˆ’x3=โˆ’f(x)f(-x) = (-x)^3 = -x^3 = -f(x)
  • Neither even nor odd: Most functions don't have either type of symmetry.
    • Example: f(x)=x2+xf(x) = x^2 + x is neither, because f(โˆ’x)=x2โˆ’xf(-x) = x^2 - x, which equals neither f(x)f(x) nor โˆ’f(x)-f(x)

To test algebraically, compute f(โˆ’x)f(-x) and compare it to both f(x)f(x) and โˆ’f(x)-f(x). If it matches f(x)f(x), the function is even. If it matches โˆ’f(x)-f(x), it's odd. If neither, it's neither.

Compressions and Stretches

Scaling transformations change how "wide" or "tall" the graph is.

Vertical scaling multiplies the function by a constant aa: aโ‹…f(x)a \cdot f(x)

  • โˆฃaโˆฃ>1|a| > 1 stretches the graph vertically (e.g., 2f(x)2f(x) doubles every y-value, making the graph taller)
  • 0<โˆฃaโˆฃ<10 < |a| < 1 compresses the graph vertically (e.g., 13f(x)\frac{1}{3}f(x) shrinks every y-value to one-third, making the graph flatter)
  • If aa is negative, you also get a reflection across the x-axis combined with the scaling

Horizontal scaling multiplies xx by a constant bb inside the function: f(bx)f(bx)

  • โˆฃbโˆฃ>1|b| > 1 compresses the graph horizontally (e.g., f(2x)f(2x) squeezes the graph to half its original width)
  • 0<โˆฃbโˆฃ<10 < |b| < 1 stretches the graph horizontally (e.g., f(14x)f(\frac{1}{4}x) stretches the graph to 4 times its original width)
  • If bb is negative, you also get a reflection across the y-axis combined with the scaling

Just like with shifts, horizontal scaling behaves opposite to what you might expect. A larger value of bb inside f(bx)f(bx) makes the graph narrower, not wider. The x-values need to be smaller to produce the same outputs, so everything gets compressed toward the y-axis.

Vertical and horizontal shifts, Transformation of Functions | Precalculus

Combining Function Transformations

When multiple transformations are applied at once, order matters. Follow this sequence:

  1. Horizontal scaling and reflection (the bb factor inside the function)
  2. Horizontal shift (the hh value inside the function)
  3. Vertical scaling and reflection (the aa factor outside the function)
  4. Vertical shift (the kk value added outside)

The general form of a fully transformed function is:

aโ‹…f(xโˆ’hb)+ka \cdot f\left(\frac{x - h}{b}\right) + k

where:

  • aa = vertical scale/reflection factor
  • bb = horizontal scale/reflection factor
  • hh = horizontal shift (positive shifts right)
  • kk = vertical shift (positive shifts up)

Example: Given f(x)=x2f(x) = x^2, describe the transformations in g(x)=โˆ’2f(3x+1)โˆ’4g(x) = -2f(3x + 1) - 4.

First, rewrite the inside to match the general form. Factor out the horizontal scale from the argument:

3x+1=3(x+13)=3(xโˆ’(โˆ’13))3x + 1 = 3\left(x + \frac{1}{3}\right) = 3\left(x - \left(-\frac{1}{3}\right)\right)

Now you can read off the parameters:

  • a=โˆ’2a = -2: vertical stretch by a factor of 2, reflected across the x-axis
  • b=13b = \frac{1}{3}: horizontal compression by a factor of 3
  • h=โˆ’13h = -\frac{1}{3}: horizontal shift left by 13\frac{1}{3} units
  • k=โˆ’4k = -4: vertical shift down 4 units

Advanced Function Concepts

Several related ideas build on transformations and come up throughout the rest of the course:

  • Function composition combines two functions by using the output of one as the input of another, written (fโˆ˜g)(x)=f(g(x))(f \circ g)(x) = f(g(x))
  • Inverse functions reverse a function's input and output. If f(a)=bf(a) = b, then fโˆ’1(b)=af^{-1}(b) = a
  • Piecewise functions use different rules for different intervals of the domain
  • One-to-one functions produce a unique output for every input (they pass the horizontal line test), which is the requirement for an inverse function to exist