AP PRECALCULUS • POLYNOMIAL AND RATIONAL FUNCTIONS

Transformations of Functions

Master how shifts, reflections, stretches, and compressions reshape parent functions into powerful new models.

Historical Context & Motivation

The idea of systematically modifying a known curve to produce a family of related curves has deep roots in the history of mathematics. Long before the formal language of function transformations existed, geometers in ancient Greece studied conic sections—ellipses, parabolas, and hyperbolas—by slicing a cone at different angles, effectively transforming one curve into another through geometric manipulation. The transition from purely geometric descriptions to algebraic ones accelerated dramatically in the seventeenth century, when René Descartes and Pierre de Fermat independently introduced coordinate geometry, linking curves to equations and opening the door for algebraic operations on graphs. By the eighteenth and nineteenth centuries, mathematicians such as Leonhard Euler and Joseph Fourier treated functions as objects that could be composed, scaled, and shifted, laying the conceptual groundwork for the transformation framework students encounter in precalculus today.

~300 BCE
Apollonius and Conic Sections
Apollonius of Perga systematically classified conic sections, showing how changing the cutting plane transforms a circle into an ellipse, parabola, or hyperbola—an early geometric precursor to function transformations.
1637
Descartes' Coordinate Geometry
René Descartes published La Géométrie, uniting algebra and geometry by assigning coordinates to points. This framework made it possible to express geometric transformations—shifts and reflections—as algebraic operations on equations.
1748
Euler's Introductio in Analysin Infinitorum
Leonhard Euler formalized the modern concept of a function and explored families of curves generated by varying parameters, establishing the algebraic manipulation of functions as a core mathematical practice.
1822
Fourier's Analytic Theory of Heat
Joseph Fourier demonstrated that complex periodic functions could be decomposed into sums of scaled and shifted sine and cosine functions, powerfully illustrating transformations in applied mathematics.
20th c.
Modern Precalculus Curriculum
Function transformations became a unifying thread in secondary and college mathematics curricula, enabling students to analyze entire families of functions from a small set of parent functions and systematic rules.

The central question that transformations answer is deceptively simple: given a known parent function, how can we describe every member of its family—every shifted, reflected, stretched, or compressed variant—using a compact algebraic rule? Mastering this question equips you to read a transformed equation and immediately visualize its graph, a skill that the AP Precalculus exam tests repeatedly.

Core Principles & Definitions

A transformation is any operation that modifies the position, orientation, or shape of a function's graph. In precalculus, we classify transformations into four major categories, each governed by a specific algebraic change to the parent function's equation. Understanding these categories allows you to deconstruct any equation of the form g(x) = a · f(b(x − h)) + k and predict exactly how its graph relates to f(x).

1

Vertical Translations

Adding a constant k to the output shifts the graph up (k > 0) or down (k < 0). The shape remains unchanged; every point moves the same vertical distance.
2

Horizontal Translations

Replacing x with (x − h) shifts the graph right (h > 0) or left (h < 0). Note the counter-intuitive sign: subtracting a positive h moves the graph to the right.
3

Reflections

Negating the output (−f(x)) reflects across the x-axis, while negating the input (f(−x)) reflects across the y-axis. Both preserve the size of the graph but reverse its orientation.
4

Vertical Stretches & Compressions

Multiplying the output by |a| > 1 stretches the graph vertically, making it taller. When 0 < |a| < 1, the graph compresses toward the x-axis. The x-intercepts remain fixed.
5

Horizontal Stretches & Compressions

Multiplying x by |b| > 1 compresses the graph horizontally (it narrows), while 0 < |b| < 1 stretches it horizontally. The factor acts inversely: b = 2 halves horizontal distances.
KEY TAKEAWAY
Think of a parent function as a master blueprint for a building. Vertical and horizontal translations slide the blueprint to a new lot without changing the structure. Reflections create a mirror-image version. Stretches and compressions resize the blueprint—taller, wider, shorter, or narrower—while preserving its fundamental proportions. Every polynomial or rational function you encounter on the AP exam is simply a transformed blueprint of a simpler parent.

Visual Explanation — Seeing Transformations in Action

The diagram below illustrates how the parent function f(x) = x² is progressively transformed into g(x) = 2(x − 3)² + 1. Each transformation is color-coded: the horizontal shift moves the vertex from (0, 0) to (3, 0), the vertical stretch by a factor of 2 narrows the parabola, and the vertical shift lifts the vertex up by 1 to its final position at (3, 1).

The dashed blue curve is the parent function f(x) = x² with vertex at the origin. Violet annotations mark the horizontal shift of 3 units right, amber annotations show the vertical stretch by a factor of 2 and the vertical shift of 1 unit up, and the solid green curve is the resulting function g(x) = 2(x − 3)² + 1 with vertex at (3, 1).

Notice how the vertex serves as the anchor point for tracking transformations. The parent vertex at (0, 0) first slides right to (3, 0) due to the horizontal translation, then rises to (3, 1) from the vertical translation. Meanwhile, the vertical stretch by a factor of 2 makes the parabola narrower—points that were 1 unit above the vertex on f are now 2 units above on g. This pattern generalizes: for any parent function, tracking what happens to a few key reference points (such as the vertex, intercepts, or asymptotes) under each transformation is the most efficient strategy for sketching transformed graphs quickly.

Mathematical Framework

All of the transformations studied in AP Precalculus can be consolidated into a single general form. Given a parent function f, the transformed function g is defined by the equation below. Each parameter—a, b, h, and k—controls one specific type of transformation, and their effects are independent of each other, which means you can analyze them one at a time.

GENERAL TRANSFORMATION FORM
g(x) = a · f(b(x − h)) + k
a = vertical stretch/compression factor (|a| > 1 stretches, 0 < |a| < 1 compresses; a < 0 reflects over x-axis). b = horizontal stretch/compression factor (|b| > 1 compresses, 0 < |b| < 1 stretches; b < 0 reflects over y-axis). h = horizontal translation (h > 0 shifts right, h < 0 shifts left). k = vertical translation (k > 0 shifts up, k < 0 shifts down).
VERTICAL TRANSLATION
g(x) = f(x) + k
Every output value increases by k. The graph slides up if k > 0 and down if k < 0. Domain is unchanged; range shifts by k.
HORIZONTAL TRANSLATION
g(x) = f(x − h)
Every input value that produced a certain output on f now requires adding h. The graph slides right if h > 0 and left if h < 0. Range is unchanged; domain shifts by h.
REFLECTIONS
−f(x) reflects over x-axis; f(−x) reflects over y-axis
Negating the output flips every y-coordinate; negating the input flips every x-coordinate. If both are applied, the result is a rotation of 180° about the origin.
⚙️ Order of Operations for Transformations
When multiple transformations are present, apply them in the following order: (1) horizontal stretch/compression and reflection over the y-axis (factor b), (2) horizontal translation (h), (3) vertical stretch/compression and reflection over the x-axis (factor a), (4) vertical translation (k). This sequence mirrors the algebraic order inside-out: transformations inside the function argument act on x first, while those outside act on the output last.

Detailed Breakdown — Effects on Key Features

Each transformation affects the fundamental features of a function—domain, range, intercepts, asymptotes, and end behavior—in predictable ways. The table below catalogs these effects for the four major transformation types. On the AP Precalculus exam, free-response questions frequently ask you to describe how a specific transformation changes a function's domain, range, or asymptotic behavior, so fluency with these relationships is essential.

Summary of how each transformation type affects key features of a function.
FeatureVertical Translation (+k)Horizontal Translation (+h)Vertical Stretch/Compress (×a)Horizontal Stretch/Compress (×1/b)
DomainUnchangedShifts by hUnchangedScaled by 1/|b|
RangeShifts by kUnchangedScaled by |a|; reflected if a < 0Unchanged
x-interceptsMay change (solve f(x) = −k)Shift by hUnchanged (if a ≠ 0)Scaled by 1/|b|
y-interceptShifts by kChanges to f(−h)Scaled by aUnchanged (evaluate at x = 0)
Horizontal asymptoteShifts by kUnchangedScaled by aUnchanged
Vertical asymptoteUnchangedShifts by hUnchangedScaled by 1/|b|
Left panel: the parent rational function f(x) = 1/x with vertical asymptote x = 0 and horizontal asymptote y = 0. Right panel: the transformed function g(x) = −2/(x − 1) + 3, where the vertical asymptote shifts to x = 1, the horizontal asymptote rises to y = 3, and the factor a = −2 reflects the graph across the x-axis while stretching it vertically.

The second diagram illustrates a particularly important application of transformations: rational functions. When you encounter a rational function such as g(x) = −2/(x − 1) + 3 on the AP exam, recognize it immediately as a transformation of the parent f(x) = 1/x. The parameter h = 1 shifts the vertical asymptote from x = 0 to x = 1. The parameter k = 3 shifts the horizontal asymptote from y = 0 to y = 3. Finally, a = −2 reflects the curve over the x-axis and stretches it vertically, making the branches approach the asymptotes more steeply.

Worked Example

The following example walks through a complete transformation analysis, mirroring the type of free-response question you might encounter on the AP Precalculus exam. We start from a parent function, identify all transformation parameters, and describe the effects on the graph.

Analyzing g(x) = −3(x + 2)³ − 5
1
Step 1 — Identify the Parent FunctionThe core operation is cubing, so the parent function is f(x) = x³. This function passes through the origin, is odd (symmetric about the origin), and has end behavior: as x → −∞, f(x) → −∞; as x → ∞, f(x) → ∞.
Parent: f(x) = x³
2
Step 2 — Rewrite in Standard Transformation FormExpress g(x) in the form a · f(b(x − h)) + k. We have g(x) = −3(x + 2)³ − 5 = −3 · f(x − (−2)) + (−5). Thus a = −3, b = 1, h = −2, and k = −5.
a = −3, b = 1, h = −2, k = −5
3
Step 3 — Describe Each TransformationSince h = −2, the graph shifts 2 units to the left. Since a = −3, the graph is reflected over the x-axis (because a < 0) and vertically stretched by a factor of 3 (because |a| = 3 > 1). Since k = −5, the graph shifts 5 units down. Since b = 1, there is no horizontal stretch or compression.
Left 2, reflect over x-axis, stretch ×3, down 5
4
Step 4 — Determine Key Features of gThe inflection point of f(x) = x³ is at (0, 0). After shifting left 2, it moves to (−2, 0). The reflection and stretch affect the y-coordinate (multiplied by −3): still (−2, 0). After shifting down 5: (−2, −5). So the inflection point of g is (−2, −5). For end behavior, the negative a reverses the parent's ends: as x → −∞, g(x) → ∞; as x → ∞, g(x) → −∞.
Inflection point: (−2, −5); end behavior reversed from parent
5
Step 5 — Find the y-interceptEvaluate g(0) = −3(0 + 2)³ − 5 = −3(8) − 5 = −24 − 5 = −29. The y-intercept is (0, −29). This confirms the graph has been dramatically stretched downward relative to the parent function.
y-intercept: (0, −29)

Common Pitfalls & Comparison of Transformation Types

Students frequently lose points on AP Precalculus exams due to a small set of recurring misconceptions about transformations. The table below contrasts correct reasoning with the most common errors, organized by transformation type.

Common pitfalls in applying function transformations
TransformationCorrect UnderstandingCommon Mistake
f(x − h)Shifts right when h > 0 (subtract a positive → right)Assuming f(x − 3) shifts left because of the minus sign
f(bx)Horizontal distances are divided by |b|; b = 2 compresses by ½Thinking b = 2 stretches horizontally by factor of 2
a · f(x)x-intercepts are unchanged (a × 0 = 0)Claiming vertical stretch moves x-intercepts
Order of operationsApply horizontal transformations to input first, vertical to output lastApplying vertical shift before vertical stretch, reversing the intended order
Reflection + Translation−f(x) + k: reflect first, then shift by kShifting first and then reflecting, which changes the final position
KEY TAKEAWAY
The most reliable strategy for avoiding sign and direction errors is to think in terms of "what must x be to produce the same output as the parent function." For f(x − 3), you need x = 3 to get the same output as f(0)—hence the graph moves right. This input-matching perspective converts every horizontal transformation question into a simple equation-solving exercise, eliminating the guesswork that leads to sign errors.

Connection to Advanced Theory

Function transformations in precalculus form the foundation for more sophisticated ideas you will encounter in calculus, linear algebra, and signal processing. The table below maps each precalculus transformation concept to its advanced counterpart, giving you a preview of how this framework extends.

How precalculus transformations connect to advanced mathematics
Precalculus ConceptAdvanced Extension
Vertical/horizontal shifts (translations)In calculus, the chain rule formalizes how shifting the input of a function affects its derivative: d/dx[f(x − h)] = f′(x − h). Translations also appear in physics as phase shifts in wave equations.
Vertical stretch by factor aThe constant multiple rule in differentiation: d/dx[a · f(x)] = a · f′(x). In linear algebra, scalar multiplication of a vector-valued function scales the entire output space.
Reflections (−f(x), f(−x))Parity classification of functions: even functions satisfy f(−x) = f(x), odd functions satisfy f(−x) = −f(x). These symmetries simplify integration and Fourier analysis.
Horizontal compression/stretch (f(bx))In signal processing, time-scaling a signal by factor b changes its frequency content. The Fourier transform relates horizontal scaling to inverse scaling in the frequency domain.
General form g(x) = a · f(b(x − h)) + kAffine transformations in linear algebra generalize this to higher dimensions, mapping shapes via matrices and translation vectors. Computer graphics relies on 4×4 transformation matrices.

As you progress into AP Calculus and beyond, you will find that the intuition you build here—understanding how algebraic changes inside and outside a function map to geometric changes on its graph—transfers directly to analyzing derivatives, integrals, and multidimensional transformations. The language of transformations is one of the most portable ideas in all of mathematics.

Practice Problems

1
The graph of g(x) = f(x − 4) + 2 is obtained from the graph of f by which sequence of transformations?
2
If f(x) = x² and g(x) = −2f(x − 1) + 5, what is the vertex of g?
3
The function f has a vertical asymptote at x = 2 and a horizontal asymptote at y = −1. If g(x) = 3f(x + 4) − 7, what are the asymptotes of g?
PROBLEM 4APPLIED
A scientist models the concentration C (in mg/L) of a drug in the bloodstream using C(t) = 8/(t + 1), where t is time in hours after injection. Due to a modified drug formulation, the new concentration model is N(t) = −2C(t − 3) + 10. (a) Identify the parent function and list all transformation parameters (a, b, h, k). (b) Determine the vertical and horizontal asymptotes of N(t). (c) Find N(0) and interpret its meaning in context. (d) As t → ∞, what value does N(t) approach, and what does this represent physiologically?
PROBLEM 5CRITICAL THINKING
A function f is even and satisfies f(2) = 6. A student claims that the function g(x) = f(x − 3) is also even. Is the student correct? Justify your answer using the definition of an even function and provide a specific counterexample using f(x) = x² if the claim is false.

Lesson Summary

Transformations of functions allow you to derive entire families of graphs from a single parent function using the general form g(x) = a · f(b(x − h)) + k. The parameter h controls horizontal translation (right when positive, left when negative), while k controls vertical translation. The factor a governs vertical stretch, compression, and reflection over the x-axis, while b governs horizontal stretch, compression, and reflection over the y-axis—acting inversely to what many students initially expect.

When applying multiple transformations, follow the inside-out order: horizontal operations first (stretch/compress by b, then shift by h), then vertical operations second (stretch/reflect by a, then shift by k). Each transformation predictably affects the function's domain, range, intercepts, and asymptotes. Mastering these relationships empowers you to analyze polynomial and rational functions rapidly, a skill that is tested in both multiple-choice and free-response sections of the AP Precalculus exam.

Varsity Tutors • AP Precalculus • Transformations of Functions