Sequences of Transformations
Learning Outcomes
- Combine vertical and horizontal shifts.
- Follow a pattern when combining shifts and stretches.
How To: Given a function and both a vertical and a horizontal shift, sketch the graph.
- Identify the vertical and horizontal shifts from the formula.
- The vertical shift results from a constant added to the output. Move the graph up for a positive constant and down for a negative constant.
- The horizontal shift results from a constant added to the input. Move the graph left for a positive constant and right for a negative constant.
- Apply the shifts to the graph in either order.
Example: Graphing Combined Vertical and Horizontal Shifts
Given , sketch a graph of . The function is our toolkit absolute value function. We know that this graph has a V shape, with the point at the origin. The graph of has transformed in two ways: is a change on the inside of the function, giving a horizontal shift left by 1, and the subtraction by 3 in is a change to the outside of the function, giving a vertical shift down by 3. The transformation of the graph is illustrated below. Let us follow one point of the graph of .- The point is transformed first by shifting left 1 unit:
- The point is transformed next by shifting down 3 units:


Example: Identifying Combined Vertical and Horizontal Shifts
Write a formula for the graph shown below, which is a transformation of the toolkit square root function.
Answer: The graph of the toolkit function starts at the origin, so this graph has been shifted 1 to the right and up 2. In function notation, we could write that as
Using the formula for the square root function, we can write
Analysis of the Solution
Note that this transformation has changed the domain and range of the function. This new graph has domain and range .Try It
Write a formula for a transformation of the toolkit reciprocal function that shifts the function’s graph one unit to the right and one unit up.Answer:
Example: Applying a Learning Model Equation
A common model for learning has an equation similar to , where is the percentage of mastery that can be achieved after practice sessions. This is a transformation of the function shown below. Sketch a graph of .
Answer: This equation combines three transformations into one equation.
- A horizontal reflection:
- A vertical reflection:
- A vertical shift:
- First, we apply a horizontal reflection: .
- Then, we apply a vertical reflection: .
- Finally, we apply a vertical shift: .

Analysis of the Solution
As a model for learning, this function would be limited to a domain of , with corresponding range .Try It
Given the toolkit function , graph and . Take note of any surprising behavior for these functions.Combine Shifts and Stretches
When combining transformations, it is very important to consider the order of the transformations. For example, vertically shifting by 3 and then vertically stretching by 2 does not create the same graph as vertically stretching by 2 and then vertically shifting by 3, because when we shift first, both the original function and the shift get stretched, while only the original function gets stretched when we stretch first. When we see an expression such as , which transformation should we start with? The answer here follows nicely from the order of operations. Given the output value of , we first multiply by 2, causing the vertical stretch, and then add 3, causing the vertical shift. In other words, multiplication before addition. Horizontal transformations are a little trickier to think about. When we write , for example, we have to think about how the inputs to the function relate to the inputs to the function . Suppose we know . What input to would produce that output? In other words, what value of will allow ? We would need . To solve for , we would first subtract 3, resulting in a horizontal shift, and then divide by 2, causing a horizontal compression. This format ends up being very difficult to work with, because it is usually much easier to horizontally stretch a graph before shifting. We can work around this by factoring inside the function.Let’s work through an example.
We can factor out a 2.
Now we can more clearly observe a horizontal shift to the left 2 units and a horizontal compression. Factoring in this way allows us to horizontally stretch first and then shift horizontally.
A General Note: Combining Transformations
When combining vertical transformations written in the form , first vertically stretch by and then vertically shift by . When combining horizontal transformations written in the form , first horizontally shift by and then horizontally stretch by . When combining horizontal transformations written in the form , first horizontally stretch by and then horizontally shift by . Horizontal and vertical transformations are independent. It does not matter whether horizontal or vertical transformations are performed first.Example: Finding a Triple Transformation of a Tabular Function
Given the table below for the function , create a table of values for the function .6 | 12 | 18 | 24 | |
10 | 14 | 15 | 17 |
Answer: There are three steps to this transformation, and we will work from the inside out. Starting with the horizontal transformations, is a horizontal compression by , which means we multiply each value by .
2 | 4 | 6 | 8 | |
10 | 14 | 15 | 17 |
2 | 4 | 6 | 8 | |
20 | 28 | 30 | 34 |
2 | 4 | 6 | 8 | |
21 | 29 | 31 | 35 |
Example: Finding a Triple Transformation of a Graph
Use the graph of to sketch a graph of .
Answer: To simplify, let’s start by factoring out the inside of the function.
By factoring the inside, we can first horizontally stretch by 2, as indicated by the on the inside of the function. Remember that twice the size of 0 is still 0, so the point remains at while the point will stretch to .


