Functions

Function Transformations: Translations, Reflections & Stretches

Master the systematic rules for transforming function graphs. Learn translations, reflections, stretches and compressions with clear visual examples and exam-ready techniques.

V
Vectora Team
STEM Education
12 min read
2026-04-10

Try the interactive simulation for this topic

Explore this concept with our interactive 3D simulation.
Launch Simulator

What Are Function Transformations?

Function transformations are systematic rules that modify the graph of a function y=f(x)y = f(x) by shifting, reflecting, stretching or compressing it. Instead of plotting dozens of points for each new function, you can start from a known parent graph and apply transformations to obtain the new shape instantly.

This is one of the most powerful techniques in A-Level and AP mathematics — it turns graph sketching from tedious calculation into elegant pattern recognition.

Function Transformation Lab

Drag sliders to apply translations, reflections and stretches to any function in real time. See how each parameter changes the equation and the graph simultaneously.
Launch Transformer

Learning Goals: By the end of this guide, you should be able to:

  1. Apply vertical and horizontal translations to any function graph.
  2. Perform reflections in the x-axis and y-axis.
  3. Apply vertical and horizontal stretches and compressions.
  4. Combine multiple transformations in the correct order.

The Four Families of Transformations

1. Translations (Shifting)

A translation slides the entire graph without changing its shape.

TransformationEquationEffect
Vertical shift up by aay=f(x)+ay = f(x) + aEvery point moves up aa units
Vertical shift down by aay=f(x)ay = f(x) - aEvery point moves down aa units
Horizontal shift left by aay=f(x+a)y = f(x + a)Every point moves left aa units
Horizontal shift right by aay=f(xa)y = f(x - a)Every point moves right aa units

The counter-intuitive rule: f(x+a)f(x + a) shifts the graph left, not right. Think of it as: the function reaches each value aa units earlier along the x-axis.

2. Reflections

TransformationEquationEffect
Reflect in x-axisy=f(x)y = -f(x)All y-coordinates are negated
Reflect in y-axisy=f(x)y = f(-x)All x-coordinates are negated

3. Stretches and Compressions

TransformationEquationEffect
Vertical stretch by factor aay=af(x)y = af(x)y-coordinates multiplied by aa
Vertical compression by factor aay=1af(x)y = \frac{1}{a}f(x)y-coordinates divided by aa
Horizontal compression by factor aay=f(ax)y = f(ax)x-coordinates divided by aa
Horizontal stretch by factor aay=f(xa)y = f\left(\frac{x}{a}\right)x-coordinates multiplied by aa

Another counter-intuitive rule: f(2x)f(2x) makes the graph narrower (compressed horizontally), not wider. It's the opposite of what the "2" might suggest.

4. Combined Transformations

When multiple transformations are applied, the order matters. The general form is:

y=af(b(xh))+ky = a \cdot f(b(x - h)) + k

Where:

  • aa = vertical stretch/reflection
  • bb = horizontal stretch/reflection
  • hh = horizontal translation
  • kk = vertical translation

Recommended order: Horizontal operations first (inside the function), then vertical operations (outside).


Worked Examples

Example 1: Describing a Transformation

Question: The graph of y=x2y = x^2 is transformed to y=(x3)2+2y = (x - 3)^2 + 2. Describe the transformation.

Solution: Comparing with y=f(xh)+ky = f(x - h) + k, we identify h=3h = 3 and k=2k = 2.

The graph is translated 3 units to the right and 2 units up. The vertex moves from (0,0)(0, 0) to (3,2)(3, 2).

Example 2: Finding the New Equation

Question: The graph of y=sinxy = \sin x is reflected in the x-axis and then stretched vertically by a factor of 3. Write the equation of the new graph.

Step 1: Reflect in x-axis: y=sinxy = -\sin x

Step 2: Vertical stretch by factor 3: y=3(sinx)=3sinxy = 3(-\sin x) = -3\sin x

Answer: y=3sinxy = -3\sin x


Common Mistakes

  1. Confusing the direction of horizontal transformationsf(x+2)f(x + 2) shifts LEFT, not right. f(x2)f(x - 2) shifts RIGHT, not left.
  2. Wrong order of combined transformations — Always apply transformations inside the brackets first (horizontal), then outside (vertical).
  3. Forgetting that horizontal stretches are reciprocalf(2x)f(2x) is a horizontal compression by factor 12\frac{1}{2}, not a stretch by factor 2.

Exam Tips (A-Level / AP / IB)

  • When asked to "describe the transformation", always state the type (translation/reflection/stretch) and the details (direction, distance, scale factor, axis of reflection).
  • For translations, use vector notation where expected: a translation of (32)\begin{pmatrix} 3 \\ -2 \end{pmatrix} means 3 right, 2 down.
  • Check your answer by substituting a known point from the original graph and verifying it maps to the correct point on the transformed graph.

Frequently Asked Questions

Does the order of transformations always matter?

Not always — commutative pairs like two translations or two reflections in different axes can be swapped. But mixing translations with stretches or reflections does depend on order. When in doubt, follow: horizontal operations first, vertical second.

How do I handle transformations of trigonometric functions?

The same rules apply. For y=Asin(B(xC))+Dy = A\sin(B(x - C)) + D: AA is the amplitude (vertical stretch), BB affects the period (period=2πB\text{period} = \frac{2\pi}{B}), CC is the phase shift, and DD is the vertical translation.


References & Further Reading

This article was created by the Vectora Editorial Team and is reviewed for alignment with AP, IB, and A-Level curricula. Content is based on standard academic sources in chemistry, physics, biology, and mathematics.

Published: 2026-04-10

For corrections or suggestions, contact support@vectora.one.