Graph transformations: translations, stretches and reflections
Graph transformations let you sketch a new function from a familiar graph without starting again from a table of values. The central skill is recognising whether a change acts on the output of a function or on its input.
Changes outside act vertically. Changes inside the brackets of act horizontally, often in the opposite direction from the sign you first see.
Before you begin
Section titled “Before you begin”You should be comfortable with:
- function notation;
- coordinates, intercepts and asymptotes;
- the shapes of common graphs from graphs of functions;
- solving simple equations and inequalities.
The coordinate mapping principle
Section titled “The coordinate mapping principle”Suppose lies on . This means
For the transformed graph
choose so that the input to is still :
Therefore
The new output is
So every point is mapped by
This single rule covers translations, stretches, compressions and reflections. It is also the safest way to handle several transformations at once.
The four basic translations and reflections
Section titled “The four basic translations and reflections”Starting with :
| New graph | Transformation | Point mapping |
|---|---|---|
| Translation up by | ||
| Translation right by | ||
| Reflection in the -axis | ||
| Reflection in the -axis |
Here . A negative value reverses the translation. For example, moves down by , while moves left by .
The horizontal translation looks reversed because the whole input must remain unchanged. To find where the old input appears on , solve
which gives .
Vertical translations
Section titled “Vertical translations”For
the input is unchanged and is added to every output. Every point moves vertically by the same amount.
Worked example 1: translate a quadratic vertically
Section titled “Worked example 1: translate a quadratic vertically”The graph of
has vertex . For
every output is smaller, so the graph moves down by and the vertex becomes .
The new roots are not obtained by shifting the old root horizontally. Solve them from the new equation:
Vertical translation preserves the graph’s shape, but it need not preserve its intercepts.
Horizontal translations
Section titled “Horizontal translations”For
the graph moves right by . For , it moves left by .
Worked example 2: translate a reciprocal graph
Section titled “Worked example 2: translate a reciprocal graph”Start with
which has asymptotes and . Now consider
The moves the graph right by , and the outside the fraction moves it up by . The asymptotes therefore become
The centre of the reciprocal graph moves from to .
Vertical stretches and compressions
Section titled “Vertical stretches and compressions”For
every -coordinate is multiplied by :
- If , there is a vertical stretch with scale factor .
- If , there is a vertical compression with scale factor .
- If , there is also a reflection in the -axis.
Points on the -axis stay fixed because multiplying by still gives . Therefore has the same roots as when .
Worked example 3: track exact points
Section titled “Worked example 3: track exact points”Suppose contains the points
On
the corresponding points are
The factor doubles each vertical distance from the -axis. The negative sign reflects the graph in the -axis.
Horizontal stretches and compressions
Section titled “Horizontal stretches and compressions”For
the -coordinates are divided by :
The horizontal scale factor is therefore
not .
- If , the graph is compressed horizontally.
- If , the graph is stretched horizontally.
- If , there is also a reflection in the -axis.
This reciprocal effect is another consequence of preserving the input. If the old point uses input , then on we need , so .
Worked example 4: horizontal compression
Section titled “Worked example 4: horizontal compression”The graph of contains a turning point at and a root at . Find the corresponding points on
Divide every -coordinate by :
The graph is compressed towards the -axis with scale factor .
A useful warning about special functions
Section titled “A useful warning about special functions”Different-looking transformations can sometimes produce the same final equation. For example,
gives
For this particular , a horizontal compression by scale factor produces the same graph as a vertical stretch by scale factor . The general transformation rules are still different. Do not infer a general identity from one special function.
Reflections
Section titled “Reflections”Reflection in the -axis
Section titled “Reflection in the xxx-axis”For , outputs change sign. Points above the -axis move the same distance below it, and vice versa.
For example,
is the reflection of in the -axis. Its range is , and it still has horizontal asymptote .
Reflection in the -axis
Section titled “Reflection in the yyy-axis”For , inputs change sign. Each point moves to .
For example,
is the reflection of in the -axis.
If is even, then , so reflection in the -axis makes no visible change. If is odd, then , so reflection in either axis gives the same resulting graph.
Combining transformations
Section titled “Combining transformations”For
use the coordinate map
This form is clearer than trying to remember a verbal order. It handles every original point in one calculation.
Worked example 5: a full coordinate mapping
Section titled “Worked example 5: a full coordinate mapping”Suppose lies on . Find its corresponding point on
Here
The new -coordinate is
The new -coordinate is
Therefore
You can check directly. At , the input to is
so the original output is , and
Worked example 6: transform a complete quadratic
Section titled “Worked example 6: transform a complete quadratic”Starting with , sketch
Rewrite the input as
Thus , , and . The coordinate map is
Track three useful points from :
The result is a downward-opening parabola with vertex and axis of symmetry .
The transformations are a horizontal stretch by scale factor , a translation right by , a vertical stretch by scale factor , a reflection in the -axis, and a translation up by .
Does the order matter?
Section titled “Does the order matter?”Some transformations commute, meaning their order does not affect the result. Others do not.
Perpendicular transformations
Section titled “Perpendicular transformations”A purely horizontal transformation and a purely vertical transformation can be handled independently. For example, translating right and then translating up gives the same result as translating up and then right.
Transformations in the same direction
Section titled “Transformations in the same direction”Order can matter when both transformations act on the same coordinate.
Start with a -coordinate .
- Stretch vertically by factor , then move up by : .
- Move up by , then stretch vertically by factor : .
These are not the same.
The expression
means multiply the original output by , then add . Brackets are decisive:
describes a different graph.
For combined transformations, use algebra or the coordinate mapping rather than relying on a memorised list of operations.
Transforming intercepts and asymptotes
Section titled “Transforming intercepts and asymptotes”Important features transform like other points and lines, but intercepts require care.
Intercepts
Section titled “Intercepts”A vertical stretch preserves the roots because exactly when , provided . A vertical translation generally changes the roots.
A horizontal transformation moves roots according to the input rule. If , then
when
so the new root is
The old -intercept does not usually map to the new -intercept after a horizontal translation. Find the new -intercept by substituting into the transformed equation.
Asymptotes
Section titled “Asymptotes”If has horizontal asymptote , then
has corresponding horizontal asymptote
If has vertical asymptote , the transformed input reaches when
Therefore the new vertical asymptote is
Worked example 7: transform asymptotes
Section titled “Worked example 7: transform asymptotes”The graph of has asymptotes and . Find the corresponding asymptotes of
For the vertical asymptote, solve
This gives
For the horizontal asymptote, transform the old output :
The new asymptotes are and .
Domain and range under transformations
Section titled “Domain and range under transformations”Domain concerns allowable inputs. Range concerns possible outputs.
If the domain of is , then the domain of
contains precisely those for which
If the range of is , the transformed range consists of
for . If , remember that multiplying an inequality by reverses its direction.
Worked example 8: transform a restricted domain and range
Section titled “Worked example 8: transform a restricted domain and range”Suppose has domain and range . Define
For the domain, require
Divide by :
Add :
For the range, start with
Multiplying by reverses both inequality signs:
Then add :
Modulus transformations
Section titled “Modulus transformations”Modulus transformations are best understood by asking which coordinates must become non-negative.
The modulus acts on the output. Parts of below the -axis are reflected above it. Parts on or above the -axis stay fixed:
The resulting range contains no negative values.
The modulus acts on the input. Keep the part of for , reflect it in the -axis, and discard the original part for :
so the result is always an even function.
Worked example 9: two different modulus graphs
Section titled “Worked example 9: two different modulus graphs”Let
For
the part of the parabola between and lies below the -axis, so that section reflects upwards. The roots remain , and the point becomes .
For
the graph is unchanged because was already even.
Now compare this with . Then
has vertex , while
has vertex and roots .
Common misconceptions
Section titled “Common misconceptions””Inside changes work in the direction of the sign”
Section titled “”Inside changes work in the direction of the sign””They do not. The graph of moves left by because the old input occurs when , or .
” is a horizontal stretch by factor ”
Section titled “”f(2x)f(2x)f(2x) is a horizontal stretch by factor 222””Its horizontal scale factor is . Input changes act reciprocally on coordinates.
” and mean the same thing”
Section titled “”2f(x)2f(x)2f(x) and f(2x)f(2x)f(2x) mean the same thing””doubles outputs, while doubles inputs and halves horizontal coordinates. They coincide for a few special functions only by algebraic accident.
”Translate every intercept in the stated direction”
Section titled “”Translate every intercept in the stated direction””Transform points on the original graph, but do not assume that a transformed old intercept remains an intercept. After a vertical translation, an old root moves away from the -axis. Calculate new intercepts from the new equation.
”For , reflect the whole graph”
Section titled “”For f(∣x∣)f(|x|)f(∣x∣), reflect the whole graph””Only the original right-hand part is retained and reflected. Keeping the old left-hand part as well may give two different -values for the same , which would not define a function.
Check your understanding
Section titled “Check your understanding”Question 1
Section titled “Question 1”The point lies on . Find the corresponding point on
Question 2
Section titled “Question 2”Describe fully the transformation from to
Question 3
Section titled “Question 3”The graph of has vertical asymptote and horizontal asymptote . Find the corresponding asymptotes of
Question 4
Section titled “Question 4”The domain of is . Find the domain of
Question 5
Section titled “Question 5”Explain how to construct and from a sketch of .
Answers
1. Here , , and . Therefore
2. Since
the graph is stretched horizontally by scale factor , translated left by , reflected in the -axis, then translated up by . The coordinate map is
3. Rewrite the input as . The old vertical asymptote input satisfies
so . The horizontal asymptote output becomes
The new asymptotes are and .
4. Require
Dividing by and subtracting gives
5. For , keep the part on or above the -axis and reflect every part below it in the -axis. For , keep the part for , reflect it in the -axis, and discard the original part for .
Final checklist
Section titled “Final checklist”Before completing a transformation question, check that you have:
- identified whether each change acts on inputs or outputs;
- reversed horizontal translations correctly;
- used the reciprocal horizontal scale factor ;
- included reflections when or ;
- transformed points with ;
- recalculated intercepts rather than moving them blindly;
- transformed asymptotes, domain and range where relevant;
- distinguished from .
What to learn next
Section titled “What to learn next”- Review roots, asymptotes and standard shapes in graphs of functions.
- Apply reflections in in composite and inverse functions.
- Use transformations with exponential and logarithmic graphs in exponential functions.
- Transform sine, cosine and tangent curves in trigonometric graphs.