Clastify logo
Clastify logo
Exam prep
Exemplars
Review
HOT

Transformations

Master IB Math AA Transformations with notes created by examiners and strictly aligned with the syllabus.

IB Syllabus Requirements for Transformations

2.11

Transformations of graphs

2.11

TRANSFORMATIONS OF GRAPHS

What a graph transformation does

A graph transformation is a rule that changes a graph’s position, orientation, or scale while leaving enough of its shape intact to recognise the original relationship. We begin with a familiar graph

y=f(x)y=f(x)

From there, we predict the graph of a related function rather than plotting it from scratch.

Keep two families separate. A change outside the function, such as f(x)+bf(x)+b, acts vertically because it alters the output values. A change inside the function, such as f(xa)f(x-a), acts horizontally by changing the input value fed into ff.

A translation moves every point of a graph through the same directed distance. A reflection flips every point across a fixed mirror line. A stretch multiplies distances from a fixed axis by a constant scale factor. When that scale factor lies between 00 and 11, the stretch is often called a compression.

The safest way to understand a transformation is to track one point. Suppose (u,v)(u,v) lies on y=f(x)y=f(x), with input uu and output vv. We can describe the transformed graph by following where this point moves.

Image

Vertical transformations: outside the function

In

y=f(x)+by=f(x)+b

Every output increases by bb, so each point (u,v)(u,v) on y=f(x)y=f(x) moves to (u,v+b)(u,v+b). The graph moves up if b>0b>0 and down if b<0b<0. Written as a vector, the translation is

(0b)\begin{pmatrix}0\\ b\end{pmatrix}

For y=f(x)y=-f(x), every output changes sign. Thus, (u,v)(u,v) moves to (u,v)(u,-v) and the graph is reflected in the xx-axis. Any point already on the xx-axis remains fixed, which is why the xx-axis acts as the mirror line.

For

y=pf(x)y=pf(x)

Multiplying every output by pp sends (u,v)(u,v) to (u,pv)(u,pv). When p>1p>1, distances from the xx-axis increase. When 0<p<10<p<1, those distances decrease.

Take y=4f(x)+2y=4f(x)+2. First multiply the old output values by 44, then add 22, so (u,v)(u,v) moves to (u,4v+2)(u,4v+2). In transformation language, this is a vertical stretch by scale factor 44, followed by a vertical translation up by 22.

Horizontal transformations: inside the function

For

y=f(xa)y=f(x-a)

Each point (u,v)(u,v) on y=f(x)y=f(x) moves to (u+a,v)(u+a,v). If a>0a>0, the graph shifts right; if a<0a<0, it shifts left. The translation vector is

(a0)\begin{pmatrix}a\\0\end{pmatrix}

This is where students often get caught: changes inside the function seem to work backwards. The graph of y=f(x3)y=f(x-3) moves right by 33, not left, because the new input x=3x=3 produces the old input 00.

In y=f(x)y=f(-x), the input changes sign. The point (u,v)(u,v) moves to (u,v)(-u,v), reflecting the graph in the yy-axis. Points on the yy-axis stay where they are.

For

y=f(qx)y=f(qx)

Its horizontal scale factor is 1q\frac{1}{q}, so (u,v)(u,v) moves to (uq,v)\left(\frac{u}{q},v\right). If q>1q>1, the graph is compressed horizontally. If 0<q<10<q<1, it is stretched horizontally.

Say the “reciprocal factor” aloud if needed: y=f(2x)y=f(2x) has horizontal scale factor 12\frac{1}{2}, whereas y=f(x2)y=f\left(\frac{x}{2}\right) has horizontal scale factor 22.

Image

The standard transformations in one place

The table below is the practical toolkit. Learn the transformations by tracking point movement rather than memorising isolated phrases.

Summary of standard graph transformations.

TransformationEquation formPoint mappingGeometric descriptionFixed axis / line
Vertical translationy=f(x)+by=f(x)+b(u,v)(u,v+b)(u,v)\mapsto(u,v+b)Shift up by bb; down if b<0b<0none
Reflection in xx-axisy=f(x)y=-f(x)(u,v)(u,v)(u,v)\mapsto(u,-v)Flip across the xx-axisxx-axis
Vertical stretchy=pf(x)y=pf(x)(u,v)(u,pv)(u,v)\mapsto(u,pv)Stretch away from the xx-axis by factor pp; compress if 0<p<10<p<1xx-axis
Horizontal translationy=f(xa)y=f(x-a)(u,v)(u+a,v)(u,v)\mapsto(u+a,v)Shift right by aa; left if a<0a<0none
Reflection in yy-axisy=f(x)y=f(-x)(u,v)(u,v)(u,v)\mapsto(-u,v)Flip across the yy-axisyy-axis
Horizontal stretchy=f(qx)y=f(qx)(u,v)(uq,v)(u,v)\mapsto\left(\frac{u}{q},v\right)Horizontal scale factor 1q\frac{1}{q}; compress if q>1q>1yy-axis

Here’s a useful split: outside transformations directly change the yy-coordinates. Inside transformations change the xx-coordinates in the opposite-looking direction. That is why f(x)+2f(x)+2 moves up 22, while f(x+2)f(x+2) moves left 22.

Composite transformations and order

A composite transformation applies two or more transformations one after another. Order matters when both transformations act in the same direction and one is a translation.

Start with y=f(x)y=f(x). A vertical stretch by scale factor 22, followed by a vertical translation up 55, produces

y=2f(x)+5y=2f(x)+5

Reverse the order—a vertical translation up 55, then a vertical stretch by scale factor 22—and the result is

y=2(f(x)+5)=2f(x)+10y=2(f(x)+5)=2f(x)+10

These graphs aren’t the same. In the second case, the translation happens before the stretch, so the graph is lifted twice as far.

If one transformation is horizontal and the other vertical, changing the order does not change the final graph. For instance, shifting right before stretching vertically gives the same result as stretching vertically before shifting right. A stretch and reflection in the same direction can also be combined in either order. Thus, y=3f(x)y=-3f(x) represents a reflection in the xx-axis together with a vertical stretch by scale factor 33.

Horizontal composite transformations need extra care. Consider y=f(13(x+2))y=f\left(\frac{1}{3}(x+2)\right), where the expression inside the function is grouped. Inside the input expression, xx is first shifted left by 22 and then multiplied by 13\frac{1}{3}. Tracking a point shows the visible graph effect most clearly: a horizontal stretch by scale factor 33, followed by a translation left by 22. A different intended order would give different algebra, such as y=f(13x+2)y=f\left(\frac{1}{3}x+2\right).

The safest approach is to pick a simple point on the original graph and follow its coordinates through each stated transformation. This avoids the classic wrong-direction answer for expressions such as f(x3)f(x-3).

Transforming common functions

Transformations link directly to function families studied earlier. Consider a quadratic in vertex form

y=a(xh)2+ky=a(x-h)^2+k

This is a transformed version of y=x2y=x^2, with vertex (h,k)(h,k). It opens upwards if a>0a>0. If a<0a<0, the negative sign includes a reflection in the xx-axis.

Completing the square, for example, rewrites an expanded quadratic in a form that shows its transformations. If

y=5x2+10x+9y=5x^2+10x+9

then

y=5(x2+2x)+9=5(x+1)2+4.\begin{aligned} y&=5(x^2+2x)+9\\ &=5(x+1)^2+4. \end{aligned}

Starting from y=x2y=x^2, the graph is stretched vertically by scale factor 55, translated left by 11, and translated up by 44. Its vertex is (1,4)(-1,4).

Transformations also help us read rational functions. The reciprocal graph y=1xy=\frac{1}{x} has vertical asymptote x=0x=0 and horizontal asymptote y=0y=0. For the transformed function

y=35x+1y=3-\frac{5}{x+1}

the graph is translated left by 11, reflected in the xx-axis, stretched vertically by scale factor 55, and translated up by 33. Its vertical asymptote is x=1x=-1, while its horizontal asymptote is y=3y=3.

Image

Transformations are a representation tool, not merely a sketching trick. Writing the same function in a suitable symbolic form can reveal key graph features: the vertex of a quadratic, the asymptotes of reciprocal or rational functions, and later the amplitude and period of trigonometric functions.

Were those notes helpful?

rational-functions Rational Functions