Throughout this Topic, translation distances are positive, and horizontal and vertical stretch factors are positive unless a reflection is stated separately.

1. Why Horizontal and Vertical Transformations Behave Differently

Let y=g(x)y=g(x) be the original graph, and let y=G(x)y=G(x) be the transformed graph.

If g(p)=qg(p)=q, then (p,q)(p,q) lies on the original graph. The table follows this point through each transformation and derives the corresponding function rule.

TransformationPoint movementRelationship at the transformed pointNew
x-coordinate
Function rule
Right by a(p,q) → (p+a,q)g(p)=q, G(p+a)=q → G(p+a)=g(p)=g((p+a)-a)x=p+aG(x)=g(x-a)
Left by a(p,q) → (p-a,q)g(p)=q, G(p-a)=q → G(p-a)=g(p)=g((p-a)+a)x=p-aG(x)=g(x+a)
Horizontal stretch by s(p,q) → (sp,q)g(p)=q, G(sp)=q → G(sp)=g(p)=g(sp/s)x=spG(x)=g(x/s)
Reflect in the y-axis(p,q) → (-p,q)g(p)=q, G(-p)=q → G(-p)=g(p)=g(-(-p))x=-pG(x)=g(-x)
Up by b(p,q) → (p,q+b)g(p)=q, G(p)=q+b → G(p)=g(p)+bx=pG(x)=g(x)+b
Down by b(p,q) → (p,q-b)g(p)=q, G(p)=q-b → G(p)=g(p)-bx=pG(x)=g(x)-b
Vertical stretch by k(p,q) → (p,kq)g(p)=q, G(p)=kq → G(p)=k g(p)x=pG(x)=k g(x)
Reflect in the x-axis(p,q) → (p,-q)g(p)=q, G(p)=-q → G(p)=-g(p)x=pG(x)=-g(x)

The key distinction is:

Horizontal transformations change the input of g,vertical transformations change its output.\boxed{ \text{Horizontal transformations change the input of }g, \qquad \text{vertical transformations change its output.} }

Do not treat these as rules to memorise.
The important idea is how the new point on the graph determines the new function. Once that is understood, the same reasoning applies even when the current function is already transformed.

2. Transforming a Function That Has Already Been Transformed

The same reasoning applies when the current graph is already a transformed version of ff.

Suppose the current graph is y=g(x)y=g(x), where, for example, g(x)=Af(Bx+C)+Dg(x)=A f(Bx+C)+D.

Let y=G(x)y=G(x) be the graph obtained after applying one more transformation.

The important point is that the new transformation acts on the current function gg as a whole.

f(x)⟶g(x)⟶G(x)\boxed{ f(x) \longrightarrow g(x) \longrightarrow G(x) }

We do not return to the original f(x)f(x) when applying the next transformation.


Horizontal Transformations of the Current Function

Suppose g(p)=qg(p)=q.

Then (p,q)(p,q) is a point on the current graph.

If that current graph is moved horizontally, the same reasoning as before applies.

Suppose the current graph is g(x)=Af(Bx+C)+Dg(x)=A f(Bx+C)+D.

Then the horizontal transformations can be written directly in terms of the original function ff.

New transformationPoint movement
on the current graph
Relationship at the transformed pointNew
xx-coordinate
New function in terms of ff
Right by aa(p,q)→(p+a,q)(p,q)\to(p+a,q)g(p)=q,  G(p+a)=q  ⇒  G(p+a)=g(p)=g((p+a)−a)g(p)=q,\;G(p+a)=q\;\Rightarrow\;G(p+a)=g(p)=g((p+a)-a)x=p+ax=p+aG(x)=g(x−a)=Af(B(x−a)+C)+DG(x)=g(x-a)=A f(B(x-a)+C)+D
Left by aa(p,q)→(p−a,q)(p,q)\to(p-a,q)g(p)=q,  G(p−a)=q  ⇒  G(p−a)=g(p)=g((p−a)+a)g(p)=q,\;G(p-a)=q\;\Rightarrow\;G(p-a)=g(p)=g((p-a)+a)x=p−ax=p-aG(x)=g(x+a)=Af(B(x+a)+C)+DG(x)=g(x+a)=A f(B(x+a)+C)+D
Horizontal stretch by ss(p,q)→(sp,q)(p,q)\to(sp,q)g(p)=q,  G(sp)=q  ⇒  G(sp)=g(p)=g(sp/s)g(p)=q,\;G(sp)=q\;\Rightarrow\;G(sp)=g(p)=g(sp/s)x=spx=spG(x)=g(x/s)=Af(Bsx+C)+DG(x)=g(x/s)=A f\left(\frac{B}{s}x+C\right)+D
Reflect in the yy-axis(p,q)→(−p,q)(p,q)\to(-p,q)g(p)=q,  G(−p)=q  ⇒  G(−p)=g(p)=g(−(−p))g(p)=q,\;G(-p)=q\;\Rightarrow\;G(-p)=g(p)=g(-(-p))x=−px=-pG(x)=g(−x)=Af(−Bx+C)+DG(x)=g(-x)=A f(-Bx+C)+D

For example, g(x)=f(2x)g(x)=f(2x).

Moving the current graph right by aa gives G(x)=g(x−a)=f(2(x−a))=f(2x−2a)G(x)=g(x-a) =f\bigl(2(x-a)\bigr) =f(2x-2a).

Hence f(2x)→right by af(2x−2a),f(2x) \xrightarrow{\text{right by }a} f(2x-2a), not f(2x−a)f(2x-a).

The latter would move the graph right by only a/2a/2.

3. Composing Several Transformations

When several transformations are applied in succession, each one acts on the current function produced by the previous step.

Write

g0(x)=f(x),g_0(x)=f(x),

then update the function one step at a time:

g0⟶g1⟶g2⟶⋯\boxed{ g_0 \longrightarrow g_1 \longrightarrow g_2 \longrightarrow \cdots }

Following a Transformation Chain

Starting with

g0(x)=f(x),g_0(x)=f(x),

apply, in order:

  1. translate 22 units to the right;
  2. reflect in the yy-axis;
  3. stretch parallel to the xx-axis by scale factor 33;
  4. translate 44 units upwards.
StepTransformationApply to the current functionNew current function
0Start—g0(x)=f(x)g_0(x)=f(x)
1Right by 22g1(x)=g0(x−2)g_1(x)=g_0(x-2)g1(x)=f(x−2)g_1(x)=f(x-2)
2Reflect in the yy-axisg2(x)=g1(−x)g_2(x)=g_1(-x)g2(x)=f(−x−2)g_2(x)=f(-x-2)
3Horizontal stretch by 33g3(x)=g2(x/3)g_3(x)=g_2(x/3)g3(x)=f(−x3−2)g_3(x)=f\left(-\frac{x}{3}-2\right)
4Up by 44g4(x)=g3(x)+4g_4(x)=g_3(x)+4g4(x)=f(−x3−2)+4g_4(x)=f\left(-\frac{x}{3}-2\right)+4

Hence G(x)=f(−x3−2)+4.G(x)=f\left(-\frac{x}{3}-2\right)+4.

The whole chain is

f(x)⟶f(x−2)⟶f(−x−2)⟶f(−x3−2)⟶f(−x3−2)+4.f(x) \longrightarrow f(x-2) \longrightarrow f(-x-2) \longrightarrow f\left(-\frac{x}{3}-2\right) \longrightarrow f\left(-\frac{x}{3}-2\right)+4.

Each arrow acts on the expression immediately before it.

Order Matters

The same transformations applied in a different order can produce a different graph.

Translate right by 22, then stretch horizontally by factor 33:

f(x)→right 2f(x−2)→horizontal stretch 3f(x3−2)=f(x−63).f(x) \xrightarrow{\text{right }2} f(x-2) \xrightarrow{\text{horizontal stretch }3} f\left(\frac{x}{3}-2\right) = f\left(\frac{x-6}{3}\right).

Reverse the order:

f(x)→horizontal stretch 3f(x3)→right 2f(x−23).f(x) \xrightarrow{\text{horizontal stretch }3} f\left(\frac{x}{3}\right) \xrightarrow{\text{right }2} f\left(\frac{x-2}{3}\right).

In general, f(x−63)≠f(x−23)f\left(\frac{x-6}{3}\right) \ne f\left(\frac{x-2}{3}\right).

Therefore the order of transformations can change the final graph.\text{the order of transformations can change the final graph}.

When the order is changed, do not try to rearrange the transformations mentally. Apply each sequence to the current function and compare the resulting expressions.

Practice Questions

1

Composing Transformations of an Already Transformed Function

MEMBERLogin required