Transformations of functions — AP Precalculus
1. What are Function Transformations? ★★☆☆☆ ⏱ 3 min
Function transformations are a set of rules that modify the graph or equation of a known "parent function" $f(x)$ to produce a new related function. This skill lets you analyze complex functions by connecting them to simpler, familiar parents, rather than building graphs from scratch.
Transformations are a core assessed skill in AP Precalculus Unit 1, which makes up 27–30% of your total exam score, tested in both multiple-choice and free-response sections. Common exam questions ask you to match transformed equations to graphs, identify transformations from a given equation, or apply transformations to contextual functions.
2. Rigid Transformations: Translations and Reflections ★★☆☆☆ ⏱ 4 min
Rigid transformations only change the position of the parent function's graph, not its shape or size. The general form for a basic rigid transformation is:
g(x) = f(x - h) + k
The parameter $k$ controls vertical translation: adding $k$ to the output of $f(x)$ shifts every point $(x, y)$ on the original graph to $(x, y + k)$. If $k>0$, the graph shifts up $k$ units, and if $k<0$, it shifts down $|k|$ units. The parameter $h$ controls horizontal translation: replacing the input $x$ with $x-h$ shifts every point $(x, y)$ to $(x + h, y)$. A common point of confusion is the sign: if $h>0$, the graph shifts right $h$ units.
Rigid transformations also include reflections: $g(x) = -f(x)$ reflects the graph over the $x$-axis (flips all $y$-values), while $g(x) = f(-x)$ reflects over the $y$-axis (flips all $x$-values).
Exam tip: Always rewrite horizontal translations in the standard $f(x-h)$ form to confirm the shift direction. For example, rewrite $f(x+5)$ as $f(x - (-5))$ to avoid misreading it as a right shift.
3. Non-Rigid Transformations: Stretches and Compressions ★★★☆☆ ⏱ 5 min
Non-rigid transformations change the shape and size of the parent function's graph, rather than just its position. The general form for scaling transformations is:
g(x) = a f(bx)
For vertical scaling: multiplying the output of $f(x)$ by $a$ scales every $y$-value by $a$. If $|a|>1$, this is a vertical stretch by a factor of $|a|$ (the graph gets taller). If $0<|a|<1$, this is a vertical compression by a factor of $|a|$ (the graph gets shorter). If $a$ is negative, the scaling also includes a reflection over the $x$-axis.
For horizontal scaling: replacing the input $x$ with $bx$ scales every $x$-value by $\frac{1}{|b|}$. If $|b|>1$, this is a horizontal compression by a factor of $\frac{1}{|b|}$ (the graph gets narrower horizontally). If $0<|b|<1$, this is a horizontal stretch by a factor of $\frac{1}{|b|}$ (the graph gets wider horizontally). If $b$ is negative, the scaling also includes a reflection over the $y$-axis. The reciprocal rule for horizontal scaling is the most commonly tested rule for this subtopic.
Exam tip: Remember the reciprocal rule for horizontal scaling: the scale factor is always the reciprocal of the coefficient of $x$ inside the function. Never directly use the coefficient as the scale factor for horizontal transformations.
4. Combined Transformations and Order of Operations ★★★★☆ ⏱ 6 min
When multiple transformations are applied to a parent function, they must be applied in the correct order to get the right equation and graph. The standard form of any fully transformed function is:
g(x) = a \cdot f\left(b(x - h)\right) + k
Order of operations follows the same PEMDAS rules you use to evaluate $g(x)$ for a given input: first process operations on the input $x$ (inside the function), then process operations on the output of $f(x)$ (outside the function). The correct sequence is: 1. Horizontal transformations: shift by $h$, then scale/reflect by $b$ (because you subtract $h$ before multiplying by $b$ inside the parentheses). 2. Vertical transformations: scale/reflect by $a$, then shift by $k$ (because you multiply the output by $a$ before adding $k$). The most common mistake here is failing to factor out $b$ from the input term before identifying $h$, which leads to incorrect horizontal shift values.
Exam tip: Always factor the coefficient of $x$ out of the input term before identifying the horizontal shift. For example, $f(3x + 9) = f(3(x + 3))$, which is a 3-unit left shift, not a 9-unit left shift.
Common Pitfalls
Why: Students associate positive numbers with right movement, and forget the standard form uses $f(x-h)$, so a positive shift inside the function is actually negative $h$.
Why: Students directly match the coefficient $b$ to the scale factor, instead of using the reciprocal rule for horizontal transformations.
Why: Students do not factor out the coefficient of $x$ before reading the shift value $h$.
Why: Students forget order of operations, and do addition before multiplication.
Why: Students mix up whether the negative sign applies to the input (inside $f$) or output (outside $f$).