Chapter 2: Graphs and Inverse Functions
2.1 Graphs of Sine and Cosine
Basic Sine and Cosine Graphs
We can graph trigonometric functions the same as we can graph any other function. We will graph the trigonometric functions on the \(xy\)-plane and the \(x\) coordinate will always be in radians. We will demonstrate two ways to look at the graph of \(y= \sin x\). First we will plot points by selecting angle values for \(x\) and calculating the \(y\) values. Second we will use the unit circle.
The following table (Table 2.1) is a list of common angles and their trigonometric function values.
| \(\theta\) (radians) | \(y = \sin \theta\) | \(y = \cos \theta\) | \(y = \tan \theta\) |
|---|---|---|---|
| \(0\) | \(0\) | \(1\) | \(0\) |
| \(\frac{\pi}{6}\) | \(\frac{1}{2}\) | \(\frac{\sqrt{3}}{2}\) | \(\frac{1}{\sqrt{3}}\) |
| \(\frac{\pi}{4}\) | \(\frac{1}{\sqrt{2}}\) | \(\frac{1}{\sqrt{2}}\) | \(1\) |
| \(\frac{\pi}{3}\) | \(\frac{\sqrt{3}}{2}\) | \(\frac{1}{2}\) | \(\sqrt{3}\) |
| \(\frac{\pi}{2}\) | \(1\) | \(0\) | undefined |
| \(\frac{2\pi}{3}\) | \(\frac{\sqrt{3}}{2}\) | \(-\frac{1}{2}\) | \(-\sqrt{3}\) |
| \(\frac{3\pi}{4}\) | \(\frac{1}{\sqrt{2}}\) | \(-\frac{1}{\sqrt{2}}\) | \(-1\) |
| \(\frac{5\pi}{6}\) | \(\frac{1}{2}\) | \(-\frac{\sqrt{3}}{2}\) | \(-\frac{1}{\sqrt{3}}\) |
| \(\pi\) | \(0\) | \(-1\) | \(0\) |
| \(\frac{7\pi}{6}\) | \(-\frac{1}{2}\) | \(-\frac{\sqrt{3}}{2}\) | \(\frac{1}{\sqrt{3}}\) |
| \(\frac{5\pi}{4}\) | \(-\frac{1}{\sqrt{2}}\) | \(-\frac{1}{\sqrt{2}}\) | \(1\) |
| \(\frac{4\pi}{3}\) | \(-\frac{\sqrt{3}}{2}\) | \(-\frac{1}{2}\) | \(\sqrt{3}\) |
| \(\frac{3\pi}{2}\) | \(-1\) | \(0\) | undefined |
| \(\frac{5\pi}{3}\) | \(-\frac{\sqrt{3}}{2}\) | \(\frac{1}{2}\) | \(-\sqrt{3}\) |
| \(\frac{7\pi}{4}\) | \(-\frac{1}{\sqrt{2}}\) | \(\frac{1}{\sqrt{2}}\) | \(-1\) |
| \(\frac{11\pi}{6}\) | \(-\frac{1}{2}\) | \(\frac{\sqrt{3}}{2}\) | \(-\frac{1}{\sqrt{3}}\) |
Using the numbers in Table 2.1 we can plot the sine function from \(0 \leq x \leq 2\pi\). In Figure 2.1 the points are indicated on the graph and some have been labeled. We saw in Section 1.4 that the trigonometric functions are periodic. This means that the values repeat at regular intervals. The sine repeats every \(2\pi\) radians so this graph repeats forever in both directions as seen in Figure 2.3.
Figure 2.1: Graph of \(y=\sin x\) for \(0 \leq x \leq 2\pi\)
Another way to consider the graph of the sine is to remember that every point on the unit circle (circle of radius 1) is \((x, y) = (\cos \theta, \sin \theta)\) on the terminal side of \(\theta\). Here you can see how for each angle, we use the \(y\) value of the point on the circle to determine the output value of the sine function. The correspondence is shown in Figure 2.2.
Figure 2.2: Graph of sine function based on \(y\)-coordinate of points on unit circle
It is most common to use the variable \(x\) and \(y\) to represent the horizontal and vertical axes so we will relabel the axes when we draw the graphs of the trigonometric functions from now on. In our graph in {} we have plotted both positive an negative angles. You will notice that if you pick any starting \(x\) value and move \(2\pi\) units in either direction the values of the function are the same because the period of the sine function in \(2\pi\).
WARNING: Be careful because we reuse variables. \(x\) and \(y\) are used to represent the cosine and sine on the unit circle but here \(x\) is the angle and \(y\) is the trigonometric value of that angle.
Figure 2.3: Graph of \(y = \sin x\)
Similarly we can construct a graph for the cosine function. Note that the cosine function has the same shape as the sine function but it is shifted \(\dfrac{\pi}{2}\) units to the left. From algebra you may recall that a \(\dfrac{\pi}{2}\) shift to the left can be represented \(f\left(x + \frac{\pi}{2}\right) = \sin \left(x + \frac{\pi}{2}\right) = \cos(x)\). This is the same cofunction identity presented in Section 1.4.
Both the sine and cosine functions alternate between \(+1\) and \(-1\) passing through zero at regular points. When we label the axes of the graphs we want to make sure we label the angles where the functions are \(0\), \(1\) or \(-1\) on the \(x\)-axis and the values for the maximum, minimum and center line for the \(y\)-axis. You can certainly include more labels but this would generally be the minimum amount of information for a graph. Notice that all the multiples of \(\frac{\pi}{2}\) have been labeled on the graphs in Figures 2.3 and Figure 2.4.
Figure 2.4: Graph of \(y = \cos x\)
Algebraic Transformations
The graphs can be altered by standard algebraic transformations.A function may be stretched or compressed vertically by multiplying by a number.
In the case of the sine and cosine this has the effect of making the {} of the function larger or smaller. The amplitude of the function is the distance from the center line to the maximum height. It can be calculated using the formula:
\[\text{amplitude of } f(x) = \frac{(\text{maximum of } f(x)) - (\text{minimum of } f(x)) }{2}\]
Since \(-1 \leq \sin x \leq 1\) and \(-1 \leq \cos x \leq 1\) then for any \(A>0\)
\[-A \leq A\sin x \leq A ~~ \text{and} ~~ -A \leq A\cos x \leq A\]
Notice that the \(x\)-axis is labeled at the maximums, minimums and zeros of the function in Figure 2.5.
Figure 2.5: \(y = 2\cos x\)
A function may be shifted up or down by adding or subtracting a number on the outside. This is called a vertical shift.
A function may be stretched or compressed horizontally by multiplying the variable by a number.
In the case of the sine and cosine multiplying the variable by a number \(B\) changes the period. The period of \(y=\sin(Bx)\) and of \(y = \cos(Bx)\) is
\[\text{period of } y=\sin(Bx) \text{ is } \frac{2\pi}{B}\]
\[\text{period of } y=\cos(Bx) \text{ is } \frac{2\pi}{B}\]
A function may be reflected across the \(x\)-axis by multiplying by \((-1)\). (Making it negative.)
So far we’ve looked at amplitude, period, and vertical shifts. There is one more transformation we need to consider: the phase shift or horizontal shift. This occurs when we add or subtract a constant inside the function argument.
Figure 2.11: \(y = 3\cos \left(2x - \pi \right)\)
Figure 2.12: \(y = -2\sin\left( 3x + \frac{\pi}{2} \right) = -2\sin \left[ 3 \left( x + \frac{\pi}{6} \right)\right]\)
2.1 Exercises
For Exercises 1-12, determine the amplitude, period, vertical shift, horizontal shift, and draw the graph of the given function for two complete periods.
\(y=3 \sin x\)
\(f(x)=-3\sin x\)
\(y=-3\sin(2x)\)
\(f(x) = -3 \sin(2x)+4\)
\(y = \dfrac{\cos x}{4}\)
\(y=\cos\left(\frac{x}{4}\right)\)
\(f(x) = \frac{1}{2}\cos x -4\)
\(y = 2\cos\left(x - \frac{\pi}{4}\right)\)
\(g(x) =-3+ 2\cos\left(x - \frac{\pi}{4}\right)\)
\(y=2\sin\left(2x + \frac{\pi}{2}\right)\)
\(y=\frac{1}{2}\sin\left(2x + \frac{\pi}{2}\right)+1\)
\(y=3\sin \frac{\pi t}{3}\)
For Exercises 13-14, sketch \(f(x)\) and \(g(x)\) on the same set of axes for \(0\leq x \leq 2\pi\).
\(f(x) = 2\sin x\), \(g(x)=\sin(2x)\)
\(f(x) = 3\cos (2x)\), \(g(x)=3\cos (2x)-2\)
For Exercises 15-19, determine the amplitude, period and vertical shift, then find a formula for the function.
Outside temperature over the course of a day can be modeled as a sinusoidal function. Suppose you know the temperature is 50 degrees at midnight and the high and low temperature during the day are 57 and 43 degrees, respectively. Assuming t is the number of hours since midnight, find a function for the temperature, D, in terms of t.
Outside temperature over the course of a day can be modeled as a sinusoidal function. Suppose you know the temperature is 68 degrees at midnight and the high and low temperature during the day are 80 and 56 degrees, respectively. Assuming t is the number of hours since midnight, find a function for the temperature, D, in terms of t.
Consider the device shown in Figure 2.13 for converting rotary motion to linear motion (and vice versa). A nail on the edge of the wheel moves the arm back and forth. Relative to the coordinates shown, derive an expression for the position of point \(P\) as a function of the wheel radius \(R\), the bar length \(L\), and the angle \(\theta\).
Figure 2.13: Linear motion device
2.2 Graphs of tan(x), cot(x), csc(x) and sec(x)
Tangent and Cotangent Graphs
The graph of the tangent can be constructed by plotting points from Table 2.1 or by using the identity \(\tan x = \dfrac{\sin x}{\cos x}\). On the graph of the tangent notice that there are vertical asymptotes at multiples of \(\dfrac{\pi}{2}\). This is because \(\tan x = \dfrac{\sin x}{\cos x}\) and everywhere cosine is zero tangent is undefined. You can see from the cosine graph that it has zeros at \(x = \dfrac{\pi}{2} + n\pi\) where \(n \in \mathbb{Z}\). Also note that the period of the tangent function is \(\pi\). The graph repeats every \(\pi\) units, it is identical between any two asymptotes.
Figure 2.14: Graph of \(y=\tan x\)
We can perform similar transformations to what was done for the sine and cosine graphs. Those transformations are summarized here:
Figure 2.15: \(y=\frac{1}{2}\tan \left(2x \right)-3\)
The graph of the cotangent Figure 2.16 can be constructed by using the identity \(\cot x = \dfrac{\cos x}{\sin x}\) or by using the relation \(\cot x = -\tan \left(x+\frac{\pi}{2}\right)\). On the graph of the cotangent notice that there are vertical asymptotes at multiples of \(\pi\). This is because \(\cot x = \dfrac{\cos x}{\sin x}\) and everywhere sine is zero the cotangent is undefined. \(y = \sin x\) has zeros at \(x = \pi + n\pi\) where \(n \in \mathbb{Z}\) so \(y = \cot x\) has vertical asymptotes at \(x = \pi + n\pi\). Also note that the period of the cotangent function is \(\pi\). The graph repeats every \(\pi\) units, it is identical between any two asymptotes.
Figure 2.16: Graph of \(y=\cot x\)
Cosecant and Secant Graphs
The graph of the cosecant can be constructed by using the identity \(\csc x = \dfrac{1}{\sin x}\). On the graph of the cosecant notice that there are vertical asymptotes at multiples of \(\pi\). This is because \(\csc x = \dfrac{1}{\sin x}\) and everywhere sine is zero the cosecant is undefined. The period of the cosecant function is \(2\pi\) which is the same as the sine function. The graph repeats every \(2\pi\) units. Figure 2.17 shows the graph of \(y = \csc x\), with the graph of \(y = \sin x\) (the dashed curve) for reference.
Figure 2.17: Graph of \(y=\csc x\) in blue and \(y=\sin x\) (dashed line)
The graph of the secant can be constructed by using the identity \(\sec x = \dfrac{1}{\cos x}\). On the graph of the secant notice that there are vertical asymptotes at multiples of \(\dfrac{\pi}{2}\) because the graph of \(y = \cos x\) has zeros at \(x = \dfrac{\pi}{2} + n\pi\) where \(n \in \mathbb{Z}\). The period of the secant function is \(2\pi\) which is the same as the cosine function. The graph repeats every \(2\pi\) units. Figure 2.18 shows the graph of \(y = \sec x\), with the graph of \(y = \cos x\) (the dashed curve) for reference.
Figure 2.18: Graph of \(y=\sec x\)
All the same transformations that were done to the sine, cosine and tangent can be done to the other functions.
2.2 Exercises
For Exercises 1-9, determine the amplitude, period, vertical shift, horizontal shift, and draw the graph of the given function for two complete periods.
\(y=3 \tan x\)
\(f(x)=-3\csc x\)
\(y=-3\sec(2x)\)
\(f(x) = -3 \sec(\pi x)\)
\(y = \dfrac{\cot x}{4}\)
\(y=\cot\left(\frac{x}{4}\right)\)
\(y=\tan\left(x + \frac{\pi}{4}\right)\)
\(y=\frac{1}{2}\cot\left(x - \frac{\pi}{4}\right)\)
\(y=\sec (t)+2\)
2.3 Inverse Trigonometric Functions
Review of Functions and Inverse Functions
Often the domain is \(x\) and the range is \(y\) but any symbols can be used. With trigonometric functions frequently \(\theta\) or another Greek letter is used for the domain. For a function we can have repeated range elements but all the domain elements are unique. For example with \(f(x) = x^2\) both \(x=2\) and \(x=-2\) are mapped to \(y=4\) when put into the function.
There is a special type of function known as a one-to-one (sometimes written \(1-1\)) function where all the range values are unique as well. In other words if \(x_1 \neq x_2\) then \(f(x_1) \neq f(x_2)\). The example above of \(f(x) =x^2\) is not a \(1-1\) function because two different \(x\) values give the same \(y\) value. Much like there was a vertical line test for functions we have a horizontal line test for \(1-1\) functions.
The vertical line test says that \(f(x)\) is a function if and only if every vertical line intersects the graph of \(f(x)\) at most once. Similarly the horizontal line tests says that a function \(f(x)\) is \(1-1\) if every horizontal line intersects the graph at most once.
This idea of a \(1-1\) function is important when discussing inverse functions. An inverse function is a function \(f^{-1}(x)\) such that \[f(f^{-1}(x)) = x ~ \mbox{and}~ f^{-1}(f(x)) = x.\] In other words if \(f\) is a function that takes \(x\) to \(y\) then the inverse function \(f^{-1}\) takes \(y\) back to \(x\). We need the original function to be \(1-1\) because when we reverse the operation we want to make sure we get a unique answer. In the \(f(x) = x^2\) example we can’t have an inverse function because reversing the operation results in two \(x\)-values because \(f(2) = f(-2) = 4\).
None of the trigonometric functions are \(1-1\). Consider the sine function \(y = \sin x\). There are an infinite number of \(x\)-values that will produce every \(y\) value since the sine repeats every \(2\pi\) radians. If we want to reverse the operation of the sine function with an inverse sine function we will have to restrict the domain so that the original sine produces one set of range values. We will make sure that this restriction includes the angle zero. In Figure 2.19 the extended dotted line is to show that the sine function would fail the horizontal line test and sine is \(1-1\) on the domain \(-\frac{\pi}{2} \leq x \leq \frac{\pi}{2}\). It also shows that we have one complete set of range values (\(-1 \leq \sin x \leq 1\)) for the sine function.
Figure 2.19: Restricted domain for sine
We will do the same for the cosine and tangent. Figure 2.20 shows the domain restrictions.
Figure 2.20: Restricted domains for cosine and tangent
Recall that there are two ways to find the inverse of a function. The graphical way to find the inverse is to look at the graph and reflect it across the line \(y = x\). The algebraic way to solve for the inverse of a function is to switch the \(x\) and \(y\) coordinates and solve for \(y\).
We can find inverse functions of the sine, cosine and tangent using the graphing method. The graph of \(y = \sin^{-1} x\) (sometimes called the arcsine and denoted \(y=\arcsin x\)) is shown in Figure 2.21. Notice the symmetry about the line \(y = x\) with the graph of \(y = \sin x\).
Figure 2.21: Graph of \(y = \sin^{-1} x\)
The sine function gives you the ratio \(\frac{\text{opposite}}{\text{hypotenuse}}\) for some angle \(\theta\). The inverse sine function give you the angle \(\theta\) if you know the ratio \(\frac{\text{opposite}}{\text{hypotenuse}}\). It is the reverse of the sine. It is often good to think of \(y = \sin^{-1} x\) as “the inverse sine of \(x\) is the angle whose sine is \(x\).”
On your calculator these functions are not displayed as arc functions. Your calculator probably has keys that look like: \(\sin^{-1}\), \(\cos^{-1}\) and \(\tan^{-1}\). These features are often found just above the regular trigonometric function, but different models of calculator have it in different places.
There are a couple of important things to remember here.
Note 1: With the restriction we have put on the inverse sine, it is ONLY defined in quadrants I and IV so all your answers for arcsine must lie between \(-\frac{\pi}{2}\) and \(\frac{\pi}{2}\).
Note 2: The notation for inverse functions is to have an exponent of \(-1\) on the function. This should not be confused with the reciprocal of the function. If we want the reciprocal of the sine we would write it one of the following ways: \[ \frac{1}{\sin x} = \left( \sin x \right)^{-1} = \csc x.\] For this reason some prefer to write \(y = \arcsin x\) and both are often used interchangeably without warning.
The cosine is similar but in this case we restrict the domain to \(0 \leq x \leq \pi\) because this also gives us all the \(y\) values between \(-1\) and \(1\). Figure 2.22 shows the graph. It is often good to think of \(y=\cos^{-1} x\) as “the inverse cosine of \(x\) is the angle whose cosine is \(x\).”
Figure 2.22: Graph of \(y = \cos^{-1} x = \arccos x\)
Again we reflect this dotted curve across the line \(y = x\) to get the inverse cosine function.
Note: With the restriction we have put on the arccosine, it is ONLY defined in quadrants I and II so all your answers for arccosine must lie between \(0\) and \(\pi\).
The tangent has the same restrictions as the sine but in this case we have vertical asymptotes. When we reflect across the line \(y=x\) the vertical asymptotes become horizontal asymptotes. It is often good to think of \(y = \tan^{-1} x\) as “the inverse tangent of \(x\) is the angle whose tangent is \(x\).” See Figure 2.23.
Figure 2.23: Graph of \(y = \tan^{-1} x = \arctan x\)
Note: With the restriction we have put on the arctangent, it is ONLY defined in quadrants I and IV so all your answers for arctangent must lie between \(-\frac{\pi}{2}\) and \(\frac{\pi}{2}\).
Figure 2.24
2.3 Exercises
For Exercises 1-28, find the exact value of the given expression. If an answer is an angle answer in radians.
\(\tan^{-1} 1\)
\(\tan^{-1} (-1)\)
\(\tan^{-1} 0\)
\(\cos^{-1} 1\)
\(\cos^{-1} (-1)\)
\(\cos^{-1} 0\)
\(\sin^{-1} 1\)
\(\sin^{-1} (-1)\)
\(\cos^{-1} \left( \frac{\sqrt{3}}{2}\right)\)
\(\cos^{-1}\left( \frac{-\sqrt{3}}{2}\right)\)
\(\sin^{-1} \left( \frac{\sqrt{2}}{2}\right)\)
\(\sin^{-1} \left( \frac{-\sqrt{2}}{2}\right)\)
\(\sin^{-1} 0\)
\(\sin^{-1}\left(\sin \frac{\pi}{3}\right)\)
\(\sin^{-1}\left(\sin \frac{4\pi}{3}\right)\)
\(\sin^{-1}\left(\sin \left(-\frac{4\pi}{3}\right)\right)\)
\(\cos^{-1}\left(\cos \frac{\pi}{5}\right)\)
\(\cos^{-1}\left(\cos \frac{6\pi}{5}\right)\)
\(\cos^{-1}\left(\cos \left(-\frac{\pi}{5}\right)\right)\)
\(\tan^{-1}\left(\tan \left(-\frac{5\pi}{6}\right)\right)\)
\(\tan^{-1}\left(\tan \frac{5\pi}{6}\right)\)
\(\cos^{-1}\left(\sin \frac{13\pi}{6}\right)\)
\(\sin^{-1}\left(\cos \left(-\frac{\pi}{6}\right)\right)\)
\(\csc^{-1}\left(\sec \left(-\frac{5\pi}{6}\right)\right)\)
\(\tan \left(\sin^{-1} \frac{4}{3}\right)\)
\(\sin\left(\tan^{-1} \frac{4}{3}\right)\)
\(\sin \left(\cos^{-1} \left(-\frac{3}{5}\right)\right)\)
\(\cos \left(\sin^{-1} \left(-\frac{4}{5}\right)\right)\)
Find a simplified expression for \(\cos\left(\sin^{-1} x\right)\) for \(-1\leq x \leq 1\).
Find a simplified expression for \(\cot\left(\sin^{-1} \left(\dfrac{x}{3}\right)\right)\) for \(-3\leq x \leq 3\).
Find a simplified expression for \(\sin \left( \cos^{-1} \frac{x}{3} \right)\) for \(-3< x<3\).
Find a simplified expression for \(\csc\left(\tan^{-1} \left(\dfrac{x}{2}\right)\right)\).
The height of a playground basketball backboard is 12 feet 6 inches high. At 4:00 pm it casts a shadow 15 feet long. What is the angle of elevation of the sun at that time?
2.4 Solving Trigonometric Equations
To solve a trigonometric equation we use standard algebraic techniques such as combining like terms and factoring. The first goal for any trigonometric equation is to isolate the trigonometric function in the equation. We can’t algebraically solve for the variable from inside a trigonometric function.
2.4 Exercises
For Exercises 1-6, find all solutions on the interval \([0, 2\pi)\). Leave exact answers in radians.
\(2\sin x = \sqrt{2}\)
\(2\sin x + \sqrt{3} = 0\)
\(\csc x = -2\)
\(\cos \theta = 0\)
\(2\cos \theta + 1 = 0\)
\(\tan(\theta) - \sqrt{3} = 0\)
For Exercises 7-12, find the general solution for each equation. Leave exact answers in radians.
\(\tan \theta + 1 = 0\)
\(2\sin x - 1 = 0\)
\(2\cos x = \sqrt{3}\)
\(\sqrt{3}\sec x = 2\)
\(\sin \theta = 0\)
\(\sqrt{3}\cot(x) - 1 = 0\)
For Exercises 13-18, find all solutions on the interval \([0, 2\pi)\). Leave exact answers in radians.
\(2\sin(2\theta) - 1 = 0\)
\(\tan(2x) = -1\)
\(\sqrt{3}\csc\left(\frac{x}{2}\right) = -2\)
\(2\sin(2\theta) + 2 = 1\)
\(2\cos^2(2\theta) = 1\)
\(\cos(3x) = \frac{\sqrt{2}}{2}\)
For Exercises 19-28, find all solutions on the interval \([0, 2\pi)\). Leave exact answers in radians.
\(\tan \theta(\tan \theta + 1) = 0\)
\(\cot^2 x = 3\)
\(\tan x \sin x - \sin x = 0\)
\(2\cos^2 x + 3\cos x + 1 = 0\)
\((4\sin^2 x - 3)(\sqrt{2}\cos x + 1) = 0\)
\(\sin x(\sec x + 2) = 0\)
\(2\sin^2 x + \sin x - 1 = 0\)
\(2\sin^3 x = \sin x\)
\(\tan^5 x = \tan x\)
\(2\cos^2 x - \sin x = 1\)
For Exercises 29-34, use a calculator to find all solutions on the interval \([0, 2\pi)\). Round answers to 4 decimal places.
\(7\sin \theta = 2\)
\(\cos x = -0.27\)
\(\tan x = 9.27\)
\(7\sin(2\theta) = 2\)
\(\sec^2 x = 7\)
\(\tan(\pi x) = 9.27\)
An observer views a rocket take off from a distance of 7 km from the launch pad, and tracks the angle of elevation. Express the height of the rocket as a function of the angle of elevation, \(\theta\). Express the angle of elevation \(\theta\) as a function of the height, h, of the rocket. When the height of the rocket is 22 km what is the angle of elevation?
The height of a rider on the London Eye Ferris wheel can be determined by the equation \(h(t) = -67.5\cos\left(\frac{\pi}{15}t\right) + 69.5\). How long is the rider more than 100 meters above ground?