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) be the original graph, and let y=G(x) be the transformed graph.
If g(p)=q, then (p,q) lies on the original graph. The table follows this point through each transformation and derives the corresponding function rule.
Transformation
Point movement
Relationship at the transformed point
New
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+a
G(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-a
G(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=sp
G(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=-p
G(x)=g(-x)
Up by b
(p,q) → (p,q+b)
g(p)=q, G(p)=q+b → G(p)=g(p)+b
x=p
G(x)=g(x)+b
Down by b
(p,q) → (p,q-b)
g(p)=q, G(p)=q-b → G(p)=g(p)-b
x=p
G(x)=g(x)-b
Vertical stretch by k
(p,q) → (p,kq)
g(p)=q, G(p)=kq → G(p)=k g(p)
x=p
G(x)=k g(x)
Reflect in the x-axis
(p,q) → (p,-q)
g(p)=q, G(p)=-q → G(p)=-g(p)
x=p
G(x)=-g(x)
The key distinction is:
Horizontal transformations change the input of g,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 f.
Suppose the current graph is y=g(x), where, for example, g(x)=Af(Bx+C)+D.
Let 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 g as a whole.
f(x)⟶g(x)⟶G(x)
We do not return to the original f(x) when applying the next transformation.
Horizontal Transformations of the Current Function
Suppose g(p)=q.
Then (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)+D.
Then the horizontal transformations can be written directly in terms of the original function f.
New transformation
Point movement
on the current graph
Relationship at the transformed point
New x-coordinate
New function in terms of f
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+a
G(x)=g(x−a)=Af(B(x−a)+C)+D
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−a
G(x)=g(x+a)=Af(B(x+a)+C)+D
Horizontal stretch by s
(p,q)→(sp,q)
g(p)=q,G(sp)=q⇒G(sp)=g(p)=g(sp/s)
x=sp
G(x)=g(x/s)=Af(sBx+C)+D
Reflect in the y-axis
(p,q)→(−p,q)
g(p)=q,G(−p)=q⇒G(−p)=g(p)=g(−(−p))
x=−p
G(x)=g(−x)=Af(−Bx+C)+D
For example, g(x)=f(2x).
Moving the current graph right by a gives G(x)=g(x−a)=f(2(x−a))=f(2x−2a).
Hence f(2x)right by af(2x−2a), not f(2x−a).
The latter would move the graph right by only a/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),
then update the function one step at a time:
g0⟶g1⟶g2⟶⋯
Following a Transformation Chain
Starting with
g0(x)=f(x),
apply, in order:
translate 2 units to the right;
reflect in the y-axis;
stretch parallel to the x-axis by scale factor 3;
translate 4 units upwards.
Step
Transformation
Apply to the current function
New current function
0
Start
—
g0(x)=f(x)
1
Right by 2
g1(x)=g0(x−2)
g1(x)=f(x−2)
2
Reflect in the y-axis
g2(x)=g1(−x)
g2(x)=f(−x−2)
3
Horizontal stretch by 3
g3(x)=g2(x/3)
g3(x)=f(−3x−2)
4
Up by 4
g4(x)=g3(x)+4
g4(x)=f(−3x−2)+4
Hence G(x)=f(−3x−2)+4.
The whole chain is
f(x)⟶f(x−2)⟶f(−x−2)⟶f(−3x−2)⟶f(−3x−2)+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 2, then stretch horizontally by factor 3:
Therefore 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