mathematics / trigonometry / graphs

The Six Graphs

Unwrap the circle onto a horizontal axis and each function becomes a curve. Period, range and asymptotes are all readable straight off the circle that produced them.

Unrolling the circle

Let the angle run along a horizontal axis and plot the function value vertically.

Up to now the angle has been a position on a circle. Now put the angle on a horizontal axis instead, running left to right, and plot the value of the function vertically. Every angle gets a point, and the points join into a curve.

That single change turns a rotation into a wave. Going round the circle once corresponds to moving a distance of 2π along the horizontal axis, so the curve does one complete repeat in that distance. Going round again draws the identical shape again, one repeat further along.

This is why the same functions describe both a rotating wheel and a travelling wave. The two pictures are the same object with different axes. Anything that goes round produces a wave when you plot it against time, and the connection is this unwrapping and nothing more.

The horizontal axis is usually marked in radians, at multiples of π over 2. Marking it in degrees is legal and gives an identical picture with different tick labels.

How to read this

The circle on the left and the unwrapped curve on the right, sharing a vertical axis. A moving point on the circle is tied to a moving point on the curve at the same height, and a horizontal guide line connects them. As the point travels round the circle the curve is traced out to the right at a steady rate, because the horizontal axis is the angle turned. The dashed vertical marks on the curve are the angles where the point crosses an axis of the circle.

30° = 0.5236 rad = π/6
  • sin 0.500
  • csc 2.000
  • cos 0.866
  • sec 1.155
  • tan 0.577
  • cot 1.732

A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.

Fig 4.1 Unrolling the circle into the wave

1−1090°π/2180°π270°3π/2360°

Teal: the height of the point above the horizontal axis, which is sin. The dashed grey line joins the point on the circle to the point on the wave at the same height. Grey uprights on the wave are the angles where the point crosses an axis of the circle. At 30 degrees, sin = 0.500.

Sine and cosine

Sine and cosine are the same wave, shifted, and both stay between minus 1 and 1.

Sine starts at 0. At angle 0 the point is at (1, 0), on the x axis, so its height above the axis is 0. It rises to 1 at 90 degrees, falls back through 0 at 180 degrees, reaches minus 1 at 270 degrees, and returns to 0 at 360 degrees.

Cosine starts at 1 and falls. At angle 0 the point is as far right as it gets, so its x coordinate is at its maximum of 1. It falls through 0 at 90 degrees, to minus 1 at 180 degrees, back through 0 at 270 degrees, and up to 1 at 360 degrees.

The two curves are identical in shape. Cosine is sine shifted to the left by 90 degrees, which is π over 2 radians. That shift is the cofunction fact from page 3 seen in a different picture: cos θ = sin(90 degrees minus θ) says the same thing about a reflection, and cos θ = sin(θ + 90 degrees) says it as a shift. Both are true, because the sine curve is symmetric in the right way for them to agree.

Four measurements describe each curve. The is half the distance from the lowest point to the highest, which is 1 for both. The is the horizontal distance for one full repeat, which is 2π for both. The is the set of inputs the function accepts, which for sine and cosine is every real number, because you can rotate by any angle at all. The is the set of outputs it produces, which is every value from minus 1 to 1 inclusive, written [-1, 1]. The range is capped because the circle has radius 1 and no point on it is more than 1 from either axis.

How to read this

Two curves on one pair of axes, with the angle along the horizontal and the value up the vertical. Sine is the wide teal band underneath and cosine the thin amber line on top, so an exact match reads as amber sitting centred inside teal. One horizontal line is drawn, the axis at zero. The values 1 and minus 1 are not lines here: they are labels in the gutter down the left. Vertical guides at multiples of π over 2 mark where each curve crosses zero or turns. Look at where one curve peaks and the other crosses zero: that offset is a quarter of a period and it is constant everywhere. Slide sine left by 90 degrees with the slider and the largest gap printed underneath falls to 0.000.

30° = 0.5236 rad = π/6
  • sin 0.500
  • csc 2.000
  • cos 0.866
  • sec 1.155
  • tan 0.577
  • cot 1.732

A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.

Fig 4.2 Cosine is sine, slid
−180°−π−90°−π/2090°π/2180°π270°3π/2360°450°5π/2540°

Amber thin line: cos. Teal band underneath: sin, slid left by 0 degrees. Largest gap between them: 1.414. The band is drawn wider than the line, so an exact match shows as the amber line sitting centred inside the teal band.

Largest gap between the two curves 1.414 Still a gap. Keep sliding.

Tangent

Tangent repeats twice as often as sine, has no upper or lower limit, and breaks at regular gaps.

Tangent looks nothing like the other two. It rises from minus infinity, passes through 0 at angle 0, and climbs away to infinity as the angle approaches 90 degrees. Then it restarts from the bottom and does it again.

The breaks are at 90 degrees, 270 degrees, and every 180 degrees from there, which is where cosine is 0 and the quotient sin θ over cos θ divides by zero. At those angles the function has no value. The curve approaches a vertical line there, getting closer and closer without ever touching it. A line a curve approaches arbitrarily closely but never reaches is an , and asymptotes appear in these graphs wherever a definition divides by zero.

The period is π, not 2π. Tangent repeats every half turn rather than every full turn, which is unlike sine and cosine. The reason is on the circle: rotating by 180 degrees negates both coordinates, and tangent is y over x, so a negative over a negative gives the original value back. Both signs flip and the quotient does not notice.

The is every real number. There is no cap, because the tangent segment on the tangent line can be any length at all. The is every real number except the angles where cosine is 0, and those excluded angles are exactly where the asymptotes are.

How to read this

Six panels, one function each, ordered so that every function sits next to its reciprocal: sine with cosecant, cosine with secant, tangent with cotangent. The one to read here is the tangent panel, titled "tan, with cot faded behind". Dashed grey uprights mark the angles where tangent is undefined, and the curve is drawn as separate pieces between them, because it is genuinely not one connected curve. The shape of each piece is identical, and that repeat is the period π. The shaded band on every panel is every value between minus 1 and 1, and the tangent curve passes straight through it without stopping, which is the visible difference between a bounded range and an unbounded one. Four facts sit under each panel: period, domain, range and symmetry.

30° = 0.5236 rad = π/6
  • sin 0.500
  • csc 2.000
  • cos 0.866
  • sec 1.155
  • tan 0.577
  • cot 1.732

A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.

Each row is a reciprocal pair: sine with cosecant, cosine with secant, tangent with cotangent. Secant sits beside cosine, not beside sine, because secant is one over cosine. The shaded band is every value between −1 and 1, drawn the same on all six panels: sine and cosine never leave it, cosecant and secant never enter it, tangent and cotangent pass straight through it.

sin, with csc faded behind
sin−180°−π−90°−π/2090°π/2180°π270°3π/2360°450°5π/2540°

Teal solid: sin = 0.500. Faded: csc, for comparison. The shaded band is every value between −1 and 1.

period
360°
domain
all angles
range
−1 to 1
symmetry
odd
csc, with sin faded behind
180°360°csc−180°−π−90°−π/2090°π/2180°π270°3π/2360°450°5π/2540°

Teal dashed: csc = 2.000. Faded: sin, for comparison. The shaded band is every value between −1 and 1. Dashed grey uprights are the angles where the function is undefined.

period
360°
domain
all except 0° + 180k
range
|y| ≥ 1
symmetry
odd
cos, with sec faded behind
cos−180°−π−90°−π/2090°π/2180°π270°3π/2360°450°5π/2540°

Amber solid: cos = 0.866. Faded: sec, for comparison. The shaded band is every value between −1 and 1.

period
360°
domain
all angles
range
−1 to 1
symmetry
even
sec, with cos faded behind
−90°90°270°450°sec−180°−π−90°−π/2090°π/2180°π270°3π/2360°450°5π/2540°

Amber dashed: sec = 1.155. Faded: cos, for comparison. The shaded band is every value between −1 and 1. Dashed grey uprights are the angles where the function is undefined.

period
360°
domain
all except 90° + 180k
range
|y| ≥ 1
symmetry
even
tan, with cot faded behind
−90°90°270°450°tan−180°−π−90°−π/2090°π/2180°π270°3π/2360°450°5π/2540°

Purple solid: tan = 0.577. Faded: cot, for comparison. The shaded band is every value between −1 and 1. Dashed grey uprights are the angles where the function is undefined.

period
180°
domain
all except 90° + 180k
range
all values
symmetry
odd
cot, with tan faded behind
180°360°cot−180°−π−90°−π/2090°π/2180°π270°3π/2360°450°5π/2540°

Purple dashed: cot = 1.732. Faded: tan, for comparison. The shaded band is every value between −1 and 1. Dashed grey uprights are the angles where the function is undefined.

period
180°
domain
all except 0° + 180k
range
all values
symmetry
odd

Cotangent

Cotangent is the same story with the breaks in the other places.

Cotangent is cos θ over sin θ, so it breaks where sine is 0. Sine is 0 at 0 degrees, 180 degrees, and every 180 degrees from there, so the asymptotes sit at those angles instead.

Its period is π, the same as tangent, and for the same reason: a half turn flips both coordinates and the quotient is unchanged.

Its range is every real number, again like tangent.

The visible difference is the direction. Each piece of the tangent curve rises from bottom left to top right. Each piece of the cotangent curve falls from top left to bottom right. That follows from the cofunction relationship, cot θ = tan(90 degrees minus θ), which reflects the tangent curve horizontally, and reflecting a rising curve gives a falling one.

Cotangent crosses zero where tangent has its asymptotes, at 90 degrees and every 180 degrees after. That is the general reciprocal rule, stated properly in the next step.

The bottom row of the six panels above is exactly this comparison: tangent on the left with cotangent faded behind it, cotangent on the right with tangent faded behind it. Every piece of cotangent falls while every piece of tangent rises, and the two sets of asymptotes interleave.

How to read this

The cotangent curve with its asymptotes marked, drawn over a faded copy of the tangent curve for comparison. The two sets of asymptotes interleave: wherever one curve has a break, the other crosses zero. Every piece of cotangent falls left to right while every piece of tangent rises, which is the reflection the cofunction relationship predicts.

Secant and cosecant

Secant and cosecant sit in the arches of cosine and sine, with an asymptote at every zero.

Here is the general rule for any reciprocal, and it saves memorising two more graphs.

Where the original function is 0, the reciprocal has an asymptote, because 1 divided by 0 has no value and 1 divided by a very small number is very large. Where the original is 1, the reciprocal is 1. Where the original is minus 1, the reciprocal is minus 1. Where the original is small, the reciprocal is large, and the other way round. And a reciprocal always has the same sign as the original, since 1 divided by a negative number is negative.

Apply that to cosine. Secant has asymptotes wherever cosine crosses zero, which is 90 degrees, 270 degrees and every 180 degrees. Between consecutive asymptotes, secant is a single U shape, sitting directly inside the arch of the cosine curve and touching it at the arch’s peak. When cosine peaks at 1, secant bottoms out at 1. When cosine bottoms at minus 1, secant peaks at minus 1, opening downwards.

Secant’s period is 2π, inherited from cosine. Its range is every value of size at least 1, which is written as everything less than or equal to minus 1 together with everything greater than or equal to 1. It never takes any value strictly between minus 1 and 1, and page 3 explained why: the shortest distance from the origin to the tangent line is 1.

Cosecant is the identical story against sine. Asymptotes at 0 degrees, 180 degrees and every 180 degrees after, period 2π, and the same gap in its range.

How to read this

Cosine and secant on one pair of axes, both amber because they are one family, with the dash telling them apart: cosine is the solid line, secant the dashed one. Dashed grey uprights mark the asymptotes, and they land exactly on cosine’s zero crossings, which is the claim worth checking by eye. Each U of secant sits inside an arch of cosine and touches it at one point, marked with a hollow ring, where both read 1 or both read minus 1. The shaded horizontal band between minus 1 and 1 is the region cosine never leaves and secant never enters. The table underneath walks the angle from 80 degrees up to 90 so you can watch cosine fall to 0 while secant climbs. Cosecant and sine make the identical picture a quarter period along, and it is drawn in the sine and cosecant panels of the six panel grid above.

30° = 0.5236 rad = π/6
  • sin 0.500
  • csc 2.000
  • cos 0.866
  • sec 1.155
  • tan 0.577
  • cot 1.732

A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.

Fig 4.5 A zero on one curve is an asymptote on the other
−90°90°270°450°cossec−180°−π−90°−π/2090°π/2180°π270°3π/2360°450°5π/2540°

Amber solid: cos. Amber dashed: sec. Same colour because they are one family, and the dash is what tells them apart. Dashed grey uprights are the zeros of cos, which are the asymptotes of sec. A hollow ring marks a point both curves pass through, where each reads 1 or minus 1. The shaded band is every value between −1 and 1: cos never leaves it and sec never enters it.

cos 30° = 0.866 and sec 30° = 1.155. As cos runs to 0, sec runs off the top.

Walking the angle up to 90 degrees, where cos is 0
anglecossec = 1 / cos
80°0.17365.759
85°0.087211.474
89°0.017557.299
89.9°0.0017572.958
90°0.0000undefined

Even and odd

Cosine is symmetric about the vertical axis, sine and tangent have rotational symmetry about the origin.

Feed in a negative angle, which means rotating clockwise instead of anticlockwise, and compare with the positive one.

A clockwise rotation lands at the mirror image of the anticlockwise one, reflected in the x axis. Reflecting in the x axis leaves the x coordinate alone and flips the sign of the y coordinate. Since cosine is the x coordinate and sine is the y coordinate, that gives cos(minus θ) = cos θ and sin(minus θ) = minus sin θ.

A function with f(minus x) = f(x) is called an . Its graph is symmetric about the vertical axis: fold the paper along that axis and the two halves land on each other. Cosine is even, and so is secant, since a reciprocal keeps the sign.

A function with f(minus x) = minus f(x) is called an . Its graph has rotational symmetry about the origin: turn the paper 180 degrees about the origin and the curve lands on itself. Sine is odd, and so are cosecant, tangent and cotangent. Tangent is odd because it is an odd function divided by an even one.

The names come from powers. x², x⁴ and x⁶ are even functions, x, x³ and x⁵ are odd functions, and the parity of the exponent is where the words come from. The connection is not decorative: the infinite series for cosine contains only even powers of x, and the series for sine only odd ones.

How to read this

Each curve drawn across both positive and negative angles, with the vertical axis marked as the fold line. For cosine and secant the two halves are mirror images, so a point at plus θ and a point at minus θ sit at the same height. For sine, tangent, cotangent and cosecant the point at minus θ sits at the negative of the height at plus θ, so the pair straddles the horizontal axis symmetrically. The paired markers at plus θ and minus θ move together and make the distinction readable at a glance.

30° = 0.5236 rad = π/6
  • sin 0.500
  • csc 2.000
  • cos 0.866
  • sec 1.155
  • tan 0.577
  • cot 1.732

A solid swatch is the function, a dashed one its reciprocal. Teal is the sine family, amber the cosine family, purple the tangent family.

Fig 4.4 Even or odd, checked by folding
−180°−π−90°−π/2090°π/2180°π

Teal solid: sin at angles above 0. The same colour dotted: sin at the matching negative angle. The grey upright at 0 degrees is the fold line. Not folded yet: the dotted half is still on its own side.

sin(−30°) = −0.500 and sin(30°) = 0.500. Opposite signs, so sine is odd.