What is a transformation of a function?
Transformation of functions is changing a function’s rule so that its graph moves, flips or resizes. Adding k outside, f(x) + k, shifts the graph up; replacing x with x − h shifts it right; −f(x) reflects it over the x-axis; and a · f(x) stretches it vertically. The basic graph being changed is the parent function.
Transformation of Functions in a picture
Formal definition and notation
Given a function f, the functions f(x) + k, f(x − h), a · f(x) and f(bx) are transformations of f. f(x) + k translates the graph k units vertically; f(x − h) translates it h units horizontally; a · f(x) stretches it vertically by |a|, reflecting it across the x-axis if a < 0; f(bx) compresses it horizontally by the factor |b|, reflecting it across the y-axis if b < 0. A point (x, y) on f maps to ( xb + h, ay + k ) on y = a · f(b(x − h)) + k.
| Symbol | Read it as | Meaning |
|---|---|---|
| f(x) + k | f of x plus k | vertical shift: up k (down if k < 0) |
| f(x − h) | f of x minus h | horizontal shift: right h (left if h < 0) |
| −f(x) | negative f of x | reflection across the x-axis |
| f(−x) | f of negative x | reflection across the y-axis |
| a · f(x) | a times f of x | vertical stretch by a (compression if 0 < a < 1) |
Key facts
- Inside changes move the graph sideways, in the opposite direction to the sign: f(x + 4) shifts left 4.
- Outside changes move it up or down, in the direction of the sign: f(x) − 1 shifts down 1.
- Shifts are translations: the graph keeps its shape and size. Reflections flip it. Stretches change its steepness.
- The vertex form of a quadratic, a(x − h)2 + k, is the parent x2 transformed.
- Track key points: if (2, 5) is on f, then (2 + h, 5 + k) is on f(x − h) + k.
- Do stretches and reflections before shifts when you build a graph step by step.
General transformation
- h
- horizontal shift (right if positive)
- k
- vertical shift (up if positive)
- a
- vertical stretch factor; a negative a also reflects across the x-axis
Changes outside f act on y and do what they say. Changes inside act on x and do the opposite: f(x − 3) moves right, f(2x) squeezes.
Try it: shift a graph's key points
The triangle’s corners are three key points of the graph y = 2 − |x|: (−2, 0), (0, 2) and (2, 0). Translate it to see f(x − h) + k: every point moves right h and up k, so the peak (0, 2) lands at (h, 2 + k).
Transformation of Functions examples, step by step
Example 1: A horizontal shift
Describe how the graph of g(x) = (x + 3)2 relates to f(x) = x2. Where is the vertex of g?
- g(x) = f(x + 3) = f(x − (−3)), so h = −3.
- An inside change moves the graph opposite to its sign: left 3.
- The vertex (0, 0) moves to (−3, 0).
Answer: The graph shifts left 3; the vertex of g is (-3, 0).
Example 2: Several transformations
List the transformations that take f(x) = |x| to g(x) = −2|x − 1| + 4, and find the corner point of g.
- x − 1 inside: shift right 1.
- Factor 2: vertical stretch by 2 (twice as steep).
- Negative sign: reflect across the x-axis (the V opens down).
- +4 outside: shift up 4. The corner (0, 0) moves to (1, 4).
Answer: Right 1, stretch by 2, reflect over the x-axis, up 4; the corner of g is (1, 4).
Example 3: Move a point
The point (2, 5) is on the graph of y = f(x). Which point must be on the graph of y = f(x + 4) − 1?
- f(x + 4) shifts left 4: x becomes 2 − 4 = −2.
- −1 outside shifts down 1: y becomes 5 − 1 = 4.
- Check: at x = −2, f(−2 + 4) − 1 = f(2) − 1 = 5 − 1 = 4.
Answer: The point (-2, 4) is on the new graph.
Common mistakes
To get the old output at the old point x = 0, you now need x − 3 = 0, so x = 3. Everything happens 3 units later, which is to the right.
Outside the function changes the output (vertical); inside changes the input (horizontal).
Negating the output flips every y-value, turning the graph upside down. Negating the input swaps left and right.
Not to be confused with
A geometric transformation moves a figure on the plane, such as a triangle. A function transformation changes an equation so its whole graph moves; the moves have the same names.
A transformation is a special composition with simple linear functions, like f(x − 3). Composition in general plugs any function into another, such as f(g(x)) with g(x) = x2.
Quick check: 3 questions
How does the graph of y = f(x) − 6 compare with y = f(x)?
Answer: A. The −6 is outside the function, so it lowers every output by 6: down 6. Left or right would need a change inside, as in f(x − 6).Show answer and explanation
Which equation shifts y = √x left 2 and up 5?
Answer: C. Left 2 means x + 2 inside; up 5 means +5 outside. √x − 2 + 5 moves right, √x + 5 + 2 swaps the numbers, and −5 moves down.Show answer and explanation
The graph of y = f(x) passes through (3, −2). Which point is on y = −f(x)?
Answer: D. Negating the output keeps x = 3 and changes y = −2 to 2. (−3, −2) is the y-axis reflection f(−x); (−3, 2) does both; (2, 3) swaps the coordinates.Show answer and explanation
Transformation of Functions: frequently asked questions
Why does f(x – h) move the graph right instead of left?
Because the new function has to reach each old input later. In g(x) = f(x − 3), the output that f made at x = 0 now happens when x − 3 = 0, at x = 3. Every point arrives 3 units further right. That is why changes inside the parentheses work opposite to their sign.
What is a parent function?
A parent function is the simplest member of a family of graphs, such as y = x2, y = |x|, y = √x or y = 2x. Every other function in the family is a transformation of it. For example, y = 3(x + 1)2 − 4 is the parent x2 shifted left 1, stretched by 3 and shifted down 4.
In what order should you apply transformations?
For y = a · f(x − h) + k, a safe order is: horizontal shift, then stretch or reflection, then vertical shift. Apply them to a few key points of the parent graph. For y = −2(x − 1)2 + 3, the vertex (0, 0) goes right to (1, 0), stays put under the stretch and flip, then goes up to (1, 3).
Practice and tools
Sources
- Common Core State Standards, High School Functions, Building Functions (HSF-BF.B.3)
- OpenStax, College Algebra 2e, 3.5 Transformation of Functions
Updated November 2026·Reviewed by the Effortless Math team·Standards: CCSS HSF-BF.B.3
Cite this entry
Effortless Math Team. “Transformation of Functions.” Effortless Math Dictionary. Updated November 2026. https://www.effortlessmath.com/math-dictionary/transformation-of-functions/
Flashcard
Browse all terms in the Math Dictionary · More functions terms · Random term