mathematics / trigonometry / unit circle
The Unit Circle
The triangle definitions stop working past 90 degrees. Putting the triangle inside a circle of radius 1 fixes that, and turns sine and cosine into the coordinates of a point.
step 1 of 6
Where the triangle definition stops
State the limit of the triangle definition and why it needs replacing.
A right triangle has one right angle, so its other two angles are both smaller than 90 degrees. There is no right triangle with a 120 degree angle in it. There is no right triangle with a negative angle in it either.
So the definitions from page 1 cover angles from 0 to 90 degrees and nothing else. That is a real problem, because the things trigonometry is used for do not stop at 90 degrees. A wheel turns through 360 degrees and keeps going. A pendulum swings to both sides of vertical. An alternating current is negative for half of every cycle.
There are two ways out. Declare that sin(120 degrees) has no meaning, or find a definition that agrees with the triangle for acute angles and keeps working outside that range. The second is what mathematics did, and the tool is a circle.
The extension is not arbitrary. There are many ways to extend a function beyond where it was defined, and most of them are useless. The circle definition is chosen because it agrees exactly with the old one on the old range, and because the resulting functions repeat, which is the behaviour that turning and oscillating things actually have.
How to read this
The same picture twice, both drawn at 120 degrees. On the left it is read the way page 1 read it, as three lengths, and the horizontal side comes out at minus 0.500. That reading is hatched over, because no side of a triangle has a negative length. On the right nothing about the drawing has changed: the same side is now read as an x coordinate, and a coordinate is allowed to be negative. Press the button and watch that only the labels change; nothing in the drawing moves. The picture was never the problem.
as lengths
A side of a triangle cannot be −0.500 long. Read this way, the picture is nonsense at 120 degrees.
as lengths
as a coordinate
A side of a triangle cannot be −0.500 long. Read this way, the picture is nonsense at 120 degrees.
x is allowed to be −0.500. It says the point sits 0.500 to the left of the origin, and the point is at (−0.500, 0.866).
Both panels are the same drawing at 120 degrees, and neither line moves when the reading changes. Amber: the horizontal run, the side page 1 called adjacent, −0.500 as a coordinate. Teal: the vertical drop, 0.866. Black: the radius, exactly 1. The diagonal hatch is a pattern rather than a colour, and it marks the reading that cannot be true.
step 2 of 6
Putting the triangle inside a circle
Put the triangle inside a circle of radius 1 centred at the origin, with the hypotenuse as a rotating radius.
Draw a circle centred at the , the point (0, 0) where the two axes cross. Give it a of exactly 1. The word means one, and that is the whole meaning of the name: the is the circle of radius 1 centred at the origin. There are no units attached, no centimetres or inches. It is 1.
Now put a line from the centre out to the rim, and let it rotate. Angles are measured from the positive x axis, the horizontal line pointing right, and turning anticlockwise counts as positive. That convention is a choice, and it is the one everyone uses.
The triangle is what sits underneath that rotating radius. Drop a vertical line from the point where the radius meets the circle, straight down to the x axis. You now have a right triangle: the radius is the hypotenuse, the vertical drop is the opposite side, and the run along the x axis is the adjacent side.
The radius does not change length as it turns. That is what a circle is. So this triangle always has a hypotenuse of exactly 1, whatever the angle, and that constant is what the next step exploits.
How to read this
A circle of radius 1 on a pair of axes, with a radius line drawn from the centre to a point on the rim. The angle is measured as an arc from the positive x axis, anticlockwise for a positive angle and clockwise for a negative one. The triangle underneath the radius can be shaded with the toggle, which is offered only while the angle is acute, because that is the only place a triangle exists. Watch the hypotenuse row in the table as you rotate: the two shorter sides change length constantly, and the hypotenuse reads 1.000 at every angle.
- sin 0.500 1/2
- cos 0.866 √3/2
A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.
Black: the radius, always exactly 1. Amber solid: cos = 0.866. Teal solid: sin = 0.500.
1 unit = 150 px.
The shaded triangle is the one from page 1, with its hypotenuse fixed at 1.
| as a coordinate | matches | as a triangle side |
|---|---|---|
| x = 0.866 | adjacent = 0.866 | |
| y = 0.500 | opposite = 0.500 | |
| radius = 1.000 | hypotenuse = 1.000 |
Lengths on screen are never negative. The sign lives in the coordinate, which is why the right hand column drops it.
step 3 of 6
The point is (cos, sin)
Because the hypotenuse is 1, the point on the circle is exactly (cos θ, sin θ).
Apply the triangle definitions to this triangle. Sine is opposite over hypotenuse, and the hypotenuse is 1, so sin θ is the opposite side divided by 1, which is the opposite side. Cosine is adjacent over hypotenuse, so cos θ is the adjacent side.
The opposite side is the height of the point above the x axis, which is its y coordinate. The adjacent side is the distance along the x axis, which is its x coordinate. So the point where the rotating radius meets the circle has coordinates (cos θ, sin θ). Not proportional to them. Equal to them.
That is the new definition. Cosine of an angle is the x coordinate of the corresponding point on the unit circle. Sine is the y coordinate. No triangle required.
Because no triangle is required, the definition keeps working when a triangle would be impossible. Rotate to 120 degrees and the point sits up and to the left, with a negative x coordinate, so cos(120 degrees) is negative. Rotate to 200 degrees and both coordinates are negative. Rotate backwards, to a negative angle, and the point drops below the axis. Every one of these is a legitimate point on a circle, so every one has coordinates, so every one has a sine and a cosine.
This is a redefinition, and it is worth being clear about what a redefinition has to prove. It has to agree with the old definition everywhere the old one applied. It does: for any angle between 0 and 90 degrees the point is in the upper right, the triangle underneath it is a genuine right triangle, and the two definitions give the same number. Outside that range the old definition said nothing, so there is nothing to contradict.
How to read this
The same circle, with the point where the radius meets the rim labelled with its coordinates. The horizontal run from the origin is drawn in the cosine colour and the vertical drop in the sine colour, and both are labelled with their signed values. Take the radius past 90 degrees and watch the horizontal run flip to the left of the origin while its printed value goes negative. The lengths on screen are always positive; it is the coordinates that carry the sign.
- sin 0.500 1/2
- cos 0.866 √3/2
A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.
Black: the radius, always exactly 1. Amber solid: cos = 0.866. Teal solid: sin = 0.500.
1 unit = 150 px.
The shaded triangle is the one from page 1, with its hypotenuse fixed at 1.
| as a coordinate | matches | as a triangle side |
|---|---|---|
| x = 0.866 | adjacent = 0.866 | |
| y = 0.500 | opposite = 0.500 | |
| radius = 1.000 | hypotenuse = 1.000 |
Lengths on screen are never negative. The sign lives in the coordinate, which is why the right hand column drops it.
step 4 of 6
Measuring an angle by the arc it cuts
Measure angles by the length of arc they cut, which is what a radian is.
Degrees are arbitrary. A full turn is 360 degrees because 360 divides neatly by a lot of numbers and because Babylonian arithmetic ran in base 60. Nothing about a circle produces the number 360.
A is defined from the circle itself. Take the radius, bend it round the rim, and mark where the end lands. The angle at the centre between the start and that mark is one radian. So one radian is the angle that cuts an arc equal in length to the radius.
The circumference of a circle of radius r is 2πr, which is 2π radius lengths laid end to end. So a full turn is exactly 2π radians, which to three decimal places is 6.283 radians. Half a turn is π radians, and half a turn is 180 degrees, so π radians equals 180 degrees. Dividing gives one radian equal to 180 divided by π degrees, which is 57.296 degrees to three decimal places.
The reason to bother is that radians make the arc length equal to the angle. On the unit circle, an angle of θ radians cuts an arc of exactly θ units. In degrees the same statement needs a conversion factor of π over 180 stuck in front of it. That factor then propagates into every formula built on top, including the derivatives of sine and cosine, which come out clean in radians and cluttered in degrees.
Both scales describe the same angles. Degrees are convenient for talking; radians are what the mathematics is written in. The word radian is recent: James Thomson used it in an examination paper in 1873.
How to read this
The circle with the arc from the positive x axis to the current point drawn as a thick dark band on the rim, cut into equal tiles. The arc length is printed next to it, and so is the angle in both degrees and radians. On this circle the arc length and the radian value are always the same number, which is the definition. Unroll the arc and the tiles lay themselves out along a ruler whose tick spacing is exactly the radius, so you can count the same tiles in both places. At a full turn the count reaches 2π, or about 6.283.
- sin 0.500 1/2
- cos 0.866 √3/2
A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.
θ = 30° = 0.5236 rad = π/6. The arc is 0.5236 radius-lengths long.
The dark band on the rim is the arc swept so far, cut into 12 equal tiles. The same 12 tiles laid along the ruler cover the same distance, and the ruler is ticked every one radius. No family colour appears in this figure, because nothing drawn here is a sine or a cosine: the arc and the ruler are both plain ink.
One full turn is 2π = 6.283 radius lengths. One radian = 57.296 degrees. 1 radius = 81 px here.
step 5 of 6
Pythagoras becomes the first identity
Pythagoras on this triangle gives the equation of the circle, and that equation is the first identity.
The triangle under the radius has legs of length equal to the x and y coordinates of the point, and a hypotenuse of 1. Apply Pythagoras: x² + y² = 1².
That is the equation of the unit circle. Every point on the circle satisfies it, and every point that satisfies it lies on the circle. The equation of a circle is not a separate fact from Pythagoras’ theorem. It is Pythagoras’ theorem with the hypotenuse named as a radius.
Now substitute what the coordinates are. x is cos θ and y is sin θ. So (cos θ)² + (sin θ)² = 1. The standard way to write that is cos²θ + sin²θ = 1, where the exponent sits after the function name to avoid confusion with an inverse function.
That equation holds for every angle, without exception. Not for particular angles you have to look up. Every one. An equation that is true for every value of its variable is called an , and this is the first and most important identity in the subject. Page 6 derives the other two Pythagorean identities from it by division, and neither of them is an independent fact.
One immediate consequence: since a square is never negative and the two squares add to 1, neither sin θ nor cos θ can ever be outside the interval from minus 1 to 1. The circle has radius 1, so no point on it is further than 1 from the origin in any direction.
How to read this
The circle with the current triangle shaded and its three squares drawn, exactly as on page 1. The squares on the two legs have areas cos²θ and sin²θ, printed live. The square on the hypotenuse has area 1 and never changes. Beneath them sits the same stacked bar as page 1: one track of width 1, split into the two areas. Rotate the radius and watch the two smaller areas trade size against each other while their sum sits at 1 at every angle, to the decimal places shown.
- sin 0.500 1/2
- cos 0.866 √3/2
A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.
Amber: cos² = 0.750. Teal: sin² = 0.250. Total 1.000, which is the area of the square on the radius and the full width of the track. Drag the angle: the split moves, the total does not.
step 6 of 6
Going round again lands in the same place
Going round again lands on the same point, so the functions repeat.
Rotate by a full turn and you are back where you started. The point on the rim is the same point, so its coordinates are the same numbers, so the sine and cosine are the same values.
In symbols, sin(θ + 2π) = sin θ and cos(θ + 2π) = cos θ, for every θ. In degrees that is a repeat every 360 degrees. A function that repeats its values at a fixed interval like this is called , and the smallest interval over which it repeats is its . Sine and cosine have period 2π.
Negative angles work the same way. A negative angle means rotate clockwise instead of anticlockwise. An angle of minus 90 degrees puts the point at the bottom of the circle, at coordinates (0, minus 1), so cos(minus 90 degrees) is 0 and sin(minus 90 degrees) is minus 1. Rotating clockwise by 90 degrees and anticlockwise by 270 degrees end at the same place, and therefore give identical values.
This is why these functions describe anything that repeats. A wheel, a wave, a vibrating string, an alternating current, a planet in orbit. The repetition is not a side effect of the definition, it is the defining behaviour of a circle, imported wholesale.
One consequence for solving equations. If you ask which angle has a sine of 0.5, there is no single answer, because adding any whole number of full turns gives another. Page 5 handles this properly.
How to read this
Two rulers and no circle. The upper one runs from minus 180 to 540 degrees, the lower one covers a single turn, 0 to 360. Light connectors join every angle on the upper ruler that lands on the current mark below, so 30 degrees and 390 degrees are joined to the same spot, and so are minus 150 and 210. Beside them a counter keeps the running total of rotation, in degrees and in turns, and it climbs past a full turn while the mark below comes back to where it started. That difference, between how far you have turned and where you now are, is the whole of periodicity. The wave that this repetition draws is page 4.
- sin 0.500 1/2
- cos 0.866 √3/2
A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.
total rotation: 30° = 0.08 turns. The mark below sits at 30°.
The upper ruler is every angle from −180° to 540°, the lower one is a single turn, 0° to 360°. Every angle joined to the same lower mark gives the same six values: 30° and 390° are the same place on the circle. No colour appears in this figure at all, because nothing on these rulers is a sine or a cosine; the marks are plain ink and the connectors are plain rule.