Skip to content
🎯⭐ INTERACTIVE LESSON

Function Transformations

Learn step-by-step with interactive practice!

Function Transformations - Complete Interactive Lesson

Part 1: Parent Functions & the Big Idea

🪞 Function Transformations

Part 1 of 7 — Parent Functions & the Big Idea


Topics in This Part

Section
What Is a Transformation?
The Parent Functions
The Two Families: Inside vs. Outside

🔑 Key Concept: A transformation takes a known graph — a parent function — and moves, stretches, or flips it without changing its basic shape. Master a handful of parent shapes, and you can graph thousands of functions instantly.

What Is a Transformation?

Every transformation we study is built from a parent function f(x)f(x). We change ff in one of two places:

g(x)=a⋅f(b(x−h))+kg(x) = a \cdot f\big(b(x - h)\big) + k

  • The numbers outside ff — the aa and the +k+k — change the output (yy). These behave intuitively.
  • The numbers inside ff — the bb and the −h-h — change the input (xx). These behave backwards (we'll see why in Part 3).

A First Look

ChangeWhat it does
f(x)+kf(x) + kshifts the graph up kk
f(x)−kf(x) - kshifts the graph down kk
f(x−h)f(x - h)shifts the graph right hh
a f(x)a\,f(x)stretches vertically by factor aa
−f(x)-f(x)reflects across the xx-axis

💡 The shape stays the same — a parabola is still a parabola, a line is still a line. Only its position and size change.

The Parent Functions

These are the "starting graphs." Memorizing their basic shape is the foundation of everything that follows.

NameRuleKey feature
Linearf(x)=xf(x) = xline through origin, slope 11
Quadraticf(x)=x2f(x) = x^2U-shaped parabola, vertex (0,0)(0,0)
Cubicf(x)=x3f(x) = x^3S-curve through origin
Square rootf(x)=xf(x) = \sqrt{x}starts at (0,0)(0,0), opens right
Absolute valuef(x)=∣x∣f(x) = \lvert x \rvertV-shape, vertex (0,0)(0,0)
Reciprocalf(x)=1xf(x) = \dfrac{1}{x}hyperbola, asymptotes at axes

Each passes through (or starts at) a memorable anchor point. For x2x^2, ∣x∣\lvert x\rvert, x3x^3, and x\sqrt{x}, that anchor is the origin (0,0)(0,0).

🔑 Key Idea: When you transform a parent function, you are really just relocating its anchor point and adjusting its steepness.

Concept Check 🎯

Match the Parent to Its Shape 🔽

Connect each parent function to its defining feature.

Find the Anchor 🧮

The parent function f(x)=x2f(x) = x^2 has its vertex (anchor point) at the origin. For each transformed graph, the anchor moves. Just read off where it lands.

1) g(x)=x2+5g(x) = x^2 + 5 — the vertex moves to (0, ?)(0, \,?) (enter the yy-coordinate) 2) g(x)=(x−3)2g(x) = (x - 3)^2 — the vertex moves to ( ?,0)(\,?, 0) (enter the xx-coordinate)

The Plan

You now know the two families:

  • Outside changes (aa, kk) act on the output yy — and behave intuitively.
  • Inside changes (bb, hh) act on the input xx — and behave backwards.

Next up, Part 2 tackles the easy family first: vertical transformations, where everything does exactly what you'd expect.

Part 2: Vertical Transformations (the intuitive family)

🪞 Function Transformations

Part 2 of 7 — Vertical Transformations (the intuitive family)


🔑 The Idea: Everything that happens outside f(x)f(x) changes the output yy — and it does exactly what your intuition expects. Add to go up, multiply to stretch taller, negate to flip over the xx-axis.

Vertical Shifts

Adding a constant outside ff moves the whole graph up or down:

g(x)=f(x)+kg(x) = f(x) + k

  • k>0k > 0 → shift up by kk
  • k<0k < 0 → shift down by ∣k∣\lvert k \rvert

Example: g(x)=∣x∣−4g(x) = \lvert x \rvert - 4

Start with the V-shape of ∣x∣\lvert x \rvert (vertex at origin), then slide it down 44. New vertex: (0,−4)(0, -4).

Point on ∣x∣\lvert x\rvertAfter −4-4
(0,0)(0, 0)(0,−4)(0, -4)
(2,2)(2, 2)(2,−2)(2, -2)
(−3,3)(-3, 3)(−3,−1)(-3, -1)

💡 Only the yy-coordinate changes; the xx-coordinate is untouched.

Vertical Stretches, Compressions & Reflections

Multiplying f(x)f(x) by a constant aa scales the output:

g(x)=a⋅f(x)g(x) = a \cdot f(x)

Value of aaEffect
a>1a > 1vertical stretch (taller / steeper)
0<a<10 < a < 1vertical compression (shorter / flatter)
a<0a < 0reflection across the xx-axis (plus stretch/compress by ∣a∣\lvert a\rvert)

Example: g(x)=−2x2g(x) = -2x^2

The −- flips the parabola to open downward; the 22 makes it twice as steep.

Point (1,1) on x2  ⟶  (1,−2) on −2x2\text{Point } (1, 1) \text{ on } x^2 \;\longrightarrow\; (1, -2) \text{ on } -2x^2

⚠️ A negative aa does two things: it reflects AND scales by ∣a∣\lvert a\rvert. Don't forget the reflection.

Concept Check 🎯

Name the Vertical Transformation 🔽

Each gg comes from the parent ff. Identify what happened.

Track the Point 🧮

The point (4,2)(4, 2) lies on the parent f(x)=xf(x) = \sqrt{x}. Find its image (new coordinates) under each vertical transformation.

1) g(x)=x+3g(x) = \sqrt{x} + 3 → image is (4, ?)(4, \,?) 2) g(x)=5xg(x) = 5\sqrt{x} → image is (4, ?)(4, \,?) 3) g(x)=−xg(x) = -\sqrt{x} → image is (4, ?)(4, \,?)

Part 3: Horizontal Transformations (the backwards family)

🪞 Function Transformations

Part 3 of 7 — Horizontal Transformations (the backwards family)


🔑 The Twist: Everything inside ff acts on the input xx — and it does the opposite of what you'd expect. f(x−3)f(x - 3) shifts right, not left. We'll prove why.

Why "Inside" Is Backwards

Consider g(x)=f(x−3)g(x) = f(x - 3). To get the same output the parent had at x=0x = 0, the new function needs its input to satisfy x−3=0x - 3 = 0, i.e. x=3x = 3.

Parent value at 0  ⟹  new graph reaches it at x=3  ⇒  shift RIGHT 3\text{Parent value at } 0 \;\Longrightarrow\; \text{new graph reaches it at } x = 3 \;\Rightarrow\; \text{shift RIGHT } 3

So a minus inside shifts right, and a plus inside shifts left — the opposite of the sign.

TransformationDirection
f(x−h)f(x - h)shift right hh
f(x+h)f(x + h)shift left hh

Example: g(x)=x+2g(x) = \sqrt{x + 2}

This is f(x+2)f(x + 2) with f=xf = \sqrt{x}, so it shifts the square-root graph left 22. Its starting point moves from (0,0)(0,0) to (−2,0)(-2, 0).

Horizontal Stretches, Compressions & Reflections

Multiplying the input by bb scales horizontally — also backwards:

g(x)=f(bx)g(x) = f(bx)

Value of bbEffect
b>1b > 1horizontal compression by 1b\dfrac{1}{b} (squeezes toward yy-axis)
0<b<10 < b < 1horizontal stretch by 1b\dfrac{1}{b} (pulls away from yy-axis)
b<0b < 0reflection across the yy-axis

Example: g(x)=f(2x)g(x) = f(2x)

Multiplying the input by 22 compresses the graph horizontally by a factor of 12\tfrac{1}{2} — the graph reaches each output at half the xx-distance.

⚠️ Inside is backwards twice over: b=2b = 2 does NOT stretch by 22; it compresses by 12\tfrac{1}{2}. And f(−x)f(-x) reflects over the yy-axis (compare −f(x)-f(x), which reflected over the xx-axis in Part 2).

Concept Check 🎯

Inside or Outside? Which Way? 🔽

Classify each transformation of the parent ff.

Track the Point (Horizontally) 🧮

The point (6,9)(6, 9) lies on a parent function ff. Find the xx-coordinate of its image under each horizontal transformation. (The yy-coordinate stays 99 for all of these.)

1) g(x)=f(x−2)g(x) = f(x - 2) → image xx-coordinate = ?= \,? 2) g(x)=f(2x)g(x) = f(2x) → image xx-coordinate = ?= \,? 3) g(x)=f(−x)g(x) = f(-x) → image xx-coordinate = ?= \,?

Part 4: Combining Transformations & Order

🪞 Function Transformations

Part 4 of 7 — Combining Transformations & Order


🔑 The Goal: Read a function like g(x)=−2(x−3)2+1g(x) = -2(x-3)^2 + 1 and list every transformation, in the correct order, that turns the parent into it.

The General Form

g(x)=a⋅f(b(x−h))+kg(x) = a \cdot f\big(b(x - h)\big) + k

Read off the four numbers:

ParameterControlsWatch out for
aavertical stretch / reflect over xx-axissign == reflection
bbhorizontal compress / reflect over yy-axisfactor is 1/b1/b, sign == reflection
hhhorizontal shiftopposite sign: (x−h)(x-h) shifts right hh
kkvertical shiftsame sign: +k+k shifts up

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

Here a=−2a = -2, h=3h = 3, k=1k = 1 (and b=1b = 1). So, starting from f(x)=x2f(x) = x^2:

  • Reflect over the xx-axis and stretch vertically by 22 (from a=−2a = -2)
  • Shift right 33 (from h=3h = 3)
  • Shift up 11 (from k=1k = 1)

Vertex moves from (0,0)(0,0) to (3,1)(3, 1), and the parabola opens down.

Why Order Matters

When transformations affect the same direction, order changes the result. A safe, reliable order:

  1. Horizontal inside work: factor out bb, handle reflections/stretches, then the shift hh.
  2. Vertical outside work: apply aa (stretch/reflect), then add kk.

⚠️ Classic trap: stretch-then-shift ≠\ne shift-then-stretch. For g(x)=2f(x)+3g(x) = 2f(x) + 3, you must multiply first, then add 33. Doing it backwards, 2(f(x)+3)=2f(x)+62(f(x)+3) = 2f(x) + 6, gives the wrong graph.

Example: applying g(x)=2x−3g(x) = 2\sqrt{x} - 3 to the point (4,2)(4, 2)

y:2⋅2⏟stretch=4,4−3=1y: \quad 2 \cdot \underbrace{2}_{\text{stretch}} = 4, \qquad 4 - 3 = 1

So (4,2)(4, 2) maps to (4,1)(4, 1) — multiply by 22 first, subtract 33 second.

Concept Check 🎯

Decode Each Parameter 🔽

For g(x)=−12(x+6)2−4g(x) = -\dfrac{1}{2}(x + 6)^2 - 4 built from f(x)=x2f(x) = x^2, identify what each piece does.

Apply Two Steps in Order 🧮

The point (9,3)(9, 3) lies on f(x)=xf(x) = \sqrt{x}. Apply g(x)=−2x+1g(x) = -2\sqrt{x} + 1 to find the image.

1) First, the stretch & reflection −2⋅3= ?-2 \cdot 3 = \,? (the intermediate yy-value) 2) Then add 11: final yy-coordinate = ?= \,? 3) The xx-coordinate of the image is = ?= \,? (no horizontal change)

Part 5: Mapping Points & Reading Graphs

🪞 Function Transformations

Part 5 of 7 — Mapping Points & Reading Graphs


🔑 Skill: Given any point on the parent, instantly produce its image — and run it in reverse to recover the parent's points from a transformed graph. This is exactly what AP free-response asks.

The Coordinate Mapping Rule

For g(x)=a f(b(x−h))+kg(x) = a\,f\big(b(x - h)\big) + k, a point (x0,y0)(x_0, y_0) on ff maps to:

(x0b+h,    a y0+k)\left(\dfrac{x_0}{b} + h,\;\; a\,y_0 + k\right)

In words:

  • New xx: divide the old xx by bb, then add hh.
  • New yy: multiply the old yy by aa, then add kk.

Example: g(x)=3f(2x−4)+1g(x) = 3f(2x - 4) + 1

First rewrite the inside in b(x−h)b(x-h) form: 2x−4=2(x−2)2x - 4 = 2(x - 2), so b=2b = 2, h=2h = 2, a=3a = 3, k=1k = 1.

A point (6,5)(6, 5) on ff maps to:

(62+2,    3⋅5+1)=(3+2,  16)=(5,16)\left(\dfrac{6}{2} + 2,\;\; 3 \cdot 5 + 1\right) = (3 + 2,\; 16) = (5, 16)

💡 Always factor out bb first. f(2x−4)f(2x - 4) is NOT a shift of 44; it is f(2(x−2))f\big(2(x-2)\big) — a compression by 12\tfrac12 and a shift right 22.

Reading a Transformed Graph (Reverse Direction)

If you're handed the graph of gg and asked about ff, undo each step:

x0=b (xg−h),y0=yg−kax_0 = b\,(x_g - h), \qquad y_0 = \dfrac{y_g - k}{a}

Example

g(x)=2f(x−1)−3g(x) = 2f(x - 1) - 3 passes through (4,7)(4, 7). Which point is on ff?

  • Undo the vertical: y0=7−(−3)2=102=5y_0 = \dfrac{7 - (-3)}{2} = \dfrac{10}{2} = 5
  • Undo the horizontal: x0=1⋅(4−1)=3x_0 = 1 \cdot (4 - 1) = 3

So (3,5)(3, 5) is on ff.

✅ Check forward: f(3)=5⇒g(4)=2(5)−3=7f(3) = 5 \Rightarrow g(4) = 2(5) - 3 = 7 ✓

Concept Check 🎯

Map the Point 🧮

The point (8,4)(8, 4) lies on ff. Apply g(x)=2f ⁣(12x)−3g(x) = 2f\!\left(\tfrac{1}{2}x\right) - 3. Use new x=x0b+hx = \dfrac{x_0}{b} + h and new y=a y0+ky = a\,y_0 + k with a=2, b=12, h=0, k=−3a = 2,\ b = \tfrac12,\ h = 0,\ k = -3.

1) New xx-coordinate = ?= \,? 2) New yy-coordinate = ?= \,?

Reverse-Engineer the Parent 🔽

g(x)=−f(x+2)+4g(x) = -f(x + 2) + 4 passes through the point (1,6)(1, 6). Recover the matching point on ff.

Part 6: Symmetry & Modeling

🪞 Function Transformations

Part 6 of 7 — Symmetry & Modeling


🔑 Connection: Reflections lead straight into even/odd symmetry, and shifts/stretches let you build a model to fit real data. This is where transformations earn their keep on the AP exam.

Even & Odd Symmetry

Symmetry is a transformation that leaves the graph unchanged:

TypeAlgebraGeometry
Evenf(−x)=f(x)f(-x) = f(x)symmetric across the yy-axis
Oddf(−x)=−f(x)f(-x) = -f(x)symmetric about the origin (180° rotation)

Examples

  • f(x)=x2f(x) = x^2 is even: f(−x)=(−x)2=x2=f(x)f(-x) = (-x)^2 = x^2 = f(x). Reflecting over the yy-axis gives the same parabola.
  • f(x)=x3f(x) = x^3 is odd: f(−x)=(−x)3=−x3=−f(x)f(-x) = (-x)^3 = -x^3 = -f(x). A yy-axis reflection then an xx-axis reflection returns the original.
  • f(x)=∣x∣f(x) = \lvert x \rvert is even; f(x)=1xf(x) = \dfrac{1}{x} is odd.

💡 If a point (a,b)(a, b) is on an even function, so is (−a,b)(-a, b). If (a,b)(a, b) is on an odd function, so is (−a,−b)(-a, -b).

Concept Check 🎯

Modeling with Transformations

To fit a parent function to data, choose a,h,ka, h, k so the anchor and scale match.

Example: a quadratic model

A ball's height (ft) over time tt (s) peaks at 2020 ft at time t=2t = 2, starting from the parent f(t)=t2f(t) = t^2.

Because the peak is a maximum, the parabola opens down (a<0a < 0). The vertex is (2,20)(2, 20), so h=2h = 2, k=20k = 20:

H(t)=a(t−2)2+20H(t) = a(t - 2)^2 + 20

If at t=0t = 0 the height is 00:   0=a(0−2)2+20=4a+20⇒a=−5\;0 = a(0-2)^2 + 20 = 4a + 20 \Rightarrow a = -5.

H(t)=−5(t−2)2+20\boxed{H(t) = -5(t - 2)^2 + 20}

✅ Check: H(2)=20H(2) = 20 (the peak) and H(0)=−5(4)+20=0H(0) = -5(4) + 20 = 0 ✓.

Build the Model 🔽

A V-shaped cost curve from f(x)=∣x∣f(x) = \lvert x \rvert has its minimum at the point (4,3)(4, 3) and opens upward. Choose the correct parameters for g(x)=a∣x−h∣+kg(x) = a\lvert x - h\rvert + k.

Solve for the Stretch 🧮

A parabola opening downward has vertex (1,8)(1, 8) and passes through (3,0)(3, 0). It has the form g(x)=a(x−1)2+8g(x) = a(x - 1)^2 + 8.

1) Substitute the point: 0=a(3−1)2+80 = a(3 - 1)^2 + 8. What is (3−1)2(3-1)^2? = ?= \,? 2) Solve 0=4a+80 = 4a + 8 for aa: a= ?a = \,?

Part 7: Mixed Mastery & Exit Quiz

🪞 Function Transformations

Part 7 of 7 — Mixed Mastery & Exit Quiz


You can now (1) identify parent functions, (2) apply vertical transformations, (3) apply backwards horizontal transformations, (4) combine them in order, (5) map points both ways, and (6) use symmetry and modeling. Time to put it all together.

Quick Reference

For g(x)=a f(b(x−h))+kg(x) = a\,f\big(b(x - h)\big) + k:

PieceLocationEffectDirection sense
kkoutsidevertical shiftsame sign
aaoutsidevertical stretch / xx-axis reflection∣a∣\lvert a\rvert, sign flips
hhinsidehorizontal shiftopposite sign
bbinsidehorizontal compress / yy-axis reflectionfactor 1/b1/b, sign flips

Point mapping: (x0,y0)→(x0b+h,  a y0+k)(x_0, y_0) \to \left(\dfrac{x_0}{b} + h,\; a\,y_0 + k\right).

⚠️ Top two traps: (1) inside changes are backwards; (2) always factor out bb before reading the shift hh.

Mixed Practice 🎯

Mixed Drill 🧮

The function g(x)=4(x+1)2−9g(x) = 4(x + 1)^2 - 9 is built from f(x)=x2f(x) = x^2.

1) Vertex xx-coordinate = ?= \,? 2) Vertex yy-coordinate = ?= \,? 3) Vertical stretch factor (the value of aa) = ?= \,?

Exit Quiz ✅

Answer all three to finish the lesson.