# Lesson Explainer: Combining Function Transformations Mathematics

In this explainer, we will learn how to identify function transformations that include a combination of translation, dilation, and reflection.

Let us begin by reviewing different types of function transformations. We recall that function transformations can be grouped as follows:

• Horizontal: changes to the -variable (e.g., , ),
• Vertical: changes to the function (e.g., , ).

The changes to the function are applied directly to the expression , while the changes to the -variable are applied to the variable . For instance, if we begin with the expression , the transformation would result in the expression , which simplifies to

On the other hand, if we apply to the same expression, this results in , which simplifies to

Within each group of horizontal and vertical transformations, there are three different types of transformations:

• Addition: for example, is an addition of and the -variable;
• Multiplication: for example, is a multiplication of the function by the factor of ;
• Negation: there are and .

Each type of algebraic transformation listed above has geometric implications in the direction associated with the corresponding variable. The relationships between algebraic and geometric transformations are summarized in the following table.

Addition Shifts (horizontal and vertical) Dilations (horizontal and vertical) Reflection in the axes

For horizontal transformations, the effects of addition and multiplication are the opposite of what we would expect. For example, the algebraic transformation results in the geometric transformation of shifting the graph of a function to the left by 3 units. Also, the multiplication results in horizontal dilation by a factor of . On the other hand, algebraic transformations of the function result in the expected geometric transformations. For instance, results in a shift upward by 3 units, and results in a vertical dilation by a factor of 2. We can expand the table above to include all possible cases.

### Definition: Function Transformations

Letting and , we have the following.

Addition Multiplication 𝑥→𝑥+𝑐 Shifts to the left by 𝑐 units 𝑥→𝑥−𝑐 Shifts to the right by 𝑐 units 𝑓(𝑥)→𝑓(𝑥)+𝑐 Shifts up by 𝑐 units 𝑓(𝑥)→𝑓(𝑥)−𝑐 Shifts down by 𝑐 units 𝑥→𝑑𝑥 Dilates horizontally with scale factor 1𝑑 𝑥→𝑥𝑑 Dilates horizontally with scale factor 𝑑 𝑓(𝑥)→𝑑𝑓(𝑥) Dilates vertically with scale factor 𝑑 𝑓(𝑥)→𝑓(𝑥)𝑑 Dilates vertically with scale factor 1𝑑 𝑥→−𝑥 Reflects over the 𝑦-axis 𝑓(𝑥)→−𝑓(𝑥) Reflects over the 𝑥-axis

For transformations involving the function, the standard notation, for example, , may cause confusion if a problem already involves a function denoted . In these cases, we can denote functional transformations by a different letter: or .

In our first example, we will consider a combination of a reflection with horizontal and vertical shifts.

### Example 1: Finding the Equation of a Graph after a Combination of Horizontal and Vertical Shifts

If the following graph is reflected in the -axis and then shifted to the left by 1 unit and down by 3 units, what is the equation of the new graph?

### Answer

We recall that the reflection in the -axis corresponds to the algebraic transformation . Since the transformation in is applied to the function directly, this changes the function to

Next, we apply the shifts. Shifts are geometric transformations resulting from additions. An addition to the -variable leads to a horizontal shift, and an addition to the function leads to a vertical shift.

From the resulting expression above, , this graph is shifted to the left by 1 unit and down by 3 units. We recall the following rules for transformation. For a positive constant ,

• results in a shift to the left by units,
• results in a downward shift by units.

Since we want to shift the graph of our function to the left by 1 unit and downward by 3 units, we need both transformations and . Applying the transformation to leads to

Next, we need to apply the transformation to the expression above. This gives us the equation

Let us visualize this process using the graphs of these functions.

The figure above shows the sequence of this transformation. The round black arrow over the -axis represents the reflection on the -axis, which leads to . The green arrow is the shift to the left by 1 unit, which leads to the function . The purple arrow is the downward shift by 3 units, leading to the function .

Hence, the equation of the new graph created by the given combination of transformations to is

In the next example, we will apply a combination of vertical dilation and a reflection to a given function.

### Example 2: Graphing a Function Involving Combined Transformations of Graphs

The function is stretched in the vertical direction by a scale factor of 2 then reflected in the -axis. Write the equation of the transformed function .

### Answer

We recall that a dilation in the vertical direction corresponds to a multiplication to the function, and a reflection over the -axis comes from negating the -variable. In our example, the vertical dilation by a scale factor of 2 comes from the algebraic transformation , and the reflection over the -axis comes from the transformation .

Let us first apply the transformation to the given function . Hence, multiplying by 2 leads to the expression

Next, we apply the transformation . We know that transformations in the -variable are applied directly, so we obtain

Let us visualize this process using the graphs of these functions.

The figure above shows the sequence of this transformation. The green arrow shows the vertical dilation with a scale factor 2, which leads to the function . The double-sided purple arrow represents the reflection over the -axis, leading to the function .

Hence, the equation of the new transformed function is

In the next example, we will obtain the combined expression of a function after four different transformations.

### Example 3: Graphing a Function Involving Combined Transformations of Graphs

The graph of the function is first reflected symmetrically over the -axis, then shifted up by 2 units and right by 3 units, and finally horizontally stretched by 2 units to obtain the graph of the function . Write an equation for .

### Answer

In this example, we need to apply four different geometric transformations: reflection over the -axis, shift upward, shift to the right, and horizontal dilation with a scale factor of 2. We recall the algebraic transformations associated with these effects. If and ,

• results in a reflection over the -axis,
• results in a shift upward by 2 units,
• results in a shift to the right by 3 units,
• results in a horizontal dilation with a scale factor of 2.

Let us apply these transformations to in the given order. Since we start by reflecting symmetrically over the -axis, we first apply the algebraic transformation to our function . We know that the transformation in the -variable is applied directly, so we can obtain this transformation by substituting into the expression . This gives us the following.

The second transformation is shifting upward by 2 units, which corresponds to . We add 2 to the expression above to obtain the following.

Next, we need to shift the graph to the right by 3 units, which requires . Applying this transformation directly to the -variable in the expression above, we obtain , which simplifies to

Finally, we stretch the graph horizontally by 2, which requires . Applying this transformation directly to the -variable in the expression above, we obtain the following.

Hence, the equation for the resulting function is

In the previous examples, we found algebraic expressions of functions after a combination of transformations were applied in a specified order. We now consider examples in the reverse direction. Given an algebraic expression of a function that is a result of a series of transformations, we can retrace the steps to identify all the transformations used to obtain the given expression.

Once we obtain the list of necessary transformations, we need to find their correct order. When we apply a collection of transformations in different orders, we may end up with different functions and graphs. For example, consider applying the following two transformations to the function :

• shift to the left by 1 unit, given by ;
• reflection over the -axis, given by .

First, let us apply the shift and then the reflection. The shift to the left by 1 unit is given by , so this transformation leads to the graph . The reflection over the -axis is given by , so this leads to .

On the other hand, if we apply the reflection first, applying to results in , which is the same as . The reflection over the -axis does not change the graph in this case, since it is symmetric about the -axis. Then, applying the shift to the left by 1 unit, given by , leads to the graph . This is different from , which we obtained by applying the same two transformations in a different order.

We can visualize this difference using the diagram.

Hence, after identifying a list of transformations used to obtain an expression, we must also identify an appropriate order of transformations. Let us consider an example in this direction.

### Example 4: Combined Translations and Stretches of Graphs

This is the graph of the exponential function .

Which of the following is the graph of ?

### Answer

To identify the graph given by , we need to retrace the combination and the order of transformations needed to obtain the expression from . Let us begin by observing key features from the resulting expression .

• There is the number 4 outside the function. We can also write the given expression as , where we can observe the transformation . This transformation results in the shift upward by 4 units.
• There is a negative sign in front of the function , indicating the transformation . This transformation results in a reflection over the -axis.
• in has been replaced by . This indicates the transformation corresponding to the horizontal dilation with a scale factor .

Hence, the algebraic transformations that were used to obtain from are

Let us apply these transformations in the stated order to see if we end with the given expression. Applying to the function leads to

Applying to this expression gives us , which leads to

Finally, applying gives us

This order of transformations results in a different expression from , which tells us that this is a wrong order. But, from this sequence, we can observe that applying before resulted in changing outside the function to , leading to a different expression than the given one. Hence, we should apply first and then apply to avoid changing the sign of the number 4.

Let us try the order given by

Applying to leads to

Applying to this expression gives us

Finally, applying gives us which is the same as the given expression, . Hence, this is the correct order of transformations. Let us interpret this order of transformations geometrically. Since we applied first, we begin by reflecting the graph of over the -axis.

The second transformation is , so we shift the reflected graph up by 4.

The last transformation is , so we contract the graph horizontally with a scale factor .

Hence, the graph of is (b).

We can also reverse a given transformation. For instance, the shift to the right by 2 units, given by , is reversed by the shift to the left by 2 units, which is given by . The reflection over the -axis, given by , is reversed by the same transformation, since two reflections over the same axis bring back the original graph. The vertical dilation with a scale factor 5, given by , is reversed by the vertical dilation with a scale factor , which is given by .

To reverse a combination of transformations, we need to reverse each transformation starting from the last one. Let us consider an example where we identify the original function by reversing given order of transformations.

### Example 5: Identifying the Original Function from a Transformed Graph

The graph represents a function after a vertical positive shift by 3 units followed by a reflection on the -axis. Which of the following represents the original function ?

### Answer

Since comes from after applying two given transformations, we can recover the original function from by reversing the transformations, beginning with the second one. This process will give as an expression involving . We can finish the problem by finding the equation for .

The second transformation is the reflection on the -axis, which can be reversed by the same transformation. The reflection on the -axis comes from the algebraic transformation . Applying this transformation to , we obtain

Next, we reverse the first transformation, which is a vertical positive shift by 3 units. This transformation is reversed by a vertical negative (or downward) shift by 3 units, which corresponds algebraically to . Applying this transformation to the expression above, we obtain

Since we have reversed both transformations, this must be equal to our function. Thus,

Next, we need to find the equation for . From the given graph, we can see that comes from the parent function . We see from the diagram below that a reflection over the -axis makes the two graphs more similar.

Reflection over the -axis comes from the transformation , so this would lead to the equation as indicated in the diagram. From the graph of , we can obtain the graph of by shifting to the right by 1 unit, and then shifting down by 5 units.

The transformation results in the shift to the right by 1 unit, and the transformation results in the shift down by 5 units. Applying these transformations in order, we obtain

Hence, we obtain

Finally, we can substitute this equation into the relation between and we obtained earlier:

This leads to option C.

Sometimes, different combinations and orders of transformations may result in the same effect on the graph of a function. In our final example, we will observe this effect.

### Example 6: Identifying Equivalent Combinations of Function Transformations

The red graph in the figure has equation and the green graph has equation . Which of the following will not transform the graph of onto the graph of ?

1. A reflection in the -axis.
2. A horizontal shift of 4 units to the right followed by a reflection in the -axis.
3. A reflection in the -axis followed by a horizontal shift of 4 units to the left.
4. A vertical shift of 4 units down followed by a reflection in the -axis.

### Answer

We will apply each transformation to the red graph to see whether the resulting image overlaps with the green line. Since a line is fully characterized by two distinct points, it will be enough if the transformations move two distinct points on the red line onto the green line.

1. We reflect the red line over the -axis. In the diagram above, the round arrow around the -axis represents the reflection over the -axis. We can see that the reflection moves two distinct points on the red line onto the green line. Hence, this transformation brings the graph of onto the graph of .
2. We shift 4 units to the right and then reflect over the -axis. In the diagram above, the straight arrow represents shifts, and the round arrow around the -axis represents the reflection over the -axis. We can see that the two transformations move two distinct points on the red line onto the green line. Hence, this option also brings the graph of onto the graph of .
3. We reflect over the -axis and then shift to the left by 4 units. We can see that the two transformations move two distinct points on the red line onto the green line. Hence, this option also brings the graph of onto the graph of .
4. We shift down by 4 units and then reflect in the -axis. Neither of the two selected points from the red line ends up on the green line. Hence, two transformations do not bring the graph of onto the graph of .

This leads to option D.

Let us finish by recapping a few important concepts.

### Key Points

• Letting and , we have the following. Addition Multiplication 𝑥→𝑥+𝑐 Shifts to the left by 𝑐 units 𝑥→𝑥−𝑐 Shifts to the right by 𝑐 units 𝑓(𝑥)→𝑓(𝑥)+𝑐 Shifts up by 𝑐 units 𝑓(𝑥)→𝑓(𝑥)−𝑐 Shifts down by 𝑐 units 𝑥→𝑑𝑥 Dilates horizontally with scale factor 1𝑑 𝑥→𝑥𝑑 Dilates horizontally with scale factor 𝑑 𝑓(𝑥)→𝑑𝑓(𝑥) Dilates vertically with scale factor 𝑑 𝑓(𝑥)→𝑓(𝑥)𝑑 Dilates vertically with scale factor 1𝑑 𝑥→−𝑥 Reflects over the 𝑦-axis 𝑓(𝑥)→−𝑓(𝑥) Reflects over the 𝑥-axis
in the notations for vertical transformations may be replaced by or if the given problem already specifies the function .
• A different order of transformations may result in a different outcome. When identifying the combination of transformations done to a function, we need to identify the order of the transformations.
• A shift can be reversed by a shift to the opposite direction. A reflection can be reversed by the same reflection. A dilation can be reversed by a dilation of the reciprocal scale factor. When reversing a combination of transformations, we begin by reversing the last transformation.
• Different combinations of transformations may result in an identical effect on a function.

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.