AP Precalculus · Unit 1 · Topic 1.12

    1.12 Transformations of Functions

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    From a function ff: f(x)+kf(x) + k shifts the graph up kk; f(x+h)f(x + h) shifts it left hh; af(x)a f(x) stretches it vertically by a factor of ∣a∣|a| and reflects it in the x-axis if a<0a < 0; f(bx)f(bx) dilates it horizontally by a factor of 1∣b∣\frac{1}{|b|} and reflects it in the y-axis if b<0b < 0. Changes outside ff act on outputs; changes inside act on inputs, in the opposite way you might expect.

    What you need to know

    • Describe the effect of vertical and horizontal translations on a graph.
    • Describe the effect of vertical and horizontal dilations and reflections.
    • Map points of a graph through a combination of transformations.
    • Describe how transformations change the domain and range.

    Changes outside the function: outputs

    Changes made after the function acts change the outputs, so they move the graph vertically.

    • g(x)=f(x)+kg(x) = f(x) + k: every output goes up by kk (down if k<0k < 0). A vertical translation.
    • g(x)=af(x)g(x) = a f(x): every output is multiplied by aa. A vertical dilation by a factor of ∣a∣|a|, and a reflection in the x-axis if a<0a < 0. Zeros do not move, because a⋅0=0a \cdot 0 = 0.

    Changes inside the function: inputs

    Changes made to the input before the function acts move the graph horizontally, and in the opposite direction from the sign you see.

    • g(x)=f(x+h)g(x) = f(x + h): a horizontal translation left by hh (right if h<0h < 0). For g(x)=f(x−3)g(x) = f(x - 3), g(3)=f(0)g(3) = f(0): the output ff gave at 0 now happens at 3, so the graph moved right 3.
    • g(x)=f(bx)g(x) = f(bx): a horizontal dilation by a factor of 1∣b∣\frac{1}{|b|}, and a reflection in the y-axis if b<0b < 0. f(2x)f(2x) squeezes the graph toward the y-axis by half, because gg reaches each output at half the input.

    Putting transformations together

    Start from f(x)=x2f(x) = x^2 and build g(x)=−2(x−3)2+1g(x) = -2(x - 3)^2 + 1. Reading from the inside out: shift right 3, stretch vertically by 2, reflect in the x-axis, shift up 1. The vertex moves from (0,0)(0, 0) to (3,1)(3, 1) and the parabola now opens downward.

    The vertex (0, 0) of f maps to (3, 1); g is narrower and opens downward.

    Domain and range. Horizontal changes act on the domain and vertical changes act on the range. The range of ff is y≥0y \ge 0; stretching by 2 keeps it y≥0y \ge 0, reflecting makes it y≤0y \le 0, and shifting up 1 makes it y≤1y \le 1. For f(x)=xf(x) = \sqrt{x} with domain x≥0x \ge 0, the function f(x+4)f(x + 4) has domain x≥−4x \ge -4.

    Key terms

    Vertical translation
    f(x) + k: the graph moves up k units (down if k < 0).
    Horizontal translation
    f(x + h): the graph moves left h units (right if h < 0).
    Vertical dilation
    a·f(x): outputs are multiplied by a, stretching or compressing by |a|.
    Horizontal dilation
    f(bx): inputs are scaled so the graph is stretched or compressed by 1/|b|.
    Reflection
    −f(x) reflects in the x-axis; f(−x) reflects in the y-axis.

    Common mistakes

    • Reading f(x − 3) as a shift left.

      f(x − 3) moves the graph right 3.

    • Saying f(2x) stretches the graph horizontally by 2.

      It compresses horizontally by a factor of 1/2.

    • Reading f(2x − 6) as a shift of 6.

      Factor: f(2(x − 3)) is a shift right by 3 after the dilation.

    How this topic is tested

    • Name each transformation fully: type, direction and factor.
    • Use a point map to check: one known point of f should land where you expect on g.
    • Describe the new domain and range when the question asks how they change.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 2 · Multiple Representations

      The graph of y=f(x)y = f(x) passes through (2,5)(2, 5). Which point must be on the graph of y=f(x+4)−1y = f(x + 4) - 1?

    2. Question 2 · MP 3 · Communication and Reasoning

      How is the graph of g(x)=f(3x)g(x) = f(3x) related to the graph of f?

    3. Question 3 · MP 1 · Procedural and Symbolic Fluency

      The range of f is −2≤y≤6-2 \le y \le 6. What is the range of g(x)=−12f(x)+3g(x) = -\frac{1}{2}f(x) + 3?

    4. Question 4 · MP 2 · Multiple Representations

      Which function's graph is the graph of y=x3y = x^3 reflected in the y-axis and then shifted up 2?

    5. Question 5 · MP 3 · Communication and Reasoning

      Describe g(x)=f(2x−8)g(x) = f(2x - 8) in terms of f.

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Function Concepts (short) · 3 points

    The function ff has domain −2≤x≤4-2 \le x \le 4 and f(1)=6f(1) = 6. Let g(x)=12f(x−3)+2g(x) = \frac{1}{2} f(x - 3) + 2.

    1. (a) Find g(4)g(4).
    2. (b) Find the domain of gg, and describe the transformations that take the graph of ff to the graph of gg.

    Connected topics

    Frequently asked questions

    Does the order of transformations matter?

    Sometimes. Vertical stretch then shift up is not the same as shift up then stretch: 2(f(x) + 1) = 2f(x) + 2. Read the formula from the inside out, or map points, to be safe.

    What are the image and preimage in a transformation?

    The preimage is the original point on f, and the image is where it lands on g. College Board's 2026 clarifications use these words for combined transformations.

    How do transformations help in modelling?

    A model is often a transformed parent function: a shift moves the starting point, a dilation changes the scale. Unit 3 uses the same ideas for sinusoidal models.

    How this shows up on the exam42 multiple-choice questions (29 without a calculator) and 4 free-response questions of 6 points. See what each one asks you to do.Full-length AP Precalculus practice examsUnit 1 is one of the 3 units on the exam. Two timed exams in the 2027 format (42 MCQ + 4 FRQ, calculator and no-calculator parts), with explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    Free Unit 1 cheat sheet

    Every topic in Unit 1: Polynomial and Rational Functions on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Precalculus practice material is ready. No spam, and we'll delete it if you ask.

    Free Unit 1 practice test: 70 questions with explanations

    All topics in Unit 1: Polynomial and Rational Functions

    1. 1.1 Change in Tandem
    2. 1.2 Rates of Change
    3. 1.3 Rates of Change in Linear and Quadratic Functions
    4. 1.4 Polynomial Functions and Rates of Change
    5. 1.5 Polynomial Functions and Complex Zeros
    6. 1.6 Polynomial Functions and End Behavior
    7. 1.7 Rational Functions and End Behavior
    8. 1.8 Rational Functions and Zeros
    9. 1.9 Rational Functions and Vertical Asymptotes
    10. 1.10 Rational Functions and Holes
    11. 1.11 Equivalent Representations of Polynomial and Rational Expressions
    12. 1.12 Transformations of Functions
    13. 1.13 Function Model Selection and Assumption Articulation
    14. 1.14 Function Model Construction and Application

    Other units in AP Precalculus

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.