The graphs of trigonometric functions $y=\sin x$y=sinx, $y=\cos x$y=cosx, and $y=\tan x$y=tanx have repeated sections. Functions that repeat themselves in fixed intervals are called periodic. The graphs of $y=\sin x$y=sinx and $y=\cos x$y=cosx are defined by their amplitude, phase and period, while the graph of $y=\tan x$y=tanx is defined by its period and phase only, as it does not have maximum or minimum values.
In this lesson, we will define amplitude and consider the transformation of trigonometric graphs through vertical shifts and dilations. In subsequent lessons we will look at the definition of the period and phase shifts of trigonometric functions.
The sine and cosine functions have a minimum value, a maximum value, and an average value about which they oscillate. Both of the basic functions $y=\sin x$y=sinx and $y=\cos x$y=cosx have a maximum value of $1$1, a minimum value of $-1$−1, and an average value of $0$0. The distance of the maximum (or minimum) value from the average value is called the amplitude.
The range of sine and cosine functions is given by the difference between their maximum and minimum values. The amplitude is then half of the range (that is, $\frac{\text{max}-\text{min}}{2}$max−min2). Note that the amplitude is always a positive number.
The tangent function can obtain a value of any real number depending on the angle - that is, the tangent function varies between $+\infty$+∞ and $-\infty$−∞, and so there is no meaningful interpretation of amplitude for the tangent function.
In general, we say that the graph of a function $y=f\left(x\right)$y=f(x) is vertically translated when the resulting graph has the form $y=f\left(x\right)+c$y=f(x)+c, where $c$c is a non-zero constant.
Graphically speaking, a vertical translation takes each point on the graph of $y=f\left(x\right)$y=f(x) and adds (or subtracts) a constant to the $y$y-value of each point. For instance, all of the points on the graph of $y=\cos x$y=cosx shown below have been shifted upwards according to the constant term.
$y=\cos x$y=cosx vertically translated upwards by a positive constant $c$c. |
The constant term does not necessarily have to be positive. In the case that $c$c is negative (that is $c<0$c<0), the resulting graph will be translated vertically downwards.
$y=\sin x$y=sinx vertically translated downwards by a negative constant $c$c. |
Note that for the sine, cosine, and tangent functions, vertical translations do not change the domain. For sine and cosine functions the limits of the range either increase or decrease by the amount of the vertical translation, while the range of the tangent function remains unchanged when vertically translated.
Sketch the function $y=|2\sin x|$y=|2sinx| for $0\le x\le2\pi.$0≤x≤2π.
Think: First we should graph the function $y=2\sin x$y=2sinx without the absolute value signs.
Do: We know that the amplitude of this function is $2$2 and the period of the function is $2\pi.$2π.
By substituting a few values of $x$x into the function we can quickly see the shape it will make:
By plotting these values we can sketch the function $y=2\sin x$y=2sinx:
To graph the absolute value function $y=|2\sin x|$y=|2sinx|, we must reflect the part of the curve that is below the $x$x-axis, by the $x$x-axis, to get:
Which of the following is the graph of $y=\sin x+4$y=sinx+4?
Which of the following is the graph of $y=\tan x-1$y=tanx−1?
A vertical dilation of a function occurs when we multiply the function by a scale factor. That is, a function $kf\left(x\right)$kf(x) will be vertically dilated by a factor of $k$k. Equations of the form $y=k\sin x$y=ksinx or $y=k\cos x$y=kcosx undergo vertical dilation by a factor $k$k and have an amplitude of $k$k units.
Graphically this transformation corresponds to stretching the graph of $\sin x$sinx or $\cos x$cosxin the vertical direction when $k>1$k>1, and compressing the graph of $\sin x$sinx or $\cos x$cosx in the vertical direction when $0
When the graphs of $\sin x$sinx or $\cos x$cosx are vertically dilated by a factor $k$k, the domain remains constant but the range of the function changes by the factor of the dilation.
We can summarise the effects of vertical dilations on the graphs of $y=\sin x$y=sinx or $y=\cos x$y=cosx and their amplitudes as follows:
Function | Dilation | Amplitude |
---|---|---|
$y=k\sin x$y=ksinx |
vertical stretch $|k|>1$|k|>1 vertical compression $0<|k|<1$0<|k|<1 horizontal reflection $k<0$k<0 |
$|k|$|k| |
$y=k\cos x$y=kcosx |
vertical stretch $|k|>1$|k|>1 vertical compression $0<|k|<1$0<|k|<1 horizontal reflection $k<0$k<0 |
$|k|$|k| |
State the amplitude of the function $f\left(x\right)=5\sin x$f(x)=5sinx.
Think: When we compare $f\left(x\right)$f(x) to the standard function $\sin x$sinx we can see that all the function values of $5\sin x$5sinx will be five times larger than all the function values of $\sin x$sinx. This means that the amplitude of $5\sin x$5sinx is also five times larger than the amplitude of $\sin x$sinx.
Do: The amplitude of $\sin x$sinx is $1$1, so the amplitude of $f\left(x\right)=5\sin x$f(x)=5sinx is $5\times1=5$5×1=5.
Reflect: We can obtain the graph of $f\left(x\right)=5\sin x$f(x)=5sinx by starting with the graph of $y=\sin x$y=sinx and applying a vertical dilation by a factor of $5$5.
Determine the equation of the graphed function given that it is of the form $y=a\sin x$y=asinx or $y=a\cos x$y=acosx.
Consider the function $y=-3\cos x$y=−3cosx.
What is the maximum value of the function?
What is the minimum value of the function?
What is the amplitude of the function?
Select the two transformations that are required to turn the graph of $y=\cos x$y=cosx into the graph of $y=-3\cos x$y=−3cosx.
Vertical dilation.
Horizontal translation.
Reflection across the $x$x-axis.
Vertical translation.
We have seen that technically the tangent function is not considered to have an amplitude. However, a similar idea of dilation in the vertical direction does apply.
As for the graphs of $\sin x$sinx or $\cos x$cosx, $\tan x$tanx is stretched in the vertical direction when $k>1$k>1, and compressed in the vertical direction when $0
In the following diagrams, the graphs of $\frac{2}{7}\tan x$27tanx, $\tan x$tanx, and $3\tan x$3tanx are displayed on the same set of axes to illustrate the effect multiplying by different scale factors.
The steepness of the curve near the origin increases as the coefficient increases, indicating a stretch in the vertical direction. Note that the asymptotes, domain and range remain the same when a vertical dilation is applied to the tangent function.
The graph of $y=\tan x$y=tanx is shown below. On the same set of axes, draw the graph of $y=5\tan x$y=5tanx.