Graph Transformations Explained with Worked Examples

The six basic graph transformations are , , , , and .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Graph transformations means

Outside changes affect : translates up by , stretches vertically, reflects in the -axis.

Inside changes affect in the opposite sense: translates left by , stretches horizontally by factor , and reflects in the -axis.

GCSE graphs use these with quadratics, cubics and trigonometric graphs. The combined rules are in transformations of y = f, the absolute value version is the modulus function, and the reciprocal graph and the exponential graph are common examples; for composition see the composite function.

This page is part of Graphs and functions in Algebra. Topics that work alongside it: Transformations of y = f(x), Modulus function, Reciprocal graph, Reciprocal graphs and asymptotes, Inverse function and Graph of an inverse function.

What is it used for?

Each type of transformation has a standard effect on a graph: translation, stretch and reflection. Knowing them lets you sketch the new graph quickly.

How to use graph transformations

  1. Write the transformed function.
  2. Decide whether it changes (inside) or (outside).
  3. Apply the effect to key points.
  4. Sketch the new graph.

Graph

y = sin x and y = 2 sin x0123456-2-1012y = sin x and y = 2 sin xxyy = sin xy = 2 sin xGraph with x from -0.5 to 6.5 and y from -2.5 to 2.5. Shows the curve y = sin x; the curve y = 2 sin x.

Multiplying by 2 stretches the graph vertically by a factor of 2: the roots stay put but the peaks double.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: translate a parabola

Describe the graph of compared with .

Worked example
Answer
Translation by (23)\text{Translation by }\begin{pmatrix}2\\3\end{pmatrix}
  1. Inside change
    moves the graph 2 units to the right.
  2. Outside change
    moves it 3 units up.
  3. Turning point
    The turning point moves from to .

Example 2: a reflection

Describe the graph of compared with .

Worked example
Answer
reflection in the x-axis\text{reflection in the } x\text{-axis}
  1. A minus sign outside the function
  2. Interpret
    It is a reflection in the x-axis, so the U-shape becomes an ∩-shape.

Example 3: a stretch

Describe the graph of compared with .

Worked example
Answer
stretch, scale factor 2, parallel to the y-axis\text{stretch, scale factor 2, parallel to the } y\text{-axis}
  1. A factor outside the function
  2. Interpret
    It is a vertical stretch with scale factor 2, so every y-value is doubled.

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

(2, 4) under f(x) + 3

(2, 7)

y-coordinate + 3.

Under f(x + 3)

(−1, 4)

x-coordinate − 3.

Under 3f(x)

(2, 12)

y × 3.

Under f(3x)

(2/3, 4)

x ÷ 3.

Word problems

For a point (p, q) on y = f(x): f(x) + a → (p, q + a); f(x + a) → (p − a, q); af(x) → (p, aq); f(ax) → (p/a, q); −f(x) → (p, −q); f(−x) → (−p, q).

Up 3

Where does (2, 4) go under f(x) + 3? Find the new y.

  1. 4 + 3
  2. Check: ✓7

Left 3

Under f(x + 3) find the new x.

  1. 2 − 3
  2. Check: ✓-1

Vertical stretch Higher

Under 3f(x) find the new y.

  1. 3 × 4
  2. Check: ✓12

Horizontal stretch Higher

Under f(3x) find the new x.

  1. 2/3
  2. Check: ✓0.6667

Common mistakes

x changes for f(x) + a

shift x ✗

y changes ✓

Outside is vertical.

x × a for f(ax)

2 × 3 ✗

2 ÷ 3 ✓

Reciprocal.

Right for f(x + a)

x + a ✗

x − a ✓

Opposite.

Reflect both

(−2, −4) ✗

depends on the transformation ✓

One axis only.

Exam tips

  1. Track a point.
  2. Inside: x, opposite.
  3. Outside: y, same.
  4. −f: y → −y.
  5. f(−x): x → −x.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. (3, 5) under f(x) − 2: new y Foundation

3

2. (3, 5) under f(x − 4): new x Foundation

7

3. (3, 5) under 2f(x): new y Foundation

10

4. (6, 5) under f(2x): new x Higher

3

5. (3, 5) under −f(x): new y Higher

-5

6. (3, 5) under f(−x): new x Higher

-3

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Image point
Point after transformation.
Scale factor
Stretch multiplier.
Translation vector
Shift.
Reflection
Mirror.
Invariant
Fixed under the map.
Parameter (a)
The constant.

Frequently asked questions

How does a point move under f(x + a)?

(p, q) → (p − a, q).

Under f(ax)?

(p/a, q).

Under af(x)?

(p, aq).

Under −f(x)?

(p, −q).

Which page covers the basics?

transformations of y = f(x).

Which page covers inverses?

graph of an inverse function.

More in Algebra and the formula sheets.