Practice questions

Chapter 1  |  Chapter 2  |  Chapter 3  |  Chapter 4  |  Chapter 5  |  Chapter 6  |  Chapter 7

Chapter 2: Graphs of the trigonometric functions

Try each problem first. Then check your work with the solution.

1. Graphs of sine and cosine.

(a) Find the zeros of ${y=\cos x}$ in ${[0,2\pi]}$, and its high and low points there.

(b) Sketch one period of ${y=2-\sin x}$, and find its range.

(c) Use the graph of ${y=\cos x}$ to find all ${x}$ in ${[0,2\pi]}$ with ${\cos x<0}$.

Solution:

(a)

The key points of cosine on ${[0,2\pi]}$ are ${(0,1)}$, ${\left(\dfrac{\pi}{2},0\right)}$, ${(\pi,-1)}$, ${\left(\dfrac{3\pi}{2},0\right)}$, ${(2\pi,1)}$.

So the zeros are ${\dfrac{\pi}{2}}$ and ${\dfrac{3\pi}{2}}$. The high points are ${(0,1)}$ and ${(2\pi,1)}$. The low point is ${(\pi,-1)}$.

(b)

Write ${y=-\sin x+2}$. The graph of ${y=\sin x}$ is flipped over the ${x}$-axis, then moved up ${2}$. The key points are

${(0,2)}$, ${\left(\dfrac{\pi}{2},1\right)}$, ${(\pi,2)}$, ${\left(\dfrac{3\pi}{2},3\right)}$, ${(2\pi,2)}$

π/2π3π/22π123xy
One period of ${y=2-\sin x}$.

The values of ${-\sin x}$ go from ${-1}$ to ${1}$, so the values of ${2-\sin x}$ go from ${1}$ to ${3}$. The range is ${[1,3]}$.

(c)

The cosine graph is below the ${x}$-axis between its zeros ${\dfrac{\pi}{2}}$ and ${\dfrac{3\pi}{2}}$. So ${\cos x<0}$ when

${\dfrac{\pi}{2}<x<\dfrac{3\pi}{2}}$

2. Amplitude, period, and phase shift.

(a) Find the amplitude and the period of ${y=-4\sin\dfrac{x}{3}}$.

(b) Find the amplitude, period, phase shift, midline, and range of ${y=3\cos\left(2x+\dfrac{\pi}{3}\right)-1}$. Graph one period.

(c) A sine curve has a high value of ${7}$, a low value of ${1}$, and period ${4\pi}$. It crosses its midline going up at ${x=\pi}$. Find an equation of the form ${y=a\sin k(x-b)+d}$.

Solution:

(a)

The amplitude is ${|-4|=4}$. Here ${k=\dfrac{1}{3}}$, so the period is

${\dfrac{2\pi}{1/3}=6\pi}$

(b)

Factor ${2}$ out of the inside:

$\begin{align*}2x+\dfrac{\pi}{3}&=2\left(x+\dfrac{\pi}{6}\right)\\&=2\left(x-\left(-\dfrac{\pi}{6}\right)\right)\end{align*}$

So ${a=3}$, ${k=2}$, ${b=-\dfrac{\pi}{6}}$, and ${d=-1}$:

  • Amplitude ${3}$, period ${\dfrac{2\pi}{2}=\pi}$.
  • Phase shift ${-\dfrac{\pi}{6}}$: the graph moves ${\dfrac{\pi}{6}}$ to the left.
  • Midline ${y=-1}$. The range is ${[-1-3,\,-1+3]=[-4,2]}$.

One period runs from ${-\dfrac{\pi}{6}}$ to ${-\dfrac{\pi}{6}+\pi=\dfrac{5\pi}{6}}$, in quarters of ${\dfrac{\pi}{4}}$. The ${x}$-values are

${-\dfrac{\pi}{6}}$, ${\dfrac{\pi}{12}}$, ${\dfrac{\pi}{3}}$, ${\dfrac{7\pi}{12}}$, ${\dfrac{5\pi}{6}}$

For cosine, the pattern is high, midline, low, midline, high, so the ${y}$-values are ${2}$, ${-1}$, ${-4}$, ${-1}$, ${2}$.

−π/6π/12π/37π/125π/6−4−12xy
One period of ${y=3\cos\left(2x+\dfrac{\pi}{3}\right)-1}$. The dashed line is the midline ${y=-1}$.

(c)

Midline and amplitude:

${d=\dfrac{7+1}{2}=4}$${a=\dfrac{7-1}{2}=3}$

The period is ${4\pi}$, so ${\dfrac{2\pi}{k}=4\pi}$ and ${k=\dfrac{1}{2}}$.

A sine curve crosses its midline going up at the start of a period, so ${b=\pi}$:

${y=3\sin\dfrac{1}{2}(x-\pi)+4}$

3. Graphs of tangent, cotangent, secant, and cosecant.

(a) Find the period and the vertical asymptotes of ${y=\tan\dfrac{x}{2}}$.

(b) Find the period and the vertical asymptotes of ${y=\cot 3x}$.

(c) Find the period, the vertical asymptotes, and the range of ${y=3\sec 2x}$.

Solution:

(a)

Here ${k=\dfrac{1}{2}}$, so the period is ${\dfrac{\pi}{1/2}=2\pi}$. For one branch, solve

$\begin{align*}-\dfrac{\pi}{2}&<\dfrac{x}{2}<\dfrac{\pi}{2}\\-\pi&<x<\pi\end{align*}$

So there are asymptotes at ${x=-\pi}$ and ${x=\pi}$. They repeat every ${2\pi}$: the asymptotes are ${x=\pi+2n\pi}$, where ${n}$ is any integer.

(b)

Cotangent has period ${\pi}$, so ${y=\cot 3x}$ has period ${\dfrac{\pi}{3}}$. Cotangent is undefined where its input is a multiple of ${\pi}$:

${3x=n\pi}$, so ${x=\dfrac{n\pi}{3}}$

The asymptotes are ${x=0}$, ${\pm\dfrac{\pi}{3}}$, ${\pm\dfrac{2\pi}{3}}$, and so on.

(c)

The matching cosine curve, ${y=3\cos 2x}$, has period ${\pi}$. So ${y=3\sec 2x}$ has period ${\pi}$ too.

The asymptotes are where ${\cos 2x=0}$:

${2x=\dfrac{\pi}{2}+n\pi}$, so ${x=\dfrac{\pi}{4}+\dfrac{n\pi}{2}}$

Secant values always have ${|\sec 2x|\ge 1}$. Multiplying by ${3}$ gives ${|3\sec 2x|\ge 3}$. So the range is ${(-\infty,-3]\cup[3,\infty)}$.

4. Modeling with sinusoids.

(a) A weight on a spring moves in simple harmonic motion with amplitude ${8}$ cm and period ${0.5}$ s. At ${t=0}$ it is at its rest position, moving up. Find an equation for its position, and its frequency.

(b) A Ferris wheel is ${40}$ m across, and its center is ${25}$ m above the ground. It turns once every ${10}$ minutes. A rider gets on at the bottom at ${t=0}$. Find a model for the rider's height ${h}$ after ${t}$ minutes, and the height after ${4}$ minutes.

(c) A damped spring has position ${y=6e^{-0.2t}\cos 4\pi t}$. Find its frequency, and how far from rest it reaches at ${t=5}$, at the top of its swing.

Solution:

(a)

It starts at rest position moving up, so use sine with ${a=8}$. The period is ${\dfrac{2\pi}{\omega}=0.5}$, so ${\omega=4\pi}$:

${y=8\sin 4\pi t}$

The frequency is ${f=\dfrac{1}{0.5}=2}$ cycles per second (${2}$ Hz).

(b)

The radius is ${20}$ m, so the amplitude is ${20}$ and the midline is ${h=25}$. The period is ${10}$ minutes, so ${k=\dfrac{2\pi}{10}=\dfrac{\pi}{5}}$.

The rider starts at the lowest point. A cosine curve starts at its highest point, so use ${a=-20}$ to flip it:

${h=-20\cos\dfrac{\pi t}{5}+25}$

At ${t=4}$, with a calculator in radian mode:

$\begin{align*}h&=-20\cos\dfrac{4\pi}{5}+25\\&\approx -20(-0.809)+25\approx 41.2\end{align*}$

After ${4}$ minutes, the rider is about ${41.2}$ m above the ground.

(c)

Here ${\omega=4\pi}$, so ${f=\dfrac{4\pi}{2\pi}=2}$ cycles per second.

At ${t=5}$, ${\cos(20\pi)=1}$, so the spring is at the top of a swing:

${y=6e^{-0.2\cdot 5}=6e^{-1}\approx 2.21}$ cm