The sine function returns the sine of an angle provided in radians. In geometric terms, the function returns the vertical component of the point formed by the angle on the unit circle.
|θ (theta)||The radian angle|
Returns the sine of an angle provided in radians.
The sine function returns the sine of a number provided in radians. In geometric terms, the function returns the vertical component of the point formed by the corresponding angle (theta) on the unit circle. For example, given the angle of radians (one third of a turn) the function returns the value .
Visually the return value is equal to the y-component of the point on the unit circle corresponding to the angle of radians. This is shown in the figure below which illustrates the unit circle in the
XY coordinate plane and highlights the angle in red and the vertical component of the point in blue.
These examples show the return value of sine for some common angles formed from dividing the unit circle into equal parts. Note, the circle constant (tau) represents a full rotation in radians.
These examples show the return value of sine for some common angles formed from dividing the unit circle into equal parts.
sin(0*TAU/8) = 0
sin(1*TAU/8) = 0.7071... // sqrt(2)/2
sin(2*TAU/8) = 1
sin(3*TAU/8) = 0.7071... // sqrt(2)/2
The interactive above visualizes the geometric relation sine has on the unit circle. Click and drag either of the two control points to watch the input and output change. The input is highlighted in red and represents the input angle in radians. The output is highlighted in blue.
The sine function is part of a group of trigonometric functions that return ratios related to the geometry of the circle. The sine function is one of the three main functions: sine, cosine and tangent which take in an angle as input and return a ratio as output. The graph of the sine function is shown below which demonstrates the possible output of the sine function for the domain of to , where . This plot demonstrates the output of one full rotation around a circle.
The sine function is periodic, meaning that the output of the function repeats indefinitely. Geometrically, the function’s output can be visualized as the vertical component of a point on the unit circle corresponding to the input angle. This can be seen from the definition of the function shown below in terms of the circle.
Conceptually, the sine function is defined as a circle ratio. Given an angle in radians the sine function returns the ratio of over the radius of a circle. On the unit circle, the radius is one and so the definition is simplified.
Historically, these values would be stored in a lookup table and astronomers and the like would look up values as they needed them. In modern days, calculators provide the set of trigonometric functions. Mathematically, the sine function can be defined as an infinite Taylor Series using calculus.