mathematics / trigonometry / six ratios
The Six Ratios as Lengths
Every one of the six functions is the length of a segment you can point at on the unit circle. That is where the names tangent, secant and the "co" prefix come from.
By the end you can
- point at a segment on the unit circle for each of the six functions
- say where the names tangent and secant come from, and why they are those lines
- explain what the co prefix means, and which function is really paired with which
step 1 of 6 · sine and cosine
Sine is the vertical drop from the point to the x axis, cosine is the horizontal run.
The names in this subject look arbitrary. They are not. Every one of the six functions is the length of a specific line segment in one drawing, and the names describe what those segments do.
Start with the two already known. Put the radius at angle θ on the unit circle. Drop a vertical line from the point on the rim to the x axis. That segment has length sin θ. Now measure along the x axis from the origin to the foot of that vertical. That segment has length cos θ.
This is the half chord from page 1. The full chord joins two points on the rim; the half chord runs from the rim to the midpoint of the chord, and on the unit circle it is exactly the sine.
There is a detail about signs that the picture cannot show. A drawn length is always positive. The functions are not: sin θ is negative below the x axis and cos θ is negative to the left of the origin. Read the drawn segments as magnitudes and take the sign from which side of the origin the segment lies on. Page 5 is entirely about getting those signs right.
Show cos, sin
crowded on purpose: use the ready made pairs in the Show menu to read it
Solid: the function itself. Dashed: its reciprocal. Each option in the Show menu carries its own colour and dash. Grey dashed: the two lines that touch the circle, at x = 1 and at y = 1. Grey solid: the line through the origin and the point, which cuts the circle at two places. It is a whole line rather than a ray, which is what lets tangent and secant keep working past 90 degrees.
Black: the radius, always exactly 1. Amber solid: cos = 0.500. Teal solid: sin = 0.866.
1 unit = 89 px.
- sin 0.866 √3/2
- csc 1.155 2/√3
- cos 0.500 1/2
- sec 2.000 2
- tan 1.732 √3
- cot 0.577 1/√3
A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.
The unit circle with the radius at angle θ. Two segments are highlighted: the vertical one from the point down to the x axis, and the horizontal one from the origin to the foot of that vertical. Each is labelled with its function name and its live value. Rotate the radius and watch the two lengths trade: as one grows the other shrinks, and neither ever exceeds 1.
step 2 of 6 · tangent
Tangent is the segment of the vertical line touching the circle at (1, 0), from the x axis up to the extended radius.
Draw the vertical line through the point (1, 0), the rightmost point of the circle. This line touches the circle at that single point and never crosses it. A line that touches a curve at one point like this is a , from the Latin tangere, to touch.
No colour in this figure, because nothing here is a function value. Grey throughout: the circle, the line that touches it and the line that cuts it. The small rings mark every place a line meets the circle, so you can count them: one for the touching line, two for the cutting line.
Now extend the radius outwards, past the rim, until it meets that vertical line. Measure from (1, 0) up to the meeting point. That length is tan θ, and that is where the name comes from. The tangent function is the length cut off on the tangent line.
The construction also explains the size. That segment can be as long as you like. Push θ towards 90 degrees and the radius tilts towards vertical, the meeting point races up the tangent line, and the length grows without limit. At exactly 90 degrees the radius is vertical, which makes it parallel to the tangent line, and two parallel lines never meet. There is no meeting point, so there is no length, so tan(90 degrees) does not exist. It is undefined, which is a stronger statement than being very large.
Show tan
crowded on purpose: use the ready made pairs in the Show menu to read it
Solid: the function itself. Dashed: its reciprocal. Each option in the Show menu carries its own colour and dash. Grey dashed: the two lines that touch the circle, at x = 1 and at y = 1. Grey solid: the line through the origin and the point, which cuts the circle at two places. It is a whole line rather than a ray, which is what lets tangent and secant keep working past 90 degrees.
Black: the radius, always exactly 1. Purple solid: tan = 1.732.
1 unit = 89 px.
- sin 0.866 √3/2
- csc 1.155 2/√3
- cos 0.500 1/2
- sec 2.000 2
- tan 1.732 √3
- cot 0.577 1/√3
A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.
The circle with a grey dashed line touching it at the rightmost point. The grey solid line through the origin and the point runs on past the rim until it crosses that dashed line. The segment from the touch point up to the crossing is drawn in purple and labelled with the live value of tan θ. Move θ towards 90 degrees and watch the crossing run off the top of the frame while the printed value climbs. One triangle is shaded, the small one under the radius, from the origin along the x axis and back up to the point. The large triangle is not filled in: its three sides are the x axis out to (1, 0), the tangent segment, and the cutting line back to the origin. Trace those three and compare the shape with the shaded one, because being the same shape at different sizes is the whole argument.
Check it against the triangle definition. The big triangle formed by the origin, the point (1, 0) and the meeting point is similar to the small triangle under the radius, because they share the angle at the origin and both have a right angle. Its adjacent side is exactly 1, so opposite over adjacent is the opposite side divided by 1, which is the segment length. The same tangent, from the same similar triangles argument as page 1.
step 3 of 6 · secant
Secant is the distance from the origin out along the extended radius to that same tangent line.
Keep the same picture. The extended radius now leaves the circle and carries on to the tangent line, so it cuts straight through the circle on its way. A line that cuts through a circle is a , from the Latin secare, to cut.
Measure along that cutting line from the origin all the way out to where it meets the tangent line. That distance is sec θ, the of the angle.
The relationship to the other lengths comes out of the same big triangle. That triangle has an adjacent side of exactly 1, an opposite side of tan θ, and a hypotenuse running from the origin to the intersection. Pythagoras on it gives 1² + tan²θ = sec²θ, which is one of the three identities page 6 derives algebraically. Here it is a picture.
Secant is never shorter than the radius. The shortest way from the origin to that tangent line is straight along the x axis, a distance of 1. So the magnitude of sec θ is at least 1, always, and its magnitude is exactly 1 only when the radius points along the x axis. At 0 degrees that gives sec θ = 1 and at 180 degrees it gives sec θ = minus 1, because the distance is then measured backwards along the line. That is why the graph of secant on page 4 has a hole in the middle: it never takes a value strictly between minus 1 and 1.
The words tangent and secant were given these meanings by the Danish mathematician Thomas Fincke in his Geometria rotundi of 1583.
Show tan, sec
crowded on purpose: use the ready made pairs in the Show menu to read it
Solid: the function itself. Dashed: its reciprocal. Each option in the Show menu carries its own colour and dash. Grey dashed: the two lines that touch the circle, at x = 1 and at y = 1. Grey solid: the line through the origin and the point, which cuts the circle at two places. It is a whole line rather than a ray, which is what lets tangent and secant keep working past 90 degrees.
Black: the radius, always exactly 1. Purple solid: tan = 1.732. Amber dashed: sec = 2.000.
1 unit = 89 px.
- sin 0.866 √3/2
- csc 1.155 2/√3
- cos 0.500 1/2
- sec 2.000 2
- tan 1.732 √3
- cot 0.577 1/√3
A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.
The same construction as the previous step, with a second segment drawn: the whole run from the origin out to the crossing with the tangent line, in amber dashes because secant belongs to the cosine family. It is labelled with the live value of sec θ. Notice it starts inside the circle, crosses the rim and continues, which is the cutting the name refers to. Those three lengths, the run of 1 along the x axis, the tangent segment and this secant segment, bound the right triangle the identity comes from. That triangle is not filled in, and the shaded one is still the small triangle under the radius, so trace the three sides yourself and read 1² + tan²θ = sec²θ off them.
step 4 of 6 · the co functions
Cotangent and cosecant are the same two constructions against the horizontal tangent line at the top of the circle.
Now do the tangent construction again against the other tangent line.
Draw the horizontal line through (0, 1), the topmost point of the circle. It touches the circle at that one point. Extend the radius until it meets this line. The segment from (0, 1) across to the meeting point has length cot θ, the . The distance from the origin out to that meeting point is csc θ, the .
That is the entire difference. Tangent and secant are measured against the vertical tangent line at the right of the circle; cotangent and cosecant are measured against the horizontal tangent line at the top. Same two constructions, rotated a quarter turn.
This is what the "co" prefix means, and it means something precise. Two angles are if they add up to 90 degrees. The of an angle is the function of its complement. So cos θ = sin(90 degrees minus θ), and equally cot θ = tan(90 degrees minus θ) and csc θ = sec(90 degrees minus θ).
The reason goes back to page 1. In a right triangle the two acute angles are complementary, and swapping which one you call theta swaps the opposite and adjacent sides. So the sine of one angle is the cosine of the other, using exactly the same two side lengths in the same fraction. The "co" functions are not new functions. They are the old ones measured from the other acute corner.
Check one value. sin(30 degrees) is 0.5 exactly, and cos(60 degrees) is 0.5 exactly, and 30 plus 60 is 90.
Show 4 of 6
crowded on purpose: use the ready made pairs in the Show menu to read it
Solid: the function itself. Dashed: its reciprocal. Each option in the Show menu carries its own colour and dash. Grey dashed: the two lines that touch the circle, at x = 1 and at y = 1. Grey solid: the line through the origin and the point, which cuts the circle at two places. It is a whole line rather than a ray, which is what lets tangent and secant keep working past 90 degrees.
Black: the radius, always exactly 1. Purple solid: tan = 1.732. Amber dashed: sec = 2.000. Purple dashed: cot = 0.577. Teal dashed: csc = 1.155.
1 unit = 89 px.
- sin 0.866 √3/2
- csc 1.155 2/√3
- cos 0.500 1/2
- sec 2.000 2
- tan 1.732 √3
- cot 0.577 1/√3
A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.
The circle with both tangent lines drawn in grey dashes, one vertical at x = 1 and one horizontal at y = 1, and the cutting line extended until it meets each. Four segments are drawn and labelled with live values: tangent and secant against the vertical line, cotangent and cosecant against the horizontal one. The colours track the reciprocal pairs rather than the cofunction pairs: sec is amber like cos, csc is teal like sin, cot is purple like tan, and every reciprocal is dashed. No second radius is drawn for the complementary angle. Read the cofunction off the symmetry instead: reflecting the whole picture in the line y = x swaps the two tangent lines, swaps tan with cot and sec with csc, and turns θ into 90 degrees minus θ.
step 5 of 6 · reciprocals
The last three functions are the first three turned upside down, and the pairing is not the one the names suggest.
A of a number is 1 divided by that number. The reciprocal of 4 is one quarter, and the reciprocal of one quarter is 4. Multiplying a number by its reciprocal always gives 1.
The amber rectangle is secant tall and as wide as the name you set. The other two are one function wide and its reciprocal tall. Amber: 0.866 wide by 2.000 tall, area 1.732. Teal: 0.866 wide by 1.155 tall, area 1.000. Purple: 1.732 wide by 0.577 tall, area 1.000. The grey square behind each one is 1 by 1. A drawn width is never negative, so a negative value is printed on the label and the rectangle is drawn from its magnitude.
Nothing here moves. Set the amber width and drag the angle: the pair is right only if its area holds at 1.000 everywhere, not at one angle. A chevron means that side runs on past the frame; the label still prints its true length.
- sin 0.866 √3/2
- csc 1.155 2/√3
- cos 0.500 1/2
- sec 2.000 2
- tan 1.732 √3
- cot 0.577 1/√3
A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.
Three panels, one per reciprocal pair. Each panel draws a rectangle that is one function wide and its reciprocal tall, over a grey 1 by 1 square that gives the scale, with the area printed on it or above it. A rectangle whose two sides are a reciprocal pair reads 1.000, because a number times its reciprocal is 1. The amber panel is the one that settles the naming, and its width is yours to set: it is secant tall, so the width that holds it at 1.000 at every angle is the function secant is one over. Drag the angle and watch a rectangle go tall as it goes narrow while its area does not move. At an angle where one of a pair is 0 the other is undefined, and that panel collapses to a single line with a chevron and a sentence saying which value went.
The three remaining functions are the reciprocals of the first three:
sec θ = 1 / cos θ
csc θ = 1 / sin θ
cot θ = 1 / tan θ
Read those pairings carefully, because the naming actively works against you. Secant pairs with cosine, not with sine. Cosecant pairs with sine, not with cosine. The "co" in cosecant does not point at cosine. This trips up almost everybody once, and the reliable check is the third letter: secant goes with cosine, cosecant goes with sine.
A cleaner way to remember it is the construction from the last two steps. Secant is measured against the vertical tangent line, on the same side of the circle as the cosine segment. Cosecant is measured against the horizontal tangent line, on the same side as the sine segment.
The reciprocal relationship also explains where these functions break. A reciprocal is undefined when the thing underneath is 0, because dividing by 0 has no answer. cos(90 degrees) is 0, so sec(90 degrees) is undefined. sin(0) is 0, so csc(0) is undefined. Every gap in the graphs on page 4 is a division by zero at a specific angle, and nothing more mysterious than that.
step 6 of 6 · quotients
Tangent and cotangent are also sine and cosine divided by each other.
Divide sine by cosine. Sine is opposite over hypotenuse, cosine is adjacent over hypotenuse, and dividing one by the other cancels the hypotenuse. What is left is opposite over adjacent, which is the tangent.
tan θ = sin θ / cos θ
cot θ = cos θ / sin θ
These are called the quotient identities, and they hold for every angle where the bottom is not 0. Combined with the reciprocal identities, every one of the six functions can now be written using only sine and cosine. Six functions, two of them genuinely independent, and even those two are linked by cos²θ + sin²θ = 1.
The quotient form agrees with the picture. Tangent blows up at 90 degrees because cos(90 degrees) is 0 and the fraction divides by zero. The geometry said the same thing in different words: the radius becomes parallel to the tangent line and never meets it. These are two descriptions of one fact.
On the unit circle there is a third reading. The point is at (cos θ, sin θ), so sin θ over cos θ is y over x, which is the slope of the radius. Tangent of an angle is the gradient of a line at that angle to the horizontal. That is the version used in graphics and in surveying, and it is why a 45 degree slope has a gradient of exactly 1, because tan(45 degrees) = 1.
Show cos, sin, tan
crowded on purpose: use the ready made pairs in the Show menu to read it
Solid: the function itself. Dashed: its reciprocal. Each option in the Show menu carries its own colour and dash. Grey dashed: the two lines that touch the circle, at x = 1 and at y = 1. Grey solid: the line through the origin and the point, which cuts the circle at two places. It is a whole line rather than a ray, which is what lets tangent and secant keep working past 90 degrees.
Black: the radius, always exactly 1. Amber solid: cos = 0.500. Teal solid: sin = 0.866. Purple solid: tan = 1.732.
1 unit = 89 px.
- sin 0.866 √3/2
- csc 1.155 2/√3
- cos 0.500 1/2
- sec 2.000 2
- tan 1.732 √3
- cot 0.577 1/√3
A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.
The circle with three segments drawn at once: the horizontal run from the origin labelled cos θ, the vertical rise up to the point labelled sin θ, and the tangent segment out on the vertical dashed line labelled tan θ. Each carries its live value. The gradient is not printed anywhere, so do the division yourself: take the printed sin, divide by the printed cos, and the answer is the printed tan. Rotate towards 90 degrees and watch the run shrink towards 0 while the tangent segment runs off the frame, which is that division failing.
Challenge
Try it The amber rectangle is secant tall. Which width keeps its area at 1.000 everywhere?
Pick one The figure holds the answer back until you do.
The amber rectangle is secant tall and as wide as the name you set. The other two are one function wide and its reciprocal tall. Amber: 0.866 wide by 2.000 tall. Teal: 0.866 wide by 1.155 tall, area 1.000. Purple: 1.732 wide by 0.577 tall, area 1.000. The grey square behind each one is 1 by 1. A drawn width is never negative, so a negative value is printed on the label and the rectangle is drawn from its magnitude.
Nothing here moves. Answer first, then set the amber width and drag the angle: the pair is right only if its area holds at 1.000 everywhere, not at one angle. A chevron means that side runs on past the frame; the label still prints its true length.
- sin 0.866 √3/2
- csc 1.155 2/√3
- cos 0.500 1/2
- sec 2.000 2
- tan 1.732 √3
- cot 0.577 1/√3
A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.