01 / 21

Function
Transformations

Master how shifts, stretches, compressions, and reflections reshape the graph of any parent function using a single general formula.

Math 2

What Is a Parent Function?

A parent function is the simplest version of a function family: no shifts, no stretches, no reflections. Every other function in that family is built by transforming the parent.

\(f(x) = x^2\)
Quadratic: basic U-shaped parabola opening upward
\(f(x) = |x|\)
Absolute value: V-shaped graph with vertex at the origin
\(f(x) = \sqrt{x}\)
Square root: half-parabola curving to the right

Why Transformations Matter

Instead of graphing every function from scratch, you learn one parent shape and then apply simple rules to shift, stretch, or flip it. This lets you quickly sketch and analyze any member of a function family.

The Four Transformation Types

Translations
Slide the graph left, right, up, or down without changing its shape
Vertical Stretch/Compress
Multiply outputs to make the graph taller or shorter
Horizontal Stretch/Compress
Multiply inputs to make the graph wider or narrower
Reflections
Flip the graph across the \(x\)-axis or \(y\)-axis using negation

The General Formula

a
Vertical stretch/compress and reflection: \(|a| > 1\) stretches, \(0 < |a| < 1\) compresses. Negative \(a\) reflects over the \(x\)-axis.
b
Horizontal stretch/compress and reflection: \(|b| > 1\) compresses, \(0 < |b| < 1\) stretches. Negative \(b\) reflects over the \(y\)-axis.
h
Horizontal shift: moves the graph right by \(h\) units (note the subtraction: \(x - h\)).
k
Vertical shift: moves the graph up by \(k\) units.

Visualizing Shifts

x y 2 -2 4 6 2 4 \(f(x)=x^2\) \(f(x-2)\): right 2 \(f(x)+2\): up 2

Vertical Stretch and Compression

x y \(x^2\) \(2x^2\) (stretch) \(0.5x^2\) (compress)

Reflections Across the Axes

x y \(x^2\) \(-x^2\) (x-axis reflection) \(\sqrt{x}\) \(\sqrt{-x}\) (y-axis reflection)

Horizontal Stretch vs Compression

The parameter \(b\) in \(f(bx)\) works opposite to what you might expect. A larger \(|b|\) makes the graph narrower (compresses horizontally), while a smaller \(|b|\) makes it wider (stretches horizontally).

\(|b| > 1\)
Horizontal compression: graph gets narrower by factor \(\frac{1}{|b|}\)
\(0 < |b| < 1\)
Horizontal stretch: graph gets wider by factor \(\frac{1}{|b|}\)

Inside vs Outside the Function

Inside: \(f(\text{change to } x)\) Outside: \(\text{change to } f(x)\)
Affects Horizontal (x-values) Vertical (y-values)
Direction Opposite of sign/size Same as sign/size
Shift \(f(x - h)\): right \(h\) \(f(x) + k\): up \(k\)
Scale \(f(bx)\): compress by \(\frac{1}{b}\) \(a \cdot f(x)\): stretch by \(a\)
Reflect \(f(-x)\): across \(y\)-axis \(-f(x)\): across \(x\)-axis

How to Apply Transformations

1
Identify the parent function \(f(x)\): is it \(x^2\), \(|x|\), \(\sqrt{x}\), or another family?
2
Read the parameters: match the equation to \(g(x) = a \cdot f(b(x - h)) + k\) and extract \(a\), \(b\), \(h\), \(k\).
3
Apply in order: horizontal scale/reflect (\(b\)), then horizontal shift (\(h\)), then vertical scale/reflect (\(a\)), then vertical shift (\(k\)).
4
Transform key points: take 3-5 points from the parent, apply each transformation, and plot the new points.
5
Connect and verify: sketch the curve through transformed points and check that the shape matches your expectations.

Example 1: \(g(x) = (x - 3)^2 + 2\)

x y 0 3 2 (3, 2) \(x^2\) \((x-3)^2+2\)

Example 2: \(g(x) = -2(x + 1)^2 + 5\)

1
Parent: \(f(x) = x^2\)
2
Parameters: \(a = \)\(-2\), \(b = 1\), \(h = \)\(-1\), \(k = \)\(5\)
3
Vertical stretch by 2: the parabola is twice as steep
4
Reflection: negative \(a\) flips it upside down (opens downward)
5
Shifts: left 1, up 5. Vertex: \((-1, 5)\)

Example 3: \(g(x) = \frac{1}{2}|x - 4| - 3\)

x y 4 -3 (4, -3) \(|x|\)

Common Mistakes to Avoid

Wrong Shift Direction
Seeing \(f(x + 3)\) and shifting right. Remember: \(+3\) inside means \(h = -3\), so shift left 3.
Confusing \(a\) and \(b\)
Applying a vertical stretch when the multiplier is on \(x\). Check: is the factor inside or outside the function?
Forgetting Order
Applying vertical shift before stretch. Stretches and reflections happen before translations in the standard form.

Summary of All Transformations

Transformation Notation Effect on Graph
Shift right \(h\) \(f(x - h)\) Every point moves right \(h\)
Shift up \(k\) \(f(x) + k\) Every point moves up \(k\)
Vertical stretch \(a \cdot f(x),\; |a| > 1\) Graph gets taller
Vertical compress \(a \cdot f(x),\; 0 < |a| < 1\) Graph gets shorter
Horiz. compress \(f(bx),\; |b| > 1\) Graph gets narrower
Horiz. stretch \(f(bx),\; 0 < |b| < 1\) Graph gets wider
Reflect \(x\)-axis \(-f(x)\) Flip over \(x\)-axis
Reflect \(y\)-axis \(f(-x)\) Flip over \(y\)-axis

Question 1 of 5

The graph of \(g(x) = (x + 4)^2 - 7\) is the graph of \(f(x) = x^2\) shifted:

Question 2 of 5

Which transformation does \(g(x) = -f(x)\) represent?

Question 3 of 5

For \(g(x) = 3|x| - 1\), which describes the transformation from \(f(x) = |x|\)?

Question 4 of 5

The vertex of \(g(x) = -(x - 5)^2 + 8\) is at:

Question 5 of 5

If \(f(x) = \sqrt{x}\), what is the effect of replacing \(x\) with \(2x\) in \(f(2x) = \sqrt{2x}\)?