← Year 12: Functions

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 OpusReviewed by Better Tuition Academy9 min answer

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(xβˆ’h)y = f(x - h) shifts the graph right by hh (left if h<0h < 0). Note the sign flip: xβˆ’hx - 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(xβˆ’h))+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.
  • IMATH_53 -intercepts (zeros) shift horizontally and rescale by horizontal factors.
  • IMATH_54 -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.

Worked examples

A composite transformation

Start with y=x2y = x^2. Find the equation after stretching vertically by 33, reflecting in the xx-axis, shifting right by 22, and shifting up by 44.

Vertical: y=βˆ’3x2y = -3 x^2 (vertical stretch and reflection together, since both are outside).

Then horizontal shift: y=βˆ’3(xβˆ’2)2y = -3 (x - 2)^2.

Then vertical shift: y=βˆ’3(xβˆ’2)2+4y = -3 (x - 2)^2 + 4.

Vertex at (2,4)(2, 4), opening downward.

Inside and outside dilations

Sketch y=2sin⁑(3x)y = 2 \sin(3 x) starting from y=sin⁑xy = \sin x.

Inside: sin⁑(3x)\sin(3 x) compresses horizontally by factor 13\frac{1}{3}. Period changes from 2Ο€2 \pi to 2Ο€3\frac{2 \pi}{3}.

Outside: factor 22 doubles the amplitude. Maximum 22, minimum βˆ’2-2.

Working backwards

The graph of y=4βˆ’(x+1)2y = 4 - (x + 1)^2 is the parabola y=x2y = x^2 reflected in the xx-axis (giving y=βˆ’x2y = -x^2), shifted left by 11 (giving y=βˆ’(x+1)2y = -(x + 1)^2), and shifted up by 44. Vertex at (βˆ’1,4)(-1, 4), opens downward.

Tracking a single point

The point (0,0)(0, 0) on y=sin⁑xy = \sin x becomes which point on y=5sin⁑(2(xβˆ’Ο€/4))+3y = 5 \sin(2(x - \pi / 4)) + 3?

xx: solve 2(xβˆ’Ο€/4)=02(x - \pi / 4) = 0, so x=Ο€/4x = \pi / 4.

yy: 5sin⁑0+3=35 \sin 0 + 3 = 3.

New point: (Ο€/4,3)(\pi / 4, 3).

Common traps

Sign flip on horizontal translations. y=f(xβˆ’h)y = f(x - h) moves the graph right by hh, not left. Drawing one specific point through the transformation is a fast check.

Applying inside operations in the wrong order. f(2xβˆ’4)f(2x - 4) is not the same as f(2(xβˆ’4))f(2(x - 4)). Factor first: f(2xβˆ’4)=f(2(xβˆ’2))f(2x - 4) = f(2(x - 2)), so the horizontal compression by 12\frac{1}{2} is followed by a shift right by 22, not 44.

Treating a horizontal dilation as a vertical effect. y=f(2x)y = f(2 x) rescales the xx-axis, not the yy-axis. The yy-values of any single point are unchanged.

Confusing βˆ’f(x)-f(x) with f(βˆ’x)f(-x). The first reflects in the xx-axis (flip top to bottom), the second in the yy-axis (flip left to right). For an even function they look the same; for an odd function f(βˆ’x)=βˆ’f(x)f(-x) = -f(x), so they coincide there too.

Missing the impact on the domain. Reflecting or dilating horizontally changes the natural domain of a function that has a restricted domain (such as x\sqrt{x}, ln⁑x\ln x, or arccos⁑x\arccos x). Track the new domain along with the new equation.

In one sentence

The general transformed function y=af(b(xβˆ’h))+ky = a f(b(x - h)) + k takes the base graph y=f(x)y = f(x), dilates and translates inside the function to act on xx and outside the function to act on yy, with horizontal operations running in the opposite order to their natural reading.

Past exam questions, worked

Real questions from past NESA papers on this dot point, with our answer explainer.

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

Read the transformations from inside to outside.

Inside: xβˆ’1x - 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 3β‹…5+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 = \sin x$ is reflected in the $x$-axis, then stretched vertically by a factor of $2$, then translated up by $1$. Write the equation of the resulting graph.
Show worked answer β†’

Reflect in the xx-axis: y=βˆ’sin⁑xy = -\sin x.

Stretch vertically by 22: y=βˆ’2sin⁑xy = -2 \sin x.

Translate up by 11: y=βˆ’2sin⁑x+1y = -2 \sin x + 1, or y=1βˆ’2sin⁑xy = 1 - 2 \sin x.

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

Related dot points