Hubbry Logo
Sine and cosineSine and cosineMain
Open search
Sine and cosine
Community hub
Sine and cosine
logo
8 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Contribute something
Sine and cosine
Sine and cosine
from Wikipedia
Sine and cosine
General information
General definition
Fields of applicationTrigonometry, Fourier series, etc.

In mathematics, sine and cosine are trigonometric functions of an angle. The sine and cosine of an acute angle are defined in the context of a right triangle: for the specified angle, its sine is the ratio of the length of the side opposite that angle to the length of the longest side of the triangle (the hypotenuse), and the cosine is the ratio of the length of the adjacent leg to that of the hypotenuse. For an angle , the sine and cosine functions are denoted as and .

The definitions of sine and cosine have been extended to any real value in terms of the lengths of certain line segments in a unit circle. More modern definitions express the sine and cosine as infinite series, or as the solutions of certain differential equations, allowing their extension to arbitrary positive and negative values and even to complex numbers.

The sine and cosine functions are commonly used to model periodic phenomena such as sound and light waves, the position and velocity of harmonic oscillators, sunlight intensity and day length, and average temperature variations throughout the year. They can be traced to the jyā and koṭi-jyā functions used in Indian astronomy during the Gupta period.

Elementary descriptions

[edit]

Right-angled triangle definition

[edit]
For the angle α, the sine function gives the ratio of the length of the opposite side to the length of the hypotenuse.

To define the sine and cosine of an acute angle , start with a right triangle that contains an angle of measure ; in the accompanying figure, angle in a right triangle is the angle of interest. The three sides of the triangle are named as follows:[1]

  • The opposite side is the side opposite to the angle of interest; in this case, it is .
  • The hypotenuse is the side opposite the right angle; in this case, it is . The hypotenuse is always the longest side of a right-angled triangle.
  • The adjacent side is the remaining side; in this case, it is . It forms a side of (and is adjacent to) both the angle of interest and the right angle.

Once such a triangle is chosen, the sine of the angle is equal to the length of the opposite side divided by the length of the hypotenuse, and the cosine of the angle is equal to the length of the adjacent side divided by the length of the hypotenuse:[1]

The other trigonometric functions of the angle can be defined similarly; for example, the tangent is the ratio between the opposite and adjacent sides or equivalently the ratio between the sine and cosine functions. The reciprocal of sine is cosecant, which gives the ratio of the hypotenuse length to the length of the opposite side. Similarly, the reciprocal of cosine is secant, which gives the ratio of the hypotenuse length to that of the adjacent side. The cotangent function is the ratio between the adjacent and opposite sides, a reciprocal of a tangent function. These functions can be formulated as:[1]

Special angle measures

[edit]

As stated, the values and appear to depend on the choice of a right triangle containing an angle of measure . However, this is not the case as all such triangles are similar, and so the ratios are the same for each of them. For example, each leg of the 45-45-90 right triangle is 1 unit, and its hypotenuse is ; therefore, .[2] The following table shows the special value of each input for both sine and cosine with the domain between . The input in this table provides various unit systems such as degree, radian, and so on. The angles other than those five can be obtained by using a calculator.[3][4]

Angle, x sin(x) cos(x)
Degrees Radians Gradians Turns Exact Decimal Exact Decimal
0 0 0 0 1 1
30° 0.5 0.866
45° 0.707 0.707
60° 0.866 0.5
90° 1 1 0 0

Laws

[edit]
Law of sines and cosines' illustration

The law of sines is useful for computing the lengths of the unknown sides in a triangle if two angles and one side are known.[5] Given a triangle with sides , , and , and angles opposite those sides , , and , the law states, This is equivalent to the equality of the first three expressions below: where is the triangle's circumradius.

The law of cosines is useful for computing the length of an unknown side if two other sides and an angle are known.[5] The law states, In the case where from which , the resulting equation becomes the Pythagorean theorem.[6]

Vector definition

[edit]

The cross product and dot product are operations on two vectors in Euclidean vector space. The sine and cosine functions can be defined in terms of the cross product and dot product. If and are vectors, and is the angle between and , then sine and cosine can be defined as:

Analytic descriptions

[edit]

Unit circle definition

[edit]

The sine and cosine functions may also be defined in a more general way by using unit circle, a circle of radius one centered at the origin , formulated as the equation of in the Cartesian coordinate system. Let a line through the origin intersect the unit circle, making an angle of with the positive half of the -axis. The - and -coordinates of this point of intersection are equal to and , respectively; that is,[7]

This definition is consistent with the right-angled triangle definition of sine and cosine when because the length of the hypotenuse of the unit circle is always 1; mathematically speaking, the sine of an angle equals the opposite side of the triangle, which is simply the -coordinate. A similar argument can be made for the cosine function to show that the cosine of an angle when , even under the new definition using the unit circle.[8][9]

Graph of a function and its elementary properties

[edit]
Animation demonstrating how the sine function (in red) is graphed from the y-coordinate (red dot) of a point on the unit circle (in green), at an angle of θ. The cosine (in blue) is the x-coordinate.

Using the unit circle definition has the advantage of drawing a graph of sine and cosine functions. This can be done by rotating counterclockwise a point along the circumference of a circle, depending on the input . In a sine function, if the input is , the point is rotated counterclockwise and stopped exactly on the -axis. If , the point is at the circle's halfway. If , the point returned to its origin. This results that both sine and cosine functions have the range between .[10]

Extending the angle to any real domain, the point rotated counterclockwise continuously. This can be done similarly for the cosine function as well, although the point is rotated initially from the -coordinate. In other words, both sine and cosine functions are periodic, meaning any angle added by the circumference's circle is the angle itself. Mathematically,[11]

A function is said to be odd if , and is said to be even if . The sine function is odd, whereas the cosine function is even.[12] Both sine and cosine functions are similar, with their difference being shifted by . This phase shift can be expressed as cos⁡(θ)=sin⁡(θ+π/2) or sin⁡(θ)=cos⁡(θ−π/2). This is distinct from the cofunction identities that follow below, which arise from right-triangle geometry and are not phase shifts: [13]

The fixed point iteration xn+1 = cos(xn) with initial value x0 = −1 converges to the Dottie number.

Zero is the only real fixed point of the sine function; in other words the only intersection of the sine function and the identity function is . The only real fixed point of the cosine function is called the Dottie number. The Dottie number is the unique real root of the equation . The decimal expansion of the Dottie number is approximately 0.739085.[14]

Continuity and differentiation

[edit]
The quadrants of the unit circle and of sin(x), using the Cartesian coordinate system

The sine and cosine functions are infinitely differentiable.[15] The derivative of sine is cosine, and the derivative of cosine is negative sine:[16] Continuing the process in higher-order derivative results in the repeated same functions; the fourth derivative of a sine is the sine itself.[15] These derivatives can be applied to the first derivative test, according to which the monotonicity of a function can be defined as the inequality of function's first derivative greater or less than equal to zero.[17] It can also be applied to second derivative test, according to which the concavity of a function can be defined by applying the inequality of the function's second derivative greater or less than equal to zero.[18] The following table shows that both sine and cosine functions have concavity and monotonicity—the positive sign () denotes a graph is increasing (going upward) and the negative sign () is decreasing (going downward)—in certain intervals.[19] This information can be represented as a Cartesian coordinates system divided into four quadrants.

Quadrant Angle Sine Cosine
Degrees Radians Sign Monotony Convexity Sign Monotony Convexity
1st quadrant, I Increasing Concave Decreasing Concave
2nd quadrant, II Decreasing Concave Decreasing Convex
3rd quadrant, III Decreasing Convex Increasing Convex
4th quadrant, IV Increasing Convex Increasing Concave

Both sine and cosine functions can be defined by using differential equations. The pair of is the solution to the two-dimensional system of differential equations and with the initial conditions and . One could interpret the unit circle in the above definitions as defining the phase space trajectory of the differential equation with the given initial conditions. It can be interpreted as a phase space trajectory of the system of differential equations and starting from the initial conditions and .[citation needed]

Integral and the usage in mensuration

[edit]

Their area under a curve can be obtained by using the integral with a certain bounded interval. Their antiderivatives are: where denotes the constant of integration.[20] These antiderivatives may be applied to compute the mensuration properties of both sine and cosine functions' curves with a given interval. For example, the arc length of the sine curve between and is where is the incomplete elliptic integral of the second kind with modulus . It cannot be expressed using elementary functions.[21] In the case of a full period, its arc length is where is the gamma function and is the lemniscate constant.[22]

Inverse functions

[edit]
The usual principal values of the arcsin(x) and arccos(x) functions graphed on the Cartesian plane

The inverse function of sine is arcsine or inverse sine, denoted as "arcsin", "asin", or .[23] The inverse function of cosine is arccosine, denoted as "arccos", "acos", or .[a] As sine and cosine are not injective, their inverses are not exact inverse functions, but partial inverse functions. For example, , but also , , and so on. It follows that the arcsine function is multivalued: , but also , , and so on. When only one value is desired, the function may be restricted to its principal branch. With this restriction, for each in the domain, the expression will evaluate only to a single value, called its principal value. The standard range of principal values for arcsin is from to , and the standard range for arccos is from to .[24]

The inverse function of both sine and cosine are defined as: where for some integer , By definition, both functions satisfy the equations: and

Other identities

[edit]

According to Pythagorean theorem, the squared hypotenuse is the sum of two squared legs of a right triangle. Dividing the formula on both sides with squared hypotenuse resulting in the Pythagorean trigonometric identity, the sum of a squared sine and a squared cosine equals 1:[25][b]

Sine and cosine satisfy the following double-angle formulas:[26]

Sine function in blue and sine squared function in red. The x-axis is in radians.

The cosine double angle formula implies that sin2 and cos2 are, themselves, shifted and scaled sine waves. Specifically,[27] The graph shows both sine and sine squared functions, with the sine in blue and the sine squared in red. Both graphs have the same shape but with different ranges of values and different periods. Sine squared has only positive values, but twice the number of periods.[citation needed]

Series and polynomials

[edit]
This animation shows how including more and more terms in the partial sum of its Taylor series approaches a sine curve.

Both sine and cosine functions can be defined by using a Taylor series, a power series involving the higher-order derivatives. As mentioned in § Continuity and differentiation, the derivative of sine is cosine and the derivative of cosine is the negative of sine. This means the successive derivatives of are , , , , continuing to repeat those four functions. The -th derivative, evaluated at the point 0: where the superscript represents repeated differentiation. This implies the following Taylor series expansion at . One can then use the theory of Taylor series to show that the following identities hold for all real numbers —where is the angle in radians.[28] More generally, for all complex numbers:[29] Taking the derivative of each term gives the Taylor series for cosine:[28][29]

Both sine and cosine functions with multiple angles may appear as their linear combination, resulting in a polynomial. Such a polynomial is known as the trigonometric polynomial. The trigonometric polynomial's ample applications may be acquired in its interpolation, and its extension of a periodic function known as the Fourier series. Let and be any coefficients, then the trigonometric polynomial of a degree —denoted as —is defined as:[30][31]

The trigonometric series can be defined similarly analogous to the trigonometric polynomial, its infinite inversion. Let and be any coefficients, then the trigonometric series can be defined as:[32] In the case of a Fourier series with a given integrable function , the coefficients of a trigonometric series are:[33]

Complex numbers relationship

[edit]

Complex exponential function definitions

[edit]

Both sine and cosine can be extended further via complex number, a set of numbers composed of both real and imaginary numbers. For real number , the definition of both sine and cosine functions can be extended in a complex plane in terms of an exponential function as follows:[34]

Alternatively, both functions can be defined in terms of Euler's formula:[34]

When plotted on the complex plane, the function for real values of traces out the unit circle in the complex plane. Both sine and cosine functions may be simplified to the imaginary and real parts of as:[35]

When for real values and , where , both sine and cosine functions can be expressed in terms of real sines, cosines, and hyperbolic functions as:[36]

Polar coordinates

[edit]
and are the real and imaginary parts of .

Sine and cosine are used to connect the real and imaginary parts of a complex number with its polar coordinates : and the real and imaginary parts are where and represent the magnitude and angle of the complex number .

For any real number , Euler's formula in terms of polar coordinates is stated as .

Complex arguments

[edit]
Domain coloring of sin(z) in the complex plane. Brightness indicates absolute magnitude, hue represents complex argument.
Vector field rendering of sin(z)

Applying the series definition of the sine and cosine to a complex argument, z, gives:

where sinh and cosh are the hyperbolic sine and cosine. These are entire functions.

It is also sometimes useful to express the complex sine and cosine functions in terms of the real and imaginary parts of its argument:

Partial fraction and product expansions of complex sine

[edit]

Using the partial fraction expansion technique in complex analysis, one can find that the infinite series both converge and are equal to . Similarly, one can show that

Using product expansion technique, one can derive

Usage of complex sine

[edit]

sin(z) is found in the functional equation for the Gamma function,

which in turn is found in the functional equation for the Riemann zeta-function,

As a holomorphic function, sin z is a 2D solution of Laplace's equation:

The complex sine function is also related to the level curves of pendulums.[how?][37][better source needed]

Complex graphs

[edit]
Sine function in the complex plane
Real component Imaginary component Magnitude


Arcsine function in the complex plane
Real component Imaginary component Magnitude

Background

[edit]

Etymology

[edit]

The word sine is derived, indirectly, from the Sanskrit word jyā 'bow-string' or more specifically its synonym jīvá (both adopted from Ancient Greek χορδή 'string; chord'), due to visual similarity between the arc of a circle with its corresponding chord and a bow with its string (see jyā, koti-jyā and utkrama-jyā; sine and chord are closely related in a circle of unit diameter, see Ptolemy’s Theorem). This was transliterated in Arabic as jība, which is meaningless in that language and written as jb (جب). Since Arabic is written without short vowels, jb was interpreted as the homograph jayb (جيب), which means 'bosom', 'pocket', or 'fold'.[38][39] When the Arabic texts of Al-Battani and al-Khwārizmī were translated into Medieval Latin in the 12th century by Gerard of Cremona, he used the Latin equivalent sinus (which also means 'bay' or 'fold', and more specifically 'the hanging fold of a toga over the breast').[40][41][42] Gerard was probably not the first scholar to use this translation; Robert of Chester appears to have preceded him and there is evidence of even earlier usage.[43][44] The English form sine was introduced in Thomas Fale's 1593 Horologiographia.[45]

The word cosine derives from an abbreviation of the Latin complementi sinus 'sine of the complementary angle' as cosinus in Edmund Gunter's Canon triangulorum (1620), which also includes a similar definition of cotangens.[46]

History

[edit]
Quadrant from 1840s Ottoman Turkey with axes for looking up the sine and versine of angles

While the early study of trigonometry can be traced to antiquity, the trigonometric functions as they are in use today were developed in the medieval period. The chord function was discovered by Hipparchus of Nicaea (180–125 BCE) and Ptolemy of Roman Egypt (90–165 CE).[47]

The sine and cosine functions are closely related to the jyā and koṭi-jyā functions used in Indian astronomy during the Gupta period (Aryabhatiya and Surya Siddhanta), via translation from Sanskrit to Arabic and then from Arabic to Latin.[40][48]

All six trigonometric functions in current use were known in Islamic mathematics by the 9th century, as was the law of sines, used in solving triangles.[49] Al-Khwārizmī (c. 780–850) produced tables of sines, cosines and tangents.[50][51] Muhammad ibn Jābir al-Harrānī al-Battānī (853–929) discovered the reciprocal functions of secant and cosecant, and produced the first table of cosecants for each degree from 1° to 90°.[51]

In the early 17th-century, the French mathematician Albert Girard published the first use of the abbreviations sin, cos, and tan; these were further promulgated by Euler (see below). The Opus palatinum de triangulis of Georg Joachim Rheticus, a student of Copernicus, was probably the first in Europe to define trigonometric functions directly in terms of right triangles instead of circles, with tables for all six trigonometric functions; this work was finished by Rheticus' student Valentin Otho in 1596.

In a paper published in 1682, Leibniz proved that sin x is not an algebraic function of x.[52] Roger Cotes computed the derivative of sine in his Harmonia Mensurarum (1722).[53] Leonhard Euler's Introductio in analysin infinitorum (1748) was mostly responsible for establishing the analytic treatment of trigonometric functions in Europe, also defining them as infinite series and presenting "Euler's formula", as well as the near-modern abbreviations sin., cos., tang., cot., sec., and cosec.[40]

Software implementations

[edit]

There is no standard algorithm for calculating sine and cosine. IEEE 754, the most widely used standard for the specification of reliable floating-point computation, does not address calculating trigonometric functions such as sine. The reason is that no efficient algorithm is known for computing sine and cosine with a specified accuracy, especially for large inputs.[54]

Algorithms for calculating sine may be balanced for such constraints as speed, accuracy, portability, or range of input values accepted. This can lead to different results for different algorithms, especially for special circumstances such as very large inputs, e.g. sin(1022).

A common programming optimization, used especially in 3D graphics, is to pre-calculate a table of sine values, for example one value per degree, then for values in-between pick the closest pre-calculated value, or linearly interpolate between the 2 closest values to approximate it. This allows results to be looked up from a table rather than being calculated in real time. With modern CPU architectures this method may offer no advantage.[citation needed]

The CORDIC algorithm is commonly used in scientific calculators.

The sine and cosine functions, along with other trigonometric functions, are widely available across programming languages and platforms. In computing, they are typically abbreviated to sin and cos.

Some CPU architectures have a built-in instruction for sine, including the Intel x87 FPUs since the 80387.

In programming languages, sin and cos are typically either a built-in function or found within the language's standard math library. For example, the C standard library defines sine functions within math.h: sin(double), sinf(float), and sinl(long double). The parameter of each is a floating point value, specifying the angle in radians. Each function returns the same data type as it accepts. Many other trigonometric functions are also defined in math.h, such as for cosine, arc sine, and hyperbolic sine (sinh). Similarly, Python defines math.sin(x) and math.cos(x) within the built-in math module. Complex sine and cosine functions are also available within the cmath module, e.g. cmath.sin(z). CPython's math functions call the C math library, and use a double-precision floating-point format.

Turns based implementations

[edit]

Some software libraries provide implementations of sine and cosine using the input angle in half-turns, a half-turn being an angle of 180 degrees or radians. Representing angles in turns or half-turns has accuracy advantages and efficiency advantages in some cases.[55][56] These functions are called sinpi and cospi in MATLAB,[55] OpenCL,[57] R,[56] Julia,[58] CUDA,[59] and ARM.[60] For example, sinpi(x) would evaluate to where x is expressed in half-turns, and consequently the final input to the function, πx can be interpreted in radians by sin.

The accuracy advantage stems from the ability to perfectly represent key angles like full-turn, half-turn, and quarter-turn losslessly in binary floating-point or fixed-point. In contrast, representing , , and in binary floating-point or binary scaled fixed-point always involves a loss of accuracy since irrational numbers cannot be represented with finitely many binary digits.

Turns also have an accuracy advantage and efficiency advantage for computing modulo to one period. Computing modulo 1 turn or modulo 2 half-turns can be losslessly and efficiently computed in both floating-point and fixed-point. For example, computing modulo 1 or modulo 2 for a binary point scaled fixed-point value requires only a bit shift or bitwise AND operation. In contrast, computing modulo involves inaccuracies in representing .

For applications involving angle sensors, the sensor typically provides angle measurements in a form directly compatible with turns or half-turns. For example, an angle sensor may count from 0 to 4096 over one complete revolution.[61] If half-turns are used as the unit for angle, then the value provided by the sensor directly and losslessly maps to a fixed-point data type with 11 bits to the right of the binary point. In contrast, if radians are used as the unit for storing the angle, then the inaccuracies and cost of multiplying the raw sensor integer by an approximation to would be incurred.

See also

[edit]

References

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
Sine and cosine are fundamental in , originally defined as ratios of sides in a right-angled triangle—sine of an θ as the opposite side over the , and cosine as the adjacent side over the —and later generalized as the y- and x-coordinates, respectively, of a point on circle at an θ radians from the positive x-axis. These functions are periodic with a period of 2π, meaning sin(θ + 2π) = sin(θ) and cos(θ + 2π) = cos(θ) for all real θ, and they satisfy the Pythagorean identity sin²θ + cos²θ = 1, which underscores their geometric foundation. Their range is the interval [-1, 1], reflecting the bounded nature of coordinates on circle. The historical development of sine and cosine traces back to ancient astronomy and , where early trigonometric concepts arose from calculations involving chords in circles. of (c. 190–120 BCE) is credited as the founder of , compiling the first known tables of chord lengths for a circle of radius 60 units to aid astronomical computations. (c. 100–170 CE) advanced this work in his , producing a comprehensive chord table and recognizing the identity equivalent to sin²θ + cos²θ = 1, with calculations accurate to six decimal places for small angles. The explicit sine function emerged in around 500 CE with , who used the term jya (meaning chord) in sine tables for planetary positions, later refined by Arab mathematicians like Abu al-Wafāʾ al-Būzjānī (c. 940–998 CE), who introduced the double-angle formula sin(2θ) = 2 sinθ cosθ. By the 16th century, European scholars such as and Rheticus standardized sine and cosine tables, with modern notation (sin and cos) abbreviated by in 1624. Beyond their geometric and historical roots, sine and cosine are indispensable in modeling periodic and oscillatory phenomena across science and engineering. In physics, they describe simple harmonic motion, such as the displacement of a mass on a spring or a pendulum, where position x(t) = A cos(ωt + φ), with A as amplitude, ω as angular frequency, and φ as phase shift. In electrical engineering, these functions underpin alternating current (AC) circuits and signal processing, forming the basis of Fourier analysis to decompose complex waveforms into sums of sines and cosines. Applications extend to navigation, where sine and cosine compute positions via spherical trigonometry, and to computer graphics for rotations and transformations. Their derivatives—cosθ for sine and -sinθ for cosine—further enable analysis of rates of change in dynamic systems.

Elementary Definitions

Right-Angled Triangle Definition

In a right-angled triangle, the sine of an acute θ is defined as the of the of the side opposite to θ to the of the . Similarly, the cosine of θ is the of the of the side adjacent to θ to the of the . These definitions are commonly remembered using the mnemonic "SOH CAH TOA," where SOH stands for sine equals opposite over , CAH for cosine equals adjacent over , and TOA for equals opposite over adjacent. Consider a 30-60-90 , a with angles measuring 30°, 60°, and 90°, and side lengths in the ratio 1 : √3 : 2, where the side opposite the 30° angle is 1, the side opposite the 60° angle is √3, and the is 2. For the 30° angle, the sine is the opposite side (1) divided by the (2), yielding sin(30°) = 1/2; the cosine is the adjacent side (√3) divided by the (2), yielding cos(30°) = √3/2. For the 60° angle, the sine is √3/2 and the cosine is 1/2. The definitions also reveal a relationship between complementary angles in a , where the two acute angles sum to 90°. Specifically, the sine of one acute equals the cosine of the other, so sin(θ) = cos(90° - θ). These definitions apply to angles measured in degrees and provide a foundation for understanding measure, defined as the of to on a . This geometric approach using can be extended to all angles via the unit .

Unit Circle Definition

The unit circle is defined as the circle centered at the origin (0,0) in the Cartesian plane with a radius of 1. For an angle θ\theta measured counterclockwise from the positive x-axis, consider the point where the terminal side of the angle intersects the unit circle; the coordinates of this point are (cosθ,sinθ)(\cos \theta, \sin \theta), where cosθ\cos \theta is the x-coordinate and sinθ\sin \theta is the y-coordinate. This geometric construction provides a definition of the sine and cosine functions that extends to all real numbers θ\theta, unlike the right-triangle approach limited to acute angles. The angle θ\theta is typically measured in radians, the standard unit for trigonometric functions, defined as the ratio of the arc length subtended by the angle at the center of the circle to the radius of the circle. On the unit circle, where the radius is 1, one radian corresponds to an arc length of 1, which is approximately 57.3 degrees. This unit circle perspective also interprets sine and cosine as the components of a unit vector pointing in the direction of the angle θ\theta from the positive x-axis. Since the unit circle is periodic with a full rotation every 2π2\pi radians, the functions satisfy sin(θ+2π)=sinθ\sin(\theta + 2\pi) = \sin \theta and cos(θ+2π)=cosθ\cos(\theta + 2\pi) = \cos \theta, establishing a period of 2π2\pi for both. The range of both sinθ\sin \theta and cosθ\cos \theta is the closed interval [1,1][-1, 1], as these are the possible x- and y-coordinates on a circle of radius 1. For acute angles between 0 and π/2\pi/2, this definition aligns with the right-triangle ratios, where the hypotenuse is taken as 1, serving as a special case of the more general approach.

Fundamental Properties

Special Angle Values

The exact values of sine and cosine for certain standard angles, known as special angles, are derived from the side ratios of right triangles and can be expressed algebraically without approximation. These values, including those for 0°, 30°, 45°, 60°, and 90° (with radian equivalents 0, π/6, π/4, π/3, and π/2), are fundamental for computations and memorization in trigonometry. Consider the 45°-45°-90° triangle, an isosceles with legs of equal length, say 1, and √2 obtained via the . The ratios yield sin(45°) = opposite/ = 1/√2 = √2/2 and cos(45°) = adjacent/ = √2/2, reflecting the geometric symmetry of the triangle. For the 30°-60°-90° triangle, construct an of side 1 and bisect it to form a with angles 30°, 60°, and 90°; the side ratios are 1 : √3 : 2 (opposite 30° : opposite 60° : ). Thus, sin(30°) = 1/2, cos(30°) = √3/2, sin(60°) = √3/2, and cos(60°) = 1/2, directly from these proportions. The values for 0° and 90° follow from the unit circle definition, where the angle 0° aligns with the positive x-axis at (1, 0), giving sin(0°) = 0 and cos(0°) = 1, while 90° aligns with the positive y-axis at (0, 1), yielding sin(90°) = 1 and cos(90°) = 0. On the unit , these special angles correspond to key positions: 0° at (1, 0), 30° at (√3/2, 1/2), 45° at (√2/2, √2/2), 60° at (1/2, √3/2), and 90° at (0, 1), where the coordinates are (cos θ, sin θ). The signs of sine and cosine vary by quadrant: sine is positive in the first and second quadrants (0° to 180°), negative in the third and fourth (180° to 360°); cosine is positive in the first and fourth quadrants (0° to 90° and 270° to 360°), negative in the second and third (90° to 270°).
Angle (degrees)Angle (radians)sin θcos θ
001
30°π/61/2√3/2
45°π/4√2/2√2/2
60°π/3√3/21/2
90°π/210

Graphs and Periodicity

The sine function, denoted sinθ\sin \theta, produces a smooth, symmetric wave that oscillates indefinitely along the horizontal axis. It begins at the origin (0,0)(0,0), rises to a maximum of $1atat\theta = \pi/2,crossestheaxisagainat, crosses the axis again at \pi,reachesaminimumof, reaches a minimum of -1atat3\pi/2, and returns to $0 at 2π2\pi. This shape reflects its odd symmetry, where the graph is a mirror image across the origin for positive and negative arguments. Special values such as sin0=0\sin 0 = 0 and sin(π/2)=1\sin(\pi/2) = 1 mark key intercepts and peaks on this graph. The cosine function, cosθ\cos \theta, shares the same oscillatory pattern but is phase-shifted by π/2\pi/2 relative to sine, such that cosθ=sin(θ+π/2)\cos \theta = \sin(\theta + \pi/2). It starts at (0,1)(0,1), descends to $0atat\pi/2,reaches, reaches -1atat\pi, returns to $0 at 3π/23\pi/2, and peaks again at $1atat2\pi.[](https://mathworld.wolfram.com/Cosine.html)Unlikesine,cosineexhibits[evensymmetry](/page/Symmetry),appearingidenticalwhenreflectedacrosstheverticalaxis,as.[](https://mathworld.wolfram.com/Cosine.html) Unlike sine, cosine exhibits [even symmetry](/page/Symmetry), appearing identical when reflected across the vertical axis, as \cos(-\theta) = \cos \theta.[](https://mathworld.wolfram.com/Cosine.html)Meanwhile,.[](https://mathworld.wolfram.com/Cosine.html) Meanwhile, \sin(-\theta) = -\sin \theta$ confirms sine's . Both functions are periodic with a fundamental period of 2π2\pi, meaning sin(θ+2π)=sinθ\sin(\theta + 2\pi) = \sin \theta and cos(θ+2π)=cosθ\cos(\theta + 2\pi) = \cos \theta for all θ\theta. Their amplitude is $1,boundingthewavesbetween, bounding the waves between -1 and $1 inclusive. Zeros of sine occur at integer multiples of π\pi, i.e., θ=kπ\theta = k\pi for kZk \in \mathbb{Z}, while cosine zeros are at odd multiples of π/2\pi/2, θ=π/2+kπ\theta = \pi/2 + k\pi. Maxima for sine are at π/2+2kπ\pi/2 + 2k\pi (value $1),andminimaat), and minima at 3\pi/2 + 2k\pi(value(value-1);forcosine,maximaareat); for cosine, maxima are at 2k\pi (value $1), and minima at (2k+1)π(2k+1)\pi (value 1-1). General transformations modify these base graphs: vertical scaling by amplitude aa yields asinθa \sin \theta or acosθa \cos \theta, altering the height while preserving the period; frequency adjustment via ωsin(ωθ+ϕ)\omega \sin(\omega \theta + \phi) changes the period to 2π/ω2\pi / \omega and introduces a phase shift ϕ\phi. Sine and cosine are continuous everywhere and bounded within [1,1][-1, 1], ensuring their graphs form unbroken, confined waves without discontinuities or unbounded growth.

Differentiation and Integration

The sine and cosine functions are continuous and infinitely differentiable everywhere on the real line, belonging to the class of smooth functions C(R)C^\infty(\mathbb{R}). The first derivative of sinθ\sin \theta is cosθ\cos \theta, and the first derivative of cosθ\cos \theta is sinθ-\sin \theta. These results can be established using the limit definition of the derivative. To derive ddθsinθ=cosθ\frac{d}{d\theta} \sin \theta = \cos \theta, ddθsinθ=limΔθ0sin(θ+Δθ)sinθΔθ.\frac{d}{d\theta} \sin \theta = \lim_{\Delta \theta \to 0} \frac{\sin(\theta + \Delta \theta) - \sin \theta}{\Delta \theta}. Using the angle addition formula, sin(θ+Δθ)=sinθcosΔθ+cosθsinΔθ\sin(\theta + \Delta \theta) = \sin \theta \cos \Delta \theta + \cos \theta \sin \Delta \theta, this becomes sinθ(cosΔθ1Δθ)+cosθ(sinΔθΔθ).\sin \theta \left( \frac{\cos \Delta \theta - 1}{\Delta \theta} \right) + \cos \theta \left( \frac{\sin \Delta \theta}{\Delta \theta} \right). Taking the limit as Δθ0\Delta \theta \to 0, using the known limits limh0sinhh=1\lim_{h \to 0} \frac{\sin h}{h} = 1 and limh0cosh1h=0\lim_{h \to 0} \frac{\cos h - 1}{h} = 0, yields cosθ\cos \theta. A similar derivation, applying the cosine addition formula, gives ddθcosθ=sinθ\frac{d}{d\theta} \cos \theta = -\sin \theta. Higher-order derivatives of sine and cosine follow a cyclic every four differentiations due to the repeated application of these rules. Specifically, the second derivative of sinθ\sin \theta is sinθ-\sin \theta, the third is cosθ-\cos \theta, and the fourth returns to sinθ\sin \theta. For cosθ\cos \theta, the second derivative is cosθ-\cos \theta, the third is sinθ\sin \theta, and the fourth is cosθ\cos \theta. This periodicity reflects the functions' oscillatory nature and holds for all orders. The indefinite integrals are the antiderivatives obtained by reversing the differentiation rules: sinθdθ=cosθ+C\int \sin \theta \, d\theta = -\cos \theta + C and cosθdθ=sinθ+C\int \cos \theta \, d\theta = \sin \theta + C, where CC is the constant of integration. These follow directly from the fundamental theorem of calculus, as differentiation of the right-hand sides recovers the integrands. Definite integrals of sine and cosine over full periods exhibit symmetry properties leading to zero values. For example, 02πsinθdθ=[cosθ]02π=cos(2π)+cos(0)=1+1=0\int_0^{2\pi} \sin \theta \, d\theta = [-\cos \theta]_0^{2\pi} = -\cos(2\pi) + \cos(0) = -1 + 1 = 0, and similarly 02πcosθdθ=0\int_0^{2\pi} \cos \theta \, d\theta = 0. This arises from the functions' equal positive and negative areas over one period. These differentiation and integration properties make sine and cosine fundamental solutions to simple linear differential equations, such as the second-order equation y+y=0y'' + y = 0. The characteristic equation r2+1=0r^2 + 1 = 0 has roots ±i\pm i, yielding the general solution y(θ)=Asinθ+Bcosθy(\theta) = A \sin \theta + B \cos \theta, where AA and BB are constants determined by initial conditions. Substituting verifies that both sinθ\sin \theta and cosθ\cos \theta satisfy the equation, as their second derivatives are negatives of themselves.

Trigonometric Identities

Basic Identities

The Pythagorean trigonometric identity states that for any angle θ\theta, sin2θ+cos2θ=1.\sin^2 \theta + \cos^2 \theta = 1. This identity arises directly from the unit circle definition, where a point on the circle has coordinates (cosθ,sinθ)(\cos \theta, \sin \theta) and satisfies the equation x2+y2=1x^2 + y^2 = 1, substituting yields the relation. Alternatively, using the right-angled triangle definition with hypotenuse 1, the opposite side is sinθ\sin \theta and the adjacent side is cosθ\cos \theta; applying the gives (sinθ)2+(cosθ)2=12(\sin \theta)^2 + (\cos \theta)^2 = 1^2. Special values of θ\theta, such as multiples of π/6\pi/6 and π/4\pi/4, satisfy this identity exactly. The reciprocal identities define the cosecant, secant, and cotangent functions in terms of sine and cosine: cscθ=1sinθ,secθ=1cosθ,cotθ=cosθsinθ.\csc \theta = \frac{1}{\sin \theta}, \quad \sec \theta = \frac{1}{\cos \theta}, \quad \cot \theta = \frac{\cos \theta}{\sin \theta}. These follow from the basic definitions of the in a , where cosecant is the over the opposite side, secant is the over the adjacent side, and cotangent is the adjacent over the opposite. The function is similarly defined as the ratio tanθ=sinθcosθ.\tan \theta = \frac{\sin \theta}{\cos \theta}. These reciprocal and quotient identities hold wherever the denominators are defined. The cofunction identities relate sine and cosine through complementary angles: sinθ=cos(π2θ),cosθ=sin(π2θ).\sin \theta = \cos\left(\frac{\pi}{2} - \theta\right), \quad \cos \theta = \sin\left(\frac{\pi}{2} - \theta\right). In a right triangle, if θ\theta is one acute angle, its complement π2θ\frac{\pi}{2} - \theta swaps the roles of the opposite and adjacent sides relative to the hypotenuse, leading to the equality. On the unit circle, the point for π2θ\frac{\pi}{2} - \theta has coordinates (sinθ,cosθ)(\sin \theta, \cos \theta), confirming the relation. These identities have domain restrictions: cscθ\csc \theta and cotθ\cot \theta are undefined where sinθ=0\sin \theta = 0 (i.e., θ=kπ\theta = k\pi for integer kk), while secθ\sec \theta and tanθ\tan \theta are undefined where cosθ=0\cos \theta = 0 (i.e., θ=π2+kπ\theta = \frac{\pi}{2} + k\pi).

Laws of Sines and Cosines

The law of sines states that in any triangle with sides aa, bb, cc opposite angles AA, BB, CC respectively, the ratios of the side lengths to the sines of their opposite angles are equal: asinA=bsinB=csinC=2R,\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C} = 2R, where RR is the circumradius of the triangle. This relation holds for both acute and obtuse triangles, providing a direct link between the trigonometric functions and the geometry of the circumscribed circle. A standard derivation of the law of sines begins with the area formulas for the triangle. The area can be expressed as 12bcsinA=12casinB=12absinC\frac{1}{2}bc \sin A = \frac{1}{2}ca \sin B = \frac{1}{2}ab \sin C. Dividing the first equality by bcbc and rearranging yields sinAa=sinBb=sinCc\frac{\sin A}{a} = \frac{\sin B}{b} = \frac{\sin C}{c}, which inverts to the law of sines. The constant 2R2R arises from the extended law of sines, where each side subtends an inscribed angle at the circumference and a central angle at the circumcenter; the side length equals 2Rsinθ2R \sin \theta for central angle 2θ2\theta. The provides a relationship for the sides and the cosine of an included angle: c2=a2+b22abcosC,c^2 = a^2 + b^2 - 2ab \cos C, with cyclic permutations for the other forms. This formula generalizes the , reducing to c2=a2+b2c^2 = a^2 + b^2 when C=90C = 90^\circ since cos90=0\cos 90^\circ = 0. One derivation uses the vector . Consider vectors u\mathbf{u} and v\mathbf{v} along sides bb and aa, with uv=c|\mathbf{u} - \mathbf{v}| = c. Then, c2=uv2=u2+v22uv=a2+b22abcosC,c^2 = |\mathbf{u} - \mathbf{v}|^2 = |\mathbf{u}|^2 + |\mathbf{v}|^2 - 2 \mathbf{u} \cdot \mathbf{v} = a^2 + b^2 - 2ab \cos C, since the uv=abcosC\mathbf{u} \cdot \mathbf{v} = ab \cos C. Alternatively, a projection approach aligns one side with an axis and projects the adjacent side onto it, yielding the 2abcosC-2ab \cos C term as the adjustment for the angle. This projection interpretation connects to the unit circle definition of cosine, where cosθ\cos \theta represents the horizontal projection of a point on the unit circle. These laws enable the given partial information about sides and angles. The applies to angle-side- (ASA), angle--side (AAS), and side-side- (SSA) configurations, while the suits side--side (SAS) and side-side-side (SSS). In the SSA case, known as the ambiguous case, multiple triangles may satisfy the conditions: none if the given is acute and the opposite side is too short to reach the other side; exactly one if the opposite side is long enough or the angle is obtuse; or two possible triangles if the relative to the given side allows the opposite side to intersect twice. To resolve ambiguity, compute the possible second using sin1\sin^{-1} and check consistency with the third summing to 180180^\circ.

Sum and Product Identities

The sum and difference identities for sine and cosine express the sine or cosine of the sum or difference of two angles in terms of and cosines of the individual angles. These identities are fundamental for simplifying trigonometric expressions and solving equations involving multiple angles. They can be derived geometrically using the unit circle and distance formula, where the chord length between points corresponding to angles α\alpha and β\beta is equated after . The sine addition formula is sin(α+β)=sinαcosβ+cosαsinβ\sin(\alpha + \beta) = \sin \alpha \cos \beta + \cos \alpha \sin \beta, and the sine difference formula is sin(αβ)=sinαcosβcosαsinβ\sin(\alpha - \beta) = \sin \alpha \cos \beta - \cos \alpha \sin \beta. Similarly, the cosine addition formula is cos(α+β)=cosαcosβsinαsinβ\cos(\alpha + \beta) = \cos \alpha \cos \beta - \sin \alpha \sin \beta, and the cosine difference formula is cos(αβ)=cosαcosβ+sinαsinβ\cos(\alpha - \beta) = \cos \alpha \cos \beta + \sin \alpha \sin \beta. These hold for all real angles α\alpha and β\beta. A geometric proof involves placing points on the unit circle at angles α\alpha and β\beta, computing the distance between them using the in the triangle formed, and applying the Pythagorean identity to match the chord length expressions. Alternatively, a brief proof uses complex exponentials via , where sinθ=eiθeiθ2i\sin \theta = \frac{e^{i\theta} - e^{-i\theta}}{2i} and cosθ=eiθ+eiθ2\cos \theta = \frac{e^{i\theta} + e^{-i\theta}}{2}, leading to the addition formulas by expanding the exponential product ei(α+β)=eiαeiβe^{i(\alpha + \beta)} = e^{i\alpha} e^{i\beta}. These identities trace back to chord tables and were formalized by Persian astronomers around 950 AD. A special case of the sum identities yields the double-angle formulas, obtained by setting β=α\beta = \alpha. Thus, sin2θ=2sinθcosθ\sin 2\theta = 2 \sin \theta \cos \theta and cos2θ=cos2θsin2θ=2cos2θ1=12sin2θ\cos 2\theta = \cos^2 \theta - \sin^2 \theta = 2\cos^2 \theta - 1 = 1 - 2\sin^2 \theta. These can be derived directly from the sum formulas, for example, cos2θ=cos(θ+θ)=cosθcosθsinθsinθ\cos 2\theta = \cos(\theta + \theta) = \cos \theta \cos \theta - \sin \theta \sin \theta. Another geometric approach uses on a inscribed in the unit circle, where the product of diagonals equals the sum of products of opposite sides, leading to the double-angle relations after substituting chord lengths proportional to sines. The product-to-sum identities convert products of sines and cosines into sums, facilitating integration and simplification. Key formulas include: sinαcosβ=12[sin(α+β)+sin(αβ)],\sin \alpha \cos \beta = \frac{1}{2} [\sin(\alpha + \beta) + \sin(\alpha - \beta)], sinαsinβ=12[cos(αβ)cos(α+β)],\sin \alpha \sin \beta = \frac{1}{2} [\cos(\alpha - \beta) - \cos(\alpha + \beta)], cosαcosβ=12[cos(α+β)+cos(αβ)],\cos \alpha \cos \beta = \frac{1}{2} [\cos(\alpha + \beta) + \cos(\alpha - \beta)], cosαsinβ=12[sin(α+β)sin(αβ)].\cos \alpha \sin \beta = \frac{1}{2} [\sin(\alpha + \beta) - \sin(\alpha - \beta)]. These are derived by applying the sum identities to the right-hand sides and solving, or using the formulas from early trigonometric tables. Half-angle formulas express sine and cosine of half an in terms of the full angle, useful for nested radicals in exact values. The sine half-angle formula is sinθ2=±1cosθ2\sin \frac{\theta}{2} = \pm \sqrt{\frac{1 - \cos \theta}{2}}
Add your contribution
Related Hubs
Contribute something
User Avatar
No comments yet.