Resources For Teachers For Tutors For Students & Parents Pricing
Pre-Calculus Trigonometric functions

Graphs of sine, cosine, and tangent

20 practice questions 0 video lessons Theory + worked examples

Graphs of Sine, Cosine, and Tangent

California Pre-Calculus • Standard F-IF.7e • Trigonometric Functions

Graphs of Sine, Cosine, and Tangent is a topic in Trigonometric Functions in the California Common Core State Standards. It is aligned to Standard F-IF.7e, which requires students to graph trigonometric functions, showing period, midline, and amplitude.

The sine and cosine graphs are smooth waves of period \(2\pi\) and amplitude 1, while the tangent graph has period \(\pi\) with vertical asymptotes.

California Pre-Calculus › Trigonometric Functions › Graphs of Sine, Cosine, and Tangent  —  Standard F-IF.7e

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

The three basic trig graphs:

  • \(y=\sin x\) — a smooth wave through the origin, period \(2\pi\), range \([-1,1]\).
  • \(y=\cos x\) — the same wave shifted a quarter period; it starts at its maximum \((0,1)\).
  • \(y=\tan x\) — period \(\pi\), with vertical asymptotes where \(\cos x=0\); its range is all reals.

Sine and cosine are best drawn with five key points per period (the maxima, minima, and zeros).

Cosine is a shifted sine: \(\cos x=\sin\!\left(x+\dfrac{\pi}{2}\right)\).
Graphs of sine and cosine Sine and cosine over one period from 0 to 2 pi; both oscillate between negative 1 and 1, cosine shifted a quarter period from sine. x y sin x cos x
Sine (solid) and cosine (dashed): amplitude 1, period \(2\pi\), a quarter-period apart.
Graph of tangent Tangent has period pi and vertical asymptotes at odd multiples of pi over 2, rising from negative infinity to positive infinity on each branch. x y x=π/2
Tangent: period \(\pi\), asymptotes at \(x=\dfrac{\pi}{2}+\pi n\).

Basic features:

\[\sin,\cos:\ \text{period }2\pi,\ \text{range }[-1,1];\qquad \tan:\ \text{period }\pi,\ \text{asymptotes } x=\dfrac{\pi}{2}+\pi n\]
sine and cosine have period 2 pi and range negative 1 to 1; tangent has period pi with asymptotes
Zeros: \(\sin x=0\) at \(x=\pi n\); \(\cos x=0\) at \(x=\dfrac{\pi}{2}+\pi n\).

How to sketch a trig graph

  1. Sine/cosine: mark the midline and amplitude, then plot the five key points across one period and repeat.
  2. Tangent: draw the asymptotes at \(\cos x=0\), then a rising branch through the origin between each pair.
  3. Extend periodically in both directions.
Example 1 — Period and range
State the period and range of \(y=\sin x\).
Solution

Sine repeats every full turn and oscillates between \(-1\) and \(1\).

\(\text{period}\)\(=\)\(2\pi\)
\(\text{range}\)\(=\)\([-1,1]\)
period 2 pi, range from negative 1 to 1
Example 2 — Key points of cosine
Give the five key points of \(y=\cos x\) on \([0,2\pi]\).
Solution

Cosine starts at its maximum and steps through zero, min, zero, max.

\((0,1)\)max
\((\dfrac{\pi}{2},0)\)zero
\((\pi,-1)\)min
\((\dfrac{3\pi}{2},0)\)zero
\((2\pi,1)\)max
cosine key points: max, zero, min, zero, max
Example 3 — Where tangent is undefined
Where does \(y=\tan x\) have vertical asymptotes?
Solution

Tangent is \(\dfrac{\sin x}{\cos x}\), undefined where \(\cos x=0\).

\(\cos x=0\)\(\Rightarrow\)\(x=\dfrac{\pi}{2}+\pi n\)

Asymptotes at every odd multiple of \(\dfrac{\pi}{2}\).

tangent asymptotes at pi over 2 plus multiples of pi
Example 4 — Zeros of sine
Find all zeros of \(y=\sin x\).
Solution

Sine is zero at every integer multiple of \(\pi\).

\(\sin x=0\)\(\Rightarrow\)\(x=\pi n,\ n\in\mathbb{Z}\)
sine is zero at integer multiples of pi

Common pitfalls

Cosine starts high. Its graph begins at the maximum \((0,1)\), while sine begins at \((0,0)\).
Tangent's period is \(\pi\), not \(2\pi\). It repeats twice as often as sine and cosine.
Asymptotes, not zeros, at \(\cos x=0\). Tangent blows up there; it doesn't cross.

Frequently asked questions

What are the period and amplitude of sine and cosine?

Both have period \(2\pi\) and amplitude 1, oscillating between \(-1\) and \(1\).

How is the cosine graph related to the sine graph?

Cosine is sine shifted left by \(\dfrac{\pi}{2}\): \(\cos x=\sin(x+\dfrac{\pi}{2})\). It starts at its maximum.

Why does the tangent graph have asymptotes?

Because \(\tan x=\dfrac{\sin x}{\cos x}\) is undefined where \(\cos x=0\), namely at \(x=\dfrac{\pi}{2}+\pi n\).

What is the period of tangent?

\(\pi\). Tangent repeats every \(\pi\), twice as often as sine and cosine.