Precalc
Section 1.comp

Composition & Transformations

Composition and transformations are among the most-tested topics on the final β€” expect 3–4 questions. Every time you chain calculations or modify a known graph, you're using these skills.

⚑ Quick Summary

Composition is just stacking two machines together β€” the output of the first machine becomes the input of the second. If gg doubles a number and ff adds 1, then feeding 3 into gg first gives 6, and feeding 6 into ff gives 7. The order matters: reversing which machine goes first usually gives a different answer.

Average Rate of Change
f(b)βˆ’f(a)bβˆ’a\frac{f(b) - f(a)}{b - a}

Slope of the secant line between (a, f(a)) and (b, f(b))

Composition of Functions
(f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x))

Apply g first, then f β€” read right to left

πŸ“‹ Before You Start

Tap any item if you need a refresher:

Plain-English version

Composition is just stacking two machines together β€” the output of the first machine becomes the input of the second. If gg doubles a number and ff adds 1, then feeding 3 into gg first gives 6, and feeding 6 into ff gives 7. The order matters: reversing which machine goes first usually gives a different answer.

The average rate of change is how fast something is changing between two points β€” it's the same idea as "miles per hour" for a road trip. You take the difference in outputs divided by the difference in inputs, which is just the slope of the line connecting two points on the graph.

Transformations let you take a simple, familiar graph (like a parabola or V-shape) and slide it around, stretch it, or flip it. Adding a number outside the function moves the graph up or down. Changing what's inside the function (like replacing xx with xβˆ’3x - 3) shifts it left or right β€” but here's the tricky part: inside changes go the opposite direction from what you'd expect. Subtracting 3 inside actually moves the graph *right*.

The absolute value function makes a V-shape because it turns every negative input positive β€” it measures distance from zero. You can shift, stretch, and flip this V using the same transformation rules: the vertex (the tip of the V) tells you where the center of the shape landed after all the shifts.

Key Formulas

Average Rate of Change
f(b)βˆ’f(a)bβˆ’a\frac{f(b) - f(a)}{b - a}

Slope of the secant line between (a, f(a)) and (b, f(b))

Composition of Functions
(f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x))

Apply g first, then f β€” read right to left

Vertical & Horizontal Shifts
f(x)+kβ€…β€Š(up/down)f(xβˆ’h)β€…β€Š(rightΒ h)f(x) + k \;\text{(up/down)} \qquad f(x - h) \;\text{(right } h \text{)}

Inside changes move opposite: x - h shifts RIGHT h units

Stretches & Reflections
aβ‹…f(x)β€…β€Š(vert.Β stretch)f(bx)β€…β€Š(horiz.Β compressΒ byΒ 1b)a \cdot f(x) \;\text{(vert. stretch)} \qquad f(bx) \;\text{(horiz. compress by } \tfrac{1}{b}\text{)}

-f(x) reflects over x-axis; f(-x) reflects over y-axis

Absolute Value (Vertex Form)
f(x)=a∣xβˆ’h∣+k,vertexΒ (h,k)f(x) = a|x - h| + k, \quad \text{vertex } (h, k)

a > 0 opens up (V), a < 0 opens down (∧)

Key Takeaways

  • βœ“(f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x)) β€” apply gg first, then ff; order matters
  • βœ“Outside changes (+k+k, aβ‹…fa \cdot f) affect yy directly; inside changes (xβˆ’hx - h, bxbx) affect xx in the opposite way
  • βœ“f(xβˆ’h)f(x - h) shifts right hh; βˆ’f(x)-f(x) reflects over the xx-axis; f(βˆ’x)f(-x) reflects over the yy-axis
  • βœ“Average rate of change =f(b)βˆ’f(a)bβˆ’a= \frac{f(b) - f(a)}{b - a} is just the slope between two points

⚠️ Common Mistakes

  • βœ—Applying composition in the wrong order β€” (f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x)) means apply gg first, then ff; mixing this up gives a completely different answer
  • βœ—Shifting the graph the wrong direction β€” f(xβˆ’3)f(x - 3) shifts RIGHT 3, not left; inside changes always go the opposite way from what you'd expect
  • βœ—Forgetting to distribute the negative in transformations β€” in βˆ’2(x+1)2+5-2(x + 1)^2 + 5, the βˆ’- reflects over the xx-axis AND the 22 stretches vertically; don't miss either piece
  • βœ—Mixing up average rate of change with instantaneous rate β€” average rate of change uses f(b)βˆ’f(a)bβˆ’a\frac{f(b) - f(a)}{b - a}, which is the slope of the secant line between two points