Math Core

Lesson 8.3 · Trigonometric Functions

Graphs of sine and cosine

As a point travels around the unit circle, its height rises and falls, then repeats the same pattern on every lap. Graph that height against the angle and you get a wave. The sine and cosine graphs are the basic models for anything that repeats: tides, daylight hours, sound, alternating current.

Unwrapping the unit circle

Think of xx as the angle (in radians) and yy as the output. For y=sin⁡xy = \sin x, the output is the height of the point on the unit circle at angle xx. Start at x=0x = 0 and follow one lap:

  • From 00 to π2\dfrac{\pi}{2}, the point climbs from height 00 to height 11.
  • From π2\dfrac{\pi}{2} to π\pi, it falls back to 00.
  • From π\pi to 3π2\dfrac{3\pi}{2}, it drops to −1-1.
  • From 3π2\dfrac{3\pi}{2} to 2π2\pi, it rises back to 00, where it started.
xx00π2\dfrac{\pi}{2}π\pi3π2\dfrac{3\pi}{2}2π2\pi
sin⁡x\sin x001100−1-100
cos⁡x\cos x1100−1-10011

These five points (a start, a peak or valley, a crossing, and so on, every quarter lap) are the key points. Plot them, connect them with a smooth curve, and repeat the pattern in both directions.

y = sin x. It crosses the x-axis at multiples of π, peaks at π/2 and bottoms out at 3π/2.Open in grapher →

The cosine graph follows the xx-coordinate instead. It starts at its maximum, cos⁡0=1\cos 0 = 1, falls to −1-1 at x=πx = \pi, and climbs back to 11 at x=2πx = 2\pi.

y = cos x. It starts at its maximum at x = 0 and crosses the x-axis at π/2 and 3π/2.Open in grapher →

Features of the graphs

Both curves are periodic: they repeat the same values forever. The length of one complete cycle is the period.

Key features of y = sin x and y = cos x

featurey=sin⁡xy = \sin xy=cos⁡xy = \cos x
domainall real numbersall real numbers
range−1≤y≤1-1 \le y \le 1−1≤y≤1-1 \le y \le 1
period2π2\pi2π2\pi
amplitude1111
midliney=0y = 0y=0y = 0
xx-interceptsx=kπx = k\pix=π2+kπx = \dfrac{\pi}{2} + k\pi
maximum pointsx=π2+2kπx = \dfrac{\pi}{2} + 2k\pix=2kπx = 2k\pi

Here kk is any integer.

The midline is the horizontal line halfway between the highest and lowest values. The amplitude is the distance from the midline to a maximum (or to a minimum). For the basic graphs, the midline is the xx-axis and the amplitude is 11.

Worked example: Reading values from the pattern

Use the pattern of y=sin⁡xy = \sin x to find sin⁡9π2\sin\dfrac{9\pi}{2} and sin⁡(−π)\sin(-\pi).

Because the period is 2π2\pi, subtracting whole periods doesn't change the value:

sin⁡9π2=sin⁡(9π2−4π)=sin⁡π2=1.\sin\frac{9\pi}{2} = \sin\left(\frac{9\pi}{2} - 4\pi\right) = \sin\frac{\pi}{2} = 1.

For sin⁡(−π)\sin(-\pi): the sine graph crosses the xx-axis at every multiple of π\pi, so sin⁡(−π)=0\sin(-\pi) = 0.

Cosine is a shifted sine

Look at the two graphs together. The cosine graph is the sine graph slid π2\dfrac{\pi}{2} units to the left. The peak of y=sin⁡xy = \sin x at x=π2x = \dfrac{\pi}{2} moves to x=0x = 0, which is the peak of y=cos⁡xy = \cos x.

y = sin x and y = cos x. Each is a horizontal shift of the other by π/2.Open in grapher →

In symbols, cos⁡x=sin⁡(x+π2)\cos x = \sin\left(x + \dfrac{\pi}{2}\right) for every xx. So in a sense there is only one wave shape, called a sinusoid, and sine and cosine are two different starting points on it.

Symmetry

The cosine graph is symmetric about the yy-axis, so cos⁡(−x)=cos⁡x\cos(-x) = \cos x. Cosine is an even function. On the unit circle, the angles xx and −x-x are reflections across the xx-axis, so they have the same xx-coordinate.

The sine graph is symmetric about the origin, so sin⁡(−x)=−sin⁡x\sin(-x) = -\sin x. Sine is an odd function. Reflecting across the xx-axis flips the sign of the yy-coordinate.

Worked example: Solving with the graph

Find all solutions of cos⁡x=0\cos x = 0 in the interval 0≤x≤2π0 \le x \le 2\pi, and describe where cos⁡x\cos x is negative on that interval.

The cosine graph crosses the xx-axis at x=π2x = \dfrac{\pi}{2} and x=3π2x = \dfrac{3\pi}{2} in this interval. Between those crossings the graph dips below the axis, so cos⁡x<0\cos x < 0 when π2<x<3π2\dfrac{\pi}{2} < x < \dfrac{3\pi}{2}.

This matches the unit circle: those angles are in Quadrants II and III, where xx-coordinates are negative.

Common mistake

On the graph of y=sin⁡xy = \sin x, the letter xx is the angle, not the xx-coordinate on the unit circle. The graph's horizontal axis measures angle in radians and its vertical axis shows the value of the function. Keep the two pictures separate: the circle shows one angle at a time, and the graph shows every angle at once.

Worked example: Counting solutions

How many solutions does sin⁡x=12\sin x = \dfrac{1}{2} have in the interval 0≤x≤2π0 \le x \le 2\pi? Find them.

Draw the horizontal line y=12y = \dfrac{1}{2} across one period of the sine graph. It crosses the rising part of the wave once and the falling part once, so there are two solutions. From the unit circle, the angles with height 12\dfrac{1}{2} are x=π6x = \dfrac{\pi}{6} (Quadrant I) and x=5π6x = \dfrac{5\pi}{6} (Quadrant II).

Tip

When you sketch either graph, mark the xx-axis in steps of π2\dfrac{\pi}{2}. Every key point lands on one of those marks, so the sketch almost draws itself.

Practice

Practice 1

What is the period of y=sin⁡xy = \sin x, in radians?

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

Practice 2

On the interval 0≤x≤2π0 \le x \le 2\pi, at what value of xx does y=sin⁡xy = \sin x reach its minimum?

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

Practice 3

Find all xx-intercepts of y=sin⁡xy = \sin x on the interval 0≤x≤2π0 \le x \le 2\pi.

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

Practice 4

Solve cos⁡x=−1\cos x = -1 on the interval 0≤x≤2π0 \le x \le 2\pi.

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

Practice 5

Which statement is true for every real number xx?

Practice 6

Find cos⁡(10π)\cos(10\pi).

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

Practice 7

On which interval is y=sin⁡xy = \sin x increasing and y=cos⁡xy = \cos x decreasing?

Practice 8

How many solutions does sin⁡x=0.4\sin x = 0.4 have on the interval 0≤x≤4π0 \le x \le 4\pi?

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