List of trigonometric identities

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

In trigonometry, trigonometric identities are equalities that involve trigonometric functions and are true for every value of the occurring variables for which both sides of the equality are defined. Geometrically, these are identities involving certain functions of one or more angles. They are distinct from triangle identities, which are identities potentially involving angles but also involving side lengths or other lengths of a triangle.

These identities are useful whenever expressions involving trigonometric functions need to be simplified. An important application is the integration of non-trigonometric functions: a common technique involves first using the substitution rule with a trigonometric function, and then simplifying the resulting integral with a trigonometric identity.

Pythagorean identities[edit]

Trigonometric functions and their reciprocals on the unit circle. All of the right-angled triangles are similar, i.e. the ratios between their corresponding sides are the same. For sin, cos and tan the unit-length radius forms the hypotenuse of the triangle that defines them. The reciprocal identities arise as ratios of sides in the triangles where this unit line is no longer the hypotenuse. The triangle shaded blue illustrates the identity , and the red triangle shows that .

The basic relationship between the sine and cosine is given by the Pythagorean identity:

where means and means

This can be viewed as a version of the Pythagorean theorem, and follows from the equation for the unit circle. This equation can be solved for either the sine or the cosine:

where the sign depends on the quadrant of

Dividing this identity by , , or both yields the following identities:

Using these identities, it is possible to express any trigonometric function in terms of any other (up to a plus or minus sign):

Each trigonometric function in terms of each of the other five.[1]
in terms of

Reflections, shifts, and periodicity[edit]

By examining the unit circle, one can establish the following properties of the trigonometric functions.


Unit circle with a swept angle theta plotted at coordinates (a,b). As the angle is reflected in increments of one-quarter pi (45 degrees), the coordinates are transformed. For a transformation of one-quarter pi (45 degrees, or 90 - theta), the coordinates are transformed to (b,a). Another increment of the angle of reflection by one-quarter pi (90 degrees total, or 180 - theta) transforms the coordinates to (-a,b). A third increment of the angle of reflection by another one-quarter pi (135 degrees total, or 270 - theta) transforms the coordinates to (-b,-a). A final increment of one-quarter pi (180 degrees total, or 360 - theta) transforms the coordinates to (a,-b).
Transformation of coordinates (a,b) when shifting the reflection angle in increments of .

When the direction of a Euclidean vector is represented by an angle this is the angle determined by the free vector (starting at the origin) and the positive -unit vector. The same concept may also be applied to lines in a Euclidean space, where the angle is that determined by a parallel to the given line through the origin and the positive -axis. If a line (vector) with direction is reflected about a line with direction then the direction angle of this reflected line (vector) has the value

The values of the trigonometric functions of these angles for specific angles satisfy simple identities: either they are equal, or have opposite signs, or employ the complementary trigonometric function. These are also known as reduction formulae.[2]

reflected in [3]
odd/even identities
reflected in reflected in reflected in reflected in
compare to

Shifts and periodicity[edit]

Unit circle with a swept angle theta plotted at coordinates (a,b). As the swept angle is incremented by one-half pi (90 degrees), the coordinates are transformed to (-b,a). Another increment of one-half pi (180 degrees total) transforms the coordinates to (-a,-b). A final increment of one-half pi (270 degrees total) transforms the coordinates to (b,a).
Transformation of coordinates (a,b) when shifting the angle in increments of .
Shift by one quarter period Shift by one half period Shift by full periods[4] Period

Angle sum and difference identities[edit]

Illustration of angle addition formulae for the sine and cosine of acute angles. Emphasized segment is of unit length.

These are also known as the angle addition and subtraction theorems (or formulae).

These identities are summarized in the first two rows of the following table, which also includes sum and difference identities for the other trigonometric functions.

Sine [5][6]
Cosine [6][7]
Tangent [6][8]
Cosecant [9]
Secant [9]
Cotangent [6][10]
Arcsine [11]
Arccosine [12]
Arctangent [13]

Sines and cosines of sums of infinitely many angles[edit]

When the series converges absolutely then

Because the series converges absolutely, it is necessarily the case that and In particular, in these two identities an asymmetry appears that is not seen in the case of sums of finitely many angles: in each product, there are only finitely many sine factors but there are cofinitely many cosine factors. Terms with infinitely many sine factors would necessarily be equal to zero.

When only finitely many of the angles are nonzero then only finitely many of the terms on the right side are nonzero because all but finitely many sine factors vanish. Furthermore, in each term all but finitely many of the cosine factors are unity.

Tangents and cotangents of sums[edit]

Let (for ) be the kth-degree elementary symmetric polynomial in the variables

for that is,


using the sine and cosine sum formulae above.

The number of terms on the right side depends on the number of terms on the left side.

For example:

and so on. The case of only finitely many terms can be proved by mathematical induction.[14]

Secants and cosecants of sums[edit]

where is the kth-degree elementary symmetric polynomial in the n variables and the number of terms in the denominator and the number of factors in the product in the numerator depend on the number of terms in the sum on the left.[15] The case of only finitely many terms can be proved by mathematical induction on the number of such terms.

For example,

Ptolemy's theorem[edit]

Diagram illustrating the relation between Ptolemy's theorem and the angle sum trig identity for sine.

Ptolemy's theorem is important in the history of trigonometric identities, as it is how results equivalent to the sum and difference formulas for sine and cosine were first proved (see the section on classical antiquity in the page History of trigonometry). It states that in a cyclic quadrilateral , as shown in the accompanying figure, the sum of the products of the lengths of opposite sides is equal to the product of the lengths of the diagonals. In the special cases of one of the diagonals or sides being a diameter of the circle, this theorem gives rise directly to the angle sum and difference trigonometric identities.[16] The relationship follows most easily when the circle is constructed to have a diameter of length one, as shown here.

By Thales's theorem, and are both right angles. The right-angled triangles and both share the hypotenuse of length 1. Thus, the side , , and .

By the inscribed angle theorem, the central angle subtended by the chord at the circle's center is twice the angle , i.e. . Therefore, the symmetrical pair of red triangles each has the angle at the center. Each of these triangles has a hypotenuse of length , so the length of is , i.e. simply . The quadrilateral's other diagonal is the diameter of length 1, so the product of the diagonals' lengths is also .

When these values are substituted into the statement of Ptolemy's theorem that , this yields the angle sum trigonometric identity for sine: . The angle difference formula for can be similarly derived by letting the side serve as a diameter instead of .[17]

Multiple-angle formulae[edit]

Tn is the nth Chebyshev polynomial [18]
de Moivre's formula, i is the imaginary unit [19]

Multiple-angle formulae[edit]

Double-angle formulae[edit]

Visual demonstration of the double-angle formula for sine. The area, 1/2 × base × height, of an isosceles triangle is calculated, first when upright, and then on its side. When upright, the area = . When on its side, the area = 1/2 . Rotating the triangle does not change its area, so these two expressions are equal. Therefore, .

Formulae for twice an angle.[20]

Triple-angle formulae[edit]

Formulae for triple angles.[20]

Multiple-angle and half-angle formulae[edit]


Chebyshev method[edit]

The Chebyshev method is a recursive algorithm for finding the nth multiple angle formula knowing the th and th values.[22]

can be computed from , , and with

This can be proved by adding together the formulae

It follows by induction that is a polynomial of the so-called Chebyshev polynomial of the first kind, see Chebyshev polynomials#Trigonometric definition.

Similarly, can be computed from , , and cos(x) with

This can be proved by adding formulae for and .

Serving a purpose similar to that of the Chebyshev method, for the tangent we can write:

Half-angle formulae[edit]




These can be shown by using either the sum and difference identities or the multiple-angle formulae.

Sine Cosine Tangent Cotangent
Double-angle formula[25][26]
Triple-angle formula[18][27]
Half-angle formula[23][24]

The fact that the triple-angle formula for sine and cosine only involves powers of a single function allows one to relate the geometric problem of a compass and straightedge construction of angle trisection to the algebraic problem of solving a cubic equation, which allows one to prove that trisection is in general impossible using the given tools, by field theory.[citation needed]

A formula for computing the trigonometric identities for the one-third angle exists, but it requires finding the zeroes of the cubic equation 4x3 − 3x + d = 0, where is the value of the cosine function at the one-third angle and d is the known value of the cosine function at the full angle. However, the discriminant of this equation is positive, so this equation has three real roots (of which only one is the solution for the cosine of the one-third angle). None of these solutions is reducible to a real algebraic expression, as they use intermediate complex numbers under the cube roots.

Power-reduction formulae[edit]

Obtained by solving the second and third versions of the cosine double-angle formula.

Sine Cosine Other
Cosine power-reduction formula: an illustrative diagram. The red, orange and blue triangles are all similar, and the red and orange triangles are congruent. The hypotenuse of the blue triangle has length . The angle is , so the base of that triangle has length . That length is also equal to the summed lengths of and , i.e. . Therefore, , yielding the power-reduction formula when both sides are divided by . The half-angle formula for cosine can be obtained by replacing with and taking the square-root of both sides.
Sine power-reduction formula: an illustrative diagram. The shaded blue and green triangles, and the red-outlined triangle are all right-angled and similar, and all contain the angle . The hypotenuse of the red-outlined triangle has length , so its side has length . The line segment has length and sum of the lengths of and equals the length of , which is 1. Therefore, . Subtracting from both sides and dividing by 2 by two yields the power-reduction formula for sine. The half-angle formula for sine can be obtained by replacing with and taking the square-root of both sides. Note that this figure also illustrates, in the vertical line segment , that .

In general terms of powers of or the following is true, and can be deduced using De Moivre's formula, Euler's formula and the binomial theorem[citation needed].

Cosine Sine

Product-to-sum and sum-to-product identities[edit]

The product-to-sum identities or prosthaphaeresis formulae can be proven by expanding their right-hand sides using the angle addition theorems. Historically, the first four of these were known as Werner's formulas, after Johannes Werner who used them for astronomical calculations.[28] See amplitude modulation for an application of the product-to-sum formulae, and beat (acoustics) and phase detector for applications of the sum-to-product formulae.

Diagram illustrating sum-to-product identities for sine and cosine. The blue right-angled triangle has angle and the red right-angled triangle has angle . Both have a hypotenuse of length 1. Auxiliary angles, here called and , are constructed such that and . Therefore, and . This allows the two congruent purple-outline triangles and to be constructed, each with hypotenuse and angle at their base. The sum of the heights of the red and blue triangles is , and this is equal to twice the height of one purple triangle, i.e. . Writing and in that equation in terms of and yields the sum-to-product identity for sine. Similarly, the sum of the widths of the red and blue triangles yields the corresponding identity for cosine.

Hermite's cotangent identity[edit]

Charles Hermite demonstrated the following identity.[31] Suppose are complex numbers, no two of which differ by an integer multiple of π. Let

(in particular, being an empty product, is 1). Then

The simplest non-trivial example is the case n = 2:

Finite products of trigonometric functions[edit]

For coprime integers n, m

where Tn is the Chebyshev polynomial.

The following relationship holds for the sine function

More generally for an integer n > 0[32]

or written in terms of the chord function ,

This comes from the factorization of the polynomial into linear factors (cf. root of unity): For a point z on the complex unit circle and an integer n > 0,

Linear combinations[edit]

For some purposes it is important to know that any linear combination of sine waves of the same period or frequency but different phase shifts is also a sine wave with the same period or frequency, but a different phase shift. This is useful in sinusoid data fitting, because the measured or observed data are linearly related to the a and b unknowns of the in-phase and quadrature components basis below, resulting in a simpler Jacobian, compared to that of and .

Sine and cosine[edit]

The linear combination, or harmonic addition, of sine and cosine waves is equivalent to a single sine wave with a phase shift and scaled amplitude,[33][34]

where and are defined as so:

given that

Arbitrary phase shift[edit]

More generally, for arbitrary phase shifts, we have

where and satisfy:

More than two sinusoids[edit]

The general case reads[34]



Lagrange's trigonometric identities[edit]

These identities, named after Joseph Louis Lagrange, are:[35][36][37]


A related function is the Dirichlet kernel:

Certain linear fractional transformations[edit]

If is given by the linear fractional transformation

and similarly

More tersely stated, if for all we let be what we called above, then

If is the slope of a line, then is the slope of its rotation through an angle of

Relation to the complex exponential function[edit]

Euler's formula states that, for any real number x:[38]

where i is the imaginary unit. Substituting −x for x gives us:

These two equations can be used to solve for cosine and sine in terms of the exponential function. Specifically,[39][40]

These formulae are useful for proving many other trigonometric identities. For example, that ei(θ+φ) = e e means that

cos(θ + φ) + i sin(θ + φ) = (cos θ + i sin θ) (cos φ + i sin φ) = (cos θ cos φ − sin θ sin φ) + i (cos θ sin φ + sin θ cos φ).

That the real part of the left hand side equals the real part of the right hand side is an angle addition formula for cosine. The equality of the imaginary parts gives an angle addition formula for sine.

The following table expresses the trigonometric functions and their inverses in terms of the exponential function and the complex logarithm.

Function Inverse function[41]

Infinite product formulae[edit]

For applications to special functions, the following infinite product formulae for trigonometric functions are useful:[42][43]

Inverse trigonometric functions[edit]

The following identities give the result of composing a trigonometric function with an inverse trigonometric function.[44]

Taking the multiplicative inverse of both sides of the each equation above results in the equations for The right hand side of the formula above will always be flipped. For example, the equation for is:

while the equations for and are:

The following identities are implied by the reflection identities. They hold whenever are in the domains of the relevant functions.


Identities without variables[edit]

In terms of the arctangent function we have[45]

The curious identity known as Morrie's law,

is a special case of an identity that contains one variable:


is a special case of an identity with :

For the case ,

For the case ,

The same cosine identity is



The following is perhaps not as readily generalized to an identity containing variables (but see explanation below):

Degree measure ceases to be more felicitous than radian measure when we consider this identity with 21 in the denominators:

The factors 1, 2, 4, 5, 8, 10 may start to make the pattern clear: they are those integers less than 21/2 that are relatively prime to (or have no prime factors in common with) 21. The last several examples are corollaries of a basic fact about the irreducible cyclotomic polynomials: the cosines are the real parts of the zeroes of those polynomials; the sum of the zeroes is the Möbius function evaluated at (in the very last case above) 21; only half of the zeroes are present above. The two identities preceding this last one arise in the same fashion with 21 replaced by 10 and 15, respectively.

Other cosine identities include:[46]

and so forth for all odd numbers, and hence

Many of those curious identities stem from more general facts like the following:[47]


Combining these gives us

If n is an odd number () we can make use of the symmetries to get

The transfer function of the Butterworth low pass filter can be expressed in terms of polynomial and poles. By setting the frequency as the cutoff frequency, the following identity can be proved:

Computing π[edit]

An efficient way to compute π to a large number of digits is based on the following identity without variables, due to Machin. This is known as a Machin-like formula:

or, alternatively, by using an identity of Leonhard Euler:
or by using Pythagorean triples:

Others include:[48][45]

Generally, for numbers t1, ..., tn−1 ∈ (−1, 1) for which θn = Σn−1
arctan tk ∈ (π/4, 3π/4)
, let tn = tan(π/2 − θn) = cot θn. This last expression can be computed directly using the formula for the cotangent of a sum of angles whose tangents are t1, ..., tn−1 and its value will be in (−1, 1). In particular, the computed tn will be rational whenever all the t1, ..., tn−1 values are rational. With these values,

where in all but the first expression, we have used tangent half-angle formulae. The first two formulae work even if one or more of the tk values is not within (−1, 1). Note that if t = p/q is rational, then the (2t, 1 − t2, 1 + t2) values in the above formulae are proportional to the Pythagorean triple (2pq, q2p2, q2 + p2).

For example, for n = 3 terms,

for any a, b, c, d > 0.

An identity of Euclid[edit]

Euclid showed in Book XIII, Proposition 10 of his Elements that the area of the square on the side of a regular pentagon inscribed in a circle is equal to the sum of the areas of the squares on the sides of the regular hexagon and the regular decagon inscribed in the same circle. In the language of modern trigonometry, this says:

Ptolemy used this proposition to compute some angles in his table of chords in Book I, chapter 11 of Almagest.

Composition of trigonometric functions[edit]

These identities involve a trigonometric function of a trigonometric function:[49]

where Ji are Bessel functions.

Further "conditional" identities for the case α + β + γ = 180°[edit]

The following formulae apply to arbitrary plane triangles and follow from as long as the functions occurring in the formulae are well-defined (the latter applies only to the formulae in which tangents and cotangents occur).

Historical shorthands[edit]

The versine, coversine, haversine, and exsecant were used in navigation. For example, the haversine formula was used to calculate the distance between two points on a sphere. They are rarely used today.


Relationship between all T-ratios[edit]

The following identity gives the relationship between all the trigonometric ratios.

Dirichlet kernel[edit]

The Dirichlet kernel Dn(x) is the function occurring on both sides of the next identity:

The convolution of any integrable function of period with the Dirichlet kernel coincides with the function's th-degree Fourier approximation. The same holds for any measure or generalized function.

Tangent half-angle substitution[edit]

If we set

where sometimes abbreviated to cis x.

When this substitution of for tan x/2 is used in calculus, it follows that is replaced by 2t/1 + t2, is replaced by 1 − t2/1 + t2 and the differential dx is replaced by 2 dt/1 + t2. Thereby one converts rational functions of and to rational functions of in order to find their antiderivatives.

Viète's infinite product[edit]

See also[edit]


  1. ^ Abramowitz and Stegun, p. 73, 4.3.45
  2. ^ Selby 1970, p. 188
  3. ^ Abramowitz and Stegun, p. 72, 4.3.13–15
  4. ^ Abramowitz and Stegun, p. 72, 4.3.7–9
  5. ^ Abramowitz and Stegun, p. 72, 4.3.16
  6. ^ a b c d Weisstein, Eric W. "Trigonometric Addition Formulas". MathWorld.
  7. ^ Abramowitz and Stegun, p. 72, 4.3.17
  8. ^ Abramowitz and Stegun, p. 72, 4.3.18
  9. ^ a b "Angle Sum and Difference Identities". Retrieved 2019-10-12.
  10. ^ Abramowitz and Stegun, p. 72, 4.3.19
  11. ^ Abramowitz and Stegun, p. 80, 4.4.32
  12. ^ Abramowitz and Stegun, p. 80, 4.4.33
  13. ^ Abramowitz and Stegun, p. 80, 4.4.34
  14. ^ Bronstein, Manuel (1989). "Simplification of real elementary functions". In Gonnet, G. H. (ed.). Proceedings of the ACM-SIGSAM 1989 International Symposium on Symbolic and Algebraic Computation. ISSAC '89 (Portland US-OR, 1989-07). New York: ACM. pp. 207–211. doi:10.1145/74540.74566. ISBN 0-89791-325-6.
  15. ^ Michael Hardy (August–September 2016). "On Tangents and Secants of Infinite Sums". American Mathematical Monthly. 123 (7): 701–703. doi:10.4169/amer.math.monthly.123.7.701. S2CID 126310545.
  16. ^ "Sine, Cosine, and Ptolemy's Theorem".
  17. ^ "Sine, Cosine, and Ptolemy's Theorem".
  18. ^ a b Weisstein, Eric W. "Multiple-Angle Formulas". MathWorld.
  19. ^ Abramowitz and Stegun, p. 74, 4.3.48
  20. ^ a b Selby 1970, pg. 190
  21. ^ Weisstein, Eric W. "Multiple-Angle Formulas". Retrieved 2022-02-06.
  22. ^ Ward, Ken. "Multiple angles recursive formula". Ken Ward's Mathematics Pages.
  23. ^ a b Abramowitz and Stegun, p. 72, 4.3.20–22
  24. ^ a b Weisstein, Eric W. "Half-Angle Formulas". MathWorld.
  25. ^ Abramowitz and Stegun, p. 72, 4.3.24–26
  26. ^ Weisstein, Eric W. "Double-Angle Formulas". MathWorld.
  27. ^ Abramowitz and Stegun, p. 72, 4.3.27–28
  28. ^ Eves, Howard (1990). An introduction to the history of mathematics (6th ed.). Philadelphia: Saunders College Pub. p. 309. ISBN 0-03-029558-0. OCLC 20842510.
  29. ^ Abramowitz and Stegun, p. 72, 4.3.31–33
  30. ^ Abramowitz and Stegun, p. 72, 4.3.34–39
  31. ^ Johnson, Warren P. (Apr 2010). "Trigonometric Identities à la Hermite". American Mathematical Monthly. 117 (4): 311–327. doi:10.4169/000298910x480784. S2CID 29690311.
  32. ^ "Product Identity Multiple Angle".
  33. ^ Apostol, T.M. (1967) Calculus. 2nd edition. New York, NY, Wiley. Pp 334-335.
  34. ^ a b Weisstein, Eric W. "Harmonic Addition Theorem". MathWorld.
  35. ^ Ortiz Muñiz, Eddie (Feb 1953). "A Method for Deriving Various Formulas in Electrostatics and Electromagnetism Using Lagrange's Trigonometric Identities". American Journal of Physics. 21 (2): 140. Bibcode:1953AmJPh..21..140M. doi:10.1119/1.1933371.
  36. ^ Agarwal, Ravi P.; O'Regan, Donal (2008). Ordinary and Partial Differential Equations: With Special Functions, Fourier Series, and Boundary Value Problems (illustrated ed.). Springer Science & Business Media. p. 185. ISBN 9780387791463. Extract of page 185
  37. ^ Jeffrey, Alan; Dai, Hui-hui (2008). "Section". Handbook of Mathematical Formulas and Integrals (4th ed.). Academic Press. ISBN 978-0-12-374288-9.
  38. ^ Abramowitz and Stegun, p. 74, 4.3.47
  39. ^ Abramowitz and Stegun, p. 71, 4.3.2
  40. ^ Abramowitz and Stegun, p. 71, 4.3.1
  41. ^ Abramowitz and Stegun, p. 80, 4.4.26–31
  42. ^ Abramowitz and Stegun, p. 75, 4.3.89–90
  43. ^ Abramowitz and Stegun, p. 85, 4.5.68–69
  44. ^ Abramowitz & Stegun 1972, p. 73, 4.3.45
  45. ^ a b c Wu, Rex H. "Proof Without Words: Euler's Arctangent Identity", Mathematics Magazine 77(3), June 2004, p. 189.
  46. ^ Humble, Steve (Nov 2004). "Grandma's identity". Mathematical Gazette. 88: 524–525. doi:10.1017/s0025557200176223. S2CID 125105552.
  47. ^ Weisstein, Eric W. "Sine". MathWorld.
  48. ^ Harris, Edward M. "Sums of Arctangents", in Roger B. Nelson, Proofs Without Words (1993, Mathematical Association of America), p. 39.
  49. ^ Milton Abramowitz and Irene Stegun, Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, Dover Publications, New York, 1972, formulae 9.1.42–9.1.45
  50. ^ Abramowitz and Stegun, p. 72, 4.3.23