The Six Trigonometric Functions

An interactive chapter: definitions, graphs, and transformations

Transformations

An example angle

Choose one angle \(\theta\) to examine in detail. The dashed line \(x = \theta\) meets each graph at the point \(\bigl(\theta, f(\theta)\bigr)\), and the same angle is drawn on the unit circle in §3. The preset angles are the standard angles, whose exact values are known in closed form.

45°•0.785 rad•π/4

Functions in the overlay

Select which functions are drawn together in the graph below.

The general form, with the current values
y = 1 · f( 1(x − 0) ) + 0

§2  The graphs

\(x \in [-2\pi,\, 2\pi]\)

The graph of a function \(f\) is the set of points \(\bigl(x, f(x)\bigr)\): as \(x\) runs through two full periods, the height of the graph at each \(x\) is the value defined in §1 for that angle. Drawing all six on one set of axes makes their relationships visible. Cosine is sine shifted left by \(\frac{\pi}{2}\). Each reciprocal function mirrors its base function — it is large exactly where the base function is near zero, crosses \(\pm 1\) where the base function crosses \(\pm 1\), and has no value where the base function is zero. Tangent and cotangent increase or decrease through every real value once in each period. The resulting breaks in the four non-waveform graphs are analysed in §5.

Values at \(\theta\)

FunctionValueExact value

The middle column gives the value of the transformed function at the example angle, as a decimal. The last column gives the exact value of the basic function, and is shown only when the transformations are switched off (\(A = 1\), \(B = 1\), \(C = 0\), \(D = 0\)) and \(\theta\) is a standard angle.

A value is undefined exactly when a denominator in its definition is zero: tangent and secant where \(\cos\theta = 0\), cosecant and cotangent where \(\sin\theta = 0\).

The four transformations

Every graph in this chapter is drawn from one general form,

\[ y = A\, f\bigl(B(x - C)\bigr) + D, \]

where \(f\) is any one of the six functions. The four constants each perform one geometric transformation of the basic graph. They are applied to all six functions at once, so their effects can be compared directly.

Amplitude \(A\). A vertical stretch. Every output is multiplied by \(A\), so for sine and cosine the amplitude — half the distance between the maximum and minimum values — becomes \(|A|\) instead of \(1\). Tangent and the reciprocal functions have no maximum or minimum, but \(A\) scales each of their values in the same way.

Frequency \(B\). A horizontal compression. The input reaches each stage of its cycle \(B\) times as fast, so one complete cycle occupies \(\frac{2\pi}{|B|}\) instead of \(2\pi\) for sine, cosine, secant, and cosecant, and \(\frac{\pi}{|B|}\) instead of \(\pi\) for tangent and cotangent. Doubling \(B\) doubles the number of cycles in any fixed interval.

Phase shift \(C\). A horizontal shift. Replacing \(x\) by \(x - C\) moves every point of the graph to the right by \(C\): the value formerly attained at \(x\) is now attained at \(x + C\). Note the sign convention — \(x - C\) shifts right, while \(x + C\) would shift left.

Vertical shift \(D\). A vertical translation. Adding \(D\) moves the whole graph up by \(D\). Sine and cosine then oscillate about the horizontal line \(y = D\), called the midline, instead of about the \(x\)-axis.