Skip to main content
ExamExplained
NSW · Maths Advanced
Maths Advanced study scene
§-Syllabus dot point
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.

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.

Practice questions

Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.

foundation2 marksThe graph of y=f(x)y = f(x) passes through the point (3,2)(3, -2). State the coordinates of the corresponding point on the graph of y=f(x)5y = f(x) - 5.
Show worked solution →

Identify the transformation. Subtracting 55 acts outside the function, so it is a vertical translation down by 55. The xx-coordinate is unaffected.

Apply it to the point. The height drops by 55:

(3,2)(3,25)=(3,7).(3, -2) \mapsto (3, -2 - 5) = (3, -7).

So the corresponding point is (3,7)(3, -7).

Marker's note: one mark for recognising 5-5 as a downward vertical shift acting only on yy, one for the coordinates (3,7)(3, -7). Changing the xx-coordinate is the usual slip.

foundation2 marksDescribe fully the single transformation that maps y=cosxy = \cos x to y=cos(x+π3)y = \cos(x + \frac{\pi}{3}).
Show worked solution →

Read the inside change. The argument becomes x+π3=x(π3)x + \frac{\pi}{3} = x - \left(-\frac{\pi}{3}\right), which acts inside the function on xx.

State direction and amount. An inside shift does the opposite of its sign, so adding π3\frac{\pi}{3} moves the graph to the left by π3\frac{\pi}{3}:

y=cos(x+π3) is y=cosx shifted left by π3.y = \cos\left(x + \tfrac{\pi}{3}\right) \text{ is } y = \cos x \text{ shifted left by } \tfrac{\pi}{3}.

Marker's note: one mark for identifying a horizontal translation, one for the correct direction (left) and amount π3\frac{\pi}{3}. Shifting right is the standard sign-flip error.

foundation3 marksThe parabola y=x2y = x^2 is reflected in the xx-axis, then translated down by 66. Write the equation of the resulting graph and state the coordinates of its vertex.
Show worked solution →

Reflect in the xx-axis. Multiplying by 1-1 outside gives

y=x2.y = -x^2.

Translate down by 66. Subtracting 66 outside gives

y=x26.y = -x^2 - 6.

Read the vertex. The base vertex (0,0)(0, 0) is unmoved horizontally and dropped 66, and the reflection leaves a height of 00 at 00, so the vertex is (0,6)(0, -6), and the parabola opens downward.

Marker's note: one mark for the reflection y=x2y = -x^2, one for the downward shift to y=x26y = -x^2 - 6, one for the vertex (0,6)(0, -6) with the opening direction. Adding 66 instead of subtracting reverses the shift.

core3 marksThe point (4,6)(4, 6) lies on y=f(x)y = f(x). Find the coordinates of the corresponding point on y=f(2x)+1y = f(2x) + 1.
Show worked solution →

Split inside from outside. Inside, f(2x)f(2x) is a horizontal dilation: replacing xx by 2x2x compresses horizontally by a factor of 12\frac{1}{2}, so an xx-coordinate is halved. Outside, +1+1 raises the height by 11.

Map the point with (x0,y0)(x02,y0+1)(x_0, y_0) \mapsto \left(\frac{x_0}{2}, y_0 + 1\right).

(4,6)(42,6+1)=(2,7).(4, 6) \mapsto \left(\frac{4}{2}, \, 6 + 1\right) = (2, 7).

So the corresponding point is (2,7)(2, 7).

Marker's note: one mark for halving the xx-coordinate under the inside factor 22, one for adding 11 to the height, one for the final point (2,7)(2, 7). Multiplying the xx-coordinate by 22 (instead of dividing) is the classic inside-dilation trap.

core4 marksA graph of y=g(x)y = g(x) is a straight line segment joining (2,1)(-2, 1) to (2,5)(2, 5), drawn on the axes accompanying this question. Sketch y=g(x)y = g(-x) on the same axes and state the coordinates of the two endpoints of the transformed segment.
Show worked solution →

Identify the transformation. Replacing xx with x-x reflects the graph in the yy-axis. Every point (x0,y0)(x_0, y_0) maps to (x0,y0)(-x_0, y_0); heights are unchanged.

Transform each endpoint.

(2,1)(2,1),(2,5)(2,5).(-2, 1) \mapsto (2, 1), \qquad (2, 5) \mapsto (-2, 5).

Describe the sketch. The reflected segment joins (2,1)(2, 1) to (2,5)(-2, 5): it is the original line flipped left-to-right, now sloping downward from left to right (original slope +1+1 becomes 1-1), still spanning 2x2-2 \le x \le 2.

Marker's note: one mark for recognising the yy-axis reflection, one for each correctly reflected endpoint, one for a sketch matching the new endpoints (or the correct reversed slope). Reflecting in the xx-axis (changing the heights) is the common misread.

exam5 marksThe depth of water at a harbour entrance is modelled by transforming y=costy = \cos t. High tide of 9.49.4 m occurs at t=0t = 0 hours (midnight) and the following low tide of 1.81.8 m occurs 66 hours later, and the pattern repeats every 1212 hours. (a) Show that the depth is D(t)=3.8cos(π6t)+5.6D(t) = 3.8\cos\left(\frac{\pi}{6}t\right) + 5.6. (b) State the amplitude and period of D(t)D(t). (c) Find the depth at t=3t = 3 hours.
Show worked solution →

Part (a): build each transformation from the tide data. The centre line is the mean of high and low tide, giving the outside vertical shift:

k=9.4+1.82=11.22=5.6.k = \frac{9.4 + 1.8}{2} = \frac{11.2}{2} = 5.6.

The amplitude is the swing above the centre, the outside dilation:

a=9.41.82=7.62=3.8.a = \frac{9.4 - 1.8}{2} = \frac{7.6}{2} = 3.8.

The period must be 1212 hours, and cos\cos has natural period 2π2\pi, so the inside factor is

b=2π12=π6.b = \frac{2\pi}{12} = \frac{\pi}{6}.

Because high tide (the maximum of cos\cos) occurs at t=0t = 0, no horizontal shift is needed, so

D(t)=3.8cos(π6t)+5.6.D(t) = 3.8\cos\left(\frac{\pi}{6}t\right) + 5.6.

Part (b): read amplitude and period. The outside factor gives amplitude 3.83.8 m; the inside factor π6\frac{\pi}{6} gives period

2ππ/6=12 hours.\frac{2\pi}{\pi/6} = 12 \text{ hours}.

Part (c): substitute t=3t = 3.

D(3)=3.8cos(π6×3)+5.6=3.8cos(π2)+5.6=3.8(0)+5.6=5.6 m.D(3) = 3.8\cos\left(\frac{\pi}{6}\times 3\right) + 5.6 = 3.8\cos\left(\frac{\pi}{2}\right) + 5.6 = 3.8(0) + 5.6 = 5.6 \text{ m}.

So the depth at t=3t = 3 hours is 5.65.6 m (the water is exactly at its mean level, midway between the tides).

Marker's note: one mark for the vertical shift k=5.6k = 5.6, one for the amplitude a=3.8a = 3.8, one for the period argument giving b=π6b = \frac{\pi}{6} and the shown equation in (a); one for amplitude and period in (b); one for D(3)=5.6D(3) = 5.6 m in (c). Working in degrees, or using b=12b = 12 instead of π6\frac{\pi}{6}, breaks part (c).

exam4 marksThe function y=f(x)y = f(x) has a single asymptote x=2x = 2 and a zero at x=5x = 5. The graph is transformed to y=f(12(x1))y = f\left(\frac{1}{2}(x - 1)\right). (a) Find the equation of the new asymptote. (b) Find the new xx-intercept. (c) Hence describe, in order, the sequence of horizontal transformations applied.
Show worked solution →

Set up the point map. Factor the inside as f(12(x1))f\left(\frac{1}{2}(x - 1)\right), so b=12b = \frac{1}{2} and h=1h = 1. A base xx-value x0x_0 maps to

x0x0b+h=2x0+1.x_0 \mapsto \frac{x_0}{b} + h = 2x_0 + 1.

Part (a): transform the asymptote x=2x = 2.

x=22(2)+1=5,x = 2 \mapsto 2(2) + 1 = 5,

so the new asymptote is x=5x = 5.

Part (b): transform the zero at x=5x = 5.

x=52(5)+1=11,x = 5 \mapsto 2(5) + 1 = 11,

so the new xx-intercept is at x=11x = 11.

Part (c): describe the horizontal sequence. Inside operations run dilation first, then translation. The factor b=12b = \frac{1}{2} stretches horizontally by 1b=2\frac{1}{b} = 2, then h=1h = 1 shifts right by 11:

stretch horizontally by factor 2, then translate right by 1.\text{stretch horizontally by factor } 2, \text{ then translate right by } 1.

Marker's note: one mark for the new asymptote x=5x = 5, one for the new intercept x=11x = 11, one for the correct horizontal stretch factor 22, one for the shift right by 11 in the correct order. Reading b=12b = \frac{1}{2} as a compression, or shifting before stretching, gives the wrong coordinates.

ExamExplained