Additional Topics for the TMUA

Transformations: Part A — Core transformations and equations of curves

Remark: Initially, I had only planned to discuss the order of transformations, but it eventually made more sense to cover the whole topic properly — which is why this article took ages to write! Another reason for covering the whole topic is that most of the material is highly relevant to the TMUA, while some parts involve subtle conceptual points and useful ideas that are not particularly well known. My aim is not just to give you the results and tools, but to help you understand why they work.

I have eventually decided to cover this topic in two parts, since it is a rather long topic, but a very relevant and important one. Part A — this article — covers the standard vertical and horizontal transformations, including reflections in the lines x=ax=a and y=by=b, establishes the three principles that allow transformations to be combined in any valid order, and ends with a general first-principles method for transforming the equation of any curve. Part B then treats the two modulus transformations, develops a direct method for finding corresponding points without drawing every intermediate graph, and finishes with a bonus section on rotating a curve through 9090^\circ about an arbitrary point.

What you will get from Part A. A secure understanding of what a transformation actually does to a curve, why the order in which transformations are applied matters, and a method that produces the transformed equation even when the curve is not written as y=f(x)y=f(x).

TMUA Relevance Score: 10/10

Suppose the graph of y=f(x)y=f(x) contains the point (p,q)(p,q), so f(p)=qf(p)=q. Every standard function transformation changes either the output of the function or the input given to the function:

  • A vertical transformation changes the output, so it changes the yy-coordinate of each point.

  • A horizontal transformation changes the input, so it changes the xx-coordinate at which the same function value appears.

This distinction is the central idea behind the entire topic.

Vertical transformations

There are three basic vertical transformations. In every case, the xx-coordinate is unchanged and the transformation acts on the yy-coordinate.

Vertical translations

Consider the specific transformation from y=f(x)y=f(x) to y=f(x)+2y=f(x)+2. Some corresponding points are shown below.

GraphPoint 1Point 2Point 3Point 4
y=f(x)y=f(x)(1,f(1))(-1,f(-1))(0,f(0))(0,f(0))(1,f(1))(1,f(1))(2,f(2))(2,f(2))
y=f(x)+2y=f(x)+2(1,f(1)+2)(-1,f(-1)+2)(0,f(0)+2)(0,f(0)+2)(1,f(1)+2)(1,f(1)+2)(2,f(2)+2)(2,f(2)+2)

What association can you spot between the points in the two rows?

Every yy-coordinate has increased by 22, while every xx-coordinate is unchanged. The whole graph is therefore translated vertically by +2+2 units. This example shows how examining corresponding points reveals the effect of a transformation. We can summarise as follows.

In terms of an individual point,

In terms of the whole graph,

Reflection in the xx-axis

The transformation from y=f(x)y=f(x) to y=f(x)y=-f(x) changes every output qq into q-q. You could construct a table of corresponding points yourself to see this more clearly.

In terms of an individual point,

In terms of the whole graph,

Vertical stretches

For k>0k>0, the transformation from y=f(x)y=f(x) to y=kf(x)y=kf(x) multiplies every yy-coordinate by kk.

In terms of an individual point,

In terms of the whole graph,

If k>1k>1, this is a genuine stretch, while if 0<k<10<k<1, the graph is compressed towards the xx-axis.

Applying a vertical transformation correctly

The phrase apply to the whole current function matters. Suppose the current function is g(x)=f(x)4g(x)=f(x)-4. Stretching its graph vertically by scale factor 33 gives

g(x)3g(x)=3(f(x)4)=3f(x)12.g(x)\longmapsto 3g(x)=3(f(x)-4)=3f(x)-12.

It does not give 3f(x)43f(x)-4, because that would multiply only one part of the current function rather than the whole output.

The fundamental principle is:

Horizontal transformations

There are also three basic horizontal transformations. In every case, the yy-coordinate remains unchanged. We instead ask which new xx-coordinate gives ff the same input, and hence the same output.

Horizontal translations

Why does y=f(x2)y=f(x-2) move the graph to the right rather than to the left? This result is often well remembered but not well understood. The following corresponding points reveal what is happening.

GraphPoint 1Point 2Point 3Point 4Point 5
y=f(x)y=f(x)(1,f(1))(-1,f(-1))(0,f(0))(0,f(0))(1,f(1))(1,f(1))(2,f(2))(2,f(2))(3,f(3))(3,f(3))
y=f(x2)y=f(x-2)(1,f(1))(1,f(-1))(2,f(0))(2,f(0))(3,f(1))(3,f(1))(4,f(2))(4,f(2))(5,f(3))(5,f(3))

Again, what association can you spot between the two rows?

Compare the corresponding points. For example, (1,f(1))(1,f(1)) has become (3,f(1))(3,f(1)), while (2,f(2))(2,f(2)) has become (4,f(2))(4,f(2)). Each xx-coordinate has increased by 22, while the yy-coordinate is unchanged.

We can also explain this algebraically. If (p,f(p))(p,f(p)) lies on y=f(x)y=f(x), then to obtain the same output from f(x2)f(x-2), we need x2=px-2=p, so x=p+2x=p+2. Therefore, the graph moves horizontally to the right by 22 units. More generally, the situation can be summarised as follows.

In terms of an individual point,

In terms of the whole graph,

Reflection in the yy-axis

For y=f(x)y=f(-x), the same output q=f(p)q=f(p) occurs when x=p-x=p, so x=px=-p.

In terms of an individual point,

In terms of the whole graph,

Horizontal stretches

For k>0k>0, consider y=f(kx)y=f(kx). To recover the old input pp, we require kx=pkx=p, so the new xx-coordinate is p/kp/k.

In terms of an individual point,

In terms of the whole graph,

Applying a horizontal transformation correctly

Suppose the current function is g(x)=f(2x+1)4g(x)=f(2x+1)-4. Translating its graph 33 units to the right means replacing every xx in g(x)g(x) with x3x-3:

g(x)g(x3)=f(2(x3)+1)4.g(x)\longmapsto g(x-3)=f(2(x-3)+1)-4.

We do not simply replace the existing expression 2x+12x+1 with 2x+132x+1-3. A horizontal transformation acts by replacing only xx throughout the current function. Any subsequent simplification takes place only after that substitution has been made.

The fundamental principle is:

Order of the six basic transformations

From the way these six transformations work, we can identify three high-level principles governing the order in which they may be applied.

Vertical and horizontal transformations may therefore be interleaved freely. Transformations in the same direction may also be performed in different orders, provided each transformation is applied correctly and its parameters are adjusted for the chosen order. These high-level principles are best understood through an example in which we construct the same final function in several different ways.

Example 1

The graph of y=102f(2x1)y=10-2f(2x-1) is obtained by transforming the graph of y=f(x)y=f(x). Give a possible sequence of transformations that produces the required graph.

There are many valid answers. We will consider three contrasting possibilities.

Possible sequence 1:

f(x)2f(x)2f(x)102f(x)102f(x1)102f(2x1).\begin{aligned} f(x)&\longmapsto 2f(x)\longmapsto -2f(x)\longmapsto 10-2f(x)\\ &\longmapsto 10-2f(x-1)\longmapsto 10-2f(2x-1). \end{aligned}

The transformations are:

  • a vertical stretch by scale factor 22;
  • a reflection in the xx-axis;
  • a vertical translation by +10+10 units;
  • a horizontal translation by +1+1 unit;
  • a horizontal stretch by scale factor 1/21/2.

In this sequence, we applied all the vertical transformations before the horizontal ones.

Possible sequence 2:

f(x)f(x1)f(2x1)2f(2x1)2f(2x1)102f(2x1).\begin{aligned} f(x)&\longmapsto f(x-1)\longmapsto f(2x-1)\longmapsto 2f(2x-1)\\ &\longmapsto -2f(2x-1)\longmapsto 10-2f(2x-1). \end{aligned}

The transformations are:

  • a horizontal translation by +1+1 unit;
  • a horizontal stretch by scale factor 1/21/2;
  • a vertical stretch by scale factor 22;
  • a reflection in the xx-axis;
  • a vertical translation by +10+10 units.

In this sequence, we applied all the horizontal transformations before the vertical ones.

Possible sequence 3:

f(x)2f(x)2f(2x)2f(2x)2f(2(x12))102f(2x1).\begin{aligned} f(x)&\longmapsto 2f(x)\longmapsto 2f(2x)\longmapsto -2f(2x)\\ &\longmapsto -2f\left(2\left(x-\frac12\right)\right)\longmapsto 10-2f(2x-1). \end{aligned}

The transformations are:

  • a vertical stretch by scale factor 22;
  • a horizontal stretch by scale factor 1/21/2;
  • a reflection in the xx-axis;
  • a horizontal translation by +12+\frac12 unit;
  • a vertical translation by +10+10 units.

In this sequence, we alternated between vertical and horizontal transformations. In sequence 2, the horizontal transformations consisted of a translation by +1+1 followed by a stretch by scale factor 1/21/2. Here, we perform them in the reverse order: the stretch comes first, so the required translation changes to +12+\frac{1}{2}. This illustrates why transformations in the same direction cannot simply be reordered while leaving their parameters unchanged.

A convenient order

One particularly convenient order is:

  • For horizontal transformations, apply addition before multiplication.

  • For vertical transformations, apply multiplication before addition.

Using this order usually makes the required transformation parameters immediately apparent. For example, to obtain f(102x)f(10-2x), we may use

f(x)f(x+10)f(x+10)f(2x+10).f(x)\longmapsto f(x+10)\longmapsto f(-x+10)\longmapsto f(-2x+10).

These correspond to a translation by 10-10, a reflection in the yy-axis, and a horizontal stretch by scale factor 1/21/2. However, this is only a convenient order, not a compulsory one. When considering the order of transformations, the important point is to understand and apply the three fundamental principles above.

Reflections in y=by=b and x=ax=a

Reflections in arbitrary horizontal and vertical lines may appear to be two additional types of transformation, but each can be constructed entirely from transformations we already know. Students therefore already possess all the required knowledge: the only ingredients are translations and reflections in the coordinate axes. However, reflections in the lines x=ax=a and y=by=b are rarely taught explicitly or used in standard school mathematics courses.

This combination is precisely what makes them highly relevant to the TMUA. The necessary knowledge is already available, but students must apply it in a creative and perhaps unexpected way rather than reproduce a familiar method. Any topic with these two characteristics is natural TMUA territory: the individual ideas are known, but the way in which they must be combined may not be.

Understanding these reflections before the TMUA may therefore give you a small but useful advantage. 🙂

Reflection in y=by=b

Rather than treating reflection in y=by=b as a completely new transformation, we can construct it using two familiar vertical transformations.

First reflect the graph of y=f(x)y=f(x) in the xx-axis, and then translate the resulting graph vertically by +2b+2b units:

f(x)f(x)2bf(x).f(x)\longmapsto-f(x)\longmapsto2b-f(x).

Notice that the vertical translation is applied to the whole current function f(x)-f(x), giving 2bf(x)2b-f(x).

We can verify that these transformations indeed give the desired reflection:

(p,q)(p,q)(p,2bq).(p,q)\longmapsto(p,-q)\longmapsto(p,2b-q).

The original and final yy-coordinates are qq and 2bq2b-q, whose midpoint is

q+(2bq)2=b.\frac{q+(2b-q)}{2}=b.

They therefore lie the same vertical distance on opposite sides of the line y=by=b, confirming that the combined transformation is a reflection in y=by=b. We can therefore summarise the result in the same way as before.

In terms of an individual point,

In terms of the whole graph,

Reflection in x=ax=a

Again, rather than treating reflection in x=ax=a as a completely new transformation, we can construct it using two familiar horizontal transformations.

First reflect the graph of y=f(x)y=f(x) in the yy-axis, and then translate the resulting graph horizontally by +2a+2a units:

f(x)f(x)f((x2a))=f(2ax).f(x)\longmapsto f(-x)\longmapsto f(-(x-2a))=f(2a-x).

Notice that the horizontal translation replaces xx with x2ax-2a in the current function f(x)f(-x), giving f((x2a))f(-(x-2a)).

We can verify that these transformations indeed give the desired reflection:

(p,q)(p,q)(2ap,q).(p,q)\longmapsto(-p,q)\longmapsto(2a-p,q).

The original and final xx-coordinates are pp and 2ap2a-p, whose midpoint is

p+(2ap)2=a.\frac{p+(2a-p)}{2}=a.

They therefore lie the same horizontal distance on opposite sides of the line x=ax=a, confirming that the combined transformation is a reflection in x=ax=a. We can again summarise the result in the same way.

In terms of an individual point,

In terms of the whole graph,

Since these two reflections can be constructed from the six basic transformations, they also obey the three high-level ordering principles.

Transforming the equation of a curve from first principles

So far, we have written curves in the form y=f(x)y=f(x) and transformed them by changing the input or output of the function. However, transformations ultimately act on points, so we can instead track the successive images of an arbitrary point (p,q)(p,q). If its final image is (X,Y)(X,Y), we express pp and qq in terms of XX and YY, then impose the relation originally satisfied by (p,q)(p,q). This produces a relation between XX and YY, and hence the equation of the transformed curve. We call this the first-principles point-tracking method. It is best understood through a couple of examples.

Example 2: comparing the two methods

The curve y=x2y=x^2 is stretched horizontally by scale factor 22, translated horizontally by +3+3, and then reflected in the line y=2y=2. Find the equation of the resulting curve.

Method 1: Transforming the function

Writing f(x)=x2f(x)=x^2, the function-transformations developed earlier give

f(x)f(x2)f(x32)4f(x32).f(x)\longmapsto f\left(\frac{x}{2}\right)\longmapsto f\left(\frac{x-3}{2}\right)\longmapsto 4-f\left(\frac{x-3}{2}\right).

Since f(x)=x2f(x)=x^2, the resulting curve has equation

y=4(x32)2=4(x3)24.y=4-\left(\frac{x-3}{2}\right)^2=4-\frac{(x-3)^2}{4}.

Method 2: Tracking an arbitrary point

Let (p,q)(p,q) be an arbitrary point on the original curve, so q=p2q=p^2. Track this point through the three transformations:

(p,q)(2p,q)(2p+3,q)(2p+3,4q)=(X,Y).(p,q)\longmapsto(2p,q)\longmapsto(2p+3,q)\longmapsto(2p+3,4-q)=(X,Y).

Therefore, p=(X3)/2p=(X-3)/2 and q=4Yq=4-Y. Substituting these into q=p2q=p^2 gives

4Y=(X32)2,4-Y=\left(\frac{X-3}{2}\right)^2,

and hence Y=4(X3)2/4Y=4-(X-3)^2/4. Relabelling the final coordinates as xx and yy, we again obtain

y=4(x3)24.y=4-\frac{(x-3)^2}{4}.

The two methods give exactly the same result, as expected.

Example 3: an implicitly defined curve

The curve x2y+2xy2=10x^2y+2x-y^2=10 is stretched horizontally by scale factor 22, translated horizontally by +3+3, and then reflected in the line y=2y=2. Find the equation of the resulting curve.

The entire curve cannot be expressed as a single function y=f(x)y=f(x) or x=g(y)x=g(y). For example, setting x=3x=3 gives y29y+4=0y^2-9y+4=0, which has two distinct real solutions, while setting y=1y=1 gives x2+2x11=0x^2+2x-11=0, which also has two distinct real solutions. We could separate the curve into different branches, but the function-transformation method could not transform the whole curve in a single step.

The first-principles point-tracking method does not have this limitation. Let (p,q)(p,q) be an arbitrary point on the original curve, so p2q+2pq2=10p^2q+2p-q^2=10. Its successive images are

(p,q)(2p,q)(2p+3,q)(2p+3,4q)=(X,Y).(p,q)\longmapsto(2p,q)\longmapsto(2p+3,q)\longmapsto(2p+3,4-q)=(X,Y).

Thus p=(X3)/2p=(X-3)/2 and q=4Yq=4-Y. Substituting these expressions into the original equation gives

(X32)2(4Y)+2(X32)(4Y)2=10.\left(\frac{X-3}{2}\right)^2(4-Y)+2\left(\frac{X-3}{2}\right)-(4-Y)^2=10.

Multiplying by 44, expanding and relabelling XX and YY as xx and yy, the transformed curve has equation

x2y6xy+4y24x2+20x23y+80=0.x^2y-6xy+4y^2-4x^2+20x-23y+80=0.

The point-tracking method is therefore more general than the function-transformation method: it can be applied directly to any curve defined by a relation between xx and yy, without requiring either variable to be expressed as a function of the other.

For the transformations considered so far, each step is reversible, so we can recover (p,q)(p,q) uniquely from (X,Y)(X,Y). Modulus transformations require additional care because this one-to-one correspondence may be lost.

Summary of Part A

If you take away one thing from Part A, let it be the three high-level principles:

Everything above follows from them. The six basic transformations are these principles applied one at a time, and the reflections in y=by=b and x=ax=a are each built from two of the six. When the function form becomes awkward — or the curve is not of the form y=f(x)y=f(x) at all — the first-principles point-tracking method of the previous section will always produce the transformed equation.

Continue to Part B, where the same three principles are applied to the modulus transformations f(x)|f(x)| and f(x)f(|x|), and where the one-to-one correspondence between a point and its image can be lost.

PDF versionQuestions · Solutions

PDF versionQuestions · Solutions