Skip to main content
NSWMaths AdvancedSyllabus dot point

How do translations, reflections and dilations transform the graph of a function in a predictable way?

Apply translations, reflections and dilations to the graph of a function and identify the resulting equation

A focused answer to the HSC Maths Advanced dot point on graph transformations. Vertical and horizontal translations, reflections in the axes, vertical and horizontal dilations, the order of combined transformations, and how each affects the equation, with worked examples.

Generated by Claude Opus 4.814 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

What this dot point is asking

NESA wants you to take the graph of a base function y=f(x)y = f(x) and produce the graph or the equation that results from any combination of translations, reflections and dilations. You must know which transformations act inside the function (on xx) and which act outside (on yy), and the order in which combined transformations apply.

The answer

Vertical transformations (act on yy, outside the function)

Starting from y=f(x)y = f(x):

  • Vertical translation by kk: y=f(x)+ky = f(x) + k shifts the graph up by kk (down if k<0k < 0).
  • Vertical dilation by aa: y=af(x)y = a f(x) stretches vertically by factor a|a|. If a<0a < 0, also reflects in the xx-axis.
  • Reflection in the xx-axis: y=f(x)y = -f(x).

These do what they say: a point (x0,y0)(x_0, y_0) on y=f(x)y = f(x) becomes (x0,ay0+k)(x_0, a y_0 + k) on y=af(x)+ky = a f(x) + k.

Horizontal transformations (act on xx, inside the function)

Starting from y=f(x)y = f(x):

  • Horizontal translation by hh: y=f(xh)y = f(x - h) shifts the graph right by hh (left if h<0h < 0). Note the sign flip: xhx - h means right by hh.
  • Horizontal dilation by bb: y=f(bx)y = f(b x) compresses horizontally by factor bb (stretches if 0<b<10 < b < 1). The sign flip applies here too: dividing by bb inside means stretching by bb.
  • Reflection in the yy-axis: y=f(x)y = f(-x).

A point (x0,y0)(x_0, y_0) on y=f(x)y = f(x) becomes (x0+h1,y0)=(x0+h,y0)\left(\frac{x_0 + h}{1}, y_0\right) = \left(x_0 + h, y_0\right) after a shift, and (x0b,y0)\left(\frac{x_0}{b}, y_0\right) after a horizontal dilation.

The general form

The most general single-variable transformation is

y=af(b(xh))+k.y = a f(b(x - h)) + k.

The graph is obtained from y=f(x)y = f(x) by:

  1. (Inside) horizontal dilation by factor 1b\frac{1}{b}, then translation right by hh.
  2. (Outside) vertical dilation by factor aa, then translation up by kk.

A point (x0,y0)(x_0, y_0) on y=f(x)y = f(x) maps to (x0b+h,ay0+k)\left( \frac{x_0}{b} + h, a y_0 + k \right).

Order of operations

Inside the function: apply the dilation bb first, then the translation hh. Outside: apply the dilation aa first, then the translation kk. Mixing the order changes the answer.

A useful mnemonic: inside transformations act in the opposite of the natural reading order on the algebra; outside transformations act in the natural order.

Effect on key features

Translations move features without changing them. Dilations rescale distances. Reflections flip orientation.

  • Asymptotes shift with translations and rescale with dilations.
  • xx-intercepts (zeros) shift horizontally and rescale by horizontal factors.
  • yy-intercept changes under any horizontal transformation that moves x=0x = 0.
  • The maximum value of af(x)+k|a f(x) + k| on the same domain changes by a|a| in spread and +k+ k in centre.

Build a transformed graph one step at a time

The reliable way to sketch a combined transformation is to apply one operation at a time and redraw, rather than trying to jump to the final picture. Below, the curve y=3(x2)2+4y = -3(x - 2)^2 + 4 is built from y=x2y = x^2 in the exact order set by the general form: dilations and reflections first, then translations, with outside acting on yy and inside acting on xx. Each stage keeps the previous curve as a dashed ghost so you can see what moved. (This is the same worked Step 1 below, drawn out.)

Stage 1, start from the base curve. Draw y=x2y = x^2: a parabola with its vertex at (0,0)(0, 0), opening upward and symmetric about the yy-axis. Every other curve in this sequence is this one in disguise.

Base parabola y equals x squaredThe base graph y equals x squared with vertex at the origin, opening upward.xy-224(0, 0)y = x²Stage 1Base parabola y = x². Vertex at (0, 0), opens up.

Stage 2, apply the outside dilation and reflection. The factor 3-3 acts outside, so it does what it says: multiply every height by 33 (a vertical stretch) and flip top-to-bottom (because of the minus). The result y=3x2y = -3x^2 opens downward and is three times as steep. The vertex stays at (0,0)(0, 0), because scaling and reflecting a height of 00 leaves it at 00.

Vertical stretch by three then reflectionThe curve y equals minus three x squared, obtained from y equals x squared by a vertical stretch of factor three and reflection in the x-axis. The dashed curve is the original parabola.xy-224y = -3x²Stage 2Stretch vertically by 3, reflect in x-axis: y = -3x². Now opens down.

Stage 3, apply the inside translation. Replacing xx with x2x - 2 acts inside the function, so it does the opposite of what it looks like: it shifts the graph right by 22, not left. The whole parabola slides across so the vertex now sits at (2,0)(2, 0). Heights are unchanged; only the horizontal position moves.

Horizontal shift right by twoThe curve y equals minus three times x minus two squared, the previous curve shifted right by two units, so its vertex is at two zero. The dashed curve is the previous stage.xy-224(2, 0)y = -3(x-2)²Stage 3Shift right by 2: y = -3(x - 2)². Vertex moves to (2, 0).

Stage 4, apply the outside translation. Adding 44 acts outside, so again it does what it says: lift the whole graph up by 44. The vertex rises from (2,0)(2, 0) to (2,4)(2, 4). The finished curve y=3(x2)2+4y = -3(x - 2)^2 + 4 is a downward parabola with vertex (2,4)(2, 4), and now it crosses the xx-axis (because the maximum is above the axis), which the earlier stages did not.

Vertical shift up by four, the finished curveThe finished curve y equals minus three times x minus two squared plus four, the previous curve shifted up by four, so the vertex is at two four. The dashed curve is the previous stage.xy-224(2, 4)y = -3(x-2)²+4Stage 4Shift up by 4: y = -3(x - 2)² + 4. Final vertex (2, 4).

If you ever apply the translation before the dilation, you get the wrong answer: shifting first and then stretching scales the shift as well. Doing the inside dilation before the inside translation, and the outside dilation before the outside translation, is what keeps the vertex landing at (2,4)(2, 4).

How exam questions ask about transformations

The wording changes but the task is one of a few shapes. Learn to match the phrasing to the move:

  • "The graph of y=f(x)y = f(x) has a [feature] at (p,q)(p, q). Find the corresponding point on y=af(b(xh))+ky = a f(b(x - h)) + k." Track that one point: its image is (pb+h,aq+k)\left(\frac{p}{b} + h, \, a q + k\right). This is the single most common 2 to 3 mark question (see 2022 HSC Q12 above).
  • "Describe the sequence of transformations that maps y=f(x)y = f(x) to [equation]." Read the equation outside-in or use the general form: name each of aa, bb, hh, kk and state stretch/reflect/shift with direction and factor.
  • "Sketch y=af(b(xh))+ky = a f(b(x - h)) + k, showing key features." Mark the transformed intercepts, asymptotes, and turning points or vertex; do not just translate the shape vaguely. Markers look for moved features at the right coordinates.
  • "Write the equation of the graph obtained by [a list of transformations]." Apply them in order to the algebra, keeping inside and outside operations separate (2021 HSC Q13).
  • "On the same axes, sketch y=f(x)y = f(x) and y=f(x)y = f(-x) (or f(x)-f(x), or f(x)+cf(x) + c)." A reflection or single shift: state which axis the reflection is in, or which way the shift goes, and draw both curves.
  • A horizontal factor written un-factored, like f(2x4)f(2x - 4). Factor the inside first to f(2(x2))f(2(x - 2)) before reading off the shift, or you will shift by the wrong amount.

Exam-style practice questions

Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

2022 HSC Q123 marksThe graph of y=f(x)y = f(x) has a maximum at (2,5)(2, 5). Find the coordinates of the corresponding point on the graph of y=3f(x1)+4y = 3 f(x - 1) + 4.
Show worked answer →

Read the transformations from inside to outside.

Inside: x1x - 1 shifts the graph right by 11, so the xx-coordinate moves from 22 to 33.

Outside: multiply by 33, then add 44. The yy-coordinate goes from 55 to 35+4=193 \cdot 5 + 4 = 19.

New maximum: (3,19)(3, 19).

Markers reward applying the horizontal shift inside the function first, then the vertical dilation and shift outside, and giving the coordinates clearly.

2021 HSC Q133 marksThe graph of y=sinxy = \sin x is reflected in the xx-axis, then stretched vertically by a factor of 22, then translated up by 11. Write the equation of the resulting graph.
Show worked answer →

Reflect in the xx-axis: y=sinxy = -\sin x.

Stretch vertically by 22: y=2sinxy = -2 \sin x.

Translate up by 11: y=2sinx+1y = -2 \sin x + 1, or y=12sinxy = 1 - 2 \sin x.

Markers expect each transformation applied in turn with the correct algebraic effect on the equation.

Related dot points