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.

Math 2 emblem with a variable, a triangle, and a ruler.
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

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.

SECTION 2

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.

SECTION 3

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.

Transformations of f(x) = x²xy−2−101234−4−312345f(x) = x²f(x) = x² + 3f(x) = (x−2)²f(x) = −x²LegendParent: x²Shift up 3: x² + 3Shift right 2: (x−2)²
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.

SECTION 4

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))+kg(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)+kg(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)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)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.

SECTION 5

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.

Stretches and Reflections of f(x) = x²Vertical Stretch & Compressionx²2x²0.5x²Stretch (taller)Compress (flatter)Reflectionsx²−x²Flip over x-axis−2−112−2−112
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.
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

Summary of stretch, compression, and reflection transformations

SECTION 6

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. 1

    Step 1 — Identify the Parent Function

    The 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. 2

    Step 2 — Match to General Form

    Compare 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. 3

    Step 3 — Interpret Each Parameter

    The 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. 4

    Step 4 — Find the Vertex

    The 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. 5

    Step 5 — Plot Key Points

    Start 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)

SECTION 7

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.

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

Correct interpretations vs. common student errors

✦

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.

SECTION 8

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.

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

How today's transformations connect to future math courses

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.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

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?
Show answer
When the function is f(x − 5), the input x must be 5 units larger than before to produce the same output. For example, the value that used to occur at x = 0 now occurs at x = 5, because f(5 − 5) = f(0). Every point needs a bigger x-value to "trigger" the same result, so the entire graph moves to the right. The direction is counterintuitive because the subtraction happens to the input, not the output — changes inside the function work opposite to what the sign suggests.

Question 2: BASIC 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).
Show answer
Rewrite g(x) = |x − (−3)| + (−7) to match the general form f(x − h) + k. Here h = −3 and k = −7. This means the graph of |x| is shifted left 3 units (because h is negative, the shift goes left) and down 7 units. The vertex of the parent |x| is at the origin (0, 0). After these shifts, the new vertex is at (−3, −7). The V-shape of the absolute value graph is preserved — it simply moves to a new location.

Question 3: INTERMEDIATE

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.
Show answer
Matching to g(x) = a · f(x − h) + k: a = −3, h = −1, k = 4. The transformations are (1) vertical stretch by a factor of 3, (2) reflection over the x-axis, (3) horizontal shift left 1 unit, and (4) vertical shift up 4 units. The vertex is at (−1, 4). Since a = −3 < 0, the parabola opens downward, so the vertex is a maximum. For the y-intercept, set x = 0: g(0) = −3(0 + 1)² + 4 = −3(1) + 4 = 1. The y-intercept is (0, 1).

Question 4: APPLIED

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?
Show answer
The parent function is f(t) = t², a basic parabola. The transformations are: a = −5 gives a vertical stretch by factor 5 and a reflection (the parabola opens downward because gravity pulls the ball back down), h = 1 gives a horizontal shift right 1 second, and k = 7 gives a vertical shift up 7 meters. The vertex of the transformed parabola is at (1, 7), which means the ball reaches its maximum height of 7 meters at t = 1 second. The negative leading coefficient confirms this is a maximum, not a minimum — exactly what we'd expect for a projectile under gravity.

Question 5: CRITICAL 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.
Show answer
The student is correct for f(x) = x², but the reasoning matters. Reflecting over the x-axis gives −f(x) = −x². Reflecting over the y-axis gives f(−x) = (−x)² = x², which is the original function (x² is an even function, so it has y-axis symmetry). So the two reflections produce different results: −x² ≠ x². However, the student's claim that they are 'the same graph' is wrong — −x² opens downward while x² opens upward. For a function where the difference is even more obvious, consider f(x) = x³. Reflecting over the x-axis gives −x³, while reflecting over the y-axis gives (−x)³ = −x³. Here they happen to be equal! A clearer example is f(x) = √x: −√x is an upside-down curve in the first quadrant, while √(−x) is a rightside-up curve in the second quadrant — two distinctly different graphs.

SUMMARY

Lesson Summary

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