Functions and Algebra: Sketch and interpret functions and graphs

Unit 5: Trigonometric functions

Dylan Busa

Unit outcomes

By the end of this unit you will be able to:

  • Identify the following characteristics of trigonometric functions:
    • periodicity
    • amplitude.
  • Sketch the graph [latex]\scriptsize y=a\sin x+q[/latex], [latex]\scriptsize y=a\cos x+q[/latex] and [latex]\scriptsize y=a\tan x+q[/latex].
  • Identify the asymptotes of [latex]\scriptsize y=a\tan x+q[/latex].
  • Investigate and generalise the impact of [latex]\scriptsize a[/latex] and [latex]\scriptsize q[/latex] on [latex]\scriptsize y=asinx+q[/latex], [latex]\scriptsize y=a\cos x+q[/latex] and [latex]\scriptsize y=a\tan x+q[/latex].

What you should know

Before you start this unit, make sure you can

Introduction

All modern music is produced with the aid of computers at some stage in the recording and mastering process. Computers are used to manipulate, transform and blend the sounds made by instruments of various kinds. These computer programmes use trigonometric functions to help them model and change sounds.

When sound travels through the air, the energy of the sound creates pockets of air molecules at slightly different pressures (see Figure 1). In some of these areas the air is slightly compressed and at a higher pressure than normal. In others, it is decompressed and at a lower pressure.

Figure 1: Sound waves

These sound waves can be thought of in the same way as waves travelling across a pond, where the areas of compression correspond to the crests or peaks and the areas of decompression correspond to the troughs or valleys (see Figure 2).

Figure 2: Sound waves modelled as a sine wave

These waves can be modelled mathematically using a trigonometric function called sine. If we can model the wave using a function, it means we can manipulate it in all sorts of ways. Computers, being particularly good at maths, can make very complicated changes to very complex waves quickly and easily.

This is just one example of where trigonometric functions are used in real life. Another example is an engineer or architect calculating forces that are at an angle that will be experienced by physical structures like buildings or bridges.

In this unit, we will explore the trigonometric functions called sine ([latex]\scriptsize \sin[/latex]), cosine ([latex]\scriptsize \cos[/latex]) and tangent ([latex]\scriptsize \tan[/latex]). All three functions are based on how the ratios of the length of sides in a right-angled triangle change as the angle inside the triangle changes. Figure 3 shows a summary.

Figure 3: Summary of the three basic trigonometric ratios
  • [latex]\scriptsize \sin \theta[/latex] is the ratio of the length of the side opposite the angle [latex]\scriptsize \theta[/latex] and the hypotenuse (the side opposite the right angle). Another way of saying this is that it is the value of the y-coordinate, of the point made by the radius that is [latex]\scriptsize r[/latex] units long and that is [latex]\scriptsize {{\theta }^{{}^\circ }}[/latex] away from the positive x-axis, divided by [latex]\scriptsize r[/latex].
  • [latex]\scriptsize \cos \theta[/latex] is the ratio of the length of the side adjacent (next to) the angle [latex]\scriptsize \theta[/latex] and the hypotenuse. Another way of saying this is that it is the value of the x-coordinate, of the point made by the radius that is [latex]\scriptsize r[/latex] units long and that is [latex]\scriptsize {{\theta }^{{}^\circ }}[/latex] away from the positive x-axis, divided by [latex]\scriptsize r[/latex].
  •  [latex]\scriptsize \tan \theta[/latex] is the ratio of the length of the side opposite the angle [latex]\scriptsize \theta[/latex] and the length of the side adjacent to the angle. Another way of saying this is that it is the value of the y-coordinate, of the point made by the radius that is [latex]\scriptsize r[/latex] units long and that is [latex]\scriptsize {{\theta }^{{}^\circ }}[/latex] away from the positive x-axis, divided by the x-coordinate of this point.

Note

If you need more help understanding these three basic trigonometric ratios, watch the introductory video called “Basic trigonometry” or complete Subject outcome 3.6, Unit 1: Trigonometric ratios before continuing with this unit.

Basic trigonometry (Duration: 9.16)

Basic trigonometry

The sine and cosine functions

In this unit, we will deal with the sine and cosine functions together because they are very similar. As we will see, the cosine function is really just the sine function shifted horizontally by [latex]\scriptsize {{90}^{{}^\circ }}[/latex].

Activity 5.1: Investigate the sine and cosine functions

Time required: 60 minutes

What you need:

  • a pen or pencil
  • a calculator
  • blank paper or a notebook
  • a ruler
  • a protractor
  • an internet connection (highly recommended)

What to do:

Part A

  1. On a piece of paper, draw a large Cartesian plane. Each axis should be at least [latex]\scriptsize 15\ \text{cm}[/latex] long.
  2. Now put your protractor on the origin and measure an angle of [latex]\scriptsize {{30}^{{}^\circ }}[/latex] from the positive x-axis and mark this point. Draw a line [latex]\scriptsize 10\ \text{cm}[/latex] long from the origin going through the point you marked off. We will call this line the radius.
  3. Draw a perpendicular line from the end of the radius to the x-axis to create a right-angled triangle with [latex]\scriptsize {{30}^{{}^\circ }}[/latex] at the origin.
  4. Create a table like this on another piece of paper.
    [latex]\scriptsize \theta[/latex] [latex]\scriptsize {{30}^{{}^\circ }}[/latex] [latex]\scriptsize {{45}^{{}^\circ }}[/latex] [latex]\scriptsize {{60}^{{}^\circ }}[/latex] [latex]\scriptsize {{90}^{{}^\circ }}[/latex] [latex]\scriptsize {{120}^{{}^\circ }}[/latex] [latex]\scriptsize {{135}^{{}^\circ }}[/latex] [latex]\scriptsize {{150}^{{}^\circ }}[/latex] [latex]\scriptsize {{180}^{{}^\circ }}[/latex] [latex]\scriptsize {{210}^{{}^\circ }}[/latex] [latex]\scriptsize {{240}^{{}^\circ }}[/latex] [latex]\scriptsize {{270}^{{}^\circ }}[/latex] [latex]\scriptsize {{300}^{{}^\circ }}[/latex] [latex]\scriptsize {{330}^{{}^\circ }}[/latex] [latex]\scriptsize {{360}^{{}^\circ }}[/latex]
    [latex]\scriptsize y[/latex]
    [latex]\scriptsize \displaystyle \frac{y}{r}[/latex]
  5. Measure the length of the side opposite the [latex]\scriptsize {{30}^{{}^\circ }}[/latex] angle. This gives you the y-coordinate of the point made by the end of the radius. Write this in the table under the [latex]\scriptsize {{30}^{{}^\circ }}[/latex].
  6. Now measure an angle of [latex]\scriptsize {{45}^{{}^\circ }}[/latex] from the positive x-axis, draw another radius [latex]\scriptsize 10\ \text{cm}[/latex] long, drop a perpendicular line, measure the length of this perpendicular line to determine the y-coordinate of the point at the end of the radius and fill it into your table.
  7. Complete the rest of the table in the same way. Just remember that when the y-coordinate at the end of your radius is below the x-axis, you need to show that this is a negative value in your table.
  8. Once the second row of your table is complete, calculate the values in the third row. Remember that in every case [latex]\scriptsize r=10[/latex].
  9. Now draw a Cartesian plane like the one in Figure 4 and plot the points from your table on it.
  10. Finally, join these points with as smooth a ‘wavy’ curve as you can.
    Figure 4: Cartesian plane template

    You have just drawn the sine function [latex]\scriptsize f(\theta )=\sin \theta[/latex] for [latex]\scriptsize {{0}^{{}^\circ }}\le \theta \le {{360}^{{}^\circ }}[/latex]. You plotted the value of the ratio [latex]\scriptsize \displaystyle \frac{y}{r}[/latex] as [latex]\scriptsize \theta[/latex] increased from [latex]\scriptsize {{0}^{{}^\circ }}[/latex] to [latex]\scriptsize {{360}^{{}^\circ }}[/latex].

  11. Now answer these questions about the graph you have just drawn.
    1. What is the maximum value the function reaches? What is the minimum value?
    2. What are the turning points of the graph?
    3. What do you think happens to the function if we continue past [latex]\scriptsize {{360}^{{}^\circ }}[/latex] or to the left of [latex]\scriptsize {{0}^{{}^\circ }}[/latex]?
    4. What is the domain and range of the function [latex]\scriptsize f(\theta )=\sin \theta[/latex]?

Part B

  1. Make a copy of this table on a piece of paper
    [latex]\scriptsize \theta[/latex] [latex]\scriptsize {{30}^{{}^\circ }}[/latex] [latex]\scriptsize {{45}^{{}^\circ }}[/latex] [latex]\scriptsize {{60}^{{}^\circ }}[/latex] [latex]\scriptsize {{90}^{{}^\circ }}[/latex] [latex]\scriptsize {{120}^{{}^\circ }}[/latex] [latex]\scriptsize {{135}^{{}^\circ }}[/latex] [latex]\scriptsize {{150}^{{}^\circ }}[/latex] [latex]\scriptsize {{180}^{{}^\circ }}[/latex] [latex]\scriptsize {{210}^{{}^\circ }}[/latex] [latex]\scriptsize {{240}^{{}^\circ }}[/latex] [latex]\scriptsize {{270}^{{}^\circ }}[/latex] [latex]\scriptsize {{300}^{{}^\circ }}[/latex] [latex]\scriptsize {{330}^{{}^\circ }}[/latex] [latex]\scriptsize {{360}^{{}^\circ }}[/latex]
    [latex]\scriptsize x[/latex]
    [latex]\scriptsize \displaystyle \frac{x}{r}[/latex]
  2. Go back to your first Cartesian plane and now measure the length of the line adjacent to the angle [latex]\scriptsize \theta[/latex] in each case. Remember, the adjacent line is the line next to the angle that is not the radius. Fill these values into the second row of your table.
  3. Calculate the values in the third row of the table.
  4. Now draw a Cartesian plane like the one in Figure 4 and plot the points from your table on it.
  5. Finally, join these points with as smooth a ‘wavy’ curve as you can. You have just drawn the cosine function [latex]\scriptsize f(\theta )=\cos \theta[/latex] for [latex]\scriptsize {{0}^{{}^\circ }}\le \theta \le {{360}^{{}^\circ }}[/latex]. You plotted the value of the ratio [latex]\scriptsize \displaystyle \frac{x}{r}[/latex] as [latex]\scriptsize \theta[/latex] increased from [latex]\scriptsize {{0}^{{}^\circ }}[/latex] to [latex]\scriptsize {{360}^{{}^\circ }}[/latex].
  6. Now answer these question about the graph you have just drawn.
    1. What is the maximum value the function reaches? What is the minimum value?
    2. What are the turning points of the graph?
    3. What do you think happens to the function if we continue past [latex]\scriptsize {{360}^{{}^\circ }}[/latex] or to the left of [latex]\scriptsize {{0}^{{}^\circ }}[/latex]?
    4. What is the domain and range of the function [latex]\scriptsize f(\theta )=\cos \theta[/latex]?

Part C

  1. When you have an internet connection, visit the sine function interactive simulation.
    Sine function interactive simulation
    Here you will see a unit circle similar to the one you created in Part A and a slider with which you can change the value of the angle [latex]\scriptsize \theta[/latex]. Drag the slider and notice how the function value of the graph of [latex]\scriptsize f(\theta )=\sin \theta[/latex] always tracks the length of the side opposite the angle.
  2. Now visit the cosine function interactive simulation.
    Cosine function interactive simulation
    Here you will find a unit circle similar to the one you used in Part B and a slider with which you can change the value of the angle [latex]\scriptsize \theta[/latex]. Drag the slider and notice how the function value of the graph of [latex]\scriptsize f(\theta )=\cos \theta[/latex] always tracks the length of the side adjacent to the angle.

What did you find?

Part A

Figure 5 shows what the various triangles you drew should look like. The figure indicates the lengths of the sides opposite the angle as well as the x- and y-coordinates of the points formed by the radius and the angle. We call a circle like this a unit circle. In our case, [latex]\scriptsize 10\ \text{cm = 1 unit}[/latex].

Figure 5: A unit circle

Table 1 shows what your completed table should look like.

Table 1: Plotting [latex]\scriptsize \sin \theta[/latex]
[latex]\scriptsize \theta[/latex] [latex]\scriptsize {{30}^{{}^\circ }}[/latex] [latex]\scriptsize {{45}^{{}^\circ }}[/latex] [latex]\scriptsize {{60}^{{}^\circ }}[/latex] [latex]\scriptsize {{90}^{{}^\circ }}[/latex] [latex]\scriptsize {{120}^{{}^\circ }}[/latex] [latex]\scriptsize {{135}^{{}^\circ }}[/latex] [latex]\scriptsize {{150}^{{}^\circ }}[/latex]
[latex]\scriptsize y[/latex] [latex]\scriptsize 5[/latex] [latex]\scriptsize 7.07[/latex] [latex]\scriptsize 8.66[/latex] [latex]\scriptsize 10[/latex] [latex]\scriptsize 8.66[/latex] [latex]\scriptsize 7.07[/latex] [latex]\scriptsize 5[/latex]
[latex]\scriptsize \displaystyle \frac{y}{r}[/latex] [latex]\scriptsize \displaystyle \frac{1}{2}[/latex] [latex]\scriptsize 0.707[/latex] [latex]\scriptsize 0.866[/latex] [latex]\scriptsize 1[/latex] [latex]\scriptsize 0.866[/latex] [latex]\scriptsize 0.707[/latex] [latex]\scriptsize \displaystyle \frac{1}{2}[/latex]
Table 1 continued: Plotting [latex]\scriptsize \sin \theta[/latex]
[latex]\scriptsize \theta[/latex] [latex]\scriptsize {{180}^{{}^\circ }}[/latex] [latex]\scriptsize {{210}^{{}^\circ }}[/latex] [latex]\scriptsize {{240}^{{}^\circ }}[/latex] [latex]\scriptsize {{270}^{{}^\circ }}[/latex] [latex]\scriptsize {{300}^{{}^\circ }}[/latex] [latex]\scriptsize {{330}^{{}^\circ }}[/latex] [latex]\scriptsize {{360}^{{}^\circ }}[/latex]
[latex]\scriptsize y[/latex] [latex]\scriptsize 0[/latex] [latex]\scriptsize -5[/latex]  [latex]\scriptsize -8.66[/latex] [latex]\scriptsize -10[/latex] [latex]\scriptsize -8.66[/latex] [latex]\scriptsize -5[/latex] [latex]\scriptsize 0[/latex]
[latex]\scriptsize \displaystyle \frac{y}{r}[/latex] [latex]\scriptsize 0[/latex] [latex]\scriptsize -\displaystyle \frac{1}{2}[/latex] [latex]\scriptsize -0.866[/latex]  [latex]\scriptsize -1[/latex] [latex]\scriptsize -0.866[/latex] [latex]\scriptsize -\displaystyle \frac{1}{2}[/latex] [latex]\scriptsize 0[/latex]

When you plot the coordinates, formed by the values of [latex]\scriptsize \theta[/latex] and [latex]\scriptsize \displaystyle \frac{y}{r}[/latex], you get the graph shown in Figure 6.

Figure 6: Graph of [latex]\scriptsize f(\theta )=\sin \theta[/latex] for [latex]\scriptsize {{0}^{{}^\circ }}\le \theta \le {{360}^{{}^\circ }}[/latex]
  1. This is what you should notice about the graph.
    1. The maximum value the graph reaches is [latex]\scriptsize 1[/latex]. Its minimum value is [latex]\scriptsize -1[/latex].
    2. The graph has a maximum turning point at [latex]\scriptsize ({{90}^{{}^\circ }},1)[/latex] and a minimum turning point at [latex]\scriptsize ({{270}^{{}^\circ }},-1)[/latex].
    3. If we continue past [latex]\scriptsize {{360}^{{}^\circ }}[/latex] or [latex]\scriptsize {{0}^{{}^\circ }}[/latex] the graph will repeat itself. This is because if we keep measuring angles on our unit circle, we will keep generating the same function values. An angle of [latex]\scriptsize {{390}^{{}^\circ }}[/latex] will give a triangle on the unit circle exactly the same as [latex]\scriptsize {{30}^{{}^\circ }}[/latex]. If we measured in the other direction, an angle of [latex]\scriptsize -{{30}^{{}^\circ }}[/latex] for example, it would be the same as an angle of [latex]\scriptsize {{330}^{{}^\circ }}[/latex].
    4. There are no values that [latex]\scriptsize \theta[/latex] cannot take. Therefore, the domain of the function is [latex]\scriptsize \{\theta \ |\ \theta \in \mathbb{R}\}[/latex]. The range of the function is all values between [latex]\scriptsize -1[/latex] and [latex]\scriptsize 1[/latex]. Therefore the range is [latex]\scriptsize \{f(\theta )\ |\ f(\theta )\in \mathbb{R}\text{, -1}\le y\le \text{1 }\!\!\}\!\!\text{ }[/latex].

Part B

Table 2 shows the completed table of values of the length of the side adjacent to the angle in each case.

Table 2: Plotting [latex]\scriptsize \cos \theta[/latex]
[latex]\scriptsize \theta[/latex] [latex]\scriptsize {{30}^{{}^\circ }}[/latex] [latex]\scriptsize {{45}^{{}^\circ }}[/latex] [latex]\scriptsize {{60}^{{}^\circ }}[/latex] [latex]\scriptsize {{90}^{{}^\circ }}[/latex] [latex]\scriptsize {{120}^{{}^\circ }}[/latex] [latex]\scriptsize {{135}^{{}^\circ }}[/latex] [latex]\scriptsize {{150}^{{}^\circ }}[/latex]
[latex]\scriptsize x[/latex] [latex]\scriptsize 8.66[/latex] [latex]\scriptsize 7.07[/latex] [latex]\scriptsize 5[/latex] [latex]\scriptsize 0[/latex] [latex]\scriptsize 8.66[/latex] [latex]\scriptsize 7.07[/latex] [latex]\scriptsize 8.66[/latex]
[latex]\scriptsize \displaystyle \frac{x}{r}[/latex] [latex]\scriptsize 0.866[/latex] [latex]\scriptsize 0.707[/latex] [latex]\scriptsize 0.5[/latex] [latex]\scriptsize 0[/latex] [latex]\scriptsize -0.866[/latex] [latex]\scriptsize -0.707[/latex] [latex]\scriptsize -0.866[/latex]
Table 2 continued: Plotting [latex]\scriptsize \cos \theta[/latex]
[latex]\scriptsize \theta[/latex] [latex]\scriptsize {{180}^{{}^\circ }}[/latex] [latex]\scriptsize {{210}^{{}^\circ }}[/latex] [latex]\scriptsize {{240}^{{}^\circ }}[/latex] [latex]\scriptsize {{270}^{{}^\circ }}[/latex] [latex]\scriptsize {{300}^{{}^\circ }}[/latex] [latex]\scriptsize {{330}^{{}^\circ }}[/latex] [latex]\scriptsize {{360}^{{}^\circ }}[/latex]
[latex]\scriptsize x[/latex] [latex]\scriptsize -10[/latex] [latex]\scriptsize -8.66[/latex] [latex]\scriptsize 5[/latex] [latex]\scriptsize 0[/latex] [latex]\scriptsize 5[/latex] [latex]\scriptsize -8.66[/latex] [latex]\scriptsize 10[/latex]
[latex]\scriptsize \displaystyle \frac{x}{r}[/latex] [latex]\scriptsize -1[/latex] [latex]\scriptsize -0.866[/latex] [latex]\scriptsize -0.5[/latex] [latex]\scriptsize 0[/latex] [latex]\scriptsize 0.5[/latex] [latex]\scriptsize 0.866[/latex] [latex]\scriptsize 1[/latex]

When you plot the coordinates, formed by the values of [latex]\scriptsize \theta[/latex] and [latex]\scriptsize \displaystyle \frac{x}{r}[/latex], you get the graph shown in Figure 7.

Figure 7: Graph of [latex]\scriptsize f(\theta )=\cos \theta[/latex] for [latex]\scriptsize {{0}^{{}^\circ }}\le \theta \le {{360}^{{}^\circ }}[/latex]
  1. This is what you should notice about the graph.
    1. The maximum value the graph reaches is [latex]\scriptsize 1[/latex]. Its minimum value is [latex]\scriptsize -1[/latex].
    2. The graph has maximum turning points at [latex]\scriptsize ({{0}^{{}^\circ }},1)[/latex] and [latex]\scriptsize ({{360}^{{}^\circ }},1)[/latex], and a minimum turning point at [latex]\scriptsize ({{180}^{{}^\circ }},-1)[/latex].
    3. If we continue past [latex]\scriptsize {{360}^{{}^\circ }}[/latex] or [latex]\scriptsize {{0}^{{}^\circ }}[/latex] the graph will repeat itself. This is because if we keep measuring angles on our unit circle, we will keep generating the same function values.
    4. There are no values that [latex]\scriptsize \theta[/latex] cannot take. Therefore, the domain of the function is [latex]\scriptsize \{\theta \ |\ \theta \in \mathbb{R}\}[/latex]. The range of the function is all values between [latex]\scriptsize -1[/latex] and [latex]\scriptsize 1[/latex]. Therefore the range is [latex]\scriptsize \{f(\theta )\ |\ f(\theta )\in \mathbb{R}\text{, -1}\le y\le \text{1 }\!\!\}\!\!\text{ }[/latex].

Part C

  1. Th sine function interactive simulation constructed the graph of the function [latex]\scriptsize f(\theta )=\sin \theta[/latex] for [latex]\scriptsize {{0}^{{}^\circ }}\le \theta \le {{360}^{{}^\circ }}[/latex].
  2. Th cosine function interactive simulation constructed the graph of the function [latex]\scriptsize f(\theta )=\cos \theta[/latex] [latex]\scriptsize {{0}^{{}^\circ }}\le \theta \le {{360}^{{}^\circ }}[/latex].

Amplitude and period

In Activity 5.1 we discovered the general shape of the functions of [latex]\scriptsize y=\sin x[/latex] and [latex]\scriptsize y=\cos x[/latex]. We also saw that the graphs have maximum values of [latex]\scriptsize 1[/latex] (a maximum turning point) and minimum values of [latex]\scriptsize -1[/latex] (a minimum turning point) and that they ‘bounce’ between these limits. This is represented by the range [latex]\scriptsize \{f(x)\ |\ f(x)\in \mathbb{R}\text{,}-1\le y\le 1\}[/latex].

We say that each of these functions has an amplitude of [latex]\scriptsize 1[/latex]. Amplitude is a measure of the maximum distance of the graph from the ‘middle’ or ‘point of rest’ of the graph. In this case, the point of rest is the x-axis.

Look at Figure 8 which shows the graphs of [latex]\scriptsize y=\sin x[/latex] and [latex]\scriptsize y=\cos x[/latex] for [latex]\scriptsize -{{720}^{{}^\circ }}\le x\le {{720}^{{}^\circ }}[/latex]. Here we can clearly see how the graphs repeat themselves again and again. How many degrees does it take for each graph to repeat itself?

Figure 8: Graphs of [latex]\scriptsize y=\sin x[/latex] and [latex]\scriptsize y=\cos x[/latex] for [latex]\scriptsize -{{720}^{{}^\circ }}\le x\le {{720}^{{}^\circ }}[/latex]

If you look at Figure 8, you can see that each graph repeats itself every [latex]\scriptsize {{360}^{{}^\circ }}[/latex]. We say that each graph has a period of [latex]\scriptsize {{360}^{{}^\circ }}[/latex].

Can you also see that both functions are exactly the same shape? The graph of [latex]\scriptsize y=\cos x[/latex] is really just the graph of [latex]\scriptsize y=\sin x[/latex] shifted [latex]\scriptsize {{90}^{{}^\circ }}[/latex] to the left. You will see in Level 3 why this is the case.

The effects of a and q on the graphs of y=a.sin x+q and y=a.cos x+q

Before working through Activity 5.2, what do you think the effect of changing the value of [latex]\scriptsize q[/latex] will be on the functions of [latex]\scriptsize y=\sin x+q[/latex] and [latex]\scriptsize y=\cos x+q[/latex]? Think about what changing [latex]\scriptsize q[/latex] does to other functions we have studied.

The effect of [latex]\scriptsize \large q[/latex] on the graphs of [latex]\scriptsize \large y=a\sin x+q[/latex] and [latex]\scriptsize \large y=a\cos x+q[/latex]

Work through this activity to understand the effect of q on the sine and cosine functions.

Activity 5.2: Investigate the effect of q on the sine and cosine functions

Time required: 15 minutes

What you need:

  • an internet connection

What to do:

When you have an internet connection, visit this interactive simulation.

Effect of q interactive simulation

Here you will find graphs of [latex]\scriptsize f(x)=\sin x+q[/latex] and [latex]\scriptsize g(x)=\cos x+q[/latex] with a slider to change the value of [latex]\scriptsize q[/latex]. Change the value of [latex]\scriptsize q[/latex] and see the effect on each graph. You can show and hide each function by clicking the coloured circle next to it.

Now answer these questions:

  1. What effect does changing [latex]\scriptsize q[/latex] have of each function?
  2. Does changing [latex]\scriptsize q[/latex] change the maxima and minima of the functions? If so, how?
  3. Does changing [latex]\scriptsize q[/latex] affect the amplitude of the functions?
  4. Does changing [latex]\scriptsize q[/latex] affect the period of the functions?

What did you find?

  1. By changing the value of [latex]\scriptsize q[/latex] the functions are moved vertically up and down. Increasing [latex]\scriptsize q[/latex], shifts the functions up by [latex]\scriptsize q[/latex] units. Decreasing [latex]\scriptsize q[/latex] shifts the functions down by [latex]\scriptsize q[/latex] units.
  2. Changing [latex]\scriptsize q[/latex] does change the maximum and minimum turning points of the functions. The normal maxima and minima of the functions are [latex]\scriptsize 1[/latex] and [latex]\scriptsize -1[/latex]. The new values are [latex]\scriptsize 1+q[/latex] and [latex]\scriptsize -1+q[/latex].
  3. The amplitude of the functions does not change. The distance from the middle of the graph to the maximum or minimum turning point is still [latex]\scriptsize 1[/latex]. However, the position of the ‘middle’ of the graphs does change. This is now the straight line [latex]\scriptsize y=q[/latex].
  4. Both graphs have the same period of [latex]\scriptsize {{360}^{{}^\circ }}[/latex].

Example 5.1

Given [latex]\scriptsize y=\sin x-1[/latex].

  1. What is the period of the function?
  2. What is the amplitude of the function?
  3. At what y-coordinates will the maximum and minimum turning points be?
  4. State the domain and range.
  5. What are the intercepts with the axes?
  6. Make a neat sketch of the function for [latex]\scriptsize {{0}^{{}^\circ }}\le x\le {{360}^{{}^\circ }}[/latex].

Solutions

We need to first consider what the basic sine function looks like (see Figure 9).

Figure 9: Graph of [latex]\scriptsize y=\sin x[/latex] for [latex]\scriptsize {{0}^{{}^\circ }}\le x\le \text{36}{{\text{0}}^{{}^\circ }}[/latex]

We can see that the graph passes through the origin to a maximum at [latex]\scriptsize ({{90}^{{}^\circ }},1)[/latex], back through the x-axis at [latex]\scriptsize ({{180}^{{}^\circ }},0)[/latex] to a minimum at [latex]\scriptsize ({{270}^{{}^\circ }},-1)[/latex] and then back to the x-axis at [latex]\scriptsize ({{360}^{{}^\circ }},0)[/latex]. The graph has a period of [latex]\scriptsize {{360}^{{}^\circ }}[/latex] and an amplitude of [latex]\scriptsize 1[/latex]. The ‘middle’ of the graph is the x-axis (the line [latex]\scriptsize y=0[/latex]).

The function we need to sketch is [latex]\scriptsize y=\sin x-1[/latex]. Here [latex]\scriptsize q=-1[/latex] and the whole graph in Figure 9 will be moved one unit down.

  1. The period of the function will remain unchanged at [latex]\scriptsize {{360}^{{}^\circ }}[/latex].
  2. The amplitude of the function will remain unchanged at [latex]\scriptsize 1[/latex]. However, the ‘middle’ of the graph will now be the line [latex]\scriptsize y=-1[/latex].
  3. Because the whole graph has been moved down one unit, the maximum turning points will have y-coordinates of [latex]\scriptsize 1-1=0[/latex] and the minimum turning points will have y-coordinates of [latex]\scriptsize -1-1=-2[/latex].
  4. Domain: [latex]\scriptsize \{x\ |\ x\in \mathbb{R}\}[/latex]
    Range: [latex]\scriptsize \{y\ |\ y\in \mathbb{R},-2\le y\le 0\}[/latex]
  5. We find the x- and y-intercepts by letting [latex]\scriptsize y=0[/latex] and [latex]\scriptsize x=0[/latex].
    x-intercept (let [latex]\scriptsize y=0[/latex]):
    [latex]\scriptsize \begin{align*}0 & =\sin x-1\\\therefore \sin x & =1\\\therefore x & ={{90}^{{}^\circ }}\end{align*}[/latex]
    The point [latex]\scriptsize ({{90}^{{}^\circ }},0)[/latex] will be the x-intercept.
    .
    y-intercept (let [latex]\scriptsize x=0[/latex]):
    [latex]\scriptsize \begin{align*}y & =\sin {{0}^{{}^\circ }}-1\\\therefore y & =0-1=-1\end{align*}[/latex]
    The point [latex]\scriptsize (0,-1)[/latex] will be the y-intercept.
  6. The graph of [latex]\scriptsize y=\sin x-1[/latex] is shown in Figure 10. The light dotted line represents the ‘middle’ of the function and the dark dotted line the function [latex]\scriptsize y=\sin x[/latex].
    Figure 10: Graph of [latex]\scriptsize y=\sin x-1[/latex] for [latex]\scriptsize {{0}^{{}^\circ }}\le x\le \text{36}{{\text{0}}^{{}^\circ }}[/latex]

Note: You could also have sketched the function using a table of values or your calculator. When using a table of values, it is often only necessary to use these angles: [latex]\scriptsize {{0}^{{}^\circ }};{{90}^{{}^\circ }};{{180}^{{}^\circ }};{{270}^{{}^\circ }};{{360}^{{}^\circ }}[/latex].

Note

In Example 5.1 it was necessary to calculate [latex]\scriptsize x[/latex] in [latex]\scriptsize \sin x=1[/latex]. You can do this on your calculator by using the inverse sine button, usually marked as [latex]\scriptsize {{\sin }^{-1}}[/latex]. For this calculation, key in [latex]\scriptsize 1\to \text{2nd func}\to \sin \to \ =[/latex] (on most Sharp calculators) or [latex]\scriptsize \text{SHIFT}\to \sin \to 1\to =[/latex] (on most Casio calculators).

It was also necessary to calculate [latex]\scriptsize y[/latex] in [latex]\scriptsize y=\sin {{0}^{{}^\circ }}-1[/latex]. You can do this on your calculator by using the sine button, marked as [latex]\scriptsize \sin[/latex]. For this calculation, key in [latex]\scriptsize 0\to \sin \to -1\to \ =[/latex].

You can also use your calculator to generate sets of ordered pairs for any function. When you have an internet connection, watch the video called “CASIO FX 991ES PLUS – Calculator skills – plotting a graph” to learn how to do this.

Exercise 5.1

Make a neat sketch of the function [latex]\scriptsize f(x)=\sin x+1[/latex] for the interval [latex]\scriptsize {{0}^{{}^\circ }}\le x\le \text{36}{{\text{0}}^{{}^\circ }}[/latex] showing the intercepts with the axes and turning points.

Make a neat sketch of the function [latex]\scriptsize g(\theta )=\cos \theta -3[/latex] for the interval [latex]\scriptsize {{0}^{{}^\circ }}\le \theta \le {{540}^{{}^\circ }}[/latex]showing the intercepts with the axes and turning points.

The full solutions are at the end of the unit.

We have established that the effect of [latex]\scriptsize q[/latex] on [latex]\scriptsize y=\sin x+q[/latex] and [latex]\scriptsize y=\cos x+q[/latex] is to move the graph vertically up or down by [latex]\scriptsize q[/latex] units. There is no change in the overall shape of the graph.

The effect of [latex]\scriptsize \large a[/latex] on [latex]\scriptsize \large y=\sin x+q[/latex] and [latex]\scriptsize \large y=\cos x+q[/latex]

Based on your knowledge of the effect of [latex]\scriptsize a[/latex] on the other functions we have studied, what do you think the effect of [latex]\scriptsize a[/latex] will be on [latex]\scriptsize y=a\sin x+q[/latex] and [latex]\scriptsize y=a\cos x+q[/latex]?

Consider the following table of values (Table 3) for the function [latex]\scriptsize y=\sin x[/latex].

Table 3
[latex]\scriptsize \theta[/latex] [latex]\scriptsize {{0}^{{}^\circ }}[/latex] [latex]\scriptsize {{90}^{{}^\circ }}[/latex] [latex]\scriptsize {{180}^{{}^\circ }}[/latex] [latex]\scriptsize {{270}^{{}^\circ }}[/latex] [latex]\scriptsize {{360}^{{}^\circ }}[/latex]
[latex]\scriptsize f(x)=\sin x[/latex] [latex]\scriptsize 0[/latex] [latex]\scriptsize 1[/latex] [latex]\scriptsize 0[/latex] [latex]\scriptsize -1[/latex] [latex]\scriptsize 0[/latex]

What values will go into the second row if instead we calculated the values for [latex]\scriptsize g(x)=2\sin x[/latex]? What values would go into the second row if we calculated the values for [latex]\scriptsize h(x)=-3\sin x[/latex]. Before you read on, make a copy of Table 4 on a piece of paper and try to complete it on your own.

Table 4
[latex]\scriptsize \theta[/latex] [latex]\scriptsize {{0}^{{}^\circ }}[/latex] [latex]\scriptsize {{90}^{{}^\circ }}[/latex] [latex]\scriptsize {{180}^{{}^\circ }}[/latex] [latex]\scriptsize {{270}^{{}^\circ }}[/latex] [latex]\scriptsize {{360}^{{}^\circ }}[/latex]
[latex]\scriptsize f(x)=\sin x[/latex]  [latex]\scriptsize 0[/latex] [latex]\scriptsize 1[/latex] [latex]\scriptsize 0[/latex] [latex]\scriptsize -1[/latex] [latex]\scriptsize 0[/latex]
[latex]\scriptsize g(x)=2\sin x[/latex]
[latex]\scriptsize h(x)=-3\sin x[/latex]

It should be clear that for [latex]\scriptsize g(x)[/latex] we simply double the values obtained for [latex]\scriptsize f(x)[/latex], and that for [latex]\scriptsize h(x)[/latex] we multiply each of these values by [latex]\scriptsize -3[/latex] (see Table 5).

Table 5
[latex]\scriptsize \theta[/latex] [latex]\scriptsize {{0}^{{}^\circ }}[/latex] [latex]\scriptsize {{90}^{{}^\circ }}[/latex] [latex]\scriptsize {{180}^{{}^\circ }}[/latex] [latex]\scriptsize {{270}^{{}^\circ }}[/latex] [latex]\scriptsize {{360}^{{}^\circ }}[/latex]
[latex]\scriptsize f(x)=\sin x[/latex] [latex]\scriptsize 0[/latex] [latex]\scriptsize 1[/latex] [latex]\scriptsize 0[/latex] [latex]\scriptsize -1[/latex] [latex]\scriptsize 0[/latex]
[latex]\scriptsize g(x)=2\sin x[/latex] [latex]\scriptsize 0[/latex] [latex]\scriptsize 2[/latex] [latex]\scriptsize 0[/latex] [latex]\scriptsize -2[/latex] [latex]\scriptsize 0[/latex]
[latex]\scriptsize h(x)=-3\sin x[/latex] [latex]\scriptsize 0[/latex] [latex]\scriptsize -3[/latex] [latex]\scriptsize 0[/latex] [latex]\scriptsize 3[/latex] [latex]\scriptsize 0[/latex]

This means that the y-coordinate of every point on [latex]\scriptsize g(x)=2\sin x[/latex] is going to be double the y-coordinate of every point on [latex]\scriptsize f(x)=\sin x[/latex]. The y-coordinate of every point on [latex]\scriptsize h(x)=-3\sin x[/latex] is going to be three times the y-coordinate of every point on [latex]\scriptsize f(x)=\sin x[/latex] and on the opposite side of the x-axis.

Figure 11 shows the graphs of these three functions. From it, we can see how [latex]\scriptsize g(x)=2\sin x[/latex] is the same basic shape as [latex]\scriptsize f(x)=\sin x[/latex], but that the graph has been vertically stretched so that the maxima and minima are now [latex]\scriptsize 2[/latex] and [latex]\scriptsize -2[/latex] instead of [latex]\scriptsize 1[/latex] and [latex]\scriptsize -1[/latex]. This means that the range of [latex]\scriptsize g(x)=2\sin x[/latex] has been extended to be [latex]\scriptsize \{g(x)\ |\ g(x)\in \mathbb{R},-2\le g(x)\le 2\}[/latex]. The amplitude of [latex]\scriptsize g(x)[/latex] is [latex]\scriptsize 2[/latex].

The domain and period of [latex]\scriptsize g(x)[/latex] are the same as for [latex]\scriptsize f(x)[/latex].

Figure 11: Graphs of [latex]\scriptsize f(x)=\sin x[/latex], [latex]\scriptsize g(x)=2\sin x[/latex] and [latex]\scriptsize h(x)=-3\sin x[/latex]

We can also see how [latex]\scriptsize h(x)=-3\sin x[/latex] is the same basic shape as [latex]\scriptsize f(x)[/latex], but that the graph has been vertically stretched so that the maxima and minima are now [latex]\scriptsize 3[/latex] and [latex]\scriptsize -3[/latex] instead of [latex]\scriptsize 1[/latex] and [latex]\scriptsize -1[/latex]. Because [latex]\scriptsize a \lt 0[/latex] it also means that the graph has been flipped over the x-axis. What was a maximum value is now a minimum.

This means that the range of [latex]\scriptsize h(x)=-3\sin x[/latex] has been extended to [latex]\scriptsize \{h(x)\ |\ h(x)\in \mathbb{R},-3\le h(x)\le 3\}[/latex]. The amplitude of [latex]\scriptsize h(x)[/latex] is [latex]\scriptsize 3[/latex].

The domain and period of [latex]\scriptsize h(x)[/latex] are the same as for [latex]\scriptsize f(x)[/latex].

Naturally, the effect of [latex]\scriptsize a[/latex] on the function [latex]\scriptsize y=a\cos x[/latex] will be the same. The graph will be stretched vertically and the new maxima and minima will be multiplies of [latex]\scriptsize a[/latex]. Also, if [latex]\scriptsize a \lt 0[/latex], the graph will be flipped over the x-axis and what was a maximum value will become a minimum value.

Before you look at the next example, visit this interactive simulation.

Effect of q interactive simulation

Here you will find graphs of [latex]\scriptsize f(x)=a\sin x+q[/latex] and [latex]\scriptsize g(x)=a\cos x+q[/latex] with sliders to change the values of [latex]\scriptsize a[/latex] and [latex]\scriptsize q[/latex]. Change the values to see the effect on each graph. You can show and hide each function by clicking the coloured circle next to it.

Example 5.2

Given [latex]\scriptsize s(x)=3\cos x-1[/latex].

  1. What is the period of the function?
  2. What is the amplitude of the function?
  3. Find the y-coordinates of the maximum and minimum turning points?
  4. State the domain and range.
  5. What are the intercepts with the axes (to one decimal place)?
  6. Make a neat sketch of the function for [latex]\scriptsize {{0}^{{}^\circ }}\le x\le {{360}^{{}^\circ }}[/latex], marking the turning points and intercepts.

Solutions

  1. The period is [latex]\scriptsize {{360}^{{}^\circ }}[/latex].
  2. The of [latex]\scriptsize a[/latex] is [latex]\scriptsize 3[/latex] therefore, we can say the amplitude of the function is [latex]\scriptsize 3[/latex].
  3. [latex]\scriptsize q=-1[/latex]. Therefore, the whole graph will be shifted one unit down. The ‘middle’ of the graph will be the line [latex]\scriptsize y=-1[/latex]. This means that the maxima will be at [latex]\scriptsize 3-1=2[/latex] and the minima will be at [latex]\scriptsize -3-1=-4[/latex].
  4. Domain: [latex]\scriptsize x\in \mathbb{R}[/latex]
    Range: [latex]\scriptsize y\in [-4,2][/latex]
    Note: These shortened representations of the domain and range are perfectly acceptable. The range has been represented in interval notation where the square brackets indicate that the end values are included. Interval notation assumes that all real values between the end values are included.
  5. x-intercept (let [latex]\scriptsize y=0[/latex]):
    [latex]\scriptsize \begin{align*}0 & =3\cos x-1\\\therefore 3\cos x & =1\\\therefore \cos x & =\displaystyle \frac{1}{3}\\\therefore x & ={{70.5}^{{}^\circ }}\end{align*}[/latex]
    The point [latex]\scriptsize ({{70.5}^{{}^\circ }},0)[/latex] will be the x-intercept. y-intercept (let [latex]\scriptsize x=0[/latex]):
    [latex]\scriptsize \begin{align*}y & =3\cos {{0}^{{}^\circ }}-1\\\therefore y & =3-1=2\end{align*}[/latex]
    The point [latex]\scriptsize (0,2)[/latex] will be the y-intercept.

Figure 12 shows a sketch of the function.

Figure 12: Graph of [latex]\scriptsize s(x)=3\cos x-1[/latex] for [latex]\scriptsize {{0}^{{}^\circ }}\le x\le {{360}^{{}^\circ }}[/latex]

Note

You will notice in Figure 12 that a second x-intercept of [latex]\scriptsize ({{289.5}^{{}^\circ }},0)[/latex] is shown that was not calculated in the example. You will learn how to calculate the general solution for trigonometric equations in Level 3.

Exercise 5.2

  1. Sketch [latex]\scriptsize y=-2\sin x-2[/latex] for [latex]\scriptsize x\in [{{0}^{{}^\circ }},{{180}^{{}^\circ }}][/latex] showing all the intercepts with the axes and the maxima and minima.
  2. Sketch [latex]\scriptsize y=-\displaystyle \frac{1}{2}\cos x+1[/latex] for [latex]\scriptsize x\in [{{0}^{{}^\circ }},{{180}^{{}^\circ }}][/latex] showing all the intercepts with the axes and the maxima and minima.

The full solutions are at the end of the unit.

Figures 13 and 14 show a summary of what we know about the effects of [latex]\scriptsize a[/latex] and [latex]\scriptsize q[/latex] on the functions [latex]\scriptsize y=a\sin x+q[/latex] and [latex]\scriptsize y=a\cos x+q[/latex].

Figure 13: Effects of [latex]\scriptsize a[/latex] and [latex]\scriptsize q[/latex] on the function [latex]\scriptsize y=a\sin x+q[/latex]

For [latex]\scriptsize y=a\sin x+q[/latex]
Period: [latex]\scriptsize {{360}^{{}^\circ }}[/latex]
Amplitude: [latex]\scriptsize |a|[/latex] (the of [latex]\scriptsize a[/latex])
Domain: [latex]\scriptsize x\in \mathbb{R}[/latex]
Range: [latex]\scriptsize y\in [a+q,-a+q][/latex]

Figure 14: Effects of [latex]\scriptsize a[/latex] and [latex]\scriptsize q[/latex] on the function [latex]\scriptsize y=a\cos x+q[/latex]

For [latex]\scriptsize y=a\cos x+q[/latex]
Period: [latex]\scriptsize {{360}^{{}^\circ }}[/latex]
Amplitude: [latex]\scriptsize |a|[/latex] (the of [latex]\scriptsize a[/latex])
Domain: [latex]\scriptsize x\in \mathbb{R}[/latex]
Range: [latex]\scriptsize y\in [a+q,-a+q][/latex]

The tangent function

We know that the tangent function is the ratio of the length of the side opposite the angle to the length of the side adjacent to the angle. In other words [latex]\scriptsize \tan \theta =\displaystyle \frac{y}{x}[/latex]. But if we consider the point [latex]\scriptsize (x,y)[/latex] as the point at the end of a radius drawn at an angle of [latex]\scriptsize \theta[/latex] from the positive x-axis at the origin in the unit circle, we can see that the tangent function is actually the gradient of this radius (see Figure 15).

Figure 15: The tangent function as the gradient of the radius in the unit circle

The basic tangent function

Let’s think about how the gradient or slope of the radius in Figure 15 changes as we increase the angle from [latex]\scriptsize {{0}^{{}^\circ }}[/latex] to [latex]\scriptsize {{360}^{{}^\circ }}[/latex]. If you have an Internet connection, visit the Interactive tangent function simulation.

Interactive tangent function simulation

Drag the green slider to change the angle. Notice how the gradient of the radius in the unit circle corresponds to the function value.

When the angle the radius of the unit circle makes with the x-axis is [latex]\scriptsize {{0}^{{}^\circ }}[/latex], the slope of the radius is also zero and, therefore, [latex]\scriptsize \tan {{0}^{{}^\circ }}=0[/latex] (see Figure 16). As the angle increases, so does the slope and so does the value of [latex]\scriptsize \tan \theta[/latex]. When [latex]\scriptsize \theta ={{45}^{{}^\circ }}[/latex], the slope of the radius is [latex]\scriptsize 1[/latex] and so [latex]\scriptsize \tan {{45}^{{}^\circ }}=1[/latex] (see Figure 17). However, as [latex]\scriptsize \theta[/latex] approaches [latex]\scriptsize {{90}^{{}^\circ }}[/latex], the slope of the radius increases and, as it gets more and more vertical, it approaches infinity. Therefore, the graph of the tangent function has an asymptote at [latex]\scriptsize \theta ={{90}^{{}^\circ }}[/latex] because [latex]\scriptsize \tan {{90}^{{}^\circ }}[/latex] is undefined (see Figure 18).

Figure 16: Tangent function value when [latex]\scriptsize \theta ={{0}^{{}^\circ }}[/latex]
Figure 17: Tangent function value when [latex]\scriptsize \theta ={{45}^{{}^\circ }}[/latex]
Figure 18: Tangent function value when [latex]\scriptsize \theta ={{90}^{{}^\circ }}[/latex]

On the other side of [latex]\scriptsize \theta ={{90}^{{}^\circ }}[/latex], the gradient of the line suddenly switches to being very large negative but gradually decreases until it is [latex]\scriptsize -1[/latex] when [latex]\scriptsize \theta ={{135}^{{}^\circ }}[/latex] (see Figure 19). When [latex]\scriptsize \theta ={{180}^{{}^\circ }}[/latex], the slope is again zero and so [latex]\scriptsize \tan {{180}^{{}^\circ }}=0[/latex] (see Figure 20).

Figure 19: Tangent function value when [latex]\scriptsize \theta ={{135}^{{}^\circ }}[/latex]
Figure 20: Tangent function value when [latex]\scriptsize \theta ={{180}^{{}^\circ }}[/latex]

As [latex]\scriptsize \theta[/latex] continues to increase, the gradient becomes positive again and increases to a value of [latex]\scriptsize 1[/latex] when [latex]\scriptsize \theta ={{225}^{{}^\circ }}[/latex] (see Figure 21). As [latex]\scriptsize \theta[/latex] approaches [latex]\scriptsize {{270}^{{}^\circ }}[/latex], the slope again approaches infinity and we have another asymptote at [latex]\scriptsize {{270}^{{}^\circ }}[/latex] (see Figure 22). After this, the slope again switches to being negative and [latex]\scriptsize \tan {{315}^{{}^\circ }}=-1[/latex] and [latex]\scriptsize \tan {{360}^{{}^\circ }}=0[/latex] (see Figure 23).

Figure 21: Tangent function value when [latex]\scriptsize \theta ={{225}^{{}^\circ }}[/latex]
Figure 22: Tangent function value when [latex]\scriptsize \theta ={{270}^{{}^\circ }}[/latex]
Figure 23: Tangent function value when [latex]\scriptsize \theta ={{360}^{{}^\circ }}[/latex]

Domain, range, amplitude and period

In Figure 24 we can see the graph of the function [latex]\scriptsize y=\tan x[/latex] for [latex]\scriptsize {{0}^{{}^\circ }}\le \theta \le {{360}^{{}^\circ }}[/latex]. The period of the function is [latex]\scriptsize {{180}^{{}^\circ }}[/latex]. It repeats itself every [latex]\scriptsize {{180}^{{}^\circ }}[/latex].

The graph in Figure 24 has vertical asymptotes at [latex]\scriptsize \theta ={{90}^{{}^\circ }}[/latex] and [latex]\scriptsize \theta ={{270}^{{}^\circ }}[/latex], the domain of the function is all real values except [latex]\scriptsize {{90}^{{}^\circ }}[/latex] and [latex]\scriptsize {{270}^{{}^\circ }}[/latex] in this interval. We write the domain as [latex]\scriptsize \{\theta \ |\ \theta \in \mathbb{R}\text{,}{{\text{0}}^{{}^\circ }}\le \theta \le {{360}^{{}^\circ }},\theta \ne {{90}^{{}^\circ }};{{270}^{{}^\circ }}\}[/latex]. In general, we can write the domain as [latex]\scriptsize \{\theta \ |\ \theta \in \mathbb{R}\text{,}\theta \ne (2k-1){{90}^{{}^\circ }},k\in \mathbb{Z}\}[/latex]. This might look long and complicated but all it says is that we have excluded every odd multiple of [latex]\scriptsize {{90}^{{}^\circ }}[/latex].

Figure 24: Graph of [latex]\scriptsize y=\tan x[/latex] for [latex]\scriptsize {{0}^{{}^\circ }}\le \theta \le {{360}^{{}^\circ }}[/latex]

Because the asymptotes are vertical, they do not impact the values that the function can have, hence the range is [latex]\scriptsize y\in \mathbb{R}[/latex]. For this reason, the graph of the tangent function does not have a defined amplitude.

The graph has intercepts with the axes but it also has some other important ‘anchor points’ that help when sketching the graph as we shall see. These are the points [latex]\scriptsize ({{45}^{{}^\circ }},1)[/latex], [latex]\scriptsize ({{135}^{{}^\circ }},-1)[/latex],[latex]\scriptsize ({{225}^{{}^\circ }},1)[/latex] and [latex]\scriptsize ({{315}^{{}^\circ }},-1)[/latex].

The effects of a and q on the graph of y=a.tan x+q

The effects of [latex]\scriptsize a[/latex] and [latex]\scriptsize q[/latex] on the tangent function are quite similar to those on the sine and cosine functions even if the graph looks very different.

Changing [latex]\scriptsize q[/latex] moves the whole graph vertically up or down by [latex]\scriptsize q[/latex] units. Changing [latex]\scriptsize a[/latex] stretches or squashes the graph vertically. If [latex]\scriptsize a \lt 0[/latex], the graph is flipped over the x-axis.

Activity 5.3: Investigate the effect of a and q on the tangent function

Time required: 15 minutes

What you need:

  • an internet connection

What to do:

When you have an internet connection, visit this interactive simulation.

Effect of a and q interactive simulation

Here you will find a graph of [latex]\scriptsize f(x)=a\tan x+q[/latex] with sliders to change the value of [latex]\scriptsize a[/latex] and [latex]\scriptsize q[/latex]. Change the value of [latex]\scriptsize q[/latex] only.

  1. What affect does changing [latex]\scriptsize q[/latex] have on the function and, in particular, the value of the seven labelled anchor points?
  2. Does changing [latex]\scriptsize q[/latex] affect the period of the function?
  3. Does changing [latex]\scriptsize q[/latex] affect the asymptotes of the function?

Set [latex]\scriptsize q[/latex] back to zero and change the value of [latex]\scriptsize a[/latex].

  1. What affect does increasing [latex]\scriptsize a[/latex] have on the function and in particular the value of the seven labelled anchor points?
  2. What affect does [latex]\scriptsize a \lt 0[/latex] have on the function and in particular the value of the seven labelled anchor points?
  3. Does changing [latex]\scriptsize a[/latex] affect the period of the function?
  4. Does changing [latex]\scriptsize a[/latex] affect the asymptotes of the function?

Now change the values of [latex]\scriptsize a[/latex] and [latex]\scriptsize q[/latex] together.

  1. What affect will [latex]\scriptsize a=-2[/latex] and [latex]\scriptsize q=-1[/latex] have on the graph and, in particular, the value of the seven anchor points? Make the changes to see if you are correct.

What did you find?

  1. If we increase [latex]\scriptsize q[/latex] the graph moves up by [latex]\scriptsize q[/latex] units. If we decrease [latex]\scriptsize q[/latex], the graph moves down by [latex]\scriptsize q[/latex] units. The y-coordinates of all seven anchor points increase or decrease by [latex]\scriptsize q[/latex] units. The overall shape of the graph stays the same.
  2. Changing [latex]\scriptsize q[/latex] does not affect the period of the graph. It remains [latex]\scriptsize {{180}^{{}^\circ }}[/latex].
  3. Changing [latex]\scriptsize q[/latex] does not affect the asymptotes. These remain at [latex]\scriptsize {{90}^{{}^\circ }}[/latex] and [latex]\scriptsize {{270}^{{}^\circ }}[/latex]. This is in keeping with the fact that the period does not change.
  4. If we increase the value of [latex]\scriptsize a[/latex], we stretch the graph out vertically. The intercepts with the x-axis remain as they are but the other four anchor points move further away from the axis by a factor of [latex]\scriptsize a[/latex] units. This makes sense if we think about the fact that every value of [latex]\scriptsize \tan x[/latex] is being multiplied by [latex]\scriptsize a[/latex] to produce the final function value.
  5. As soon as [latex]\scriptsize a \lt 0[/latex] the graph flips over the x-axis. The intercepts with the x-axis remain the same but the anchor points that were above the axis move below the axis and vice versa. Now each value of [latex]\scriptsize \tan x[/latex] is being multiplied by a negative number so values that were positive become negative and those that were negative become positive.
  6. Changing [latex]\scriptsize a[/latex] does not affect the period of the graph. It remains [latex]\scriptsize {{180}^{{}^\circ }}[/latex].
  7. Changing [latex]\scriptsize a[/latex] does not affect the asymptotes. These remain at [latex]\scriptsize {{90}^{{}^\circ }}[/latex] and [latex]\scriptsize {{270}^{{}^\circ }}[/latex]. This is in keeping with the fact that the period does not change.
  8. If [latex]\scriptsize a=2[/latex], the graph will be stretched vertically and flipped over the x-axis. The x-intercepts will not change but the other anchor points will be two units away from the x-axis but on opposite sides to where they were. The point [latex]\scriptsize ({{45}^{{}^\circ }},1)[/latex], for example, will now be at [latex]\scriptsize ({{45}^{{}^\circ }},-2)[/latex] If [latex]\scriptsize q=-1[/latex] this whole altered graph will move one unit down. This will affect all the anchor points. The point [latex]\scriptsize ({{45}^{{}^\circ }},-2)[/latex], for example, will move to [latex]\scriptsize ({{45}^{{}^\circ }},-3)[/latex].

Example 5.3

Given [latex]\scriptsize t(x)=-2\tan x+2[/latex].

  1. State the period of the function.
  2. State the asymptotes of the function.
  3. What are the intercepts with the axes?
  4. State the domain and range of the function.
  5. Make a neat sketch of the function for [latex]\scriptsize {{0}^{{}^\circ }}\le x\le {{180}^{{}^\circ }}[/latex] showing all the key points.

Solutions

  1. Period is [latex]\scriptsize {{180}^{{}^\circ }}[/latex].
  2. Asymptotes are [latex]\scriptsize x={{90}^{{}^\circ }}[/latex] and [latex]\scriptsize x={{270}^{{}^\circ }}[/latex].
  3. x-intercepts (let [latex]\scriptsize y=0[/latex]):
    [latex]\scriptsize \begin{align*}0 & =-2\tan x+2\\\therefore 2\tan x & =2\\\therefore \tan x & =1\\\therefore x & ={{45}^{{}^\circ }}\end{align*}[/latex]
    x-intercept is the point [latex]\scriptsize ({{45}^{{}^\circ }},0)[/latex]
    .
    y-intercept (let [latex]\scriptsize x=0[/latex]):
    [latex]\scriptsize \begin{align*}t(x)=-2\tan {{0}^{{}^\circ }}+2\\\therefore t(x)=2\end{align*}[/latex]
    y-intercept is the point [latex]\scriptsize ({{0}^{{}^\circ }},2)[/latex]
  4. Domain: [latex]\scriptsize \{x\ |\ x\in \mathbb{R},x\ne {{90}^{{}^\circ }};{{270}^{{}^\circ }}\}[/latex]
    Range: [latex]\scriptsize t(x)\in \mathbb{R}[/latex]
  5. To make a sketch, we need to think about how the normal anchor points on the tangent graph have been changed. A useful approach is to use a table of these points for at least one period.
Original point After [latex]\scriptsize a[/latex] After [latex]\scriptsize q[/latex]
[latex]\scriptsize ({{0}^{{}^\circ }},0)[/latex] [latex]\scriptsize ({{0}^{{}^\circ }},0)[/latex] [latex]\scriptsize ({{0}^{{}^\circ }},2)[/latex]

Note: This is the y-intercept we calculated

[latex]\scriptsize ({{45}^{{}^\circ }},1)[/latex] [latex]\scriptsize ({{45}^{{}^\circ }},-2)[/latex] [latex]\scriptsize ({{45}^{{}^\circ }},0)[/latex]

Note: This is the x-intercept we calculated

[latex]\scriptsize ({{135}^{{}^\circ }},-1)[/latex] [latex]\scriptsize ({{135}^{{}^\circ }},2)[/latex] [latex]\scriptsize ({{135}^{{}^\circ }},4)[/latex]
[latex]\scriptsize ({{180}^{{}^\circ }},0)[/latex] [latex]\scriptsize ({{180}^{{}^\circ }},0)[/latex] [latex]\scriptsize ({{180}^{{}^\circ }},2)[/latex]

We know that there is an asymptote at [latex]\scriptsize x={{90}^{{}^\circ }}[/latex] and that the graph is flipped over the x-axis so therefore, it approaches negative infinity from the left of the asymptote and positive infinity from the right (the opposite way around to normal). Figure 25 shows the sketch of [latex]\scriptsize t(x)=-2\tan x+2[/latex] for [latex]\scriptsize {{0}^{{}^\circ }}\le x\le {{180}^{{}^\circ }}[/latex].

Figure 25: Graph of [latex]\scriptsize t(x)=-2\tan x+2[/latex] for [latex]\scriptsize {{0}^{{}^\circ }}\le x\le {{180}^{{}^\circ }}[/latex]

Exercise 5.3

Make a neat sketch of [latex]\scriptsize v(x)=3\tan x-1[/latex] for the interval [latex]\scriptsize {{0}^{{}^\circ }}\le x\le {{180}^{{}^\circ }}[/latex].

The full solutions are at the end of the unit.

Figure 26 shows a summary of what we know about the effects of [latex]\scriptsize a[/latex] and [latex]\scriptsize q[/latex] on the function [latex]\scriptsize y=a\tan x+q[/latex].

Figure 26: Effects of [latex]\scriptsize a[/latex] and [latex]\scriptsize q[/latex] on the function [latex]\scriptsize y=a\tan x+q[/latex]

For [latex]\scriptsize y=a\tan x+q[/latex]
Period: [latex]\scriptsize {{180}^{{}^\circ }}[/latex]
Asymptotes: [latex]\scriptsize (2k-1){{90}^{{}^\circ }},k\in \mathbb{Z}[/latex]
Domain: [latex]\scriptsize x\in \mathbb{R},x\ne (2k-1){{90}^{{}^\circ }},k\in \mathbb{Z}[/latex]
Range: [latex]\scriptsize y\in \mathbb{R}[/latex]

Finding the equations of trigonometric functions

In this section, we will finding the equations of functions of the form [latex]\scriptsize y=a\sin x+q[/latex], [latex]\scriptsize y=a\cos x+q[/latex] and [latex]\scriptsize y=a\tan x+q[/latex].

Example 5.4

  1. Figure 27 shows the graph of the function [latex]\scriptsize f(x)=a\sin x+q[/latex] where [latex]\scriptsize \text{A}({{90}^{{}^\circ }},2)[/latex] and [latex]\scriptsize \text{B}({{180}^{{}^\circ }},-1)[/latex]. Find the values of [latex]\scriptsize a[/latex] and [latex]\scriptsize q[/latex].
    Figure 27: Graph of [latex]\scriptsize f(x)=a\sin x+q[/latex]
  2. Figure 28 shows the graph of [latex]\scriptsize g(x)=a\cos x+q[/latex] with [latex]\scriptsize \text{C}({{0}^{{}^\circ }},-2.5)[/latex] and [latex]\scriptsize \text{D}({{180}^{{}^\circ }},-1.5)[/latex]. Find the values of [latex]\scriptsize a[/latex] and [latex]\scriptsize q[/latex].
    Figure 28: Graph of [latex]\scriptsize g(x)=a\cos x+q[/latex]
  3. Figure 29 shows the graph of [latex]\scriptsize q(x)=a\tan x+q[/latex] with two points shown with coordinates [latex]\scriptsize ({{135}^{{}^\circ }},0)[/latex] and [latex]\scriptsize ({{180}^{{}^\circ }},1.5)[/latex]. Find the values of [latex]\scriptsize a[/latex] and [latex]\scriptsize q[/latex].
    Figure 29: [latex]\scriptsize q(x)=a\tan x+q[/latex]

Solutions

  1. The graph has a y-intercept of [latex]\scriptsize -1[/latex]. We know that sine normally has a y-intercept of zero. Therefore, [latex]\scriptsize f(x)[/latex] has been shifted down by one unit. Therefore [latex]\scriptsize q=-1[/latex].
    .
    If the line [latex]\scriptsize y=-1[/latex] is the new ‘middle’ of the graph, we can see that the amplitude of the graph is now [latex]\scriptsize 3[/latex]. Therefore [latex]\scriptsize a=3[/latex].
    .
    We could also find [latex]\scriptsize a[/latex] algebraically as follows:
    [latex]\scriptsize f(x)=a\sin x-1[/latex]. Substitute in [latex]\scriptsize \text{A}({{90}^{{}^\circ }},2)[/latex].
    [latex]\scriptsize \begin{align*} 2 & =a\sin {{90}^{{}^\circ }}-1 \\ \therefore 2 & =a-1\ &&\text{Remember that } \sin90^\circ=1\\ \therefore a & =3 \end{align*}[/latex]
  2. The graph has a y-intercept of [latex]\scriptsize -2.5[/latex]. We know that cosine normally has a y-intercept of [latex]\scriptsize 1[/latex]. Therefore, it looks like [latex]\scriptsize g(x)[/latex] has been shifted down by [latex]\scriptsize 3.5[/latex] units. However, if that were the case, the new ‘middle’ of the graph would be the line [latex]\scriptsize y=-3.5[/latex] which is not the case. Point [latex]\scriptsize \text{C}[/latex] represents a minimum and point [latex]\scriptsize \text{D}[/latex] a maximum. We can see that the line half way between these points is [latex]\scriptsize y=-2[/latex]. This means that [latex]\scriptsize q=-2[/latex].
    .
    Based on the fact that the new middle of the graph is the line [latex]\scriptsize y=-2[/latex], we can see that the amplitude of the graph is [latex]\scriptsize \displaystyle \frac{1}{2}[/latex]. However, cosine normally has a minimum value at [latex]\scriptsize {{180}^{{}^\circ }}[/latex] but this graph has a maximum value. Therefore [latex]\scriptsize a=-\displaystyle \frac{1}{2}[/latex].
    .
    We could also solve for [latex]\scriptsize a[/latex] algebraically.
    [latex]\scriptsize g(x)=a\cos x-2[/latex]. Substitute in [latex]\scriptsize \text{A}({{0}^{{}^\circ }},-2.5)[/latex].
    [latex]\scriptsize \begin{align*}-2.5=a\cos {{0}^{{}^\circ }}-2\\\therefore -2.5=a-2\\\therefore a=-0.5\end{align*}[/latex]
  3. The basic tangent function has an x-intercept at [latex]\scriptsize ({{180}^{{}^\circ }},0)[/latex]. This function has this point shifted up by [latex]\scriptsize 1.5[/latex] units. Therefore, [latex]\scriptsize q=1.5[/latex].
    .
    The shape of the function is the same as the base tangent function. It has not been flipped over the x-axis. Therefore, we know that [latex]\scriptsize a \gt 0[/latex].
    .
    The anchor point at [latex]\scriptsize ({{135}^{{}^\circ }},-1)[/latex] is now at [latex]\scriptsize ({{135}^{{}^\circ }},0)[/latex]. If [latex]\scriptsize a=1[/latex] this point would be at [latex]\scriptsize ({{135}^{{}^\circ }},0.5)[/latex]. Thus we know that [latex]\scriptsize a\ne 1[/latex]. We can solve for [latex]\scriptsize a[/latex] algebraically. [latex]\scriptsize q(x)=a\tan x+1.5[/latex]. Substitute [latex]\scriptsize ({{135}^{{}^\circ }},0)[/latex].
    [latex]\scriptsize \begin{align*}0=a\tan {{135}^{{}^\circ }}+1.5\\\therefore 0=-a+1.5\\\therefore a=1.5\end{align*}[/latex]

Exercise 5.4

  1. [latex]\scriptsize \text{A}[/latex] lies on [latex]\scriptsize f(x)=\cos x-2[/latex], [latex]\scriptsize \text{B}[/latex] lies on [latex]\scriptsize g(x)=-3\sin x+1[/latex], and[latex]\scriptsize \text{D}[/latex] lies on [latex]\scriptsize j(x)=-2\tan x[/latex].
    1. State the coordinates of [latex]\scriptsize \text{A}[/latex], [latex]\scriptsize \text{B}[/latex], and [latex]\scriptsize \text{D}[/latex].
    2. State the range of [latex]\scriptsize f(x)[/latex], [latex]\scriptsize g(x)[/latex], and [latex]\scriptsize j(x)[/latex].
Figure 30: Graph of [latex]\scriptsize y=a\cos x+q[/latex]
  1. Figure 31 shows the graph of [latex]\scriptsize y=a\cos x+q[/latex]. Determine the equation of the function.
Figure 31: Graph of [latex]\scriptsize y=a\cos x+q[/latex]
  1. Figure 32 shows a sketch of [latex]\scriptsize r(x)=a\tan x+q[/latex]. Determine the values of [latex]\scriptsize a[/latex] and [latex]\scriptsize q[/latex] from the figure.
Figure 32: Graph of [latex]\scriptsize r(x)=a\tan x+q[/latex]

The full solutions are at the end of the unit.

Summary

In this unit you have learnt the following:

  • How to sketch trigonometric functions of the form [latex]\scriptsize y=a\sin x+q[/latex], [latex]\scriptsize y=a\cos x+q[/latex] and [latex]\scriptsize y=a\tan x+q[/latex].
  • How to find the equation of graphs of the form [latex]\scriptsize y=a\sin x+q[/latex], [latex]\scriptsize y=a\cos x+q[/latex] and [latex]\scriptsize y=a\tan x+q[/latex].
  • The effect of [latex]\scriptsize a[/latex] and [latex]\scriptsize q[/latex] on the shape and position of [latex]\scriptsize y=a\sin x+q[/latex], [latex]\scriptsize y=a\cos x+q[/latex] and [latex]\scriptsize y=a\tan x+q[/latex].
  • How to find the asymptotes of functions of the form [latex]\scriptsize y=a\tan x+q[/latex].
  • How to determine the domain and range of trigonometric functions of the form [latex]\scriptsize y=a\sin x+q[/latex], [latex]\scriptsize y=a\cos x+q[/latex] and [latex]\scriptsize y=a\tan x+q[/latex].

Unit 5: Assessment

Suggested time to complete: 45 minutes

  1. Which of the graphs g, h, p and q in Figure 33 represents the function [latex]\scriptsize y=-\sin x+1[/latex]?
    Figure 33
  2. Figure 34 shows [latex]\scriptsize f(x)=-3\sin x[/latex] (dotted line) and [latex]\scriptsize g(x)[/latex]. What is the equation of [latex]\scriptsize g(x)[/latex]?
    Figure 34: Graphs of [latex]\scriptsize f(x)=-3\sin x[/latex] (dotted line) and [latex]\scriptsize g(x)[/latex]
  3. Sketch the following graphs without using a table of values for the interval [latex]\scriptsize {{0}^{{}^\circ }}\le x\le {{360}^{{}^\circ }}[/latex].
    1. [latex]\scriptsize f(x)=\sin x-3[/latex]
    2. [latex]\scriptsize h(x)=\displaystyle \frac{1}{3}\tan x+1[/latex]
  4. Given the graphs in Figure 35, answer the following questions.
    Figure 35: Graphs of [latex]\scriptsize a(x)[/latex] and [latex]\scriptsize b(x)[/latex]
    1. State the coordinates of [latex]\scriptsize A[/latex], [latex]\scriptsize B[/latex], [latex]\scriptsize C[/latex] and [latex]\scriptsize D[/latex].
    2. State the domain and range of each function.
    3. State the amplitude and period of each function.
    4. Evaluate [latex]\scriptsize a({{360}^{{}^\circ }})-b({{360}^{{}^\circ }})[/latex].
    5. Evaluate [latex]\scriptsize b({{180}^{{}^\circ }})-a({{180}^{{}^\circ }})[/latex].
    6. In the interval [latex]\scriptsize {{0}^{{}^\circ }}\le x\le {{180}^{{}^\circ }}[/latex] for what values of [latex]\scriptsize x[/latex] is [latex]\scriptsize a(x) \gt b(x)[/latex]?

The full solutions are at the end of the unit.

Unit 5: Solutions

Exercise 5.1

  1. .
  2. .

Back to Exercise 5.1

Exercise 5.2

  1. [latex]\scriptsize y=-2\sin x-2[/latex]. [latex]\scriptsize a=-2[/latex]. The amplitude of the graph will be [latex]\scriptsize 2[/latex] and it will be flipped over the x-axis. [latex]\scriptsize q=-2[/latex]. The whole graph will be moved two units down. Therefore the ‘middle’ of the graph will now be the line [latex]\scriptsize y=-2[/latex]. Therefore, the point normally at [latex]\scriptsize ({{0}^{{}^\circ }},0)[/latex] will move to [latex]\scriptsize ({{0}^{{}^\circ }},-2)[/latex]. The point normally at [latex]\scriptsize ({{90}^{{}^\circ }},1)[/latex] will move to [latex]\scriptsize ({{90}^{{}^\circ }},-4)[/latex]. The point normally at [latex]\scriptsize ({{180}^{{}^\circ }},0)[/latex] will move to [latex]\scriptsize ({{180}^{{}^\circ }},-2)[/latex].
  2. [latex]\scriptsize y=-\displaystyle \frac{1}{2}\cos x+1[/latex]. [latex]\scriptsize a=-\displaystyle \frac{1}{2}[/latex]. The amplitude of the graph will be [latex]\scriptsize \displaystyle \frac{1}{2}[/latex] and it will be flipped over the x-axis. [latex]\scriptsize q=1[/latex]. The whole graph will be moved one unit up. Therefore the ‘middle’ of the graph will now be the line [latex]\scriptsize y=1[/latex]. Therefore, the point normally at [latex]\scriptsize ({{0}^{{}^\circ }},1)[/latex] will move to [latex]\scriptsize ({{0}^{{}^\circ }},\displaystyle \frac{1}{2})[/latex]. The point normally at [latex]\scriptsize ({{90}^{{}^\circ }},0)[/latex] will move to [latex]\scriptsize ({{90}^{{}^\circ }},1)[/latex]. The point normally at [latex]\scriptsize ({{180}^{{}^\circ }},-1)[/latex] will move to [latex]\scriptsize ({{180}^{{}^\circ }},\displaystyle \frac{3}{2})[/latex].

Back to Exercise 5.2

Exercise 5.3

[latex]\scriptsize v(x)=3\tan x-1[/latex]. [latex]\scriptsize a=3[/latex] and [latex]\scriptsize q=-1[/latex].

Original point After [latex]\scriptsize a[/latex] After [latex]\scriptsize q[/latex]
[latex]\scriptsize ({{0}^{{}^\circ }},0)[/latex] [latex]\scriptsize ({{0}^{{}^\circ }},0)[/latex] [latex]\scriptsize ({{0}^{{}^\circ }},-1)[/latex]
[latex]\scriptsize ({{45}^{{}^\circ }},1)[/latex] [latex]\scriptsize ({{45}^{{}^\circ }},3)[/latex] [latex]\scriptsize ({{45}^{{}^\circ }},2)[/latex]
[latex]\scriptsize ({{135}^{{}^\circ }},-1)[/latex] [latex]\scriptsize ({{135}^{{}^\circ }},-3)[/latex] [latex]\scriptsize ({{135}^{{}^\circ }},-4)[/latex]
[latex]\scriptsize ({{180}^{{}^\circ }},0)[/latex] [latex]\scriptsize ({{180}^{{}^\circ }},0)[/latex] [latex]\scriptsize ({{180}^{{}^\circ }},-1)[/latex]

Back to Exercise 5.3

Exercise 5.4

  1. .
    1. [latex]\scriptsize \text{A}({{180}^{{}^\circ }},-3)[/latex], [latex]\scriptsize \text{B}({{270}^{{}^\circ }},4)[/latex], [latex]\scriptsize \text{D}({{315}^{{}^\circ }},2)[/latex]
    2. [latex]\scriptsize f(x)\in [-3,-1][/latex], [latex]\scriptsize g(x)\in [-2,4][/latex], [latex]\scriptsize j(x)\in \mathbb{R}[/latex]
  2. The graph has a maximum turning point where it intercepts the y-axis. Therefore [latex]\scriptsize a \gt 0[/latex]. The graph of [latex]\scriptsize y=\cos x[/latex] normally cuts the x-axis at [latex]\scriptsize {{90}^{{}^\circ }}[/latex] which represents the normal ‘middle’ or point of rest of the function. The minimum turning point is at [latex]\scriptsize ({{180}^{{}^\circ }},0.5)[/latex]. Therefore, the amplitude of the function is [latex]\scriptsize 2[/latex] and [latex]\scriptsize a=2[/latex].
    .
    Therefore [latex]\scriptsize y=2\cos x+q[/latex]. We can substitute [latex]\scriptsize ({{180}^{{}^\circ }},0.5)[/latex] to find [latex]\scriptsize q[/latex].
    [latex]\scriptsize \begin{align*}\displaystyle \frac{1}{2} & =2\cos {{180}^{{}^\circ }}+q\\\therefore \displaystyle \frac{1}{2} & =-2+q\\\therefore q & =\displaystyle \frac{5}{2}\end{align*}[/latex]
    [latex]\scriptsize y=2\cos x+\displaystyle \frac{5}{2}[/latex]
  3. The shape of the function is not the same as the basic tangent function. It has been flipped over the x-axis. Therefore, we know that [latex]\scriptsize a \lt 0[/latex].
    Normally, there are anchor points at [latex]\scriptsize ({{45}^{{}^\circ }},1)[/latex] and [latex]\scriptsize ({{135}^{{}^\circ }},-1)[/latex]. These are [latex]\scriptsize 2[/latex] units apart. The new anchor points at [latex]\scriptsize ({{45}^{{}^\circ }},-2)[/latex] and [latex]\scriptsize ({{135}^{{}^\circ }},0)[/latex] are still [latex]\scriptsize 2[/latex] units apart. Therefore, the graph has not been stretched out. Therefore [latex]\scriptsize a=-1[/latex] and [latex]\scriptsize y=-\tan x+q[/latex].
    .
    We can solve for [latex]\scriptsize q[/latex] algebraically. Substitute [latex]\scriptsize ({{45}^{{}^\circ }},-2)[/latex].
    [latex]\scriptsize \begin{align*}-2 & =-\tan {{45}^{{}^\circ }}+q\\\therefore -2 & =-1+q\\\therefore q & =-1\end{align*}[/latex]

Back to Exercise 5.4

Unit 5: Assessment

  1. It cannot be graph p. This is a graph of the form [latex]\scriptsize y=a\tan x+q[/latex].
    It cannot be graph h. This graph has a maximum at [latex]\scriptsize x={{0}^{{}^\circ }}[/latex]. Therefore it is of the form [latex]\scriptsize y=a\cos x+q[/latex].
    It cannot be graph q. This graph rises to a maximum at [latex]\scriptsize x={{90}^{{}^\circ }}[/latex]. Therefore [latex]\scriptsize a \gt 0[/latex].
    Graph g represents [latex]\scriptsize y=-\sin x+1[/latex]. The graph falls to a minimum at [latex]\scriptsize x={{90}^{{}^\circ }}[/latex]. The base sine function has a maximum at [latex]\scriptsize x={{90}^{{}^\circ }}[/latex]. Therefore [latex]\scriptsize a \lt 0[/latex]. The graph has an amplitude of 1. Hence [latex]\scriptsize a=-1[/latex] Also, the minimum is not [latex]\scriptsize ({{90}^{{}^\circ }},-1)[/latex] but [latex]\scriptsize ({{90}^{{}^\circ }},0)[/latex] indicating that the graph has been shifted up by one unit. Hence, [latex]\scriptsize q=1[/latex].
  2. Both graphs have the same amplitude. Therefore the absolute value of [latex]\scriptsize a[/latex] will be the same. [latex]\scriptsize g(x)[/latex] is the same shape as [latex]\scriptsize f(x)[/latex] except that it has been flipped over the x-axis. Therefore it is also of the form [latex]\scriptsize y=a\sin x+q[/latex] but the sign of [latex]\scriptsize a[/latex] will be opposite. [latex]\scriptsize a=-3[/latex] in [latex]\scriptsize f(x)[/latex]. Therefore [latex]\scriptsize a=3[/latex] in [latex]\scriptsize g(x)[/latex] and [latex]\scriptsize g(x)=3\sin x[/latex].
  3. .
    1. [latex]\scriptsize f(x)=\sin x-3[/latex]
      The amplitude of the graph is [latex]\scriptsize 1[/latex] and the graph is shifted three units down. So the new ‘middle’ of the graph is the line [latex]\scriptsize y=-3[/latex].
    2. [latex]\scriptsize h(x)=\displaystyle \frac{1}{3}\tan x+1[/latex]
      [latex]\scriptsize a=\displaystyle \frac{1}{3}[/latex] so the graph is going to be squashed vertically. The period has not changed so the asymptotes remain the same as the base tangent function. The whole graph is shifted one unit up. The anchor points will be transformed as follows.
      Original point After [latex]\scriptsize a[/latex] After [latex]\scriptsize q[/latex]
      [latex]\scriptsize ({{0}^{{}^\circ }},0)[/latex] [latex]\scriptsize ({{0}^{{}^\circ }},0)[/latex] [latex]\scriptsize ({{0}^{{}^\circ }},1)[/latex]
      [latex]\scriptsize ({{45}^{{}^\circ }},1)[/latex] [latex]\scriptsize ({{45}^{{}^\circ }},\displaystyle \frac{1}{3})[/latex] [latex]\scriptsize ({{45}^{{}^\circ }},\displaystyle \frac{4}{3})[/latex]
      [latex]\scriptsize ({{135}^{{}^\circ }},-1)[/latex] [latex]\scriptsize ({{135}^{{}^\circ }},-\displaystyle \frac{1}{3})[/latex] [latex]\scriptsize ({{135}^{{}^\circ }},\displaystyle \frac{2}{3})[/latex]
      [latex]\scriptsize ({{180}^{{}^\circ }},0)[/latex] [latex]\scriptsize ({{180}^{{}^\circ }},0)[/latex] [latex]\scriptsize ({{180}^{{}^\circ }},1)[/latex]

  4. .
    1. [latex]\scriptsize \text{A}({{0}^{{}^\circ }},4)[/latex]
      [latex]\scriptsize \text{B}({{180}^{{}^\circ }},-4)[/latex]
      [latex]\scriptsize \text{C}({{270}^{{}^\circ }},4)[/latex]
      [latex]\scriptsize \text{D}({{360}^{{}^\circ }},2)[/latex]
    2. [latex]\scriptsize a(x)[/latex]: Domain [latex]\scriptsize x\in \mathbb{R}[/latex] ; Range [latex]\scriptsize a(x)\in [-4,4][/latex]
      [latex]\scriptsize b(x)[/latex]: Domain [latex]\scriptsize x\in \mathbb{R}[/latex] ; Range [latex]\scriptsize b(x)\in [0,4][/latex]
    3. [latex]\scriptsize a(x)[/latex]: Amplitude is [latex]\scriptsize 4[/latex]; period is [latex]\scriptsize {{360}^{{}^\circ }}[/latex]
      [latex]\scriptsize b(x)[/latex]: Amplitude is [latex]\scriptsize 2[/latex]; period is [latex]\scriptsize {{360}^{{}^\circ }}[/latex]
    4. [latex]\scriptsize a({{360}^{{}^\circ }})-b({{360}^{{}^\circ }})=2[/latex]
    5. [latex]\scriptsize b({{180}^{{}^\circ }})-a({{180}^{{}^\circ }})=6[/latex]
    6. [latex]\scriptsize x\in ({{0}^{{}^\circ }},{{90}^{{}^\circ }})[/latex]

Back to the Unit 5: Assessment

Media Attributions

License

Share This Book