Trigonometric functions
🖨 Print a self-study sheet Why print?
Suppose the water level at a port (in metres) hours after midnight is given by . The water rises, falls, rises again, and keeps repeating.
What are the highest and lowest water levels? After how long does the pattern repeat exactly? To answer, we need to understand how behaves as increases: where it reaches its greatest and least values, and how soon it repeats.
The functions and
Explore: how does repeat?
For an angle (in radians), the point on the unit circle that corresponds to has coordinates . We compute for some familiar angles:
| \pi | \dfrac{7\pi}{6} | \dfrac{3\pi}{2} | \dfrac{11\pi}{6} | 2\pi | |||||
|---|---|---|---|---|---|---|---|---|---|
| \sin x | 0 | \dfrac12 | 1 | \dfrac12 | 0 | -\dfrac12 | -1 | -\dfrac12 | 0 |
We notice two things. The values of \sin x always lie between -1 and 1, reaching 1 at \dfrac{\pi}{2} and -1 at \dfrac{3\pi}{2}. And after every turn of 2\pi (one trip round the circle) the point M is back where it started, so the values repeat: \sin(x+2\pi)=\sin x.
Is 2\pi really the smallest period of \sin? Suppose 0<T<2\pi also satisfies \sin(x+T)=\sin x for all x. Putting x=\dfrac{\pi}{2} gives \sin\left(\dfrac{\pi}{2}+T\right)=1. But \sin equals 1 only at the angles \dfrac{\pi}{2}+k2\pi, so T=k2\pi, which contradicts 0<T<2\pi. So the smallest period of \sin is 2\pi; the argument for \cos is similar.
The graph of \cos is the graph of \sin translated \dfrac{\pi}{2} units to the left, because \cos x=\sin\left(x+\dfrac{\pi}{2}\right). We only need to draw one period of length 2\pi carefully and repeat it in both directions.
The functions y=\tan x and y=\cot x
These two functions are defined as quotients of \sin and \cos: \tan x=\dfrac{\sin x}{\cos x}\ (\cos x\ne0),\qquad \cot x=\dfrac{\cos x}{\sin x}\ (\sin x\ne0). Since \cos x=0 when x=\dfrac{\pi}{2}+k\pi and \sin x=0 when x=k\pi, these functions are not defined at those points.
The period of \tan is \pi, not 2\pi, because \tan(x+\pi)=\dfrac{\sin(x+\pi)}{\cos(x+\pi)}=\dfrac{-\sin x}{-\cos x}=\tan x: the numerator and the denominator both change sign.
The graph of \cot has a similar shape but falls from left to right, because \cot x=\tan\left(\dfrac{\pi}{2}-x\right): reflect the graph of \tan in the y-axis, then translate it \dfrac{\pi}{2} units to the right.
Examples
We start by finding where a function makes sense.
From the range [-1, 1] of \sin and \cos we can find the greatest and least values of many other functions. The next example answers the question at the start of the lesson.
Next we look at parity and period.
Remark. In general, y=\sin(\omega x+\varphi) and y=\cos(\omega x+\varphi) with \omega\ne0 have period \dfrac{2\pi}{|\omega|}, and y=\tan(\omega x+\varphi) has period \dfrac{\pi}{|\omega|}.
Monotonicity lets us compare values without a calculator.
A graph also shows how many solutions an equation has, which prepares us for the next lesson.
Finally, an example from alternating current.
Connections. This lesson builds on trigonometric values of angles and on the formulas of the previous lesson, for example when we write \sin x+\cos x as a single \sin function. It prepares the next lesson: the solutions of a trigonometric equation are the intersections of a graph with a horizontal line, and the period tells us that solutions repeat after 2\pi or \pi. Later, trigonometric functions will reappear in derivatives and in the description of oscillations.
Key terms
Summary
- y=\sin x and y=\cos x: defined on \mathbb{R}, range [-1, 1], period 2\pi; \sin is odd and \cos is even.
- y=\tan x: x\ne\dfrac{\pi}{2}+k\pi; y=\cot x: x\ne k\pi. Both have range \mathbb{R}, are odd, and have period \pi.
- \sin is increasing on \left(-\dfrac{\pi}{2}, \dfrac{\pi}{2}\right); \cos is decreasing on (0, \pi); \tan is increasing on \left(-\dfrac{\pi}{2}, \dfrac{\pi}{2}\right); \cot is decreasing on (0, \pi) (and the pattern repeats with the period).
- The period of \sin(\omega x+\varphi) and \cos(\omega x+\varphi) is \dfrac{2\pi}{|\omega|}; the period of \tan(\omega x+\varphi) is \dfrac{\pi}{|\omega|}.
- The greatest and least values of a function of the form a\sin(\cdot)+b follow from -1\le\sin\le1: they are b+|a| and b-|a|.
- The solutions of \sin x=m or \cos x=m are the x-coordinates of the intersections of the graph with the line y=m.
Practice
Each exercise comes with what you need and hints. Try it yourself first, then open the solution.
Find the domain of a) y=\tan\left(x+\dfrac{\pi}{6}\right); b) y=\dfrac{1}{1+\sin x}.
What you need: \tan u is defined when \cos u\ne0; a fraction is defined when its denominator is not 0.
Steps:
- Part a: require x+\dfrac{\pi}{6}\ne\dfrac{\pi}{2}+k\pi.
- Part b: when is \sin x=-1?
Show solution
a) The function y=\tan u is defined when \cos u\ne0, that is u\ne\dfrac{\pi}{2}+k\pi (k\in\mathbb{Z}). With u=x+\dfrac{\pi}{6}, the function is defined when x+\frac{\pi}{6}\ne\frac{\pi}{2}+k\pi\iff x\ne\frac{\pi}{3}+k\pi.
So the domain of the function is \mathbb{R}\setminus\left\{\dfrac{\pi}{3}+k\pi\ \middle|\ k\in\mathbb{Z}\right\}.
b) The function y=\dfrac{1}{1+\sin x} is defined when the denominator is non-zero, that is 1+\sin x\ne0, or \sin x\ne-1. The equation \sin x=-1 has solutions x=-\dfrac{\pi}{2}+k2\pi (k\in\mathbb{Z}), so the function is defined when x\ne-\dfrac{\pi}{2}+k2\pi.
So the domain of the function is \mathbb{R}\setminus\left\{-\dfrac{\pi}{2}+k2\pi\ \middle|\ k\in\mathbb{Z}\right\}.
Answer. a) \mathbb{R}\setminus\left\{\dfrac{\pi}{3}+k\pi\right\}; b) \mathbb{R}\setminus\left\{-\dfrac{\pi}{2}+k2\pi\right\} (k\in\mathbb{Z}).
Find the greatest and least values of y=5-3\cos x and the values of x at which they occur.
What you need: -1\le\cos x\le1; \cos x=1 when x=k2\pi and \cos x=-1 when x=\pi+k2\pi.
Steps:
- Multiply the inequality by -3 (reversing it), then add 5.
- Find the x for each value.
Show solution
The function y=5-3\cos x is defined for all x\in\mathbb{R}.
For every x, we have -1\le\cos x\le1. Multiplying by -3<0 (which reverses the inequalities), we get -3\le-3\cos x\le3. Adding 5, we obtain 2\le5-3\cos x\le8,\ \text{that is}\ 2\le y\le8.
The least value y=2 occurs when \cos x=1, that is x=k2\pi (k\in\mathbb{Z}).
The greatest value y=8 occurs when \cos x=-1, that is x=\pi+k2\pi (k\in\mathbb{Z}).
So the least value of the function is 2, attained at x=k2\pi; the greatest value is 8, attained at x=\pi+k2\pi (k\in\mathbb{Z}).
Answer. \min y=2 at x=k2\pi; \max y=8 at x=\pi+k2\pi.
Decide whether each function is even, odd or neither: a) y=x\cos x; b) y=\sin^2x+\cos x; c) y=\tan x+x.
What you need: even: f(-x)=f(x); odd: f(-x)=-f(x).
Steps:
- Find f(-x) using \sin(-x)=-\sin x, \cos(-x)=\cos x and \tan(-x)=-\tan x.
- Compare with f(x) and -f(x).
Show solution
To decide parity, we check that the domain is symmetric about 0 and then compare f(-x) with f(x). Recall that \cos(-x)=\cos x, \sin(-x)=-\sin x, \tan(-x)=-\tan x.
a) The function f(x)=x\cos x has domain \mathbb{R}, which is symmetric about 0. We have f(-x)=(-x)\cos(-x)=-x\cos x=-f(x). So y=x\cos x is an odd function.
b) The function f(x)=\sin^2x+\cos x has domain \mathbb{R}, which is symmetric about 0. We have f(-x)=\sin^2(-x)+\cos(-x)=(-\sin x)^2+\cos x=\sin^2x+\cos x=f(x). So y=\sin^2x+\cos x is an even function.
c) The function f(x)=\tan x+x has domain \mathbb{R}\setminus\left\{\dfrac{\pi}{2}+k\pi\right\}; if x is in this set then so is -x, so the domain is symmetric about 0. We have f(-x)=\tan(-x)+(-x)=-(\tan x+x)=-f(x). So y=\tan x+x is an odd function.
Answer. a) odd; b) even; c) odd.
Find the period of a) y=\sin3x; b) y=\cos\dfrac{x}{2}; c) y=\tan2x.
What you need: \sin(\omega x) and \cos(\omega x) have period \dfrac{2\pi}{|\omega|}; \tan(\omega x) has period \dfrac{\pi}{|\omega|}.
Steps:
- Identify the coefficient \omega of x in each function.
- Apply the period formula.
Show solution
The functions y=\sin\omega x and y=\cos\omega x are periodic with period \dfrac{2\pi}{|\omega|}; the function y=\tan\omega x is periodic with period \dfrac{\pi}{|\omega|}.
a) For y=\sin3x, we have \omega=3, so the period is \dfrac{2\pi}{3}.
b) For y=\cos\dfrac{x}{2}, we have \omega=\dfrac12, so the period is \dfrac{2\pi}{1/2}=4\pi.
c) For y=\tan2x, we have \omega=2, so the period is \dfrac{\pi}{2}.
So the periods of the three functions are \dfrac{2\pi}{3}, 4\pi and \dfrac{\pi}{2} respectively.
Answer. a) \dfrac{2\pi}{3}; b) 4\pi; c) \dfrac{\pi}{2}.
Compare a) \sin\dfrac{\pi}{9} and \sin\dfrac{2\pi}{9}; b) \cos\dfrac{4\pi}{5} and \cos\dfrac{3\pi}{5}.
What you need: \sin is increasing on \left(0, \dfrac{\pi}{2}\right); \cos is decreasing on (0, \pi).
Steps:
- Check which interval of monotonicity contains both angles.
- Compare the angles, then deduce the order of the values.
Show solution
a) We have 0<\dfrac{\pi}{9}<\dfrac{2\pi}{9}<\dfrac{\pi}{2}, so both angles lie in \left(0, \dfrac{\pi}{2}\right). On this interval the function y=\sin x is increasing, hence \sin\frac{\pi}{9}<\sin\frac{2\pi}{9}.
b) We have 0<\dfrac{3\pi}{5}<\dfrac{4\pi}{5}<\pi, so both angles lie in (0, \pi). On this interval the function y=\cos x is decreasing and \dfrac{4\pi}{5}>\dfrac{3\pi}{5}, hence \cos\frac{4\pi}{5}<\cos\frac{3\pi}{5}.
So \sin\dfrac{\pi}{9}<\sin\dfrac{2\pi}{9} and \cos\dfrac{4\pi}{5}<\cos\dfrac{3\pi}{5}.
Answer. a) \sin\dfrac{\pi}{9}<\sin\dfrac{2\pi}{9}; b) \cos\dfrac{4\pi}{5}<\cos\dfrac{3\pi}{5}.
Suppose the outdoor temperature (in degrees Celsius) in a city on a hot day is modelled by T(t)=28+5\sin\dfrac{\pi(t-9)}{12}, where t is the number of hours after midnight (0\le t<24). Find the highest and lowest temperatures and when they occur. After how many hours does the temperature pattern repeat?
What you need: -1\le\sin u\le1; \sin u=1 when u=\dfrac{\pi}{2}+k2\pi and \sin u=-1 when u=-\dfrac{\pi}{2}+k2\pi.
Steps:
- Find the range of T.
- Solve \dfrac{\pi(t-9)}{12}=\pm\dfrac{\pi}{2} with 0\le t<24.
- Find the period of \sin\dfrac{\pi t}{12}.
Show solution
The temperature is given by T(t)=28+5\sin\dfrac{\pi(t-9)}{12} with 0\le t<24 (t in hours, T in degrees Celsius).
For every t, we have -1\le\sin\dfrac{\pi(t-9)}{12}\le1, so -5\le5\sin\dfrac{\pi(t-9)}{12}\le5, hence 23\le T\le33.
The highest temperature 33^\circC occurs when \sin\dfrac{\pi(t-9)}{12}=1, that is \dfrac{\pi(t-9)}{12}=\dfrac{\pi}{2}, so t-9=6, that is t=15 (which satisfies 0\le t<24).
The lowest temperature 23^\circC occurs when \sin\dfrac{\pi(t-9)}{12}=-1, that is \dfrac{\pi(t-9)}{12}=-\dfrac{\pi}{2}, so t-9=-6, that is t=3 (which satisfies 0\le t<24).
The period of the function is \dfrac{2\pi}{\pi/12}=24 hours, so the temperature repeats every 24 hours; therefore these are the only two such times in 0\le t<24.
So the highest temperature is 33^\circC at 15 o'clock, the lowest is 23^\circC at 3 o'clock, and the pattern repeats every 24 hours.
Answer. Highest 33^\circC at 15 o'clock; lowest 23^\circC at 3 o'clock; the pattern repeats every 24 hours.
Consider the function y=\tan x. Decide whether each statement is true or false.
a) The function is defined on \mathbb{R}.
b) The function is periodic with period \pi.
c) The function is increasing on the interval (0, \pi).
d) The graph is symmetric about the origin.
What you need: the domain, period, intervals of increase and oddness of \tan.
Steps:
- a) Where is \tan x undefined?
- c) Does the point x=\dfrac{\pi}{2} belong to (0, \pi)?
- d) The graph of an odd function is symmetric about O.
Show solution
Consider the function y=\tan x, whose domain is \mathbb{R}\setminus\left\{\dfrac{\pi}{2}+k\pi\ \middle|\ k\in\mathbb{Z}\right\}.
a) False. The function \tan x is not defined at x=\dfrac{\pi}{2}+k\pi (because \cos x=0 there), so it is not defined on all of \mathbb{R}.
b) True. We have \tan(x+\pi)=\tan x for every x in the domain, and \pi is the smallest positive number with this property. Hence the function is periodic with period \pi.
c) False. We have \dfrac{\pi}{2}\in(0, \pi) but \tan x is not defined there, so the function is not continuous on (0, \pi). The function is increasing on \left(0, \dfrac{\pi}{2}\right) and on \left(\dfrac{\pi}{2}, \pi\right) separately.
d) True. The domain is symmetric about 0 and \tan(-x)=-\tan x, so \tan is an odd function. Hence the graph is symmetric about the origin.
So statements b), d) are true; statements a), c) are false.
Answer. a) False; b) True; c) False; d) True.
The instantaneous voltage of an alternating current source is u(t)=220\sqrt2\sin(100\pi t) (V). Find the peak voltage, to the nearest whole number (in V).
What you need: the greatest value of \sin is 1.
Steps:
- Find the greatest value of u.
- Approximate 220\sqrt2.
Show solution
The instantaneous voltage is u(t)=220\sqrt2\sin(100\pi t) (V).
For every t, we have \sin(100\pi t)\le1, so u\le220\sqrt2. Equality holds when \sin(100\pi t)=1, for instance when 100\pi t=\dfrac{\pi}{2}, that is t=\dfrac1{200} second. Hence the peak voltage is U_{\max}=220\sqrt2\approx311.1\ \text{V}.
Rounding to the nearest whole number, we get 311 V.
So the peak voltage of the source is approximately 311 V.
Answer. 311 V.
Use the addition formula to write y=\sin x+\cos x in the form y=\sqrt2\sin\left(x+\dfrac{\pi}{4}\right). Hence find the range and the period of the function.
What you need: \sin(a+b)=\sin a\cos b+\cos a\sin b; \sin\dfrac{\pi}{4}=\cos\dfrac{\pi}{4}=\dfrac{\sqrt2}{2}.
Steps:
- Expand \sqrt2\sin\left(x+\dfrac{\pi}{4}\right).
- Use -1\le\sin\le1 and the period of \sin(x+\varphi).
Show solution
Using the addition formula \sin(a+b)=\sin a\cos b+\cos a\sin b with a=x, b=\dfrac{\pi}{4}, we have \sqrt2\sin\left(x+\frac{\pi}{4}\right)=\sqrt2\left(\sin x\cdot\frac{\sqrt2}{2}+\cos x\cdot\frac{\sqrt2}{2}\right)=\sin x+\cos x.
So y=\sin x+\cos x=\sqrt2\sin\left(x+\dfrac{\pi}{4}\right).
For every x, we have -1\le\sin\left(x+\dfrac{\pi}{4}\right)\le1, so -\sqrt2\le y\le\sqrt2. Since x+\dfrac{\pi}{4} takes every real value, \sin\left(x+\dfrac{\pi}{4}\right) takes every value in [-1, 1], so y takes every value in \left[-\sqrt2, \sqrt2\right].
The function \sin\left(x+\dfrac{\pi}{4}\right) is periodic with period 2\pi, so y has period 2\pi.
So the range of the function is \left[-\sqrt2, \sqrt2\right] and its period is 2\pi.
Answer. Range \left[-\sqrt2, \sqrt2\right]; period 2\pi.
Prove that y=\sin^2x is periodic with period \pi (that is, \pi is the smallest positive number that works).
What you need: the power-reducing formula \sin^2x=\dfrac{1-\cos2x}{2}; when is \sin^2T=0?
Steps:
- Show that \pi is a period.
- Suppose 0<T<\pi is also a period; put x=0 to find a contradiction.
Show solution
We have \sin^2(x+\pi)=(-\sin x)^2=\sin^2x, so \pi is a period. Suppose 0<T<\pi also satisfies \sin^2(x+T)=\sin^2x for all x. Putting x=0 gives \sin^2T=0, so T=k\pi, which contradicts 0<T<\pi. So the smallest period is \pi.
Answer. The period of y=\sin^2x is \pi.
Mini test
Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.
Part I. Multiple choice
The function is defined when \sin2x\ne0, that is 2x\ne k\pi, or x\ne\dfrac{k\pi}{2}. Option A forgets the factor 2, and option B is the domain of \tan.
Since -1\le\sin2x\le1, we have y\le4+3=7, reached when \sin2x=-1. Option A is the least value, and option C assumes \sin2x can equal -2.
The period is \dfrac{2\pi}{\pi/3}=6. Option C ignores the coefficient of x, and option B uses \dfrac{\pi}{\pi/3} (the period of \tan).
\tan is increasing on \left(0, \dfrac{\pi}{2}\right), so A is true. B is false because \cos is decreasing on (0, \pi); C is false because \sin\dfrac{\pi}{2}=1 is the greatest value; D is false because \tan\dfrac{3\pi}{5}<0<\tan\dfrac{2\pi}{5}.
Part II. True or false
| a) The range of the function is [1, 5]. | ||
| b) The function is odd. | ||
| c) The function is increasing on the interval (0, \pi). | ||
| d) The function is periodic with period 2\pi. |
a) True: -1\le\cos x\le1 gives 1\le y\le5. b) False: y(-x)=3-2\cos(-x)=y(x), so the function is even. c) True: \cos x is decreasing on (0, \pi), so -2\cos x is increasing. d) True: \cos x has period 2\pi.
Part III. Short answer
The solutions are \dfrac{\pi}{6}, \dfrac{5\pi}{6}, \dfrac{13\pi}{6} and \dfrac{17\pi}{6}, all in [0, 3\pi]; the next solution \dfrac{25\pi}{6} is greater than 3\pi.
h(3)=22-20\cos\dfrac{3\pi}{4}=22+20\cdot\dfrac{\sqrt2}{2}=22+10\sqrt2\approx36.1 (m).
Show answers and explanations
- Part I, question 1: C. The function is defined when \sin2x\ne0, that is 2x\ne k\pi, or x\ne\dfrac{k\pi}{2}. Option A forgets the factor 2, and option B is the domain of \tan.
- Part I, question 2: D. Since -1\le\sin2x\le1, we have y\le4+3=7, reached when \sin2x=-1. Option A is the least value, and option C assumes \sin2x can equal -2.
- Part I, question 3: A. The period is \dfrac{2\pi}{\pi/3}=6. Option C ignores the coefficient of x, and option B uses \dfrac{\pi}{\pi/3} (the period of \tan).
- Part I, question 4: B. \tan is increasing on \left(0, \dfrac{\pi}{2}\right), so A is true. B is false because \cos is decreasing on (0, \pi); C is false because \sin\dfrac{\pi}{2}=1 is the greatest value; D is false because \tan\dfrac{3\pi}{5}<0<\tan\dfrac{2\pi}{5}.
- Part II, question 1: a) True; b) False; c) True; d) True. a) True: -1\le\cos x\le1 gives 1\le y\le5. b) False: y(-x)=3-2\cos(-x)=y(x), so the function is even. c) True: \cos x is decreasing on (0, \pi), so -2\cos x is increasing. d) True: \cos x has period 2\pi.
- Part III, question 1: 4. The solutions are \dfrac{\pi}{6}, \dfrac{5\pi}{6}, \dfrac{13\pi}{6} and \dfrac{17\pi}{6}, all in [0, 3\pi]; the next solution \dfrac{25\pi}{6} is greater than 3\pi.
- Part III, question 2: 36.1. h(3)=22-20\cos\dfrac{3\pi}{4}=22+20\cdot\dfrac{\sqrt2}{2}=22+10\sqrt2\approx36.1 (m).