Graph Transformations (AA HL)

A transformation moves, reflects or stretches the graph of y=f(x)y=f(x). Changes made inside the brackets, such as f(x−a)f(x-a) and f(qx)f(qx), act on the xx-coordinates, while changes made outside, such as f(x)+bf(x)+b and pf(x)pf(x), act on the yy-coordinates. Combine them in the correct order and track a few key points. It's part of the broader Transformations & Graphs topic.

37 questions on this sub-topic.

Syllabus

CodeSyllabus content
SL2.11Transformations of graphs: translations y=f(x)+by=f(x)+b and y=f(x−a)y=f(x-a); reflections in both axes, y=−f(x)y=-f(x) and y=f(−x)y=f(-x); vertical stretch with scale factor pp, y=pf(x)y=pf(x); horizontal stretch with scale factor 1q\tfrac1q, y=f(qx)y=f(qx); composite transformations. Students should be aware of the relevance of the order in which transformations are performed. Link to composite functions (SL2.5).

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Skills practised on this page:

The transformation rules

Translations and reflections

y=f(x)+b,  y=f(x−a),  y=−f(x),  y=f(−x)y=f(x)+b,\ \ y=f(x-a),\ \ y=-f(x),\ \ y=f(-x)

bb shifts up/down, aa shifts right/left (note the minus sign inside the bracket), −f(x)-f(x) reflects in the xx-axis, f(−x)f(-x) reflects in the yy-axis.

Stretches

y=pf(x)y=pf(x) (vertical, factor pp); y=f(qx)y=f(qx) (horizontal, factor 1q\tfrac1q)

A vertical stretch multiplies every yy-value by pp. A horizontal stretch has scale factor 1q\tfrac1q, not qq itself - a common source of errors.

For combined transformations, build up the function step by step from the inside out. For the full syllabus wording and formula-booklet reference table, see Transformations & Graphs.

Key terms

What is a translation of a graph?

A translation shifts the graph without changing its shape. The graph of y=f(x−a)+by=f(x-a)+b is the graph of y=f(x)y=f(x) moved aa units right and bb units up.

e.g. y=(x−2)2+3y=(x-2)^2+3 is y=x2y=x^2 moved 22 right and 33 up, so its vertex is (2,3)(2,3).

What is a reflection of a graph?

The graph of y=−f(x)y=-f(x) is the reflection of y=f(x)y=f(x) in the xx-axis, and y=f(−x)y=f(-x) is the reflection in the yy-axis.

e.g. If (3,4)(3,4) lies on y=f(x)y=f(x), then (3,−4)(3,-4) lies on y=−f(x)y=-f(x) and (−3,4)(-3,4) lies on y=f(−x)y=f(-x).

What is a stretch of a graph?

The graph of y=pf(x)y=pf(x) is a vertical stretch with scale factor pp. The graph of y=f(qx)y=f(qx) is a horizontal stretch with scale factor 1q\dfrac{1}{q}.

e.g. If (4,5)(4,5) lies on y=f(x)y=f(x), then (2,5)(2,5) lies on y=f(2x)y=f(2x) and (4,15)(4,15) lies on y=3f(x)y=3f(x).

What is a composite transformation?

A composite transformation applies two or more transformations in turn, and the order can change the result.

e.g. Starting from the point (1,2)(1,2) on y=f(x)y=f(x): y=2f(x)+1y=2f(x)+1 gives (1,5)(1,5), but y=2(f(x)+1)y=2(f(x)+1) gives (1,6)(1,6).

Worked examples

1
Easy
No calc
[2 marks]

The graph of y=f(x)y=f(x) is translated by (3−2).\begin{pmatrix}3\\-2\end{pmatrix}. Write the new function in terms of f.f.

Worked solution

Translation by (3−2)\begin{pmatrix}3\\-2\end{pmatrix} means right 3 units (x→x−3x \to x-3) M1
and down 2, so y=f(x−3)−2.y = f(x-3) - 2. A1

M1 Horizontal shift f(x−3)f(x-3) A1 Vertical −2-2
2
Hard
No calc
[5 marks]

y=x2y=x^2 is transformed to y=2(x−3)2+1.y=2(x-3)^2+1. Describe a sequence of transformations and state the vertex.

(a) Describe a sequence of transformations.

(b) State the vertex of the transformed graph.

Worked solution

factor 2 (yy M1 =2x2= 2x^2). A1
right 3 M1 and up 1. A1 Vertex (3,1).(3, 1). A1

M1 Vertical stretch A1 Factor 2 M1 Horizontal translation A1 Vertical translation A1 Vertex
3
Medium
No calc
[5 marks]

The point (2,5)(2,5) lies on y=f(x).y=f(x).

(a) Find the corresponding point on y=f(2x)y=f(2x).

(b) Find the corresponding point on y=−f(x)+3.y=-f(x)+3.

Worked solution

(a) y=f(2x)y = f(2x): 2x=2⇒x=1.2x = 2 \Rightarrow x = 1. M1
Point (1,5).(1, 5). A1

(b) y=−f(x)+3y = -f(x) + 3: M1
−5+3=−2.-5 + 3 = -2. A1
Point (2,−2).(2, -2). A1

M1 Horizontal stretch A1 (1,5)(1,5) M1 Apply to yy A1 y=−2y=-2 A1 (2,−2)(2,-2)

Common mistakes

  • Applying combined transformations in the wrong order. Each transformation acts on the graph as it currently stands - work from the inside of the bracket outward, not in the order the words happen to be listed.
  • Getting the sign backwards for a horizontal translation. y=f(x−a)y=f(x-a) shifts the graph right by aa when a>0a>0, not left - it's the opposite of what the minus sign suggests.
  • Using qq instead of 1q\tfrac1q as the horizontal stretch factor. y=f(qx)y=f(qx) compresses the graph when q>1q>1; the scale factor is 1q\tfrac1q, not qq itself.

Using your GDC

Every step below is a real button sequence, not a vague "use your calculator" hint - covering the TI-84 Plus, TI-Nspire, and Casio fx-9860/fx-CG50. Pick your model to filter down to just the steps that apply to you.

Show steps for:
Find where two graphs meet (intersection)

Compare an original graph and its transformed image visually - or check where a transformed graph crosses an axis or another curve - with no algebra.

  1. Enter both functions as Y1 and Y2 and graph them.
  2. 2nd → CALC → 5:intersect, move near the crossing, then press ENTER three times.TI-84
  3. menu → Analyze Graph → Intersection.Nspire
  4. Press G-Solve (SHIFT F5) → Intersection (ISCT).Casio
  5. Repeat for each crossing point.

Tip: Adjust the window/zoom so every intersection point is visible before using the tool.

Zoom strategies for graphs

A blank, flat or oddly-shaped graph after a transformation is almost always a window problem, not an equation problem - knowing the right zoom saves time and avoids missing features.

  1. Before graphing, set the x-range to match the domain in the question (e.g. 0≤t≤200 \le t \le 20).
  2. ZOOM → 6:ZStandard resets to −10…10. ZOOM → 0:ZoomFit auto-scales y to your x-range. ZOOM → 4:ZDecimal gives clean decimal cursor steps.TI-84
  3. menu → Window/Zoom → Zoom-Standard, Zoom-Fit, or set the window manually with Window Settings.Nspire
  4. SHIFT → F3 (V-Window) to set ranges manually; Zoom (F2) → Auto fits y automatically.Casio
  5. If a function looks flat: widen the y-range (the variation is small). If nothing appears: check you're in the right x-range.

Tip: ZoomFit (Auto) is your best friend after a big vertical stretch or translation - it always shows the shape in your x-range.

See the full GDC guide for more calculator models and topics.

Quick questions

Which way does y = f(x - a) shift the graph?

It shifts the graph in the positive xx-direction (to the right) by aa when aa is positive - the opposite of what the minus sign inside the bracket suggests.

In what order should combined transformations be applied?

Work from the inside of the function bracket outward: apply whatever is done to xx first, then whatever is applied to the whole function afterward. This does not always match the order the transformations are described in words.

How do I find the image of a point on y=f(x+1)−4y=f(x+1)-4?

Replace xx by x+1x+1 to move the point 11 unit left, and subtract 44 from the yy-coordinate. The point (3,7)(3,7) on y=f(x)y=f(x) maps to (2,3)(2,3), since f(2+1)−4=7−4=3f(2+1)-4=7-4=3.

How do I describe the transformation y=−f(x−2)y=-f(x-2)?

It is a translation of 22 units in the positive xx-direction combined with a reflection in the xx-axis. These two can be done in either order.

Why is the horizontal stretch factor 1q\dfrac{1}{q} and not qq?

In y=f(qx)y=f(qx), the graph reaches a given output when qxqx equals the old input, so the xx-value is qq times smaller. For example, the point with x=6x=6 on y=f(x)y=f(x) moves to x=3x=3 on y=f(2x)y=f(2x).

Ready to practise properly?

37 graph transformation questions, marked instantly like the real exam.