Sine and cosine

Ask the tutor about Sine and cosineOpen the graphing workbench

The Euler e-function is a series that converges for every complex number. Put a pure imaginary number into that series. The even powers are real and the odd powers are imaginary. On the plane, are those two real series the horizontal and vertical segments of the point reached by turning through a real angle ?

Turn through a real angle

This picture keeps the angle real, and it keeps the radius equal to . The angle is measured in radians. Drag it. The point stays on the unit circle. Its horizontal segment and its vertical segment are the two coordinates. Drag through a full turn, , and the point comes back. Drag through and the turn runs clockwise: the vertical segment changes sign, and the horizontal segment does not.

Drag the angle. It stays real, and the radius stays 1. A full turn brings the point back. Past zero the vertical segment changes sign.

Read the same two segments as heights against the angle. This picture keeps the angle real, and it keeps the radius equal to . Drag the angle from to . A horizontal segment carries the vertical segment across onto the sine. The cosine height matches the horizontal segment on the circle. At a right angle the cosine sits on the axis and the sine height is .

Drag the angle. It stays real, and the radius stays 1. The horizontal segment carries the vertical segment onto the sine. The cosine height matches the horizontal segment on the circle.

For every complex ,

The radius is frozen at , and the angle on this picture is real. Both of those are extra. The two coordinates still have to be named for a complex number, where there is no segment to measure.

The exponential splits

For every complex ,

Both series converge for every complex . When is real, they are the two segments on the circle.

Substitute into the series for the Euler e-function. Because , the real part is the cosine series and the imaginary part is the sine series. For every complex ,

Solving that pair for the two series gives, again for every complex ,

The identities that follow are this pair, read again.

Addition is one exponential

The Euler e-function multiplies when the inputs add: . Set and , and compare real and imaginary parts. For all complex and ,

This picture keeps both angles real and acute, so the first step points outward and the second step turns counterclockwise. Drag either angle. The first step has length along the angle . The second step has length and stands perpendicular to the first. Their end is the point at angle . The identity is the one just written for complex and .

Drag either angle. Both stay real and acute. The second step stands on the end of the first, and that end is the angle x+y.

Twice the angle is one square

Square the exponential. For every complex ,

and the imaginary and real parts are

This picture keeps the angle real and at most a right angle, so twice the angle stays within a half turn. Drag it. The second arc copies the first. The squared point sits at the end of the two arcs, and its two segments are and .

Drag the angle. It stays real and at most a right angle. The second arc copies the first, and the squared point sits at the end of both.

A right angle is an extra freeze

Keep the angle real and freeze it so that , with one right angle in the triangle. Then both segments are positive. If the hypotenuse has length , the opposite side and the adjacent side satisfy

A right triangle already uses and when the right angle is frozen and the hypotenuse is not . On the first picture the radius is , so the opposite side is the sine itself. The same ratio times is how that side was tabulated before the hypotenuse was taken to be .

On that unit circle the two segments and the radius form a right triangle, so

for real . The same equality holds for every complex . The picture only shows the real case.

The acute angles fix the values below. A degree sign marks a degree. Everywhere else the unit is the radian.

degrees
sine
cosine

Past a right angle, the sines at , , , and stay , , , and . The cosines change sign: , , , and . In degrees those angles are , , , and .

The same angles fix the tangent and the cotangent. Where both entries are numbers, each is the reciprocal of the other. A dash is not a real value.

degrees
—
——

The zeros line up

On the real line the sine meets the axis at the integer multiples of , and the cosine meets it halfway between them. For every integer ,

A complex zero of either function is still one of these real numbers.

The sine built from those zeros is, for every complex ,

At each integer the product has a factor , and that factor appears once. Drag the number of factors. The dashed curve is the partial product. Between and it moves toward the sine, and it meets the axis at each integer already included.

Drag the number of factors. The dashed curve is the partial product. Between 1 and 2 it moves toward the sine. It meets the axis at each integer already included.

One step rises by the cosine

For every complex ,

This picture keeps real. Drag the point on the sine. The horizontal step has length . The vertical step equals the cosine at that point.

Drag the point. The horizontal step has length 1. The vertical step equals the cosine there.

Sine and cosine are the imaginary and real parts of the exponential at a pure imaginary input. A full turn brings a real angle back to the same point, and a right angle with positive segments is the extra freeze in which those segments are side ratios. The quotient of the two segments is the natural next function.

Spot a mistake in this page?