MATH 2 • ALGEBRA & FUNCTIONS

Function Transformations — I can describe and apply transformations to a parent function (shifts, stretches, reflections) at my level.

Learn how shifting, stretching, and reflecting reshape any parent function into a powerful family of graphs.

Historical Context & Motivation

Mathematics has always been a language for describing patterns and change, and the concept of a function — a rule that assigns each input exactly one output — has been central to that mission. For centuries, mathematicians studied individual curves like parabolas and circles one at a time, developing separate equations for each shape. The breakthrough came when scholars realized that a single parent function could generate an entire family of related curves through systematic transformations — shifts, stretches, and reflections.

~300 BCE
Apollonius & Conic Sections
The Greek mathematician Apollonius of Perga systematically studied parabolas, ellipses, and hyperbolas by slicing cones at different angles. His work hinted at the idea that related curves could be generated from a single geometric object.
1637
Descartes & the Coordinate Plane
René Descartes introduced the Cartesian coordinate system, making it possible to express geometric curves as algebraic equations. This union of algebra and geometry laid the groundwork for analyzing how equations change when you alter their parameters.
1748
Euler Formalizes Functions
Leonhard Euler defined the modern concept of a function and introduced notation like f(x). With this framework, mathematicians could study how modifying the input or output expression systematically changed the graph.
20th Century
Transformations in Modern Curriculum
Function transformations became a cornerstone of algebra education. Understanding shifts, stretches, and reflections allows students to predict the graph of any function from its equation — a skill essential in science, engineering, and data analysis.

The central question this topic addresses is straightforward yet powerful: if you know the shape of one basic graph, how can you use algebra to move it, stretch it, compress it, or flip it — without plotting dozens of individual points? Mastering function transformations gives you the ability to predict and sketch an entire family of functions from a single parent.

Core Principles & Definitions

Before diving into the mechanics, you need to understand a few foundational ideas. A parent function is the simplest version of a function family — think of it as the "default setting." For example, f(x) = x² is the parent quadratic. Every other parabola you've ever seen is just this parent with one or more transformations applied. The four main transformation types are vertical shifts, horizontal shifts, stretches/compressions, and reflections.

1

Vertical Shift

Adding or subtracting a constant outside the function moves the entire graph up or down. f(x) + k shifts up by k units; f(x) − k shifts down.
2

Horizontal Shift

Adding or subtracting a constant inside the function moves the graph left or right. f(x − h) shifts right by h units; f(x + h) shifts left. Note the counterintuitive direction!
3

Vertical Stretch / Compression

Multiplying the function by a constant a changes its steepness. If |a| > 1, the graph stretches away from the x-axis; if 0 < |a| < 1, it compresses toward it.
4

Reflection

A negative sign flips the graph. −f(x) reflects over the x-axis (flips upside down), while f(−x) reflects over the y-axis (flips left-to-right).
KEY TAKEAWAY
Think of a parent function as a basic photo on your phone. A shift is like dragging the photo to a new position on the screen — the image stays the same, just in a different spot. A stretch is like pinching to zoom in or out, making the photo taller or shorter. A reflection is like using a mirror filter that flips the image. The original content never changes — only how it's displayed.

Visual Explanation — Seeing Transformations in Action

The best way to understand transformations is to see them on a coordinate plane. The diagram below shows the parent function f(x) = x² alongside three transformed versions. Notice how each transformation changes the position or shape of the parabola while preserving its fundamental curved nature.

The dashed purple curve shows the parent function f(x) = x². The cyan curve is shifted up 3 units, and the pink curve is shifted right 2 units. Notice that each vertex (the lowest point of the parabola) moves to a new location while the shape remains the same.

In the diagram above, focus on the vertex of each parabola — that's the easiest point to track. The parent parabola's vertex sits at the origin (0, 0). When we add 3 outside the function to get x² + 3, the vertex jumps to (0, 3); every single point on the curve moved up by exactly 3 units. When we replace x with (x − 2) to get (x − 2)², the vertex slides to (2, 0); every point shifted right by 2. The key observation is that shifts move every point by the same amount, preserving the parabola's exact shape and size.

Mathematical Framework

All four transformations can be captured in a single general equation. Understanding this template lets you decode any transformed function at a glance.

GENERAL TRANSFORMATION FORM
g(x) = a · f(b(x − h)) + k
a = vertical stretch/compression factor (if a < 0, reflects over x-axis) • b = horizontal stretch/compression factor (if b < 0, reflects over y-axis) • h = horizontal shift (right if positive, left if negative) • k = vertical shift (up if positive, down if negative)
VERTICAL SHIFT
g(x) = f(x) + k
When k > 0, the graph moves up k units. When k < 0, the graph moves down |k| units.
HORIZONTAL SHIFT
g(x) = f(x − h)
When h > 0, the graph moves right h units. When h < 0, the graph moves left |h| units. The sign is opposite what you might expect because the subtraction is inside the function.
VERTICAL STRETCH / REFLECTION
g(x) = a · f(x)
If |a| > 1, the graph stretches vertically (gets taller). If 0 < |a| < 1, it compresses (gets flatter). If a < 0, it also reflects across the x-axis.
⚠️ Watch the Signs!
The most common mistake students make involves horizontal shifts. In f(x − 3), the graph shifts right 3 — not left. Think of it this way: the input x must now reach 3 before the function "starts," so the action happens later (farther right). Similarly, f(x + 2) shifts left 2 units because the function gets a head start.

Detailed Breakdown — Stretches & Reflections

Shifts simply relocate a graph, but stretches, compressions, and reflections actually change how the graph looks. A vertical stretch multiplies every y-value by a factor, making the graph appear taller and steeper. A vertical compression does the opposite — it squishes the graph toward the x-axis. Reflections are the most dramatic: multiplying by −1 flips every point to the other side of an axis.

Left panel: the red curve (2x²) is a vertical stretch — it grows twice as fast as the parent. The green curve (0.5x²) is a vertical compression. Right panel: the gold curve (−x²) is a reflection over the x-axis — the parabola opens downward.
Summary of stretch, compression, and reflection transformations
TransformationEquation FormEffect on Graph
Vertical stretcha · f(x), where |a| > 1Graph is pulled away from x-axis; appears taller/steeper
Vertical compressiona · f(x), where 0 < |a| < 1Graph is pushed toward x-axis; appears flatter/wider
Horizontal stretchf(bx), where 0 < |b| < 1Graph is pulled away from y-axis; appears wider
Horizontal compressionf(bx), where |b| > 1Graph is pushed toward y-axis; appears narrower
Reflection over x-axis−f(x)Every y-value is negated; graph flips upside down
Reflection over y-axisf(−x)Every x-value is negated; graph flips left-to-right

Worked Example

Let's apply everything we've learned to a single function that combines multiple transformations. We'll start with the parent function f(x) = x² and identify every transformation encoded in the new equation g(x) = −2(x − 3)² + 5.

Describe and graph g(x) = −2(x − 3)² + 5
1
Step 1 — Identify the Parent FunctionThe core expression inside the transformations is x², so the parent function is f(x) = x². All transformations will be described relative to this basic parabola.
Parent: f(x) = x²
2
Step 2 — Match to General FormCompare g(x) = −2(x − 3)² + 5 with the general template g(x) = a · f(x − h) + k. We can read off the parameters: a = −2, h = 3, and k = 5.
a = −2, h = 3, k = 5
3
Step 3 — Interpret Each ParameterThe value a = −2 tells us two things: the graph is vertically stretched by a factor of 2 (since |−2| = 2 > 1) and reflected over the x-axis (since a is negative). The value h = 3 means a horizontal shift right 3 units. The value k = 5 means a vertical shift up 5 units.
Reflected, stretched ×2, right 3, up 5
4
Step 4 — Find the VertexThe vertex of the parent parabola is at (0, 0). After shifting right 3 and up 5, the new vertex is at (3, 5). Because a is negative, the parabola opens downward, so this vertex is the maximum point.
Vertex: (3, 5) — maximum
5
Step 5 — Plot Key PointsStart from the vertex (3, 5). In the parent function, one unit left or right from the vertex gives y = 1. With our stretch factor of 2 and reflection, that becomes y = −2(1) = −2. So one unit from the vertex: g(2) = −2(2 − 3)² + 5 = −2(1) + 5 = 3, and g(4) = 3 as well. Two units from the vertex: g(1) = −2(1 − 3)² + 5 = −2(4) + 5 = −3, and g(5) = −3. Plot these points and draw a smooth, downward-opening parabola.
Points: (1, −3), (2, 3), (3, 5), (4, 3), (5, −3)

Common Pitfalls & Comparisons

Understanding transformations requires careful attention to detail. Many students make predictable errors, especially when horizontal shifts and reflections are combined. The table below compares common correct interpretations with frequent mistakes.

Correct interpretations vs. common student errors
What You SeeCorrect InterpretationCommon Mistake
f(x − 4)Shift right 4 unitsThinking it shifts left because of the minus sign
f(x) − 4Shift down 4 unitsConfusing it with a horizontal shift
3f(x)Vertical stretch by factor of 3Calling it a horizontal stretch
f(3x)Horizontal compression by factor of 1/3Thinking it stretches horizontally by 3
−f(x) vs. f(−x)x-axis reflection vs. y-axis reflectionTreating them as the same transformation
INSIDE vs. OUTSIDE RULE
Here's a reliable rule of thumb: changes that happen inside the parentheses (affecting the input x) produce horizontal transformations that behave opposite to what you'd expect. Changes that happen outside the function (affecting the output y) produce vertical transformations that behave exactly as expected. Think of it like adjusting the settings on a speaker: turning a knob on the amp (outside) directly changes volume, but messing with the input signal (inside) has less intuitive effects.

Connections to Advanced Topics

The transformation framework you've learned here extends far beyond quadratic functions. In fact, every function family — absolute value, square root, cubic, exponential, logarithmic, trigonometric — follows the exact same rules. Once you master how a, h, k, and reflections work for parabolas, you can apply that knowledge to any graph in precalculus, calculus, and beyond.

How today's transformations connect to future math courses
Concept NowWhere It Leads
Vertical/horizontal shiftsPhase shifts in trigonometry (e.g., sin(x − π/2)) and translations in geometry
Vertical stretch by factor aAmplitude of sinusoidal functions; leading coefficients in polynomial analysis
Reflections over axesEven and odd function symmetry; inverse functions (reflection over y = x)
General form: a · f(b(x − h)) + kGraphing any transformed function in precalculus; modeling real-world data with transformed models
Combining multiple transformationsComposition of functions f(g(x)); transformation matrices in linear algebra

In precalculus, you'll apply these same ideas to trigonometric functions like y = A sin(B(x − C)) + D, where A controls amplitude (vertical stretch), B controls period (horizontal compression), C is a horizontal shift called the phase shift, and D is a vertical shift called the midline. The parameters are identical in function to the a, b, h, and k you've learned today. Mastering transformations now builds a transferable skill set that will serve you throughout higher mathematics.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain in your own words why f(x − 5) shifts the graph to the right instead of to the left. Why does the direction seem "backwards" for horizontal shifts?
PROBLEM 2BASIC CALCULATION
The parent function is f(x) = |x|. Describe the transformations applied to obtain g(x) = |x + 3| − 7. Then state the coordinates of the vertex of g(x).
PROBLEM 3INTERMEDIATE
Given g(x) = −3(x + 1)² + 4, identify all transformations from the parent f(x) = x². Then find the y-intercept by evaluating g(0), and determine whether the vertex represents a maximum or minimum.
PROBLEM 4APPLIED
A ball is launched from a platform 2 meters high. Its height in meters is modeled by h(t) = −5(t − 1)² + 7, where t is time in seconds. Identify the parent function and all transformations. What is the maximum height of the ball, and at what time does it reach that height?
PROBLEM 5CRITICAL THINKING
A student claims that reflecting f(x) = x² over the x-axis and reflecting it over the y-axis both produce the same graph. Is the student correct? Justify your answer, then find a parent function for which these two reflections produce different results.

Lesson Summary

Function transformations allow you to start with a simple parent function and systematically modify it using four operations. Vertical shifts (adding k outside) slide the graph up or down. Horizontal shifts (subtracting h inside) slide it left or right — remembering that the direction is opposite the sign. Vertical stretches and compressions (multiplying by a) change the graph's steepness. Reflections (negating either the function or the input) flip the graph over an axis.

The general transformation form g(x) = a · f(b(x − h)) + k encodes all of these changes in a single equation. The key to success is the inside vs. outside rule: modifications inside the function (to x) create horizontal changes that work in the opposite direction, while modifications outside the function (to y) create vertical changes that work in the expected direction. These principles apply identically to every function family you will encounter in precalculus and beyond.

Varsity Tutors • Math 2 • Function Transformations