Math Core

Lesson 4.1 · Graphs of Trigonometric Functions

Graphs of sine and cosine

The unit circle gives you sine and cosine one angle at a time. If you plot those values against the angle, you get a smooth wave that repeats forever. That wave is the shape behind sound, tides, seasons and anything else that comes back around.

From the unit circle to a wave

Remember that the point on the unit circle at angle xx (in radians) is (cos⁡x,sin⁡x)(\cos x, \sin x). So sin⁡x\sin x is the height of that point, and cos⁡x\cos x is its horizontal position.

Walk once around the circle, starting at (1,0)(1, 0), and watch the height:

  • At x=0x = 0 the point is at (1,0)(1, 0), so the height is 00.
  • It climbs to the top of the circle, height 11, at x=π2x = \dfrac{\pi}{2}.
  • It comes back down to height 00 at x=πx = \pi.
  • It drops to the bottom, height −1-1, at x=3π2x = \dfrac{3\pi}{2}.
  • It returns to height 00 at x=2πx = 2\pi, back where it started.

Now put the angle on the horizontal axis and the height on the vertical axis. The heights trace out the graph of y=sin⁡xy = \sin x. Here are a few more values from the unit circle:

xx00π6\frac{\pi}{6}π2\frac{\pi}{2}5π6\frac{5\pi}{6}π\pi7π6\frac{7\pi}{6}3π2\frac{3\pi}{2}11π6\frac{11\pi}{6}2π2\pi
sin⁡x\sin x000.50.5110.50.500−0.5-0.5−1-1−0.5-0.500
cos⁡x\cos x11≈0.87\approx 0.8700≈−0.87\approx -0.87−1-1≈−0.87\approx -0.8700≈0.87\approx 0.8711

Doing the same with the horizontal position gives y=cos⁡xy = \cos x.

y = sin x (starts at 0 and rises) and y = cos x (starts at its maximum, 1).Open in grapher →

Five key points per cycle

You never need a long table to sketch these graphs. One full cycle is pinned down by five points, spaced a quarter of a turn apart: a zero, a peak, a zero, a valley, a zero (for sine), or a peak, a zero, a valley, a zero, a peak (for cosine).

Key points on [0, 2π]

xx00π2\frac{\pi}{2}π\pi3π2\frac{3\pi}{2}2π2\pi
y=sin⁡xy = \sin x001100−1-100
y=cos⁡xy = \cos x1100−1-10011

Connect them with a smooth, rounded curve (never with sharp corners), then repeat the pattern to the left and right.

A handy phrase: sine starts in the middle and goes up; cosine starts at the top.

Periodic functions

After x=2πx = 2\pi the point on the unit circle starts its second lap and every value repeats. Graphs with this property have a special name.

Definition

Periodic function

A function ff is periodic if there is a positive number pp with f(x+p)=f(x)f(x + p) = f(x) for every xx in its domain. The smallest such pp is the period. One copy of the repeating piece is called a cycle.

Both sine and cosine have period 2π2\pi:

sin⁡(x+2π)=sin⁡xcos⁡(x+2π)=cos⁡x\sin(x + 2\pi) = \sin x \qquad \cos(x + 2\pi) = \cos x

This lets you evaluate at large angles. Subtract (or add) multiples of 2π2\pi until you land in [0,2π)[0, 2\pi), then read the value from the key points.

Properties side by side

y=sin⁡xy = \sin xy=cos⁡xy = \cos x
Domainall real numbersall real numbers
Range[−1,1][-1, 1][−1,1][-1, 1]
Period2π2\pi2π2\pi
Zerosx=kπx = k\pix=π2+kπx = \frac{\pi}{2} + k\pi
Maximum 11 atx=π2+2kπx = \frac{\pi}{2} + 2k\pix=2kπx = 2k\pi
Minimum −1-1 atx=3π2+2kπx = \frac{3\pi}{2} + 2k\pix=π+2kπx = \pi + 2k\pi
Symmetryodd (origin)even (yy-axis)

Here kk stands for any integer. The midline of both graphs is the xx-axis, y=0y = 0: the curve spends equal time above and below it.

Even and odd

The cosine graph is a mirror image across the yy-axis, so cos⁡(−x)=cos⁡x\cos(-x) = \cos x. The sine graph has rotational symmetry about the origin, so sin⁡(−x)=−sin⁡x\sin(-x) = -\sin x. On the unit circle, going clockwise instead of counterclockwise flips the height but keeps the horizontal position.

Cosine is a shifted sine

Look at the graph again: the cosine curve is exactly the sine curve slid π2\dfrac{\pi}{2} units to the left. In symbols, cos⁡x=sin⁡(x+π2)\cos x = \sin\left(x + \dfrac{\pi}{2}\right). The two graphs have the same shape; they just start at different points in the cycle.

Worked example: Using periodicity

Find sin⁡(7π2)\sin\left(\dfrac{7\pi}{2}\right) and cos⁡(−3π)\cos(-3\pi).

Solution. Since 7π2=3π2+2π\dfrac{7\pi}{2} = \dfrac{3\pi}{2} + 2\pi, the value matches sin⁡(3π2)=−1\sin\left(\dfrac{3\pi}{2}\right) = -1.

Cosine is even, so cos⁡(−3π)=cos⁡(3π)\cos(-3\pi) = \cos(3\pi). Subtract 2π2\pi: cos⁡(3π)=cos⁡(π)=−1\cos(3\pi) = \cos(\pi) = -1.

Worked example: Finding zeros on an interval

Find every xx in [−2π,2π][-2\pi, 2\pi] with cos⁡x=0\cos x = 0.

Solution. The zeros of cosine are at π2+kπ\dfrac{\pi}{2} + k\pi. Try integers kk and keep the values inside the interval:

  • k=0k = 0: π2\dfrac{\pi}{2}. k=1k = 1: 3π2\dfrac{3\pi}{2}. k=2k = 2: 5π2\dfrac{5\pi}{2}, too big.
  • k=−1k = -1: −π2-\dfrac{\pi}{2}. k=−2k = -2: −3π2-\dfrac{3\pi}{2}. k=−3k = -3: −5π2-\dfrac{5\pi}{2}, too small.

The zeros are x=−3π2,−π2,π2,3π2x = -\dfrac{3\pi}{2}, -\dfrac{\pi}{2}, \dfrac{\pi}{2}, \dfrac{3\pi}{2}.

Worked example: Where the graph rises and falls

On [0,2π][0, 2\pi], where is y=sin⁡xy = \sin x increasing?

Solution. Follow the key points. The graph rises from (0,0)(0, 0) to the peak at (π2,1)\left(\dfrac{\pi}{2}, 1\right), falls through (π,0)(\pi, 0) to the valley at (3π2,−1)\left(\dfrac{3\pi}{2}, -1\right), then rises again to (2π,0)(2\pi, 0). So sine is increasing on [0,π2]\left[0, \dfrac{\pi}{2}\right] and on [3π2,2π]\left[\dfrac{3\pi}{2}, 2\pi\right], and decreasing on [π2,3π2]\left[\dfrac{\pi}{2}, \dfrac{3\pi}{2}\right].

Worked example: Counting intersections

How many solutions does sin⁡x=0.4\sin x = 0.4 have on [0,4π][0, 4\pi]?

Solution. Picture the horizontal line y=0.4y = 0.4. In one cycle the sine curve goes up past 0.40.4 once (on the way to the peak) and back down past 0.40.4 once (on the way down). That is 22 crossings per cycle. The interval [0,4π][0, 4\pi] holds exactly 22 cycles, so there are 2⋅2=42 \cdot 2 = 4 solutions.

Common mistake

The horizontal axis is measured in radians, not degrees. One cycle ends at 2π≈6.282\pi \approx 6.28, and the first peak of sine is at π2≈1.57\dfrac{\pi}{2} \approx 1.57. When you sketch on graph paper, mark π≈3.14\pi \approx 3.14 carefully instead of placing π\pi at x=3x = 3 or x=180x = 180.

Tip

To check a sketch, test one point. For example, cos⁡(π3)=0.5\cos\left(\dfrac{\pi}{3}\right) = 0.5, so your cosine curve should pass through about (1.05,0.5)(1.05, 0.5), halfway down from the peak.

Practice

Practice 1

What is the range of y=cos⁡xy = \cos x?

Practice 2

Use the key points of the sine graph to find sin⁡(3π2)\sin\left(\dfrac{3\pi}{2}\right).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Find every zero of y=cos⁡xy = \cos x in the interval [0,2π][0, 2\pi]. Enter your answers separated by commas (you can type pi).

Separate answers with commas, e.g. 2, -5

Practice 4

On [0,2π][0, 2\pi], at what value of xx does y=cos⁡xy = \cos x reach its minimum? (You can type pi.)

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

Find sin⁡(13π2)\sin\left(\dfrac{13\pi}{2}\right).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

Which statement is true for every real number xx?

Practice 7

On [0,2π][0, 2\pi], on which interval is y=cos⁡xy = \cos x increasing?

Practice 8

How many solutions does cos⁡x=−0.3\cos x = -0.3 have on the interval [0,6π][0, 6\pi]?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.