Transformations of functions — AP Precalculus Study Guide
For: AP Precalculus candidates sitting AP Precalculus.
Covers: vertical and horizontal translations, reflections over coordinate axes, vertical and horizontal stretches and compressions, combined transformations, order of transformation operations, and transformations of polynomial and rational functions.
You should already know: function notation, evaluating functions for given inputs, graphing basic polynomial and rational functions.
A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the AP Precalculus style for educational use. They are not reproductions of past College Board / Cambridge / IB papers and may differ in wording, numerical values, or context. Use them to practise the technique; cross-check with official mark schemes for grading conventions.
1. What Is Transformations of functions?
Function transformations are a set of rules that describe how to modify the graph or equation of a known "parent function" 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. According to the AP Precalculus Course and Exam Description (CED), Unit 1: Polynomial and Rational Functions makes up 27–30% of the total exam score, and transformations are a core skill assessed in both multiple-choice (MCQ) and free-response (FRQ) sections. Common exam questions ask you to match transformed equations to graphs, identify transformations from a given equation, or apply transformations to contextual functions. Synonyms for this topic include graph transformations and function shifts. It is one of the most frequently tested foundational skills in the first unit of the course.
2. Rigid Transformations: Translations and Reflections
Rigid transformations are transformations that only change the position of the parent function's graph, not its shape or size. The general form for a rigid transformation is: The parameter controls vertical translation: adding to the output of shifts every point on the original graph to . This means if , the graph shifts up units, and if , it shifts down units. The parameter controls horizontal translation: replacing the input with shifts every point on the original graph to . A common point of confusion is the sign: if , the graph shifts right units, because to get the same output value , you need to input into , so the point that was at is now at . Rigid transformations also include reflections: reflects the graph over the -axis (flips all -values), while reflects over the -axis (flips all -values).
Worked Example
Problem: The parent function has a vertex at . Give the equation of the function after a translation 4 units left, 1 unit up, then a reflection over the -axis. What are the coordinates of the new vertex?
- First, apply the translation: 4 units left means , so . 1 unit up means , so after translation we get .
- Apply reflection over the -axis: multiply the entire function by to flip the sign of all outputs, giving .
- The original vertex at is shifted 4 left and 1 up to .
- Reflection over the -axis flips the sign of the -coordinate, so the new vertex is .
Exam tip: Always rewrite horizontal translations in the standard form to confirm the shift direction. For example, rewrite as to avoid misreading it as a right shift.
3. Non-Rigid Transformations: Stretches and Compressions
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 , where controls vertical scaling and controls horizontal scaling. For vertical scaling: multiplying the output of by scales every -value by . If , this is a vertical stretch by a factor of (the graph gets taller). If , this is a vertical compression by a factor of (the graph gets shorter). If is negative, the scaling also includes a reflection over the -axis. For horizontal scaling: replacing the input with scales every -value by . If , this is a horizontal compression by a factor of (the graph gets narrower horizontally). If , this is a horizontal stretch by a factor of (the graph gets wider horizontally). If is negative, the scaling also includes a reflection over the -axis. The reciprocal rule for horizontal scaling is the most commonly tested rule for this subtopic.
Worked Example
Problem: Given parent function , write the equation of the transformed function after a horizontal compression by a factor of and a vertical stretch by a factor of 4. What is the value of the transformed function at ?
- A horizontal compression by factor means the scale factor , so solving for gives . There is no reflection, so .
- A vertical stretch by factor 4 means , with no reflection, so the general form is .
- Substitute to get .
- Evaluate at : .
Exam tip: Remember the reciprocal rule for horizontal scaling: the scale factor is always the reciprocal of the coefficient of inside the function. Never directly use the coefficient as the scale factor for horizontal transformations.
4. Combined Transformations and Order of Operations
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: Order of operations follows the same PEMDAS rules you use to evaluate for a given input: first process operations on the input (inside the function), then process operations on the output of (outside the function). The correct sequence is:
- Horizontal transformations: shift by , then scale/reflect by (because you subtract before multiplying by inside the parentheses)
- Vertical transformations: scale/reflect by , then shift by (because you multiply the output by before adding ) The most common mistake here is failing to factor out from the input term before identifying , which leads to incorrect horizontal shift values.
Worked Example
Problem: Rewrite the rational function as a transformation of the parent function , then list all transformations in order.
- Rewrite the numerator to separate the constant term: .
- Simplify the function: .
- Write in standard form: , so , , , .
- List transformations in order: (1) Shift 3 units left (no horizontal scaling/reflect), (2) Stretch vertically by a factor of 5, reflect over the -axis, then shift up 2 units. Verify: the point on becomes after transformations, and , which matches.
Exam tip: Always factor the coefficient of out of the input term before identifying the horizontal shift. For example, , which is a 3-unit left shift, not a 9-unit left shift.
5. Common Pitfalls (and how to avoid them)
- Wrong move: Interpreting as a 4-unit shift right instead of 4 units left. Why: Students associate positive numbers with right movement, and forget the standard form uses , so a positive shift inside the function is actually negative . Correct move: Always rewrite the input as to confirm: , so , which is a 4-unit left shift.
- Wrong move: Interpreting as a horizontal stretch by a factor of 4 instead of a horizontal compression by a factor of 4. Why: Students directly match the coefficient to the scale factor, instead of using the reciprocal rule for horizontal transformations. Correct move: For input coefficient , the horizontal scale factor is always , so gives a scale factor of , which is a compression.
- Wrong move: Calculating a 6-unit left shift for , instead of a 3-unit left shift. Why: Students do not factor out the coefficient of before reading the shift value . Correct move: Always factor the coefficient of inside the function: , so , which is a 3-unit left shift.
- Wrong move: Applying vertical shift before vertical stretch for , leading to incorrect output values. Why: Students forget order of operations, and do addition before multiplication. Correct move: Always apply stretches/compressions/reflections (multiplication steps) before vertical shifts (addition steps), following PEMDAS order.
- Wrong move: Confusing as a reflection over the -axis instead of the -axis. Why: Students mix up whether the negative sign applies to the input (inside ) or output (outside ). Correct move: Negative outside flips -values → reflection over -axis; negative inside flips -values → reflection over -axis.
6. Practice Questions (AP Precalculus Style)
Question 1 (Multiple Choice)
The graph of is shifted 1 unit right, reflected over the -axis, then shifted 3 units down. Which of the following is the equation of the transformed function? A) B) C) D)
Worked Solution: We apply transformations in the order given in the problem. First, shifting 1 unit right replaces with in , giving . Next, reflecting over the -axis replaces all inputs with , so we substitute to get . Finally, shifting 3 units down subtracts 3 from the entire function, giving . Substituting gives , which matches option C. The correct answer is C.
Question 2 (Free Response)
Let the parent function be , and let . (a) Rewrite in the form , and identify all transformations applied to to get . (b) The vertex of is at . What are the coordinates of the vertex of ? (c) Verify your answer by calculating the vertex coordinates using the quadratic vertex formula for .
Worked Solution: (a) Complete the square to rewrite : $$ \begin{align*} g(x) &= 2x^2 - 12x + 7 \ &= 2(x^2 - 6x) + 7 \ &= 2\left((x^2 - 6x + 9) - 9\right) + 7 \ &= 2(x - 3)^2 - 18 + 7 = 2(x - 3)^2 - 11 \end{align*} $$ So . Transformations: shift 3 units right, stretch vertically by a factor of 2, then shift 11 units down. (b) Original vertex at . Shifting 3 right and 11 down gives ; vertical stretch does not change the -coordinate of the vertex, so the final vertex is . (c) For , , , so . Substitute back to find , which confirms the vertex is .
Question 3 (Application / Real-World Style)
A local bakery models its monthly profit , in thousands of dollars, months after January 2023, as , a quadratic function peaking at 5 months. In 2024, the bakery shifts its peak profit to 2 months earlier than in 2023, and its maximum profit decreases by 2 thousand dollars compared to 2023. Write the function that models monthly profit months after January 2024, and find the maximum profit for 2024.
Worked Solution: A peak 2 months earlier means a horizontal shift 2 units left, so , and we replace with . A maximum profit decrease of 2 thousand dollars means a vertical shift down 2 units, so subtract 2 from the output. The transformed function is: $$ \begin{align*} Q(s) &= -0.4(s + 2)(s + 2 - 10) - 2 \ &= -0.4(s + 2)(s - 8) - 2 \end{align*} $$ The original 2023 maximum profit is thousand dollars. After a 2 thousand dollar decrease, the new maximum profit is thousand dollars. In context, the bakery's maximum monthly profit in 2024 is , occurring 3 months after January 2024.
7. Quick Reference Cheatsheet
| Category | Formula | Notes |
|---|---|---|
| General Transformed Function | : vertical scale/reflection; : horizontal scale/reflection; : horizontal shift; : vertical shift | |
| Vertical Translation | : shift up $ | |
| Horizontal Translation | : shift right $ | |
| Reflection over x-axis | Negates all -values; flips graph over horizontal axis | |
| Reflection over y-axis | Negates all -values; flips graph over vertical axis | |
| Vertical Stretch/Compression | $ | |
| Horizontal Stretch/Compression | $ | |
| Order of Transformations | 1. Horizontal, 2. Vertical scale/reflect, 3. Vertical shift | Always factor out of the input term before reading for combined transformations |
8. What's Next
Immediately after mastering transformations of functions, you will apply this skill to graphing and analyzing quadratic, cubic, and general polynomial functions in the remainder of Unit 1. Transformations let you quickly sketch the graph of any polynomial written in vertex or factored form by relating it to a simple parent function, which saves critical time on both MCQ and FRQ sections of the exam. This topic also feeds into later units: when you study rational functions, you will use transformations to shift and scale parent reciprocal functions to graph complex rational expressions. Transformations are also a core foundation for studying trigonometric functions in Unit 3, where period and phase shift are just horizontal stretch and translation, respectively. Without mastering the order and sign rules for transformations, you will struggle to correctly identify key features like vertices, asymptotes, and extrema of more complex functions.
Graphing polynomial functions Rational function graphs and asymptotes Transformations of trigonometric functions