Function Transformation Formula

A function transformation shifts, stretches, compresses, or reflects the graph of a parent function by modifying its formula in a systematic way.

The Formula

y=a⋅f(b(x−h))+k where a = vertical stretch, b = horizontal compression, h = horizontal shift, k = vertical shift

Ask yourself: Is a known parent graph being moved, scaled, or flipped by added or multiplied constants?

Quick example

f(x)+2 shifts up 2.
f(x−3) shifts right 3.
2f(x) stretches vertically.
−f(x) reflects.

Notation

Parent function f(x) is transformed: +k shifts up, −h shifts right, a scales vertically, b scales horizontally.

What this formula means

A function transformation shifts, stretches, compresses, or reflects the graph of a parent function by modifying its formula in a systematic way.

Transformations work like the controls in a photo editor: move, resize, stretch, flip. The picture's content never changes, only its position and proportions. The horizontal controls are wired backwards, though: typing x−4 moves the picture right, and multiplying x by 2 squeezes it.

Formal view

g(x)=a f(b(x−h))+k: vertical scale ∣a∣, reflect if a<0; horizontal scale 1∣b∣, reflect if b<0; shift right h, up k

Worked examples

Example 1

easy
Describe all transformations applied to f(x)=x2 to obtain g(x)=2(x−3)2+1.
Show solution

Answer

Shift right 3, stretch vertically by 2, shift up 1; vertex at (3,1)

First step

1.
Write in standard form y=a⋅f(b(x−h))+k: here a=2, b=1, h=3, k=1.

Full solution

  1. 2.
    Horizontal shift: h=3 shifts the parabola 3 units to the right (vertex moves from (0,0) to (3,0)).
  2. 3.
    Vertical stretch: a=2 stretches vertically by factor 2 (makes parabola narrower). Vertical shift: k=1 shifts the entire graph 1 unit up. Final vertex: (3,1).
The transformation y=a⋅f(b(x−h))+k encodes four independent transformations. Reading off a, b, h, k allows systematic description without re-deriving the graph from scratch.

Example 2

medium
Starting from f(x)=x, apply the transformation g(x)=−2x+4 step by step and identify the key point transformations.

Example 3

medium
Starting from f(x)=x2, write the equation that reflects across the x-axis, stretches vertically by 4, and shifts right 1.

Common mistakes

  • Shifting the wrong direction inside the function - f(x−3) moves right, f(x+3) moves left (opposite of the sign).
  • Confusing inside (horizontal, on x) with outside (vertical, on y) changes - a and k act on outputs, b and h on inputs.
  • Applying horizontal stretches as the literal factor - a factor b inside compresses by 1b, not by b.

Why this formula matters

With a handful of parent graphs (x2, x, ∣x∣, 1x, sin⁡x) and four kinds of move, you can sketch thousands of functions without plotting points, and read a vertex, an intercept or an asymptote straight from the constants. It is also how models are fitted: a daily temperature curve is a cosine wave stretched, raised to the average temperature and shifted to the hottest hour.

Frequently asked questions

What is the Function Transformation formula?

A function transformation shifts, stretches, compresses, or reflects the graph of a parent function by modifying its formula in a systematic way.

How do you use the Function Transformation formula?

Use transformations when a formula contains a familiar parent function with constants added or multiplied inside or outside it: (x−4)2+1, 2x+3, −∣x∣+5, sin⁡(2x). Read a, b, h and k to sketch the graph from a few key points, or to write the equation of a moved graph. If the formula combines different functions, such as x2+sin⁡x, or feeds a curved rule into the parent, it is not a transformation of one parent.

What do the symbols mean in the Function Transformation formula?

Parent function f(x) is transformed: +k shifts up, −h shifts right, a scales vertically, b scales horizontally.

Why is the Function Transformation formula important in Math?

With a handful of parent graphs (x2, x, ∣x∣, 1x, sin⁡x) and four kinds of move, you can sketch thousands of functions without plotting points, and read a vertex, an intercept or an asymptote straight from the constants. It is also how models are fitted: a daily temperature curve is a cosine wave stretched, raised to the average temperature and shifted to the hottest hour.

What do students get wrong about Function Transformation?

The procedure for function transformation is the easy part; the trap is shifting the wrong direction inside the function. Asking "Is a known parent graph being moved, scaled, or flipped by added or multiplied constants?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Function Transformation formula?

Before studying the Function Transformation formula, you should understand: function definition, coordinate plane.

The full guide

This formula is covered in depth in Functions and Graphs: Complete Foundations for Algebra and Calculus.