Skip to content

Chapter 5 — Trigonometric Functions of Real Numbers

5.4 - Trigonometric Graphs

Every property visible in the graph of a trigonometric function —where it rises, where it falls, where it shoots off to infinity— is already proved in §5.3, or is proved in two more steps from there. This section adds no new behavior: it translates it into an image.


Before being able to prove that tan⁡t\tan t shoots off without bound near π/2\pi/2, a tool is needed that §5.3 did not need: a quantitative bound on how much sin⁡t\sin t and cos⁡t\cos t can change when tt changes little. The construction of §5.2 provides it directly.

Lemma. For s,t∈[0,2π)s,t\in[0,2\pi) with s≤ts\le t, ∣cos⁡t−cos⁡s∣≤t−s|\cos t-\cos s|\le t-s and ∣sin⁡t−sin⁡s∣≤t−s|\sin t-\sin s|\le t-s.

Proof. The difference between two coordinates of two points of the plane never exceeds the Euclidean distance between those points: ∣cos⁡t−cos⁡s∣≤(cos⁡t−cos⁡s)2+(sin⁡t−sin⁡s)2=∣W(t)−W(s)∣|\cos t-\cos s|\le\sqrt{(\cos t-\cos s)^2+(\sin t-\sin s)^2}=|W(t)-W(s)| —distance between W(t)W(t) and W(s)W(s)—. That distance, in turn, is the length of the chord joining W(s)W(s) with W(t)W(t), and a chord never exceeds the arc it subtends —§5.1 §2, the chord is, itself, an inscribed approximation of a single segment—. That arc, by the additivity of arc length throughout the construction of §5.2 §1–§3, measures exactly t−st-s. Chaining the three inequalities, ∣cos⁡t−cos⁡s∣≤t−s|\cos t-\cos s|\le t-s. The same argument, exchanging which coordinate is isolated, gives ∣sin⁡t−sin⁡s∣≤t−s|\sin t-\sin s|\le t-s. ■\blacksquare


One more symmetry is missing: what relation W(t+π)W(t+\pi) bears to W(t)W(t). From it follows, among other things, that tangent and cotangent have period π\pi, half that of sine and cosine. It is the content of §2.

§2. Central symmetry and the period of the tangent

Section titled “§2. Central symmetry and the period of the tangent”

Proposition. W(t+π)=−W(t)W(t+\pi)=-W(t) for all t∈Rt\in\mathbb{R}; equivalently, cos⁡(t+π)=−cos⁡t\cos(t+\pi)=-\cos t and sin⁡(t+π)=−sin⁡t\sin(t+\pi)=-\sin t.

Proof. The rotation by 180°180° about the origin —(x,y)↦(−x,−y)(x,y)\mapsto(-x,-y)— is an isometry that fixes the center of the circle, sends (1,0)(1,0) to (−1,0)(-1,0), and preserves the length of any arc —being an isometry, it preserves all distances, hence it preserves the perimeters of the inscribed and circumscribed polygons that approximate any arc—. The initial square of §5.1 is symmetric with respect to that rotation —(1,0)↔(−1,0)(1,0)\leftrightarrow(-1,0), (0,1)↔(0,−1)(0,1)\leftrightarrow(0,-1)—, and consequently so is the whole construction by bisection of §5.1 and of §5.2, level by level. Traveling an arc of length tt from (−1,0)(-1,0) —the rotated point— is, then, the rotated image of traveling an arc of length tt from (1,0)(1,0); and since (−1,0)=W(π)(-1,0)=W(\pi), traveling tt additional from there reaches W(π+t)W(\pi+t). Hence W(π+t)W(\pi+t) is the 180°180° rotation of W(t)W(t), that is, −W(t)-W(t). ■\blacksquare

Corollary (period of tangent and cotangent). tan⁡(t+π)=tan⁡t\tan(t+\pi)=\tan t and cot⁡(t+π)=cot⁡t\cot(t+\pi)=\cot t, wherever both are defined.

Proof. tan⁡(t+π)=sin⁡(t+π)cos⁡(t+π)=−sin⁡t−cos⁡t=tan⁡t\tan(t+\pi)=\dfrac{\sin(t+\pi)}{\cos(t+\pi)}=\dfrac{-\sin t}{-\cos t}=\tan t. Analogous for cot⁡\cot. ■\blacksquare


With the tools already gathered, it remains to describe how to read the circular motion of WW as an ordinary Cartesian graph. It is the content of §3.

W(t)W(t) describes a point that moves on the unit circle as tt travels through R\mathbb{R}. Graphing y=sin⁡ty=\sin t or y=cos⁡ty=\cos t in the tt-yy plane is “unrolling” that motion: instead of following the point on the circle, one follows only its height —or its abscissa— as tt advances along a horizontal line. Each complete turn of WW —each increment of tt by 2π2\pi— corresponds, in the unrolled graph, to a stretch identical to the previous one, shifted horizontally by 2π2\pi: it is the periodicity of §5.3 §4, seen as visual repetition instead of as algebraic equality.


The features of the graph of sin⁡t\sin t —and, by the same argument, that of cos⁡t\cos t— are already, all of them, proved in §5.3: period 2π2\pi (§5.3 §4), range [−1,1][-1,1] attained without exception (§5.3 §3), parity —sin⁡\sin odd, cos⁡\cos even— (§5.3 §5), and the exact values at 0,π/4,π/2,π,3π/20,\pi/4,\pi/2,\pi,3\pi/2 (§5.3 §9). The graph of cos⁡t\cos t is, moreover, that of sin⁡t\sin t shifted —a consequence that is proved in §5.5, not in this section—.

Graphs of sine and cosine on the interval [-2π, 2π], showing periodicity, range [-1,1], and that cosine is the same curve as sine shifted Figure 5.1 — sin⁡t\sin t and cos⁡t\cos t on [−2π,2π][-2\pi,2\pi]. The dotted lines at y=±1y=\pm1 mark the range; the zero crossings of one coincide with the extrema of the other —a consequence of the Pythagorean identity of §5.3 §2: if sin⁡t=±1\sin t=\pm1, then cos⁡2t=1−1=0\cos^2t=1-1=0—.


Tangent and cotangent require a piece that sine and cosine did not need: a proof that, near the points excluded from their domain, the function shoots off without bound. That is where the Lemma of §1 does its work. It is the content of §5.

Proposition (vertical asymptote of tan⁡\tan at π/2\pi/2). For every M>0M>0 there exists δ>0\delta>0 such that 0<π/2−t<δ  ⟹  tan⁡t>M0<\pi/2-t<\delta \implies \tan t>M.

Proof. By the Lemma of §1 with s=ts=t, t′=π/2t'=\pi/2: cos⁡t=∣cos⁡t−cos⁡(π/2)∣≤π/2−t\cos t=|\cos t-\cos(\pi/2)|\le\pi/2-t —using cos⁡(π/2)=0\cos(\pi/2)=0—, and sin⁡t≥sin⁡(π/2)−∣sin⁡t−sin⁡(π/2)∣≥1−(π/2−t)\sin t\ge\sin(\pi/2)-|\sin t-\sin(\pi/2)|\ge1-(\pi/2-t). For π/2−t<1/2\pi/2-t<1/2, we have sin⁡t>1/2\sin t>1/2. Given M>0M>0, let δ:=min⁡(12M,12)\delta:=\min\left(\dfrac1{2M},\dfrac12\right). If 0<π/2−t<δ0<\pi/2-t<\delta, then 0<cos⁡t≤π/2−t<δ≤12M0<\cos t\le\pi/2-t<\delta\le\dfrac1{2M}, and sin⁡t>1/2\sin t>1/2, so that

tan⁡t=sin⁡tcos⁡t>1/21/(2M)=M\tan t=\frac{\sin t}{\cos t}>\frac{1/2}{1/(2M)}=M

■\blacksquare

The same Lemma, applied from the other side and at each of the points π/2+nπ\pi/2+n\pi, gives the symmetric behavior —tan⁡t→−∞\tan t\to-\infty when approaching from the right—, and an identical argument for cot⁡t=cos⁡t/sin⁡t\cot t=\cos t/\sin t gives its asymptotes at t=nπt=n\pi, where sin⁡t=0\sin t=0.

Graphs of tangent and cotangent, with vertical asymptotes at multiples of π/2 and of π respectively Figure 5.2 — tan⁡t\tan t and cot⁡t\cot t. The period of both is π\pi —Corollary of §2—, half that of sine and cosine; the asymptotes of tan⁡\tan (longer dashed lines) are where cos⁡t=0\cos t=0, and those of cot⁡\cot (dotted lines) where sin⁡t=0\sin t=0.


Secant and cosecant, being reciprocals of cosine and of sine, inherit their asymptotes exactly where the denominator vanishes —without the need for an additional proof—. It is the content of §6.

Since sec⁡t=1/cos⁡t\sec t=1/\cos t, the Proposition of §5 —with the roles of numerator and denominator now inverted, 1/cos⁡t→+∞1/\cos t\to+\infty exactly when cos⁡t→0+\cos t\to0^+, which was already proved within that same proof— gives the same vertical asymptotes as tan⁡t\tan t, at the same points π/2+nπ\pi/2+n\pi. Similarly, csc⁡t\csc t shares the asymptotes of cot⁡t\cot t, at nπn\pi. Unlike tangent and cotangent, however, the period of sec⁡\sec and of csc⁡\csc is 2π2\pi —that of cos⁡\cos and sin⁡\sin, respectively—, not π\pi: the Proposition of §2 gave cos⁡(t+π)=−cos⁡t\cos(t+\pi)=-\cos t, which changes sign, so that sec⁡(t+π)=−sec⁡t≠sec⁡t\sec(t+\pi)=-\sec t\neq\sec t in general.

Graphs of secant and cosecant, with the sine and cosine curves as a faint-stroke reference Figure 5.3 — sec⁡t\sec t and csc⁡t\csc t, with cos⁡t\cos t and sin⁡t\sin t superimposed in faint stroke as a reference. Where the reference curve approaches 00, the reciprocal shoots off; where the reference one equals ±1\pm1, the reciprocal does too, since 1/(±1)=±11/(\pm1)=\pm1.


Exercise 1. At which points of the interval [0,2π)[0,2\pi) does tan⁡t\tan t have a vertical asymptote?

Solution. By §5.3 §7, Dom⁡(tan⁡)\operatorname{Dom}(\tan) excludes the points where cos⁡t=0\cos t=0; by §5.3 §9 and the sign table of §5.3 §6, those points are t=π/2t=\pi/2 and t=3π/2t=3\pi/2.

Exercise 2. Using the period proved in §2, compute tan⁡(5π/4)\tan(5\pi/4) from tan⁡(π/4)\tan(\pi/4).

Solution. Since 5π/4=π/4+π5\pi/4=\pi/4+\pi, the Corollary of §2 gives tan⁡(5π/4)=tan⁡(π/4)\tan(5\pi/4)=\tan(\pi/4), and by Exercise 1 of §5.3 §10, tan⁡(π/4)=1\tan(\pi/4)=1. Hence tan⁡(5π/4)=1\tan(5\pi/4)=1.

Exercise 3. Why does the graph of sec⁡t\sec t never take values in (−1,1)(-1,1)?

Solution. Since ∣cos⁡t∣≤1|\cos t|\le1 for all tt —§5.3 §3—, and cos⁡t≠0\cos t\neq0 in Dom⁡(sec⁡)\operatorname{Dom}(\sec), we have 0<∣cos⁡t∣≤10<|\cos t|\le1, whence ∣sec⁡t∣=1/∣cos⁡t∣≥1|\sec t|=1/|\cos t|\ge1. Hence sec⁡t∈(−∞,−1]∪[1,∞)\sec t\in(-\infty,-1]\cup[1,\infty), never in the open interval (−1,1)(-1,1) — visible in Figure 5.3, where both branches of sec⁡\sec always stay at a distance of at least 11 from the horizontal axis.


The three graphs of this section —sine with cosine, tangent with cotangent, secant with cosecant— introduced no behavior that §5.3 had not already proved, except for the vertical asymptote of the four unbounded functions, and even that asymptote was proved with a single new tool —the bounding Lemma of §1— applied four times. It is, once again, the pattern that this book pursues from the first chapter: to construct a single piece of machinery with care, and let it reappear as many times as necessary, instead of fabricating a different tool for each occasion.

What remains, to close the chapter, is to see what happens when these six graphs are transformed —shifted, stretched, changing period or amplitude—, exactly as §2.5 did with the catalog of prototype functions of §2.4.


§5.5 applies to the trigonometric functions the same transformations —shift, reflection, change of scale— already studied in §2.5, with a novelty proper to this family: the change of period.