Sign in

Libre University uses your GitHub account. Signing in is only needed to sit a final test, so the score is kept on your profile.

The unit circle and periodic functions

The previous lesson used cos111.8° without ever saying what it meant, because a right triangle has no angle larger than 90° and the definitions given there therefore say nothing about one. That debt has to be paid before any of it can be trusted.

Paying it means abandoning the triangle as the home of the definitions and putting the angle at the centre of a circle instead. The reward is much larger than the repair: sine and cosine acquire a value for every real number, and they become the first functions in this course that repeat.

Putting the angle at the centre

Draw a circle of radius 1 centred on the origin. Measure an angle θ anticlockwise from the positive horizontal axis, and let P be the point where that ray meets the circle. Define

cosθ=the x coordinate of P,sinθ=the y coordinate of P

and tanθ=sinθ/cosθ as before.

For an acute angle this agrees with the old definition rather than replacing it. Drop a perpendicular from P to the horizontal axis and you have a right triangle with hypotenuse 1, adjacent side x and opposite side y, so the old ratios give exactly cosθ=x/1 and sinθ=y/1. Nothing already working has broken, which is the same test applied at every extension in this course.

What the new definition adds is that nothing stops θ. Keep turning past 90° and the point keeps moving round the circle, so every angle up to 360° has coordinates, and beyond that the point simply laps: θ and θ+360° give the same point, hence the same values. Negative angles turn clockwise. Sine and cosine are now defined for every real number, and they are periodic with period 360°, meaning sin(θ+360°)=sinθ for all θ.

Since P is on the unit circle, its coordinates satisfy x2+y2=1, which is the identity sin2θ+cos2θ=1 again, now valid for every angle rather than acute ones only. The equation of the circle and the identity are the same statement.

Signs, and values all the way round

The coordinates carry signs, so the functions do too. In the first quadrant both are positive. In the second, from 90° to 180°, the point is left of the axis and above it, so cosine is negative and sine positive. In the third both are negative, and in the fourth cosine is positive and sine negative. The tangent, being the ratio, is positive where the two agree in sign, so it is positive in the first and third quadrants.

Values follow from the acute ones by reflection. The point at 150° is the mirror image of the point at 30° across the vertical axis, so it has the same height and the opposite horizontal position: sin150°=0.5 and cos150°=-0.866025. That is the general rule, and it is why the previous lesson's ambiguous case had two angles with the same sine.

The quadrantal angles complete the picture. At 0° the point is (1,0), at 90° it is (0,1), at 180° it is (-1,0), and at 270° it is (0,-1). So cos90°=0, and tan90° does not exist, because it would require dividing by that zero. The tangent has these breaks every 180°, and its own period is 180° rather than 360°, since diametrically opposite points have coordinates of opposite sign whose ratio is unchanged.

Example. Find sin210°, cos210° and tan210° exactly.

The angle is 30° past 180°, so the point is the reflection of the 30° point through the origin, in the third quadrant where both coordinates are negative. Hence sin210°=-1/2 and cos210°=-3/2=-0.866025, and the tangent is their ratio, 1/3=0.577350, positive as the third quadrant requires.

Now you. Find sin300°, cos300° and tan300° exactly.

Answer

300° is 60° short of a full turn, so the point is the 60° point reflected below the axis: sin300°=-3/2=-0.866025, cos300°=1/2, and tan300°=-3=-1.732051.

Radians, and why degrees are the odd choice

Degrees are inherited from Babylonian astronomy and 360 is arbitrary, chosen because it is close to the number of days in a year and divides conveniently. A unit with a mathematical reason behind it measures the angle by the arc it cuts.

Define one radian as the angle subtending an arc equal in length to the radius. A full circle has circumference 2πr, so a full turn is 2π radians, and

180°=π radians,1 radian=57.296°

Converting is multiplication by π/180 one way and 180/π the other. So 150° is 150π/180=5π/6=2.618 radians, and 210° is 7π/6=3.665 radians.

The payoff is that formulas lose their conversion factors. An arc of angle θ radians on a circle of radius r has length s=rθ, and the sector it bounds has area A=12r2θ, both of which acquire ugly factors of π/180 if degrees are used. The deeper reason, which belongs to calculus, is that the derivative of sinx is cosx only when x is in radians; in degrees an extra factor of π/180 appears and never goes away. From here on, angles are in radians unless a degree sign says otherwise.

Example. A circular sector has radius 2.5 m and angle 1.2 radians. Find its arc length and area.

The arc is s=2.5×1.2=3 m. The area is A=0.5×2.52×1.2=3.75 m². As a check, 1.2 radians is a little under a fifth of a full turn, and a fifth of the full circle's area π×6.25=19.63 m² would be 3.93 m², which is close and slightly larger as expected.

Now you. A sector has radius 6.4 m and angle 0.85 radians. Find its arc length and area.

Answer

s=6.4×0.85=5.44 m and A=0.5×40.96×0.85=17.408 m².

The graphs, and the vocabulary of waves

Plot y=sinx against x in radians and the height of the circling point traces a smooth wave: zero at 0, up to 1 at π/2, back to zero at π, down to -1 at 3π/2, and home at 2π, then repeating forever. Cosine is the same curve shifted left by π/2, since the horizontal coordinate leads the vertical by a quarter turn. That single observation is the identity cosx=sin(x+π/2).

The tangent looks nothing like either. It runs from minus infinity to plus infinity between consecutive breaks at odd multiples of π/2, passing through zero at every multiple of π, and repeats with period π.

The transformations of the fifth lesson now acquire names. In

y=Asinbig(k(x-d)big)+c

lvertArvert is the amplitude, half the distance from trough to peak; c is the midline the wave oscillates about; k compresses the horizontal axis, so the period is 2π/k; and d is the phase shift, moving the whole wave right by d. Any quantity that oscillates smoothly between two extremes can be fitted by choosing these four numbers, which is what makes the sine function a modelling tool rather than a geometrical curiosity.

Fitting a wave to real data

Daylight length is periodic with a period of a year. In London the longest day, around 21 June, has about 16 hours 38 minutes of daylight, and the shortest, around 21 December, about 7 hours 50 minutes.

Those two numbers fix two of the four parameters. The midline is the average, (16.633+7.833)/2=12.233 hours, and the amplitude is half the difference, (16.633-7.833)/2=4.4 hours. The period is 365 days, so k=2π/365. The phase is set by the equinox around 21 March, day 80 of the year, where the length is at its midline and rising. So with t the day of the year,

D(t)=12.233+4.4sin(2π(t-80)365)

Test it away from the points used to build it. On 1 January, t=1, the model gives 7.93 hours, that is 7 hours 56 minutes, against an actual figure near 7 hours 54 minutes. That is close, and the residual error is real rather than rounding: the true curve is not exactly sinusoidal, because the Earth's orbit is an ellipse and its speed varies through the year. A model this simple getting within a few minutes across a whole season is a fair result, and claiming better would be dishonest.

Identities the circle hands over

Several relations that look like formulas to memorise are visible facts about the circle. Reflecting the point across the horizontal axis sends θ to -θ, keeping the horizontal coordinate and flipping the vertical, so cos(-θ)=cosθ and sin(-θ)=-sinθ: cosine is even, sine is odd. Reflecting across the vertical axis sends θ to π-θ and gives sin(π-θ)=sinθ, the supplementary-angle fact that caused the ambiguous case in the previous lesson.

Two identities do not fall out by inspection and have to be proved, most cleanly by rotating a pair of points and computing a distance:

sin(A+B)=sinAcosB+cosAsinB,cos(A+B)=cosAcosB-sinAsinB

They are worth checking numerically rather than taking on trust. With A=45° and B=30°, the first gives sin75°=0.707107×0.866025+0.707107×0.5=0.965926, and a calculator agrees to six places. Notice the minus sign in the cosine formula, which is the commonest error in the subject, and notice that sin(A+B) is emphatically not sinA+sinB, which would give 1.207 here.

Setting B=A gives the double-angle forms sin2A=2sinAcosA and cos2A=cos2A-sin2A, and combining the second with the Pythagorean identity gives cos2A=1-2sin2A, which is the form used to integrate a squared sine in calculus.

Solving equations that have infinitely many answers

An equation such as 2sinx=1 has no single solution, because the sine takes every value in its range once per lap and there are infinitely many laps. The routine is to find the solutions in one turn and then add the period.

Example. Solve 2sinx=1 for 0x<2π.

Divide to get sinx=0.5. One angle with that sine is π/6=0.5236. The other point at the same height is its mirror image in the vertical axis, at π-π/6=5π/6=2.618. Both are in range, so those are the two solutions, and the full solution set over all real x is these two plus any multiple of 2π.

Now you. Solve 2cosx=-2 for 0x<2π.

Answer

cosx=-0.707107, so the reference angle is π/4 and cosine is negative in the second and third quadrants. The solutions are x=π-π/4=3π/4=2.356 and x=π+π/4=5π/4=3.927.

Two habits prevent most errors here. Check which quadrants the sign allows before computing anything, since a calculator's inverse function returns only one of the two. And check the interval you were asked for, because an answer outside it is wrong however correct the arithmetic.

What comes next

The sine function has a property none of the earlier functions had: its values follow a rule that carries from one step to the next, so that knowing sinθ and cosθ gives sin(θ+h) for a fixed step h without starting over. A quantity generated step by step from the previous one, rather than computed directly from its position, is a different kind of object.

Such step-by-step patterns, their closed forms, and what happens when infinitely many of their terms are added together are the subject of the next lesson.