Transformations of graphs
Changing the equation of a graph in a simple way moves or stretches the graph in a predictable way. Knowing the four basic transformations lets you sketch or without plotting a single point, and lets you describe a change of graph in the precise words Cambridge demands: translation, reflection, stretch. Transformation questions appear on most papers, often applied to a function you have just met, or to a graph given only by its features.
The four basic transformations
Start with any graph . There are two places you can change the equation: outside (changing the output) or inside (changing the input).
| New equation | Transformation | Point moves to |
|---|---|---|
| translation by | ||
| translation by | ||
| stretch parallel to the -axis, scale factor | ||
| stretch parallel to the -axis, scale factor | ||
| reflection in the -axis | ||
| reflection in the -axis |
Outside changes act on and do what they say. Inside changes act on and do the opposite.
Outside changes: the output
takes every -value of the original and adds , so the whole graph moves up . doubles every -value, so the graph is stretched away from the -axis by factor . Points on the -axis () stay where they are.
Inside changes: the input
moves the graph right by , not left. Here is why. The original graph has some feature (a vertex, say) where the input to is . In the input is when . So the feature now happens at : two units to the right.
Similarly : the input reaches any given value at half the it used to, so the graph is squashed towards the -axis by factor . Points on the -axis () stay where they are.
The graphs above are , (translated right) and (translated up).
Here , (stretch parallel to the -axis, factor : the peaks rise to ) and (stretch parallel to the -axis, factor : two full waves in the space of one).
Describing transformations in words
Cambridge awards marks for the exact vocabulary. Each description needs the type and all its details.
| Type | Details you must give | Example wording |
|---|---|---|
| Translation | the vector | translation by |
| Stretch | the direction and the scale factor | stretch parallel to the -axis with scale factor |
| Reflection | the mirror line | reflection in the -axis |
"Stretch in the -direction" and "stretch parallel to the -axis" both mean the same and are both accepted. Words such as "shift", "move", "squash" or "enlarge" are not accepted.
Describe the transformation that maps onto .
Solution
Replacing by translates the graph units in the positive -direction; adding outside translates it units in the positive -direction. Together:
The vertex moves from to , which agrees with the completed square form.
The point lies on the curve . State the coordinates of the image of on each of the following curves.
(a) (b) (c) (d) (e)
Solution
(a) Stretch parallel to the -axis, factor : .
(b) Translation by : .
(c) Stretch parallel to the -axis, factor : .
(d) Reflection in the -axis gives ; then translation by gives .
(e) Reflection in the -axis: .
Check (c): on at , the input is . Correct.
Combining transformations
When two transformations act in different directions (one on , one on ), the order does not matter. When they act in the same direction, it does.
Outside: follow the order of operations
means: take , multiply by , then add . So the transformations are, in order:
- stretch parallel to the -axis, scale factor ;
- translation by .
Doing them the other way round would give , which is different.
Inside: reverse the order of operations on
: write the inside as . Then two valid descriptions are:
- translation by , then stretch parallel to the -axis with factor (check: translating gives ; stretching replaces by , giving );
- stretch parallel to the -axis with factor , then translation by (stretching gives ; translating replaces by , giving ).
To check any sequence, apply each step to the equation in turn. A translation by means replace by . A stretch parallel to the -axis with factor means replace by . For the -direction, apply the change to the whole right-hand side.
- Start with .
- Apply the first transformation to the equation, using the replacement rules.
- Apply the second transformation to the new equation.
- Simplify, and check with one point (for example the vertex or an intercept).
Describe a sequence of transformations that maps the graph of onto the graph of .
Solution
Build from step by step:
- Stretch parallel to the -axis with scale factor .
- Reflection in the -axis.
- Translation by .
Step 1 can be done at any point in the sequence (it is the only -direction change), but steps 2 and 3 must be in this order.
The function is defined by for . The graph of is transformed to the graph of by a stretch parallel to the -axis with scale factor , followed by a translation by . Find in the form .
Solution
Stretch: . Then translate: replace by and subtract :
Now , so and
Check with the vertex: has vertex . The stretch sends it to and the translation to . And has vertex . Correct.
The function is defined by , and . Describe fully the single transformation that maps onto .
Solution
Complete the square on both:
The vertex moves from to and the shape is unchanged (both have coefficient ). So the transformation is a translation by
Check: . Correct.
The graph of has a maximum point at and crosses the -axis at and . The graph is transformed to . Describe the transformations in order and find the images of the three given points. State whether the image of is a maximum or minimum.
Solution
: multiply by , then add . So:
- stretch parallel to the -axis with scale factor ;
- reflection in the -axis;
- translation by .
(Steps 1 and 2 can be swapped, since both are multiplications; the translation must come last.)
Each point goes to :
- ;
- ;
- .
The reflection turns the curve upside down, so the maximum becomes a minimum at .
Inside changes the wrong way. moves the graph left ; squashes it by factor , it does not stretch it by .
Translation vector with the wrong sign or order. The vector is . is a translation by .
Incomplete descriptions. "A stretch of factor 2" is missing the direction. "A translation of 3" is missing the vector. Each loses the mark.
Wrong order in the -direction. is "stretch, then translate by "; translating first would need a translation by .
Translating before reflecting in problems. Reflecting in the -axis and then translating by gives , not .
- Use the words translation, stretch and reflection, with the vector, the direction and scale factor, or the mirror line. Typically one mark per transformation, and only if every detail is correct.
- If the question says "a sequence of transformations", give them in a valid order and state the order (first, then).
- Questions can involve any function: quadratics, trigonometric functions, or "other graphs with given features" such as a curve described only by a few points. Track key points through each step.
- Always check your answer with one point. It takes a few seconds and catches most sign errors.
- : translation . : translation .
- : stretch parallel to the -axis, factor . : stretch parallel to the -axis, factor .
- : reflection in the -axis. : reflection in the -axis.
- Outside changes act on as written; inside changes act on in the opposite way.
- In the -direction, the order follows the arithmetic: multiply, then add.
- Replacement rules: translate by in , replace by ; stretch by in , replace by .
- Describe fully: type plus vector, direction and factor, or mirror line.
Practice questions
- Describe the transformation that maps onto .
- Describe the transformation that maps onto .
- Describe the transformations that map onto (a) , (b) .
- The point lies on . Find its image on (a) , (b) , (c) , (d) , (e) .
- . The graph of is translated by . Find the equation of the new graph in the form .
- Describe a sequence of transformations that maps onto .
- Describe, in order, transformations that map onto , and find the image of .
- The graph of is reflected in the -axis and then translated by . Find the equation of the resulting graph in terms of .
- and . Find the translation that maps onto .
- The graph of is transformed to . (a) Describe a sequence of transformations. (b) The point is on . Find its image. (c) If has an asymptote , state the equation of the corresponding asymptote of .
Answers
-
Translation by .
-
Stretch parallel to the -axis with scale factor .
-
(a) Reflection in the -axis. (b) Reflection in the -axis.
-
(a) . (b) . (c) . (d) . (e) .
-
.
-
Stretch parallel to the -axis with scale factor , and translation by (in either order, as they act in different directions).
-
Stretch parallel to the -axis with scale factor , then translation by . Image: .
-
Reflection gives . Translating replaces by : .
-
, vertex ; , vertex . Same shape, so translation by . Check: .
-
(a) Stretch parallel to the -axis with scale factor ; reflection in the -axis; translation by (the reflection must come before the translation). (b) . (c) Horizontal asymptotes are unchanged by the -stretch; reflection gives ; translation gives . So the asymptote is .