Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Why this matters

A Ferris wheel of radius 20 metres turns at a steady speed, once every 10 minutes, and its centre is 22 metres above the ground. You board at the bottom. How high are you after 100 seconds? After 25 minutes?

Your height goes up and down between 2 and 42 metres and repeats every 10 minutes. To describe it we need two functions that say where a point is after it has turned some way round a circle: how far it is across, and how high. They are the cosine and the sine. The same two functions describe everything that turns or swings back and forth: wheels and pendulums, tides, sound waves and alternating current. We answer the question about the wheel in Example 6.

Calculus adds one requirement: an angle is measured by a length, the length of an arc of a circle of radius 1. This unit, the radian, is what makes the formulas of calculus for sine and cosine simple, and this page builds everything on it.

Angles in radians

Everything on this page rests on a few facts of plane geometry that you know from school: they are the starting point, not something this course proves. They are used directly in these places, and through them by every example and exercise:

They use only the facts in the box below.

To measure an angle at the centre of the unit circle, walk along the circle, inside the angle, from one arm to the other and measure how far you went. The larger the angle, the longer the walk.

In words. An angle of θ\theta radians is the angle you turn through while you walk a distance θ\theta along the unit circle. Radians are lengths divided by the radius, so the unit is usually left out: “an angle of 2” means 2 radians.

Example. A full turn is the whole circle, 2π2\pi radians. A straight angle is half of it, π\pi, and a right angle is a quarter, π2\frac{\pi}{2} (property 1 of Remark 2 shows that the quarter circles have equal lengths). A full turn is also 360 degrees, so 1 degree is 2π360=π180\frac{2\pi}{360} = \frac{\pi}{180} radians: 60 degrees is 60π180=π3\frac{60\pi}{180} = \frac{\pi}{3} radians, and an angle of θ\theta radians is 180θπ\frac{180\theta}{\pi} degrees.

Non-example. An angle of 1 radian is not 1 degree. It is the angle whose arc is exactly as long as the radius, 180π≈57.3\frac{180}{\pi} \approx 57.3 degrees.

On a circle of radius rr, an angle of θ\theta radians at the centre, with 0<θ≤2π0 < \theta \le 2\pi, cuts off an arc of length rθr\theta and a sector of area 12r2θ\frac12 r^2 \theta, by the facts on circles of other radii and on areas. For θ=2π\theta = 2\pi these are the circumference 2πr2\pi r and the area πr2\pi r^2 of the whole disc.

Sine and cosine

Now let the angle grow beyond a full turn, and let it turn the other way too. Start at A=(1,0)A = (1, 0) and walk along the unit circle; after a distance tt you are at a point P(t)P(t). Its coordinates are the cosine and the sine of tt.

The unit circle about the origin O, with the x- and y-axes. The x-axis is marked −1 on the left, where the circle crosses it, and A on the right; the y-axis is marked 1 and −1. A thick arc runs anticlockwise along the circle from the point A = (1, 0) to a point P(t) = (cos t, sin t) in the first quadrant and is labelled "arc length t". A radius joins O to P(t). A thick segment on the x-axis from O to the foot of P(t) is labelled cos t, and a dashed vertical segment from there up to P(t) is labelled sin t.

Figure 1:The point P(t)P(t) is reached from A=(1,0)A = (1, 0) by walking a distance tt along the unit circle. Its xx-coordinate is cos⁡t\cos t and its yy-coordinate is sin⁡t\sin t.

In words. cos⁡t\cos t is how far across, and sin⁡t\sin t how high, you are after walking a distance tt round the unit circle from AA. For 0<t<π20 < t < \frac{\pi}{2} they are the two legs of the right-angled triangle with hypotenuse OP(t)OP(t) in Figure 1, which is the definition from school (“adjacent over hypotenuse” and “opposite over hypotenuse”, with hypotenuse 1). The unit circle extends it to every real number tt, and tt is always in radians.

Example. P(0)=A=(1,0)P(0) = A = (1, 0), so cos⁡0=1\cos 0 = 1 and sin⁡0=0\sin 0 = 0. After a quarter of the circle, P(π2)=(0,1)P\bigl(\frac{\pi}{2}\bigr) = (0, 1), so cos⁡π2=0\cos\frac{\pi}{2} = 0 and sin⁡π2=1\sin\frac{\pi}{2} = 1 (property 1 below).

Non-example. sin⁡30\sin 30 is not 12\frac12. The number 30 is a distance along the unit circle, almost five full turns, and sin⁡30≈−0.988\sin 30 \approx -0.988. The angle of 30 degrees is π6\frac{\pi}{6} radians, and sin⁡π6=12\sin\frac{\pi}{6} = \frac12 (Example 2).

Reflecting and rotating the circle moves P(t)P(t) to other points P(…)P(\ldots) in a predictable way. These properties do most of the work on this page.

Property 4 says that cos⁡\cos is even and sin⁡\sin is odd: their common domain R\R is symmetric about 0. Properties 5–7 move any tt into the first quadrant, so the values there decide all the others.

Two more pairs of functions are built from sin⁡\sin and cos⁡\cos.

In words. tan⁡t\tan t is the slope of the line through OO and P(t)P(t): the rise sin⁡t\sin t divided by the run cos⁡t\cos t. When cos⁡t≠0\cos t \ne 0, that line meets the vertical line x=1x = 1 at the point (1,tan⁡t)(1, \tan t), which is P(t)P(t) with both coordinates multiplied by 1cos⁡t\frac{1}{\cos t}. The other three are reciprocals: sec⁡t=1cos⁡t\sec t = \frac{1}{\cos t}, csc⁡t=1sin⁡t\csc t = \frac{1}{\sin t}, and cot⁡t=1tan⁡t\cot t = \frac{1}{\tan t} wherever both are defined. Remark 3 finds the tt where cos⁡t\cos t or sin⁡t\sin t is 0.

Example. P(0)=(1,0)P(0) = (1, 0) gives tan⁡0=01=0\tan 0 = \frac{0}{1} = 0 and sec⁡0=1\sec 0 = 1.

Non-example. tan⁡π2\tan\frac{\pi}{2} is not a number, and not “infinity” either: by property 1, cos⁡π2=0\cos\frac{\pi}{2} = 0, so π2\frac{\pi}{2} is not in the domain of tan⁡\tan. Likewise cot⁡0\cot 0 and csc⁡0\csc 0 are undefined, because sin⁡0=0\sin 0 = 0.

Main results

Identities and values

Since P(t)P(t) lies on the unit circle, its coordinates satisfy the equation of the circle. This is the most used identity of trigonometry.

Where cos⁡t≠0\cos t \ne 0, the number cos⁡2t\cos^2 t is positive, and dividing the identity by it gives 1+tan⁡2t=sec⁡2t1 + \tan^2 t = \sec^2 t.

The next three facts are the ones that the page The Limit of a Function uses about sin⁡\sin, with tt in radians.

By Proposition 1, 1 is the largest value of sin⁡\sin, so these are maxima of sin⁡\sin. The converse of Proposition 2 holds too: sin⁡\sin is zero only at the multiples of π\pi.

The addition formulas

How do sin⁡\sin and cos⁡\cos of a sum depend on the summands? Not by adding: sin⁡(s+t)\sin(s + t) is not sin⁡s+sin⁡t\sin s + \sin t (for s=t=π2s = t = \frac{\pi}{2} the left side is sin⁡π=0\sin\pi = 0 and the right side is 2). The answer mixes sines and cosines.

Proof (Rigorous track)

We compute the distance between P(s)P(s) and P(t)P(t) in two ways: directly, and after a rotation that moves P(t)P(t) to AA. This gives (a), and the others follow from (a) and the properties of P(t)P(t).

(a) By property 2 of Remark 2 with α=−t\alpha = -t, a rotation about OO that maps AA to P(−t)P(-t) maps P(t)P(t) to P(0)=AP(0) = A and P(s)P(s) to P(s−t)P(s - t). A rotation keeps distances (the facts from school), so the distance from P(s)P(s) to P(t)P(t) equals the distance from P(s−t)P(s - t) to AA, and so do their squares. By the distance formula and Theorem 1, the first squared distance is

(cos⁡s−cos⁡t)2+(sin⁡s−sin⁡t)2=cos⁡2s+sin⁡2s+cos⁡2t+sin⁡2t−2cos⁡scos⁡t−2sin⁡ssin⁡t=2−2(cos⁡scos⁡t+sin⁡ssin⁡t),\begin{aligned} &(\cos s - \cos t)^2 + (\sin s - \sin t)^2 \\ &= \cos^2 s + \sin^2 s + \cos^2 t + \sin^2 t \\ &\quad - 2\cos s \cos t - 2\sin s \sin t \\ &= 2 - 2(\cos s \cos t + \sin s \sin t), \end{aligned}

and the second is

(cos⁡(s−t)−1)2+sin⁡2(s−t)=cos⁡2(s−t)+sin⁡2(s−t)−2cos⁡(s−t)+1=2−2cos⁡(s−t).\begin{aligned} &\bigl(\cos(s - t) - 1\bigr)^2 + \sin^2(s - t) \\ &= \cos^2(s - t) + \sin^2(s - t) \\ &\quad - 2\cos(s - t) + 1 \\ &= 2 - 2\cos(s - t). \end{aligned}

Setting them equal and solving for cos⁡(s−t)\cos(s - t) gives (a).

(b) Apply (a) to ss and −t-t; by property 4, cos⁡(−t)=cos⁡t\cos(-t) = \cos t and sin⁡(−t)=−sin⁡t\sin(-t) = -\sin t, so cos⁡(s+t)=cos⁡scos⁡(−t)+sin⁡ssin⁡(−t)=cos⁡scos⁡t−sin⁡ssin⁡t\cos(s + t) = \cos s \cos(-t) + \sin s \sin(-t) = \cos s \cos t - \sin s \sin t.

(c) By property 6, sin⁡(s+t)=cos⁡(π2−(s+t))=cos⁡((π2−s)−t)\sin(s + t) = \cos\bigl(\frac{\pi}{2} - (s + t)\bigr) = \cos\bigl(\bigl(\frac{\pi}{2} - s\bigr) - t\bigr). By (a), and property 6 again (cos⁡(π2−s)=sin⁡s\cos\bigl(\frac{\pi}{2} - s\bigr) = \sin s and sin⁡(π2−s)=cos⁡s\sin\bigl(\frac{\pi}{2} - s\bigr) = \cos s),

sin⁡(s+t)=cos⁡(π2−s)cos⁡t+sin⁡(π2−s)sin⁡t=sin⁡scos⁡t+cos⁡ssin⁡t.\begin{aligned} \sin(s + t) &= \cos\Bigl(\frac{\pi}{2} - s\Bigr)\cos t \\ &\quad + \sin\Bigl(\frac{\pi}{2} - s\Bigr)\sin t \\ &= \sin s \cos t + \cos s \sin t . \end{aligned}

(d) Apply (c) to ss and −t-t, and use property 4 as in (b).

(e) and (f): put s=ts = t in (c) and (b). The other two forms of (f) follow from Theorem 1: cos⁡2t−sin⁡2t=cos⁡2t−(1−cos⁡2t)=2cos⁡2t−1\cos^2 t - \sin^2 t = \cos^2 t - (1 - \cos^2 t) = 2\cos^2 t - 1, and in the same way =1−2sin⁡2t= 1 - 2\sin^2 t.

Parts (e) and (f) are the double-angle formulas. With the values of the next section they give exact values such as cos⁡π12\cos\frac{\pi}{12} (Example 5).

Sine, angle and tangent

For a small positive angle θ\theta, the height sin⁡θ\sin\theta of P(θ)P(\theta), the arc θ\theta and the height tan⁡θ\tan\theta of the point where the line OP(θ)OP(\theta) meets the line x=1x = 1 are three lengths that are almost equal. The next lemma puts them in order. It is the one fact about sine on which the limit of sin⁡xx\frac{\sin x}{x}, and so all of the calculus of sine and cosine, will rest, so its proof uses no derivatives and no limits: only areas.

A quarter of the unit circle about the origin O, with A = (1, 0) on the x-axis, the point P = (cos θ, sin θ) on the circle at angle θ, and T = (1, tan θ) directly above A on the line through O and P. Three nested regions are shaded: the triangle OAP with a dashed side AP, inside it the height sin θ of P drawn dotted; the sector OAP bounded by the arc from A to P; and the large triangle OAT, whose vertical side AT has length tan θ.

Figure 2:For 0<θ<π20 < \theta < \frac{\pi}{2}: the triangle OAPOAP (area 12sin⁡θ\frac12\sin\theta) lies inside the sector OAPOAP (area θ2\frac{\theta}{2}), which lies inside the triangle OATOAT (area 12tan⁡θ\frac12\tan\theta).

The proof used no derivatives and no limits. It rests directly on these facts from school:

Through property 8, the Pythagorean identity and parts (e) and (f), it also rests on the rest of the box: the lengths of arcs, journeys along the circle, reflections and rotations. This course proves none of these facts (Real Analysis does). Two of them hide a limit: the length of an arc and the area of a sector.

At θ=π4\theta = \frac{\pi}{4} the lemma gives a first bound on the number π\pi itself, with no decimals.

In words. Doubling gives 42<2π<84\sqrt{2} < 2\pi < 8: the circle, of length 2π2\pi, is longer than the square inscribed in it, whose perimeter is 424\sqrt{2}, and shorter than the square drawn around it, whose perimeter is 8; so π\pi lies between 22≈2.832\sqrt{2} \approx 2.83 and 4.

Graphs: period, amplitude and phase

As tt grows, P(t)P(t) goes round and round the circle, and sin⁡t\sin t and cos⁡t\cos t repeat.

Stretching and shifting the graph of sin⁡\sin gives every wave of the same shape. For numbers a>0a > 0, b>0b > 0, cc and dd, the function

f(x)=asin⁡(b(x−c))+df(x) = a \sin\bigl(b(x - c)\bigr) + d

has

Figure 3:Graph of y=asin⁡(b(x−c))+dy = a\sin\bigl(b(x - c)\bigr) + d for −7≤x≤7-7 \le x \le 7, with four sliders: aa from 0.5 to 3 in steps of 0.5, bb from 0.5 to 4 in steps of 0.5, cc from −3{-3} to 3 in steps of 0.25, and dd from −2{-2} to 2 in steps of 0.5. It starts at a=1a = 1, b=1b = 1, c=0c = 0 and d=0d = 0, with the graph of y=sin⁡xy = \sin x: a wave between −1{-1} and 1 that crosses the xx-axis at the multiples of π≈3.14\pi \approx 3.14 and repeats every 2π≈6.282\pi \approx 6.28. Increasing aa stretches the wave vertically, increasing bb squeezes it horizontally, increasing cc shifts it to the right, and increasing dd shifts it up.

Try this:

  1. Set b=2b = 2. How many complete waves fit between 0 and 2π≈6.282\pi \approx 6.28 now? What is the period?

  2. Set b=1b = 1 again and move cc to −1.5{-1.5}, the slider’s closest value to −π2≈−1.571-\frac{\pi}{2} \approx -1.571. The graph is now y=sin⁡(x+1.5)y = \sin(x + 1.5). Which function from this page does it almost match, and which value of cc, not on the slider, would match it exactly? (Look at the shape bullet above.)

  3. Set c=0c = 0, a=3a = 3 and d=2d = 2. Between which heights does the wave swing, and where is its midline?

Worked examples

Common mistakes

Rigorous track

Summary

Exercises

Where this leads

These topics build on this one:

Found an error on this page? Report it (the form opens with this page filled in).

The page The Squeeze Theorem traps sin⁡xx\frac{\sin x}{x} between cos⁡x\cos x and 1, as in Exercise 12, and finds its limit at 0; from it come the derivatives of all six trigonometric functions.