Trigonometric functions¶
Part 3 · Functions · Chapter 6 · Lecture notes, volume 3 (PDF) · Exercises, volume 3 (PDF) · Slides (PDF) · App: Harmonic oscillations
Prerequisites
- From this module, «Real functions of a real variable»: periodic, even and odd functions.
Objectives
At the end of this chapter you will be able to:
-
convert angles between degrees and radians;
-
define sine, cosine and tangent on the unit circle and draw their graphs;
-
compute their values at the notable angles and use the main trigonometric formulas;
-
describe an oscillation with trigonometric functions.
1. Trigonometric functions¶
Definition 1: sine function and cosine function
The trigonometric functions:
are called sine and cosine.
-
The sine is an odd function, while the cosine is an even function. Hence we have:
\[ \sin(-x)=-\sin x, ~~~\forall x \in \R {\rm ~~~~and~~~~} \cos(-x)=\cos x, ~~~\forall x \in \R \] -
The sine and the cosine are periodic functions with period:
\[ T=2\: \pi {\rm ~~~~and~we~have~the~fundamental~identity~~~} \sin^2 x + \cos^2 x = 1,~~ \forall x \in \mathbb{R} \]We have
\[ \cos\left(x -\frac{\pi}{2}\right) = \sin x,~~ \forall x \in \mathbb{R} \] -
From the sign and the monotonicity of the sine function we have:
\[ \sin x = 0 \Longleftrightarrow x= k\;\pi,~ \forall k \in \Z \qquad \begin{cases} \sin x > 0 & {\rm if~~~} x \in (2\;k\;\pi~,~ 2\;k\;\pi + \pi),~ \forall k \in \Z \\[3ex] \sin x < 0 & {\rm if~~~} x \in (2\;k\;\pi-\pi~,~ 2\;k\;\pi),~ \forall k \in \Z \end{cases} \]\[ \begin{cases} {\rm if~~~} x \in (2\;k\;\pi- \frac{\pi}{2},~ 2\;k\;\pi + \frac{\pi}{2}),~ \forall k \in \Z & f {\rm ~~is~increasing} \\[3ex] {\rm if~~~} x \in (2\;k\;\pi+ \frac{\pi}{2}~,~ 2\;k\;\pi + \frac{3\;\pi}{2}),~ \forall k \in \Z & f {\rm ~~is~decreasing} \end{cases} \] -
From the sign and the monotonicity of the cosine function we have:
\[ \cos x = 0 \Longleftrightarrow x= k\;\pi-\frac{\pi}{2},~ \forall k \in \Z \qquad \begin{cases} \cos x > 0 & {\rm if~~~} x \in (2\;k\;\pi~-\frac{\pi}{2},~ 2\;k\;\pi + \frac{\pi}{2}),~ \forall k \in \Z \\[3ex] \cos x < 0 & {\rm if~~~} x \in (2\;k\;\pi+\frac{\pi}{2}~,~ 2\;k\;\pi +\frac{3\;\pi}{2}),~ \forall k \in \Z \end{cases} \]\[ \begin{cases} {\rm if~~~} x \in (2\;k\;\pi+ \pi,~ 2\;k\;\pi + 2\; \pi),~ \forall k \in \Z & f {\rm ~~is~increasing} \\[3ex] {\rm if~~~} x \in (2\;k\;\pi ~,~ 2\;k\;\pi + \pi),~ \forall k \in \Z & f {\rm ~~is~decreasing} \end{cases} \]
The trigonometric functions:
are called tangent and cotangent; they are both odd and periodic with period \(T=\pi\).
The trigonometric functions:
are called secant and cosecant and they are periodic with period \(T=2\;\pi\). The secant function is even, while the cosecant function is odd.
2. Values of the trigonometric functions¶
| \(\cos\) | \(\sin\) | \(\tan\) | \(\cot\) | \(\sec\) | \(\csc\) | |
| 0 | 1 | 0 | 0 | \(\pm \infty\) | 1 | \(\pm \infty\) |
| \(x=\frac{\pi}{6}\) (\(30^{\circ}\)) | \(\frac{\sqrt{3}}{2}\) | \(\frac{1}{2}\) | \(\frac{\sqrt{3}}{3}\) | \(\sqrt{3}\) | \(\frac{2}{3}\:\sqrt{3}\) | 2 |
| \(x=\frac{\pi}{4}\) (\(45^{\circ}\)) | \(\frac{\sqrt{2}}{2}\) | \(\frac{\sqrt{2}}{2}\) | 1 | 1 | \(\sqrt{2}\) | \(\sqrt{2}\) |
| \(x=\frac{\pi}{3}\) (\(60^{\circ}\)) | \(\frac{1}{2}\) | \(\frac{\sqrt{3}}{2}\) | \(\sqrt{3}\) | \(\frac{\sqrt{3}}{3}\) | 2 | \(\frac{2}{3}\: \sqrt{3}\) |
| \(x=\frac{\pi}{2}\) (\(90^{\circ}\)) | 0 | 1 | \(\pm \infty\) | 0 | \(\pm \infty\) | 1 |
| \(x=\pi\) (\(180^{\circ}\)) | \-1 | 0 | 0 | \(\pm \infty\) | \-1 | \(\pm \infty\) |
| \(\phantom{-} \cos\) | \(\phantom{-} \sin\) | \(\phantom{-} \tan\) | \(\phantom{-} \cot\) | |
| \(\phantom{-}x\) | \(\phantom{-} \cos x\) | \(\phantom{-} \sin x\) | \(\phantom{-} \tan x\) | \(\phantom{-} \cot x\) |
| \(-x\) | \(\phantom{-} \cos x\) | \(- \sin x\) | \(-\tan x\) | \(-\cot x\) |
| \(\frac{\pi}{2} +x\) | \(-\sin x\) | \(\phantom{-} \cos x\) | \(-\cot x\) | \(-\tan x\) |
| \(\frac{\pi}{2} - x\) | \(\phantom{-} \sin x\) | \(\phantom{-} \cos x\) | \(\phantom{-} \cot x\) | \(\phantom{-} \tan x\) |
| \(\pi+x\) | \(-\cos x\) | \(-\sin x\) | \(\phantom{-} \tan x\) | \(\phantom{-} \cot x\) |
| \(\pi-x\) | \(-\cos x\) | \(\phantom{-} \sin x\) | \(-\tan x\) | \(-\cot x\) |
3. Main trigonometric formulas¶
Relations among the trigonometric functions
| \(\sin x\) | \(\cos x\) | \(\tan x\) | \(\cot x\) | |
| \(\sin x\) | - | \(\pm \sqrt{1 - \cos^2 x}\) | \(\pm \sqrt{\frac{\tan^2 x}{1 + \tan^2 x}}\) | \(\pm \sqrt{\frac{1}{1 + \cot^2 x}}\) |
| \(\cos x\) | \(\pm \sqrt{1 - \sin^2 x}\) | - | \(\pm \sqrt{\frac{1}{1 + \tan^2 x}}\) | \(\pm \sqrt{\frac{\cot^2 x}{1 + \cot^2 x}}\) |
| \(\tan x\) | \(\pm\sqrt{\frac{\sin^2 x}{1 - \sin^2 x}}\) | \(\pm\sqrt{\frac{1- \cos^2 x}{\cos^2 x}}\) | - | \(\frac{1}{\cot x}\) |
| \(\cot x\) | \(\pm\sqrt{\frac{1- \sin^2 x}{\sin^2 x}}\) | \(\pm\sqrt{\frac{\cos^2 x}{1 - \cos^2 x}}\) | \(\frac{1}{\tan x}\) | - |
where the symbol \(\pm\) means that the sign depends on the quadrant in which \(x\) lies
Addition and subtraction
Double-angle formulas
Triple-angle formulas
Half-angle formulas
Parametric formulas (tangent half-angle substitution)
Sum-to-product formulas (prosthaphaeresis)
Product-to-sum formulas (Werner's formulas)
Additional formulas
4. An application: oscillations¶
The sine and cosine functions are periodic: this is why they are the natural tool to describe phenomena that repeat in time. In this section we apply them to oscillations (vibration phenomena).
4.1 Vibration phenomena¶
-
We have seen that the sine and cosine functions are periodic with period \(2\: \pi\). We will use the variable \(t\) to denote time.
-
Recall that \(\sin (t + \varphi)\) corresponds to a phase shift \(\varphi\) (horizontal translation).
The functions:
where \(a\), \(b\) and \(\omega\) are positive real numbers, are called elementary vibrations. They are periodic functions with
Example 1: period
For example, considering \(t' = t + \frac{2\: \pi}{\omega}\):
-
Clearly we have:
\[ |a\: \sin \:(\omega \: t)| \le a \qquad{\rm ~~and~~}\qquad |b\: \cos \:(\omega \: t)| \le b \]
The functions \(\eqref{trig_vibr}\) describe elementary vibrations characterized by
also called angular velocity, which indicates how many periods there are in an interval of length \(2\: \pi\). Moreover, they are characterized by the
which indicates how many times the function repeats itself in an interval of length \(1\)
Example 2: of amplitude, angular frequency and frequency
The angular frequency \(\omega=\frac{3}{2}\) means that there are 1.5 periods in an interval of length \(2 \: \pi\). The frequency \(\nu\) is \(\frac{3}{4\:\pi}\).
-
The function
\[\begin{equation} \label{EEE} h(t) = a\: \sin \:(\omega \: t) + b\: \cos \:(\omega \: t) \end{equation}\]describes the superposition of the two elementary vibrations with the same angular frequency \(\omega\). The latter is again an elementary vibration, phase-shifted with respect to the previous ones.
-
Indeed, setting
\[ A= \sqrt{a^2 + b^2} \]we can write
\[\begin{equation} \label{EEEE} h(t) = A \: \underbrace{\frac{a}{ \sqrt{a^2 + b^2}}}_{\alpha} \: \sin \:(\omega \: t) + A \: \underbrace{\frac{b}{ \sqrt{a^2 + b^2}}}_{\beta} \: \cos \:(\omega \: t) \end{equation}\] -
Now observe that the numbers
\[ \alpha=\frac{a}{ \sqrt{a^2 + b^2}} {\rm ~~and~~} \beta=\frac{b}{ \sqrt{a^2 + b^2}} \]satisfy the conditions
\[ -1 \le \alpha \le 1 \qquad -1 \le \beta \le 1 \qquad \alpha^2 + \beta^2=1 \]Hence there exists a unique angle \(\varphi\) such that
\[ \cos \varphi = \alpha \qquad \sin \varphi = \beta \]so that \(\eqref{EEEE}\) can be rewritten in the following form
\[\begin{align} \label{EEEEE} h(t) & = A \: \cos \varphi \: \sin (\omega \:t) + A \: \sin \varphi \: \cos (\omega \:t)\nonumber\\[2ex] & = A \: \sin (\omega\:t + \varphi) \end{align}\]Therefore \(h(t)\) represents an elementary vibration with amplitude \(A\), angular frequency \(\omega\), phase-shifted by an angle \(\varphi\).
In summary:
- Under fairly general conditions, a periodic natural phenomenon can be written as the superposition of a finite or infinite number of elementary vibrations with different frequencies (Fourier series).
Try it — the interactive graph below shows what you have just read: move the sliders.
4.2 Damping and amplification effects¶
- By multiplying an elementary vibration by powers or exponentials, we can model damping or amplification effects.
First example
-
For example, consider the function
\[ h(t) = t \: \sin \:(\omega \: t) \]which models an amplified vibration.
-
Since \(-1 \le \sin \:(\omega \: t) \le 1\), we have
\[ -t \le t \: \sin \:(\omega \: t) \le t \]and hence the graph of \(h(t)\) lies between the graphs of the lines with equations \(y = -t\), \(y = t\).
-
At the points where
\[ \sin \:(\omega\:t) = 1 \]i.e.,
\[ t = \frac{\pi}{2 \: \omega} + k \: \frac{2\:\pi}{\omega} \qquad (k=0,1,2,\dots) \]the graph of \(h(t)\) touches that of \(y=t\).
-
At the points where
\[ \sin \:(\omega\:t) = -1 \]i.e.,
\[ t = \frac{3\: \pi}{2 \: \omega} + k \: \frac{2\:\pi}{\omega} \qquad (k=0,1,2,\dots) \]the graph of \(h(t)\) touches that of \(y=-t\).
-
From the graph we can see that multiplication by \(t\) has the effect of amplifying the vibration as \(t\) increases.
Second example
-
For example, consider the function
\[ k(t) = e^{-\alpha\:t} \: \sin \:(\omega \: t) \qquad (\alpha > 0) \]which models a damped vibration.
-
Recalling that
\[ e^{-\alpha\:t} = \left(\frac{1}{e^{\alpha}}\right)^t \]is an exponential with base less than \(1\), considerations analogous to those made for the function \(h(t)\) show that the graph of \(k\) lies between the graphs of the functions
\[ y_1 = e^{-\alpha\:t} {\rm ~~~~and~~~~} y_2 = -e^{-\alpha\:t} \]as shown in the figure:
5. In summary¶
In summary
-
An angle of \(180^\circ\) is \(\pi\) radians.
-
\(\sin x\) and \(\cos x\) are the coordinates of a point of the unit circle, periodic with period \(2\pi\); \(\tan x = \sin x / \cos x\) has period \(\pi\).
-
\(\sin^2 x + \cos^2 x = 1\), together with the addition and duplication formulas, gives all the others.