Common mistake
The range of tan x is all real numbers except zero.
Correct understanding
Tangent takes the value zero at x = nπ. Its range is all of R; only its domain has exclusions.
Maths · Lesson 11.1
Domain, range, period and parity of trigonometric functions.
By the end of this lesson, you should be able to:
Before drawing a trigonometric graph it helps to know the boundaries of the function: which inputs are allowed, which outputs can occur, and how often the pattern repeats. These three ideas are the domain, the range and the period. They explain why sine and cosine oscillate forever between two fixed values while tangent escapes to infinity.
In this lesson you will read these properties directly from the definitions on the unit circle, then use them to decide where a function is undefined and whether it is even or odd.
For every real angle x, the point (cos x, sin x) lies on the unit circle. Since the coordinates of that point never leave the interval [−1, 1], both sine and cosine are defined for all real numbers and take every value in [−1, 1]. We write domain = R and range = [−1, 1] for each.
Tangent is different because tan x = sin x / cos x. It is undefined wherever cos x = 0, that is at x = π/2 + nπ for every integer n. Between two consecutive asymptotes the tangent takes every real value, so its range is R. Cotangent, secant and cosecant have similar exclusions that come from a zero denominator.
A function is periodic with period p if f(x + p) = f(x) for every x in its domain, and p is the smallest positive such number. Sine and cosine return to the same point after a full turn, so their period is 2π. Tangent repeats after half a turn because both sine and cosine change sign together, so its period is π.
Parity describes reflection in the y-axis. Replacing x by −x reflects the unit-circle point across the horizontal axis, so sin(−x) = −sin x and tan(−x) = −tan x. These functions are odd. Cosine is unchanged, cos(−x) = cos x, so cosine is even. Recognising parity halves the work when sketching a graph.
The argument 2x is defined for every real x, and sine accepts every real argument, so the domain is R.
The sine factor ranges from −1 to 1. Multiplying by 3 gives values from −3 to 3, and subtracting 1 shifts this to [−4, 2]. Hence the range is [−4, 2].
The factor 2 compresses the usual period: the function completes one cycle when 2x increases by 2π, that is when x increases by π. The period is π.
Because sin(2(−x)) = −sin(2x), the function is neither even nor odd after the vertical shift; the shift breaks the symmetry about the origin.
Common mistake
The range of tan x is all real numbers except zero.
Correct understanding
Tangent takes the value zero at x = nπ. Its range is all of R; only its domain has exclusions.
Common mistake
Adding a constant to a function changes its period.
Correct understanding
A vertical shift moves the graph up or down but leaves the period unchanged.
Yes. The period is defined as the smallest positive number p for which the pattern repeats.
After a half turn both sin x and cos x change sign, so their ratio returns to the same value.