iGCSE (2021 Edition)

# 7.12 Period and phase shifts of trigonometric graphs

Lesson

In this lesson, we will look at an important characteristic of a trigonometric function called it's period. We will also look at horizontal dilations and translations of the basic trigonometric functions. And finally, we will consider trigonometric functions with a combination of different dilations and translations.

### Period

The period of a trigonometric function is defined as the time taken to complete one full cycle. For $y=\sin x$y=sinx and $y=\cos x$y=cosx, the period can be measured between successive maximums or minimums, or any other repeated point on the graph with the same function value and characteristics. Analysis of the trigonometric functions $y=\sin x$y=sinx and $y=\cos x$y=cosx reveals a period of $2\pi$2π.

The tangent function $y=\tan x$y=tanx is different to the sine and cosine functions as it doesn't have defined maximum and minimum values. However, if we look at the distance along the horizontal axis between repeated points or asymptotes we can see that it has a period of $\pi$π.

### Horizontal dilations

A function can be dilated horizontally by multiplying the input by a scale factor. That is, a function $f\left(ax\right)$f(ax) is the function $f\left(x\right)$f(x) horizontally dilated by a factor $\frac{1}{a}$1a.

For trigonometric functions that are horizontally dilated, there will be a change in the period.

Let's consider the graph of $y=\sin2x$y=sin2x sketched together with $y=\sin x$y=sinx:

From the graph, we can see that the function of $y=\sin2x$y=sin2x has a period of $\pi$π which is half the period of the original graph of $y=\sin x$y=sinx. This dilation has compressed the graph horizontally. It is important to notice that by changing the period of the function the amplitude, domain and range don't change.

Now let's consider the graph of $y=\cos\left(\frac{x}{2}\right)$y=cos(x2) sketched together with $y=\cos x$y=cosx:

From the graph, we can see that the function of $y=\cos\left(\frac{x}{2}\right)$y=cos(x2) has a period of $4\pi$4π which is double the period of the original graph of $y=\cos x$y=cosx. This dilation has stretched the graph horizontally. It is important to notice that by changing the period of the function the amplitude, domain and range don't change.

The tangent function behaves in a similar way. Let's consider the graph of $y=\tan\left(-\frac{x}{3}\right)$y=tan(x3) to see how it is dilated:

From the graph, we can see that the function of $y=\tan\left(-\frac{x}{3}\right)$y=tan(x3) has a period of $3\pi$3π which is triple the period of the original graph of $y=\tan x$y=tanx. This dilation has stretched the graph horizontally. The negative sign has reflected the graph about the vertical axis. Note that the range has not changed, but the domain has due to the changes in asymptote positions.

We can summarise the effects of horizontal dilations on trigonometric graphs as follows:

Function Dilation Period
$y=\sin\left(ax\right)$y=sin(ax)

horizontal compression $|a|>1$|a|>1

horizontal stretch $0<|a|<1$0<|a|<1

vertical reflection $a<0$a<0

$\frac{2\pi}{a}$2πa
$y=\cos\left(ax\right)$y=cos(ax)

horizontal compression $|a|>1$|a|>1

horizontal stretch $0<|a|<1$0<|a|<1

vertical reflection $a<0$a<0

$\frac{2\pi}{a}$2πa
$y=\tan\left(ax\right)$y=tan(ax)

horizontal compression $|a|>1$|a|>1

horizontal stretch $0<|a|<1$0<|a|<1

vertical reflection $a<0$a<0

$\frac{\pi}{a}$πa

#### Practice questions

##### Question 1

Consider the functions $f\left(x\right)=\cos x$f(x)=cosx and $g\left(x\right)=\cos4x$g(x)=cos4x.

1. State the period of $f\left(x\right)$f(x) in radians.

2. Complete the table of values for $g\left(x\right)$g(x).

 $x$x $g\left(x\right)$g(x) $0$0 $\frac{\pi}{8}$π8​ $\frac{\pi}{4}$π4​ $\frac{3\pi}{8}$3π8​ $\frac{\pi}{2}$π2​ $\frac{5\pi}{8}$5π8​ $\frac{3\pi}{4}$3π4​ $\frac{7\pi}{8}$7π8​ $\pi$π $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$
3. State the period of $g\left(x\right)$g(x) in radians.

4. What transformation of the graph of $f\left(x\right)$f(x) results in the graph of $g\left(x\right)$g(x)?

Vertical dilation by a factor of $\frac{1}{4}$14

A

Horizontal dilation by a factor of $4$4

B

Horizontal dilation by a factor of $\frac{1}{4}$14

C

Vertical dilation by a factor of $4$4

D

Vertical dilation by a factor of $\frac{1}{4}$14

A

Horizontal dilation by a factor of $4$4

B

Horizontal dilation by a factor of $\frac{1}{4}$14

C

Vertical dilation by a factor of $4$4

D
5. The graph of $f\left(x\right)$f(x) has been provided below.

By moving the points, graph $g\left(x\right)$g(x).

##### Question 2

Consider the function $y=\tan2x$y=tan2x.

Answer the following questions in radians, where appropriate.

1. Determine the $y$y-intercept.

2. Determine the period of the function.

3. How far apart are the asymptotes of the function?

4. State the first asymptote of the function for $x\ge0$x0.

5. State the first asymptote of the function for $x\le0$x0.

6. Graph the function.

### Combined translations and dilations of trigonometric functions

As is the case for other functions, we will often want to interpret trigonometric functions that involve multiple translations and dilations. We can combine all the dilations and translations previously mentioned into one equation as follows. Note carefully the structure of the equation and specifically that the input expression to the function is factorised to reveal the values of $a$a and $b$b.

Summary

To obtain the graph of $y=af\left(b\left(x\right)\right)+c$y=af(b(x))+c from the graph of $y=f\left(x\right)$y=f(x):

• $a$a vertically dilates the graph of $y=f\left(x\right)$y=f(x), and corresponds to a change in amplitude
• $b$b horizontally dilates the graph of $y=f\left(x\right)$y=f(x), and corresponds to a change in period
• $c$c vertically translates the graph of $y=f\left(x\right)$y=f(x)

In the case that $b$b is negative, it has the additional property of reflecting the graph of $y=f\left(x\right)$y=f(x) about the vertical axis.

#### Worked examples

##### Example 1

Sketch the graph of $y=2\sin3x+2$y=2sin3x+2.

Think: Starting with the graph of $y=\sin x$y=sinx, we can work through a series of transformations so that it coincides with the graph of $y=2\sin3x+2$y=2sin3x+2.

Do: We can first increase the amplitude of the function to match. This is represented by multiplying the $y$y-value of every point on $y=\sin x$y=sinx by $2$2.

 The graph of $y=2\sin x$y=2sinx

Next, we can apply the period change that is the result of multiplying the $x$x-value inside the function by $3$3. This means that to get a particular $y$y-value, we can put in an $x$x-value that is $3$3 times smaller than before. Notice that the points on the graph of $y=2\sin x$y=2sinx move towards the vertical axis by a factor of $3$3 as a result.

 The graph of $y=2\sin3x$y=2sin3x

Our next step will be to obtain the graph of $y=2\sin3x+2$y=2sin3x+2, and we can do so by applying a vertical  translation by two units upwards.

 The graph of $y=2\sin3x+2$y=2sin3x+2

### Outcomes

#### 0606C1.3

Understand the relationship between y = f(x) and y = |f(x)|, where f(x) may be linear, quadratic or trigonometric.

#### 0606C10.2

Understand amplitude and periodicity and the relationship between graphs of related trigonometric functions, e.g. sin x and sin 2x.

#### 0606C10.3

Draw and use the graphs of y = asinbx + c, y = acos bx + c, y = atan bx + c where a is a positive integer, b is a simple fraction or integer (fractions will have a denominator of 2, 3, 4, 6 or 8 only), and c is an integer.