Additional Topics for the TMUA

Transformations: Part B — Modulus transformations, point mapping and rotations

This is the second of two parts. Part A covers the standard vertical and horizontal transformations, the three principles that govern them, and the first-principles method for transforming the equation of a curve. Part B assumes those principles and applies them to the two modulus transformations, then develops a direct method for mapping a point to its image, and closes with a bonus section on rotating a curve through 9090^\circ.

TMUA Relevance Score: 9/10

Modulus transformations

The three high-level principles continue to apply exactly as written when the modulus transformations f(x)f(x)f(x)\longmapsto|f(x)| and f(x)f(x)f(x)\longmapsto f(|x|) are introduced. They tell us that vertical and horizontal transformations are independent, that a vertical transformation must act on the whole current function, and that a horizontal transformation must replace every occurrence of xx, and nothing else. Therefore, any order is valid provided that every transformation is applied according to these principles and the required functional form is produced.

The earlier observation that transformations in the same direction may be performed in different orders by adjusting their parameters is not one of the three principles. It is an additional feature of the eight transformations covered in Part A, and does not generally extend to modulus transformations.

Vertical modulus transformations

The transformation from y=f(x)y=f(x) to y=f(x)y=|f(x)| reflects any yy-negative part of the graph in the xx-axis:

  • Any part of the graph on or above the xx-axis remains unchanged.

  • Any part below the xx-axis is reflected into the region above it.

Equivalently, f(x)=f(x)|f(x)|=f(x) when f(x)0f(x)\geq0, while f(x)=f(x)|f(x)|=-f(x) when f(x)<0f(x)<0.

In terms of an individual point,

In terms of the whole graph,

Applying vertical modulus correctly

Vertical modulus is a vertical transformation, so the second principle applies without any modification:

Example 1

The graph of y=105+2f(x)y=10-|5+2f(x)| 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 several valid answers. We will consider one possible sequence:

f(x)2f(x)5+2f(x)5+2f(x)5+2f(x)105+2f(x).\begin{aligned} f(x)&\longmapsto 2f(x)\longmapsto 5+2f(x)\longmapsto |5+2f(x)|\\ &\longmapsto -|5+2f(x)|\longmapsto 10-|5+2f(x)|. \end{aligned}

The transformations are:

  • a vertical stretch by scale factor 22;
  • a vertical translation by +5+5 units;
  • vertical modulus;
  • a reflection in the xx-axis;
  • a vertical translation by +10+10 units.

Horizontal modulus transformations

The transformation from y=f(x)y=f(x) to y=f(x)y=f(|x|) is less commonly examined and requires a little more care. Its effect becomes clear once we focus on the input being passed to ff.

For x0x\geq0, we have x=x|x|=x, so f(x)=f(x)f(|x|)=f(x). The part of the original graph for which x0x\geq0 therefore remains unchanged.

For x<0x<0, we have x=x>0|x|=-x>0, so the function is still being evaluated at a positive input. For example,

f(1)=f(1)f(|-1|)=f(1) and f(2)=f(2)f(|-2|)=f(2).

f(x)f(|x|) does not produce f(1)f(-1) or f(2)f(-2) at all! In fact, x|x| can never equal 1-1, 2-2 or any other negative number, so the part of the original graph arising from negative inputs is never used. Instead, the part arising from positive inputs is used again to construct the new left-hand part of the graph.

The resulting function is even, so its graph is symmetric about the yy-axis. It is important to understand that the original part for which x<0x<0 is not itself reflected: it is completely lost, since a negative input can never occur inside f(x)f(|x|). For a particularly stark example, take f(x)=x3xf(x)=x^3-x. Comparing y=f(x)y=f(x) with y=f(x)y=f(|x|), we see that the entire part of the original graph to the left of the yy-axis disappears. The new left-hand part is instead obtained by reflecting the original right-hand part in the yy-axis.

A further consequence is that the point correspondence is no longer one-to-one: a single original point may produce two images, one, or none at all. We can summarise as follows.

In terms of an individual point,

In terms of the whole graph,

Applying horizontal modulus correctly

Horizontal modulus is a horizontal transformation, so the third principle applies without any modification:

Example 2

The graph of y=f(62x+1)y=f(6-|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 several valid answers. We will consider one possible sequence:

f(x)f(x+6)f(6x)f(6x)f(6x+1)f(62x+1).\begin{aligned} f(x)&\longmapsto f(x+6)\longmapsto f(6-x)\longmapsto f(6-|x|)\\ &\longmapsto f(6-|x+1|)\longmapsto f(6-|2x+1|). \end{aligned}

The transformations are:

  • a horizontal translation by 6-6 units;
  • a reflection in the yy-axis;
  • horizontal modulus;
  • a horizontal translation by 1-1 unit;
  • a horizontal stretch by scale factor 1/21/2.

A shortcut for finding corresponding points

Drawing every intermediate graph is unnecessary if all we want to know is where a particular point ends up. Suppose (p,q)(p,q) lies on y=f(x)y=f(x), so that f(p)=qf(p)=q, and write the transformed function as

y=V(f(H(x))),y=V\bigl(f(H(x))\bigr),

where VV describes the vertical part of the transformation and H(x)H(x) is the new input being passed to ff. For example, y=102f(3x1)y=10-2f(3x-1) has V(t)=102tV(t)=10-2t and H(x)=3x1H(x)=3x-1.

The image of (p,q)(p,q) can then be written down directly, using two rules:

In other words, ynew=V(q)y_{\text{new}}=V(q), while xnewx_{\text{new}} satisfies H(xnew)=pH(x_{\text{new}})=p.

The second rule give us an equation to be solved, and when HH contains a modulus that equation may have two solutions, one, or none at all.

A vertical example

Suppose (2,3)(2,-3) lies on y=f(x)y=f(x). Under y=4f(x)+5y=4f(x)+5, the xx-coordinate is unchanged and

ynew=4(3)+5=7.y_{\text{new}}=4(-3)+5=-7.

The corresponding point is therefore (2,7)(2,-7).

A horizontal example

Suppose (7,2)(7,2) lies on y=f(x)y=f(x). Under y=f(3x2)y=f(3x-2), the yy-coordinate remains 22, while the new xx-coordinate satisfies 3xnew2=73x_{\text{new}}-2=7. Hence xnew=3x_{\text{new}}=3, and the corresponding point is (3,2)(3,2).

A combined example

Suppose (8,1)(8,1) lies on y=f(x)y=f(x). Find its image under

y=102f(3x1).y=10-2f(3x-1).

Here V(t)=102tV(t)=10-2t and H(x)=3x1H(x)=3x-1. For the new yy-coordinate,

ynew=102(1)=8.y_{\text{new}}=10-2(1)=8.

For the new xx-coordinate,

3xnew1=8,3x_{\text{new}}-1=8,

so xnew=3x_{\text{new}}=3. The corresponding point is therefore (3,8)(3,8).

A vertical modulus example

Suppose (5,3)(5,-3) lies on y=f(x)y=f(x). Find its image under y=7f(2x+1)y=7-|f(2x+1)|.

The vertical part is V(t)=7tV(t)=7-|t|, so ynew=73=4y_{\text{new}}=7-|-3|=4. The new xx-coordinate satisfies 2xnew+1=52x_{\text{new}}+1=5, giving xnew=2x_{\text{new}}=2. The image is therefore (2,4)(2,4).

A vertical modulus is applied to a single number, qq, so it can only ever produce one image.

Horizontal modulus example with two image points

A horizontal modulus behaves quite differently, because it sits inside HH and therefore appears inside an equation that has to be solved. For y=f(x)y=f(|x|), the new xx-coordinate satisfies xnew=p|x_{\text{new}}|=p, which has two solutions when p>0p>0, one when p=0p=0, and none when p<0p<0.

Take the same f(x)=x3xf(x)=x^3-x as before. The point (1,0)(1,0) lies on y=f(x)y=f(x), since f(1)=11=0f(1)=1-1=0. Find its image under

y=f(1032x).y=f(10-|3-2x|).

There is no vertical transformation, so the new yy-coordinate remains 00. The new xx-coordinates satisfy

1032xnew=1.10-|3-2x_{\text{new}}|=1.

Hence 32xnew=9|3-2x_{\text{new}}|=9, so 32xnew=93-2x_{\text{new}}=9 or 32xnew=93-2x_{\text{new}}=-9. This gives xnew=3x_{\text{new}}=-3 or xnew=6x_{\text{new}}=6, and the single original point therefore has two images: (3,0)(-3,0) and (6,0)(6,0).

Bonus: Rotating a curve through 9090^\circ about (a,b)(a,b)

A rotation through 9090^\circ is not normally presented as a function transformation because the rotated curve may no longer be the graph of a function of xx. Nevertheless, both the image of a point and the equation of the rotated curve can be found directly from basic coordinate geometry.

Take a point (x,y)(x,y) and consider its position relative to the centre of rotation (a,b)(a,b). It lies xax-a units horizontally and yby-b units vertically from the centre.

Anticlockwise rotation

Under a 9090^\circ anticlockwise rotation:

  • A movement to the right becomes the same movement upwards.
  • A movement upwards becomes the same movement to the left.

Thus the relative displacement (xa,yb)(x-a,y-b) becomes ((yb),xa)(-(y-b),x-a). If the image point is (X,Y)(X,Y), then

To find the equation of the rotated curve, work backwards from a new point (X,Y)(X,Y). The original coordinates were

x=a+Yb,y=a+bXx=a+Y-b,\qquad y=a+b-X.

Since the original curve satisfies y=f(x)y=f(x), the rotated curve satisfies

a+bX=f(a+Yb)a+b-X=f(a+Y-b).

Relabelling the new coordinates as xx and yy, its equation is

It gives a perfectly acceptable xx as a function of yy!

Clockwise rotation

Under a 9090^\circ clockwise rotation, a movement to the right becomes a movement downwards, while a movement upwards becomes a movement to the right. Thus (xa,yb)(x-a,y-b) becomes (yb,(xa))(y-b,-(x-a)), giving

Working backwards gives the equation of the rotated curve as

Example 3

Find the equation of the curve obtained by rotating y=x3xy=x^3-x through 9090^\circ anticlockwise about (1,2)(1,2).

Here a=1a=1 and b=2b=2, so the anticlockwise point map becomes

X=a+by=3y,Y=b+xa=x+1.X=a+b-y=3-y,\qquad Y=b+x-a=x+1.

Substituting these, together with f(t)=t3tf(t)=t^3-t, into the anticlockwise equation a+bx=f(a+yb)a+b-x=f(a+y-b) gives

3x=f(y1)=(y1)3(y1).3-x=f(y-1)=(y-1)^3-(y-1).

Therefore, the rotated curve has equation x=3+(y1)(y1)3x=3+(y-1)-(y-1)^3.

Alternative method: rotate a defining point

Some curves are pinned down completely by a single distinguished point together with a shape. A parabola is determined by its vertex and the coefficient of its squared term, and a circle by its centre and radius. For such a curve there is no need to substitute into the general equation at all: rotate the defining point, work out which way the shape now faces, and write the new equation down.

What makes this work is that a rotation preserves lengths and angles. The curve is not stretched or reshaped, only carried to a new position and turned, so its shape parameter is unchanged and only the direction of its axis has to be reconsidered.

Suppose we rotate y=(x3)2+7y=(x-3)^2+7 through 9090^\circ anticlockwise about (1,2)(1,2).

The vertex is (3,7)(3,7). With a=1a=1 and b=2b=2, the anticlockwise point map X=a+byX=a+b-y, Y=b+xaY=b+x-a sends it to

X=37=4,Y=3+1=4,X=3-7=-4,\qquad Y=3+1=4,

so the new vertex is (4,4)(-4,4).

The original parabola opens upwards, and a 9090^\circ anticlockwise rotation carries the upward direction to the left, so the rotated parabola opens to the left. Its coefficient still has magnitude 11, so the rotated curve has equation x=4(y4)2x=-4-(y-4)^2.

This shortcut is usually the faster of the two, and it works whenever the rotated curve can be found from its defining point. That is a wider class of curves: it includes the cubic of Example 3, whose point of inflection (0,0)(0,0) can serve as the defining point. The anticlockwise point map sends (0,0)(0,0) to (3,1)(3,1), which is indeed the point of inflection of the rotated curve x=3+(y1)(y1)3x=3+(y-1)-(y-1)^3.

Summary

If you take away one thing from these two articles, let it be the three high-level principles:

Almost everything in both parts follows from them. The six basic transformations are these principles applied one at a time, the reflections in y=by=b and x=ax=a are each built from two of the six, and the two modulus transformations also obey these principles. You should also remember to use the first principle point-tracking method for implicitly defined functions.