Mathematics ยท Functions

Transformations of Functions

Reference entry · last updated September 20, 2026

A transformation of a function is a change to its graph produced by altering the input or the output of the rule. Every transformation of a parent function \(f\) can be written in the form below, where each parameter has a fixed geometric effect.

1. First principles: the general form

\( g(x) = a \, f\big(b(x - h)\big) + k \)

The parent function is \(f\). The parameters act independently: \(a\) scales the output, \(b\) scales the input, \(h\) shifts horizontally, and \(k\) shifts vertically [1, 2]. A point \((x, y)\) on the parent graph maps to the point \(\left(\dfrac{x}{b} + h, \; a y + k\right)\) on the transformed graph.

2. Translations

3. Reflections

4. Stretches and compressions

ParameterEffectRule
\( a > 1 \)Vertical stretchOutputs multiplied, graph taller
\( 0 < a < 1 \)Vertical compressionOutputs reduced, graph shorter
\( b > 1 \)Horizontal compressionInputs divided, graph narrower
\( 0 < b < 1 \)Horizontal stretchInputs divided by a fraction, graph wider

Horizontal scaling works with the reciprocal of \(b\), which reverses the intuition from vertical scaling. A factor of \(2\) inside the function doubles the horizontal rate and halves the width.

5. Order of operations

Apply the inside changes first: horizontal shift and horizontal scaling act on the input. Then apply the outside changes: vertical scaling, reflection, and vertical shift. In the form \(a f(b(x - h)) + k\), the input is first shifted by \(h\), then scaled by \(b\).

6. Even and odd symmetry

See also

References

  1. ^OpenStax, College Algebra 2e, Rice University (Transformation of functions).
  2. ^Ron Larson, Precalculus with Limits, 4th ed., Cengage Learning, 2018.