Trigonometry: compact · 24 min

Sine and cosine are coordinates

Cosine and sine are just the x and y of a point on the unit circle. Inside a right triangle the same two numbers reappear as ratios of sides. It is one definition wearing two outfits, not two topics to memorize.

0 / 0

The definition

Stand on the unit circle from last lesson. Pick an angle θ\theta. Rotate the point (1,0)(1, 0) counterclockwise by θ\theta. It lands somewhere on the circle, at some coordinates (x,y)(x, y).

Those coordinates have names:

cosθ=x,sinθ=y\cos\theta = x, \qquad \sin\theta = y

That is the definition. Cosine is the xx-coordinate of the point. Sine is the yy-coordinate. Nothing is happening here except naming the two numbers that locate a point on a circle.

-1.5-1-0.50.511.5-1.5-1-0.50.511.5
theta 0.000 rad = 0  = 0.0°
(cos, sin) (1.000, 0.000)
arc length 0.000 — arc length equals the radian measure
identity sin²θ + cos²θ = 1.000
showing 0.000 radians

Drag the point. The horizontal segment is cosθ\cos\theta, the vertical drop is sinθ\sin\theta. They are the coordinates, live.

Signs come from the picture

Because cosθ\cos\theta and sinθ\sin\theta are just coordinates, their signs are not a rule to memorize. They are wherever the point is.

In the first quadrant both are positive. In the second quadrant the point is up and to the left, so x<0x < 0 and y>0y > 0: cosine negative, sine positive. Third quadrant, both negative. Fourth, x>0x > 0 and y<0y < 0.

Do not memorize a sign chart. Drag the point into each quadrant and read the signs off the axes. The picture is the chart.

Read a coordinate

Drag the point to θ=3π/4\theta = 3\pi/4 (use the angle input, or snap-to-reference and the degree readout: 3π/43\pi/4 is 135135^\circ).

What is cosθ\cos\theta, as a decimal?

Drop a triangle out of the circle

Most people meet sine and cosine first as triangle ratios, months before they ever see a circle. Those two stories get filed as separate topics. They are not. They are the same picture.

Take the point (cosθ,sinθ)(\cos\theta, \sin\theta) on the unit circle and drop a straight vertical line from it to the xx-axis. You have just drawn a right triangle:

  • the hypotenuse is the radius, running from the origin to the point, length 11,
  • the opposite leg is the vertical drop, length sinθ\sin\theta,
  • the adjacent leg lies along the xx-axis, length cosθ\cos\theta.
Drag the coral point.
-11234-11234
r
2.000
θ
0.644 rad  ·  36.9°
opposite = r·sinθ
1.200
adjacent = r·cosθ
1.600
hypotenuse = r
2.000
opposite / hypotenuse = sin θ
0.600
adjacent / hypotenuse = cos θ
0.800

Stretch the hypotenuse: the leg lengths change, but the ratios don't. That ratio is sine and cosine.

The triangle was inside the circle the whole time. Its legs are literally the coordinates.

Stretch the hypotenuse

Now the part that makes the two stories one story.

In the widget, drag the vertex outward so the hypotenuse grows past length 11. The triangle gets bigger. The leg lengths grow to rsinθr\sin\theta and rcosθr\cos\theta, where rr is the new hypotenuse length.

But watch the two ratios in the readout:

oppositehypotenuse=rsinθr=sinθ,adjacenthypotenuse=rcosθr=cosθ\frac{\text{opposite}}{\text{hypotenuse}} = \frac{r\sin\theta}{r} = \sin\theta, \qquad \frac{\text{adjacent}}{\text{hypotenuse}} = \frac{r\cos\theta}{r} = \cos\theta

The rr cancels. Stretch the triangle as much as you like: the leg lengths change, but those two ratios do not budge. They depend only on the angle.

SOH-CAH-TOA, finally earned

That is the school mnemonic, and now it is a consequence instead of a starting point:

sinθ=oppositehypotenuse,cosθ=adjacenthypotenuse\sin\theta = \frac{\text{opposite}}{\text{hypotenuse}}, \qquad \cos\theta = \frac{\text{adjacent}}{\text{hypotenuse}}

It works for any right triangle, not just ones with hypotenuse 11, precisely because the ratio cancels the scale. The unit circle is just the case where the hypotenuse is 11 and the ratios are the legs themselves.

One definition. The circle is the clean version; the triangle is what you get when the hypotenuse is some other length rr.

Use the ratio

A right triangle has hypotenuse 1010, and the angle at one vertex is 3030^\circ. Recall sin(30)=12\sin(30^\circ) = \tfrac12.

How long is the leg opposite that angle?

Tangent is the third ratio

There is one more combination worth a name. Define

tanθ=sinθcosθ\tan\theta = \frac{\sin\theta}{\cos\theta}

Two ways to see it. As a triangle ratio, dividing opposite/hypotenuse\text{opposite}/\text{hypotenuse} by adjacent/hypotenuse\text{adjacent}/\text{hypotenuse} cancels the hypotenuse and leaves opposite/adjacent\text{opposite}/\text{adjacent}.

As a circle fact, tanθ\tan\theta is the slope of the radius drawn to (cosθ,sinθ)(\cos\theta, \sin\theta): rise over run is sinθ/cosθ\sin\theta / \cos\theta. Tangent is steepness. It blows up toward infinity as θ\theta approaches 9090^\circ, exactly when the radius goes vertical and the run hits zero.

A tangent value

At θ=π/4\theta = \pi/4 the unit-circle point has equal coordinates.

What is tan(π/4)=sinθ/cosθ\tan(\pi/4) = \sin\theta / \cos\theta?

The Pythagorean identity, in one line

Here is the most-quoted identity in trigonometry, and it costs you nothing.

The point (cosθ,sinθ)(\cos\theta, \sin\theta) is on the unit circle. The unit circle is the set where x2+y2=1x^2 + y^2 = 1. Substitute x=cosθx = \cos\theta and y=sinθy = \sin\theta:

sin2θ+cos2θ=1\sin^2\theta + \cos^2\theta = 1

That is it. It is not a trick pulled out of nowhere; it is the Pythagorean theorem with the legs renamed. Watch the sin²θ + cos²θ readout in the circle widget as you drag: it sits at 1.0001.000 forever, because the point never leaves the circle.

The identity is a labor-saver. If you know one of sinθ\sin\theta or cosθ\cos\theta, you know the other up to a sign, and the quadrant fixes the sign.

Trade one coordinate for the other

You are told cosθ=0.6\cos\theta = 0.6 and that θ\theta is in the first quadrant.

Use sin2θ+cos2θ=1\sin^2\theta + \cos^2\theta = 1 to find sinθ\sin\theta. What is it?

Where this goes next

From here on, when this course says sin\sin or cos\cos, it means the unit-circle coordinate. The triangle picture is the special case at hypotenuse 11, and you can always summon it by dropping a vertical line.

So far θ\theta has been an angle. Next lesson we cut that cord. We feed sin\sin and cos\cos any real number at all and watch what their outputs draw. The answer is a wave, and that wave is the shape a transformer will later use to tell positions apart.

Lesson complete

Nice tinkering.