Function Transformations

Welcome to function (or graph) transformations. You’ll be able to learn how to shift, dilate, and reflect a function algebraically. Here, you’ll find:

  • Translations → how to move a function horizontally and/or vertically
  • Dilations → how to stretch or compress a function towards the x and/or y axis
  • Reflections → how to reflect a graph across the x and/or y axis
  • Combined Transformations → how to use translations, dilations, and reflections simultaneously

Translations

Translation is the process of moving a function.

Vertical Translations

𝑦=𝑓(𝑥)+𝑑𝑦→𝑦+𝑑

Take the function 𝑓(𝑥)=𝑥2.

When it is transformed to 𝑓(𝑥)=𝑥2+1 (𝑦=𝑓(𝑥)+1), the curve is shifted up by 1 unit.

Horizontal Translations

𝑦=𝑓(𝑥−𝑐)𝑥→𝑥+𝑐

Take the function 𝑓(𝑥)=𝑥3. When it is transformed to 𝑓(𝑥)=𝑥3−1 (𝑦=𝑓(𝑥)−1), the curve is shifted down by 1 unit.

Comparison

Tip

𝑑 is for vertical translation, 𝑐 is for horizontal translation.

𝑦=𝑓(𝑥−𝑐)+𝑑
Vertical TranslationHorizontal Translation
𝑑:Vertical Translation𝑐:Horizontal Translation
𝑑>0=Shift Up

e.g.𝑑=3,𝑓(𝑥)+3
𝑐>0=Shift Right

e.g.𝑐=3,𝑓(𝑥−3)
𝑑<0=Shift Down

e.g.𝑑=−3,𝑓(𝑥)−3
𝑐<0=Shift Left

e.g.𝑐=3,𝑓(𝑥+3)

Example

Take the function 𝑓(𝑥)=𝑥2. Shift it up by three and shift it left by four.

Dilations

Definition

Dilation is the compression or stretching of a function.

Vertical Dilation

𝑦=𝑘𝑓(𝑥)𝑦→𝑦𝑘or𝑦→𝑦𝑏

When vertical dilation is applied, the graph either moves towards (compresses or is shrunk) or moves away (stretches) from the x-axis.

These conditions apply for vertical dilation.

  • 0<𝑘<1 :: It is compressed or shrunk towards the x-axis.
  • 𝑘>1 :: It is stretched away from the x-axis.

Application

With graphing technology (e.g. Desmos), input the following functions:

𝑓(𝑥)=𝑥𝑦=3𝑓(𝑥)𝑦=14𝑓(𝑥)

Notice how with 𝑦=3𝑓(𝑥) that the function stretches away from the x-axis. Notice how the opposite effect occurs with 𝑦=14𝑓(𝑥).

Horizontal Dilation

𝑦=𝑓(𝑘𝑥)(In terms of scale factor)𝑦=𝑓(1𝑘𝑥)𝑥→1𝑘×𝑥

When horizontal dilation is applied, the graph either moves towards (compresses or is shrunk) or moves away (stretches) from the y-axis.

These conditions apply for horizontal dilation.

Application

With graphing technology (e.g. Desmos), input the following functions:

𝑓(𝑥)=𝑥𝑦=𝑓(2𝑥)𝑦=𝑓(16𝑥)

Notice how with {}𝑦=𝑓(16𝑥){} that the function stretches away from the x-axis. Notice how the opposite effect occurs with 𝑦=𝑓(2𝑥). (Remember that it is the reciprocal of 𝑘 that is being used as the scale factor, so the scale factor of 𝑦=𝑓(16𝑥) is 6, and the scale factor of 𝑦=𝑓(2𝑥) is 12.)

Tip

To dilate a function horizontally, you must multiply x by the reciprocal of k. This is because the scale factor is actually 1𝑘.

𝑘𝑦=𝑥𝑦=𝑥𝑘𝑦=1𝑘×𝑥∴𝑦=1𝑘𝑥

Comparison

𝑦=𝑏𝑓(𝑎𝑥)or𝑦=𝑏𝑓(1𝑎𝑥)

Tip

𝑎 is for horizontal dilation, 𝑏 is for vertical dilation.

Vertical DilationHorizontal Dilation
𝑏:Vertical Dilation𝑎:Horizontal Dilation
0<𝑏<1→Compress or Shrink towards x-axis0<𝑎<1→Compress or Shrink towards y-axis
𝑏>1→Stretch towards x-axis𝑎>1→Stretch towards y-axis

Reflections

Definition

Reflections are a type of transformation, allowing for the graph to be flipped across a line to create a mirror image on the other side.

Reflections are similar to dilations, since it is, with respect to the function 𝑦=𝑘𝑓(𝑥), 𝑘=−1.

Note

In Mathematics Advanced, only reflections about the x and y-axis will be explored.

Vertical Reflections

𝑦=−𝑓(𝑥)𝑦→−𝑦

Vertical reflections are reflections about the x-axis. This is when every y-value is flipped.

Let 𝑦=𝑥3.

x012
y018

Now, reflect 𝑦=𝑥3 vertically. This should now return as 𝑦=−(𝑥3)=−𝑥3.

x-2-1012
y810-1-8

Tip

In vertical reflections, the y-intercept of the function CAN change. For instance, let 𝑓(𝑥)=𝑥3+1. The y-intercept of this function is (0, 1). If it was vertically reflected (−𝑓(𝑥))…

𝑓(𝑥)=𝑥3+1−𝑓(𝑥)=−(𝑥3+1)=−𝑥3−1

The y-intercept is now (0, -1).

Horizontal Reflections

𝑦=𝑓(−𝑥)𝑥→−𝑥

Horizontal reflections are reflections about the y-axis. This is when every x-value is flipped.

Let 𝑦=𝑥3.

x012
y018

Now, reflect 𝑦=𝑥3 horizontally. This should now return as 𝑦=(−𝑥)3. Thus, its values are the same (since it is an even function).

x-2-1012
y810-1-8

Tip

Horizontal reflections CANNOT change the y-intercept because the y-values do not change (only the x-values do).

Combined Reflections

To combine reflections, see below.

𝑦=−𝑓(−𝑥)

Combined Transformations

Note

Refer to the previous sections for the purpose of these pronumerals.

𝑦=𝑏[1𝑎(𝑥−𝑐)]+𝑑

Warning

This formula is not included in the new syllabus. However, it may still be useful in certain situations, such as determining the order of transformations or having a formula to utilise transformations.

Additionally, if you don’t want to utilise this formula, you should remember this order of transformations.

Horizontal Dilation→Vertical Dilation→Horizontal Translation→Vertical Translation

Reflections can be during the dilation phase of transformations.