Transformation of Functions

Definitionnoun phrase

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.

In Spanish
transformación de funciones
Also called
function transformations, graph transformations, shifts, reflections and stretches, transforming functions
Grade level
Algebra 2
Algebra 1Algebra 2PrecalculusCCSS HSF-BF.B.3SATACTPSATACCUPLACER

Transformation of Functions in a picture

Four transformations of f(x) = absolute value of xFour small grids, each with the parent graph y = |x| dashed in blue. Top left: f(x) + 2 moves the V up 2. Top right: f(x – 3) moves it right 3. Bottom left: -f(x) flips it upside down. Bottom right: 2f(x) makes it twice as steep.f(x) + 2: up 2f(x − 3): right 3−f(x): flip over x-axis2f(x): stretch ×2Dashed blue: parent f(x) = |x|. Green: the transformed graph.
Each green graph is the dashed parent y = |x| after one change. Note the top right: f(x − 3) moves the graph right, even though there is a minus sign.

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

General transformation
g(x) = a · f(x − h) + k
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

Interactive

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

This interactive needs JavaScript. The worked examples below show the same ideas step by step.

Transformation of Functions examples, step by step

Example 1: A horizontal shift

Warm-up

Describe how the graph of g(x) = (x + 3)2 relates to f(x) = x2. Where is the vertex of g?

  1. g(x) = f(x + 3) = f(x − (−3)), so h = −3.
  2. An inside change moves the graph opposite to its sign: left 3.
  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

Core

List the transformations that take f(x) = |x| to g(x) = −2|x − 1| + 4, and find the corner point of g.

  1. x − 1 inside: shift right 1.
  2. Factor 2: vertical stretch by 2 (twice as steep).
  3. Negative sign: reflect across the x-axis (the V opens down).
  4. +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

Test-style

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?

  1. f(x + 4) shifts left 4: x becomes 2 − 4 = −2.
  2. −1 outside shifts down 1: y becomes 5 − 1 = 4.
  3. 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

✗ Mistakef(x − 3) shifts the graph left 3.
✓ Insteadf(x − 3) shifts it right 3.

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.

✗ Mistakef(x) + 2 and f(x + 2) are the same move.
✓ Insteadf(x) + 2 moves up 2; f(x + 2) moves left 2.

Outside the function changes the output (vertical); inside changes the input (horizontal).

✗ Mistake−f(x) reflects across the y-axis.
✓ Instead−f(x) reflects across the x-axis; f(−x) reflects across the y-axis.

Negating the output flips every y-value, turning the graph upside down. Negating the input swaps left and right.

Not to be confused with

Transformation of Functionsvs.Transformation (geometry)

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.

Transformation of Functionsvs.Composition of functions

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

Question 1 of 3

How does the graph of y = f(x) − 6 compare with y = f(x)?

Show answer and explanation

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

Question 2 of 3

Which equation shifts y = √x left 2 and up 5?

Show answer and explanation

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.

Question 3 of 3

The graph of y = f(x) passes through (3, −2). Which point is on y = −f(x)?

Show answer and explanation

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.

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

  1. Common Core State Standards, High School Functions, Building Functions (HSF-BF.B.3)
  2. 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

TermTransformation of Functionsa · f(x − h) + k
DefinitionChanging a function’s rule to shift, flip or stretch its graph. f(x − 3) + 2 moves the graph right 3 and up 2.
Study the full deck

Browse all terms in the Math Dictionary · More functions terms · Random term