Le funzioni seno e coseno en
From "Physics, Waves, Music": a website about the physics of waves and sound, acoustics of musical instruments, musical scales, harmony and music.
| AI-translated from Italian. Original page: Le_funzioni_seno_e_coseno |
Imagine a circle of unit radius, and draw a radius forming a certain angle with the positive direction of the X axis (the angle is conventionally measured anticlockwise). The point P where this radius meets the circle has, by definition, Cartesian coordinates
- (read: cosine of )
- (read: sine of )
If H is the foot of the perpendicular from P to the X axis (see the figure below), the cosine is therefore the length of the segment OH and the sine that of the segment PH, taken with the sign of the corresponding coordinate.
Some obvious consequences follow from this definition:
- the sine and cosine of an angle take values between -1 and +1;
- applying Pythagoras' theorem to the triangle OPH we obtain
(1)
- the sine and cosine functions repeat for every increase of the angle by 360° (or radians). The measure of an angle in radians is the ratio between the length of the arc of circle it subtends and the radius: a full turn, that is 360°, therefore measures radians (see why do we measure the angles in radians?). More formally, mathematicians write:
(2)
(2')
- the cosine has the same shape as the sine, shifted by a quarter of a turn: . For this reason both functions describe the same kind of oscillation, started at a different instant;

- if we consider a right-angled triangle O'P'H' similar to the triangle OPH, we can give (at least for acute angles) another geometric interpretation of the sine and cosine of an angle. From the proportions:
- ,
and
we immediately obtain
, (3)
If we plot the functions and , we immediately see that they could be suitable for representing the position (the displacement from equilibrium) of an oscillating body as a function of time, as soon as the abscissa x is replaced by the time t or some quantity proportional to it.
Think, for example, of the "pen" of a seismograph which, moving back and forth, records the local oscillations of an earthquake, or of the "pen" of an electrocardiograph which, oscillating, records our heartbeat: if this pen writes on a roll of paper unwinding at constant speed, simulating the passage of time, we obtain a graph of the displacement of the pen as a function of time. Of course there is no reason why the oscillations obtained in this way should be sinusoidal (indeed, we would be amazed if they were!). But the "great book of nature" often surprises us: we will see that sinusoidal oscillations (which from now on we will call harmonic) are present in many concrete situations and indeed, as explained in the section Fourier's theorem, they are a sort of fundamental oscillation with which every kind of periodic oscillation can be described.

