Lesson Explainer: Transformation of Trigonometric Functions | Nagwa Lesson Explainer: Transformation of Trigonometric Functions | Nagwa

Lesson Explainer: Transformation of Trigonometric Functions

In this explainer, we will learn how to translate or stretch the trigonometric function and find the rule of a trigonometric function given the transformation.

Let’s recall some of the key features of the graphs of the three main trigonometric functions, the sine, cosine, and tangent function.

Graphs of Trigonometric Functions

The Sine Function

When the sine of an angle is plotted against that angle, the result is a sine curve.

The Cosine Function

When the cosine of an angle is plotted against that angle, the result is as shown.

The domain of the sine and cosine functions is the set of real numbers, whilst their range is [βˆ’1,1]. Both functions are periodic, as demonstrated in the diagram, with a period of 360∘ or 2πœ‹ radians.

The Tangent Function

The graph of the tangent function is shown.

Since tansincosπ‘₯=π‘₯π‘₯, it follows that tanπ‘₯ is undefined at values of π‘₯ where cosπ‘₯=0. In fact, the vertical asymptotes for the graph of the tangent function occur at π‘₯=(90+180𝑛)∘ or π‘₯=ο€»πœ‹2+πœ‹π‘›ο‡radians, for any integer value 𝑛. The domain of the tangent function is therefore β„βˆ’(90+180𝑛)∘, or β„βˆ’ο€»πœ‹2+πœ‹π‘›ο‡ in radians, and the range is all real numbers. The tangent function has a period of 180∘, or πœ‹ radians.

We will need to be able to recognize the graphs of these functions, so we must familiarize ourselves with their key features such as the locations of any turning points, the π‘₯- and 𝑦-intercepts, and the equations of any asymptotes before considering how to interpret their transformations.

In our first example, we will demonstrate a numerical interpretation of a function transformation which will allow us to generalize translations to trigonometric functions.

Example 1: Identifying the Image of a Point on a Trigonometric Graph Following a Transformation

The figure shows the graph of 𝑓(π‘₯). A transformation maps 𝑓(π‘₯) to 𝑓(π‘₯)βˆ’3. Determine the coordinates of 𝐴 following this transformation.

Answer

We might first recognize the graph of this function; it is the graph the tangent function where π‘₯ is given in degrees. We can therefore state, 𝑓(π‘₯)=π‘₯.tan

In order to identify the transformation that maps 𝑓(π‘₯) onto 𝑓(π‘₯)βˆ’3, let’s consider how the transformation affects the outputs of the function 𝑓(π‘₯) at various values of π‘₯.

π‘₯0∘45∘90∘180∘
𝑓(π‘₯)=π‘₯tan01undefined0
𝑓(π‘₯)βˆ’3=π‘₯βˆ’3tanβˆ’3βˆ’2undefinedβˆ’3

For any value of π‘₯ in the domain of 𝑓, the output of 𝑓(π‘₯)βˆ’3 is 3 less than the output of 𝑓(π‘₯). We can interpret this as a translation of the original curve 3 units down, or by (0,βˆ’3).

Since point 𝐴 has coordinates (45,1)∘, after a translation by (0,βˆ’3), its image will have coordinates (45,1βˆ’3)=(45,βˆ’2)∘∘.

In the previous example, we saw that a function 𝑓(π‘₯) is mapped onto 𝑓(π‘₯)βˆ’3 after a translation by (0,βˆ’3). We can generalize this as follows:

A function 𝑓(π‘₯) is mapped onto 𝑓(π‘₯)+π‘Ž, for real constants π‘Ž, after a translation by (0,π‘Ž).

Now, let’s consider what might happen if we were to add a constant to the value of π‘₯Β before substituting it into the function 𝑓(π‘₯)=π‘₯tan, say 𝑓(π‘₯+45)∘.

π‘₯βˆ’90βˆ˜βˆ’45∘0∘45∘90∘
𝑓(π‘₯)=π‘₯tanundefinedβˆ’101undefined
𝑓(π‘₯+45)=(π‘₯+45)∘∘tanβˆ’101undefinedβˆ’1

The function 𝑓(π‘₯) is mapped onto 𝑓(π‘₯+45)∘ by a translation. This time, the vector that describes this translation is (βˆ’45,0)∘. We can generalize this result as follows:

A function 𝑓(π‘₯) is mapped onto 𝑓(π‘₯+π‘Ž), for real constants π‘Ž, after a translation by (βˆ’π‘Ž,0).

Whilst we can consider a numerical interpretation of the main function transformations, in practice it makes sense to learn their general form. Let’s summarize the key transformations:

Definition: Function Transformations

Consider the function 𝑓(π‘₯), for real constants π‘Ž, 𝑏, 𝑐, and 𝑑,

  • 𝑓(π‘₯)+π‘Ž represents a translation by (0,π‘Ž),
  • 𝑓(π‘₯+𝑏) represents a translation by (βˆ’π‘,0),
  • 𝑐𝑓(π‘₯) represents a vertical stretch by a scale factor 𝑐,
  • 𝑓(𝑑π‘₯) represents a horizontal stretch by a scale factor 1𝑑 for 𝑑≠0.

We might notice that a vertical stretch by a scale factor 𝑐, where 𝑐<0, can be alternatively represented as a reflection in the π‘₯-axis followed by a vertical stretch by a scale factor of |𝑐|. Similarly, a horizontal stretch by a scale factor 1𝑑, where 𝑑<0, can be represented as a reflection in the 𝑦-axis followed by a horizontal stretch by a scale factor of 1|𝑑|. These interpretations are interchangeable but we will use the former notation in this explainer.

In our next example, we will demonstrate how to find the coordinates of a point after a transformation using these definitions.

Example 2: Identifying the Image of a Point on a Trigonometric Graph Following a Transformation

The figure shows the graph of 𝑓(π‘₯). A transformation maps 𝑓(π‘₯) to 𝑓(2π‘₯). Determine the coordinates of 𝐴 following this transformation.

Answer

Recall, a function 𝑓(π‘₯) is mapped onto 𝑓(π‘Žπ‘₯) after a horizontal stretch by scale factor 1π‘Ž. Since the transformation in this question maps 𝑓(π‘₯) to 𝑓(2π‘₯), we define π‘Ž=2, so this represents a horizontal stretch by scale factor 12 as shown in the following diagram.

Since the graph has been stretched horizontally by a scale factor of 12, the π‘₯-coordinate of the image of point 𝐴 will be 12Γ—180=90∘∘ whilst the 𝑦-coordinate of the image will remain unchanged.

The coordinates of the image of point 𝐴 are (90,βˆ’1)∘.

It is worth noting that we can check this answer by substituting π‘₯=90∘ into 𝑓(2π‘₯).𝑓(2π‘₯)=𝑓(2Γ—90)=𝑓(180)∘∘

We observe from the graph of 𝑓(π‘₯) that 𝑓(180)=βˆ’1∘. This is the 𝑦-coordinate of the image of 𝐴.

In our third example, we will apply these definitions to help us recognise the graph of a transformed function.

Example 3: Identifying the Graph of a Trigonometric Function after a Transformation

Which of the following is the graph of 𝑦=(π‘₯)+1cos?

Answer

Recall, the graph of the cosine function is as shown:

In order to identify the correct graph, we use the fact that 𝑓(π‘₯) is mapped onto 𝑓(π‘₯)+π‘Ž by a translation π‘Ž units in the vertical direction. This means that 𝑦=(π‘₯)cos is mapped onto 𝑦=(π‘₯)+1cos by a translation one unit upwards. After this translation, the 𝑦-intercept will have coordinates (0,2), and the points of intersection of the curve with the π‘₯-axis will lie at 180+360𝑛 for integer values of 𝑛.

This is option D:

There will be occasions where a function is mapped onto another function by a series of several transformations. In this case, there are a limited number of situations where the order in which these are performed is unimportant. Generally, the order matters if the transformations act in the same direction (in other words, two transformations that have a horizontal effect).

For instance, consider the functions defined by 2(π‘₯)+1cos and 2((π‘₯)+1)cos. The graph of both functions are some transformation of the graph of 𝑦=π‘₯cos. Figure 1 shows the graph of 𝑦=(π‘₯)cos and 𝑦=2(π‘₯)+1cos, where 𝑦=2(π‘₯)+1cos is obtained by performing a vertical stretch by a scale factor of 2 and then a translation by (0,1). Figure 2 shows the graph of 𝑦=(π‘₯)cos and 𝑦=2((π‘₯)+1)cos. Where the blue plot is obtained by a translation (0,1)Β then a vertical stretch.

To avoid errors, we should follow the given order:

How To: Sequencing Transformations of Functions

𝑓(π‘₯) maps onto π‘Žπ‘“(𝑏(π‘₯+𝑐))+𝑑 in the following order:

  1. A vertical stretch by a scale factor π‘Ž where π‘Ž<0 will result in a reflection in the π‘₯-axis,
  2. A horizontal stretch by a scale factor 1𝑏, where 𝑏<0 will result in a reflection in the 𝑦-axis,
  3. A horizontal translation given by (βˆ’π‘,0),
  4. A vertical translation given by (0,𝑑).

For instance, let’s identify the series of transformations that map 𝑦=(π‘₯)sin onto 𝑦=(90βˆ’π‘₯)sin. We rewrite sin(90βˆ’π‘₯) as sin(βˆ’(π‘₯βˆ’90)) and use the sequencing of transformations. We see that sin(π‘₯) undergoes two separate transformations to map it onto sin(βˆ’(π‘₯βˆ’90)); a horizontal stretch by a scale factor of 1βˆ’1=βˆ’1 followed by a horizontal translation by (90,0).

The graph of 𝑦=(π‘₯)sin is shown in figure 1. A horizontal stretch by a scale factor of βˆ’1 results in the graph shown in figure 2.

Finally, a horizontal translation by (90,0) gives the graph shown below:

Let’s demonstrate how to apply this process to find the image of a point on a curve.

Example 4: Identifying the Image of a Point on a Trigonometric Graph Following Multiple Transformations

The figure shows the graph of 𝑓(π‘₯). A transformation maps 𝑓(π‘₯) to 4𝑓(3π‘₯βˆ’45)+1. Determine the coordinates of 𝐴 following this transformation.

Answer

Recall, 𝑓(π‘₯) maps onto π‘Žπ‘“(𝑏(π‘₯+𝑐))+𝑑 in the following order:

  1. A vertical stretch by a scale factor π‘Ž where π‘Ž<0 will result in a reflection in the π‘₯-axis,
  2. A horizontal stretch by a scale factor 1𝑏, where 𝑏<0 will result in a reflection in the 𝑦-axis,
  3. A horizontal translation given by (βˆ’π‘,0),
  4. A vertical translation given by (0,𝑑).

To identify the transformation that maps 𝑓(π‘₯) to 4𝑓(3π‘₯βˆ’45)+1, we rewrite 4𝑓(3π‘₯βˆ’45)+1 as 4𝑓(3(π‘₯βˆ’15))+1 and let π‘Ž=4, 𝑏=3, 𝑐=βˆ’15, and 𝑑=1. Then, 𝑓(π‘₯) undergoes the following;

  1. A vertical stretch by a scale factor 4,
  2. A horizontal stretch by a scale factor 13,
  3. A horizontal translation given by (βˆ’(βˆ’15),0)=(15,0),
  4. A vertical translation given by (0,1).

We can apply each step to point 𝐴 with coordinates (180,βˆ’1).

  1. A vertical stretch by a scale factor 4 maps (180,βˆ’1) onto (180,βˆ’1Γ—4)=(180,βˆ’4),
  2. A horizontal stretch by a scale factor 13 maps (180,βˆ’4) onto ο€Ό180Γ—13,βˆ’4=(60,βˆ’4),
  3. A horizontal translation given by (15,0) maps (60,βˆ’4) onto (60+15,βˆ’4)=(75,βˆ’4),
  4. A vertical translation given by (0,1) maps (75,βˆ’4) onto (75,βˆ’4+1)=(75,βˆ’3).

Hence, the coordinates of the image of 𝐴 are (75,βˆ’3).

In our final example, we will demonstrate how to apply this process to find the graph of the image of a function.

Example 5: Identifying the Graph of a Trigonometric Function after Two Transformations

Which of the following is the graph of 𝑦=ο€»π‘₯4ο‡βˆ’1sin?

Answer

We recall that 𝑓(π‘₯) maps onto π‘Žπ‘“(𝑏(π‘₯+𝑐))+𝑑 in the following order:

  1. A vertical stretch by a scale factor π‘Ž where π‘Ž<0 will result in a reflection in the π‘₯-axis,
  2. A horizontal stretch by a scale factor 1𝑏, where 𝑏<0 will result in a reflection in the 𝑦-axis,
  3. A horizontal translation given by (βˆ’π‘,0),
  4. A vertical translation given by (0,𝑑).

If we define 𝑓(π‘₯)=(π‘₯)sin, then we can define the image after some series of transformations as 𝑔(π‘₯)=ο€»π‘₯4–1=ο€Ό14π‘₯οˆβ€“1sinsin.

Then, we can let 𝑏=14 and 𝑑=βˆ’1, so the function 𝑓(π‘₯) maps onto 𝑔(π‘₯) by a horizontal stretch by a scale factor 1=4οŠͺ, followed by a vertical translation given by (0,βˆ’1).

The graph of 𝑦=π‘₯sin is shown in figure 1, and a horizontal stretch of sin(π‘₯) by a scale factor of 4 is shown in figure 2. We observe point 𝐴, with coordinates (90,1) maps onto 𝐴′ with coordinates (360,1).

Finally, this graph is translated one unit down as shown in figure 3. Point 𝐴′ maps onto 𝐴′′ with coordinates (360,0).

This is option B.

Let us finish by recapping some key concepts from this explainer.

Key Points

  • For function 𝑓(π‘₯), for real constants π‘Ž, 𝑏, 𝑐, and 𝑑,
    • 𝑓(π‘₯)+π‘Ž represents a translation by (0,π‘Ž),
    • 𝑓(π‘₯+𝑏) represents a translation by (βˆ’π‘,0),
    • 𝑐𝑓(π‘₯) represents a vertical stretch by a scale factor 𝑐,
    • 𝑓(𝑑π‘₯) represents a horizontal stretch by a scale factor 1𝑑.
  • A series of transformations can be applied in the following order. To see how 𝑓(π‘₯) maps onto π‘Žπ‘“(𝑏(π‘₯+𝑐))+𝑑:
    • A vertical stretch by a scale factor π‘Ž where π‘Ž<0 will result in a reflection in the π‘₯-axis,
    • A horizontal stretch by a scale factor 1𝑏, where 𝑏<0 will result in a reflection in the 𝑦-axis,
    • A horizontal translation given by (βˆ’π‘,0),
    • A vertical translation given by (𝑑,0).

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

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