List of trigonometric identities

From testwiki
Jump to navigation Jump to search

Template:Short description Template:Trigonometry 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

Template:Main

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 1+cot2θ=csc2θ, and the red triangle shows that tan2θ+1=sec2θ.

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

sin2θ+cos2θ=1,

where sin2θ means (sinθ)2 and cos2θ means (cosθ)2.

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

sinθ=±1cos2θ,cosθ=±1sin2θ.

where the sign depends on the quadrant of θ.

Dividing this identity by sin2θ, cos2θ, or both yields the following identities: 1+cot2θ=csc2θ1+tan2θ=sec2θsec2θ+csc2θ=sec2θcsc2θ

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 sinθ cscθ cosθ secθ tanθ cotθ
sinθ= sinθ 1cscθ ±1cos2θ ±sec2θ1secθ ±tanθ1+tan2θ ±11+cot2θ
cscθ= 1sinθ cscθ ±11cos2θ ±secθsec2θ1 ±1+tan2θtanθ ±1+cot2θ
cosθ= ±1sin2θ ±csc2θ1cscθ cosθ 1secθ ±11+tan2θ ±cotθ1+cot2θ
secθ= ±11sin2θ ±cscθcsc2θ1 1cosθ secθ ±1+tan2θ ±1+cot2θcotθ
tanθ= ±sinθ1sin2θ ±1csc2θ1 ±1cos2θcosθ ±sec2θ1 tanθ 1cotθ
cotθ= ±1sin2θsinθ ±csc2θ1 ±cosθ1cos2θ ±1sec2θ1 1tanθ cotθ


Reflections, shifts, and periodicity

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

Reflections

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 π4

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 x-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 x-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 θ=2αθ.

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 Template:Em.[2]

θ reflected in α=0[3]
odd/even identities
θ reflected in α=π4 θ reflected in α=π2 θ reflected in α=3π4 θ reflected in α=π
compare to α=0
sin(θ)=sinθ sin(π2θ)=cosθ sin(πθ)=+sinθ sin(3π2θ)=cosθ sin(2πθ)=sin(θ)=sin(θ)
cos(θ)=+cosθ cos(π2θ)=sinθ cos(πθ)=cosθ cos(3π2θ)=sinθ cos(2πθ)=+cos(θ)=cos(θ)
tan(θ)=tanθ tan(π2θ)=cotθ tan(πθ)=tanθ tan(3π2θ)=+cotθ tan(2πθ)=tan(θ)=tan(θ)
csc(θ)=cscθ csc(π2θ)=secθ csc(πθ)=+cscθ csc(3π2θ)=secθ csc(2πθ)=csc(θ)=csc(θ)
sec(θ)=+secθ sec(π2θ)=cscθ sec(πθ)=secθ sec(3π2θ)=cscθ sec(2πθ)=+sec(θ)=sec(θ)
cot(θ)=cotθ cot(π2θ)=tanθ cot(πθ)=cotθ cot(3π2θ)=+tanθ cot(2πθ)=cot(θ)=cot(θ)

Shifts and periodicity

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 π2
Shift by one quarter period Shift by one half period Shift by full periods[4] Period
sin(θ±π2)=±cosθ sin(θ+π)=sinθ sin(θ+k2π)=+sinθ 2π
cos(θ±π2)=sinθ cos(θ+π)=cosθ cos(θ+k2π)=+cosθ 2π
csc(θ±π2)=±secθ csc(θ+π)=cscθ csc(θ+k2π)=+cscθ 2π
sec(θ±π2)=cscθ sec(θ+π)=secθ sec(θ+k2π)=+secθ 2π
tan(θ±π4)=tanθ±11tanθ tan(θ+π2)=cotθ tan(θ+kπ)=+tanθ π
cot(θ±π4)=cotθ11±cotθ cot(θ+π2)=tanθ cot(θ+kπ)=+cotθ π

Signs

The sign of trigonometric functions depends on quadrant of the angle. If π<θπ and Template:Math is the sign function,

sgn(sinθ)=sgn(cscθ)={+1if  0<θ<π1if  π<θ<00if  θ{0,π}sgn(cosθ)=sgn(secθ)={+1if  12π<θ<12π1if  π<θ<12π  or  12π<θ<π0if  θ{12π,12π}sgn(tanθ)=sgn(cotθ)={+1if  π<θ<12π  or  0<θ<12π1if  12π<θ<0  or  12π<θ<π0if  θ{12π,0,12π,π}

The trigonometric functions are periodic with common period 2π, so for values of Template:Mvar outside the interval (π,π], they take repeating values (see Template:Slink above).

Angle sum and difference identities

Template:See also

Illustration of angle addition formulae for the sine and cosine of acute angles. Emphasized segment is of unit length.
Diagram showing the angle difference identities for sin(αβ) and cos(αβ)

These are also known as the Template:Em (or Template:Em). sin(α+β)=sinαcosβ+cosαsinβsin(αβ)=sinαcosβcosαsinβcos(α+β)=cosαcosβsinαsinβcos(αβ)=cosαcosβ+sinαsinβ

The angle difference identities for sin(αβ) and cos(αβ) can be derived from the angle sum versions by substituting β for β and using the facts that sin(β)=sin(β) and cos(β)=cos(β). They can also be derived by using a slightly modified version of the figure for the angle sum identities, both of which are shown here.

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 sin(α±β) = sinαcosβ±cosαsinβ[5][6]
Cosine cos(α±β) = cosαcosβsinαsinβ[6][7]
Tangent tan(α±β) = tanα±tanβ1tanαtanβ[6][8]
Cosecant csc(α±β) = secαsecβcscαcscβsecαcscβ±cscαsecβ[9]
Secant sec(α±β) = secαsecβcscαcscβcscαcscβsecαsecβ[9]
Cotangent cot(α±β) = cotαcotβ1cotβ±cotα[6][10]
Arcsine arcsinx±arcsiny = arcsin(x1y2±y1x2y)[11]
Arccosine arccosx±arccosy = arccos(xy(1x2)(1y2))[12]
Arctangent arctanx±arctany = arctan(x±y1xy)[13]
Arccotangent arccotx±arccoty = arccot(xy1y±x)

Sines and cosines of sums of infinitely many angles

When the series i=1θi converges absolutely then

sin(i=1θi)=odd k1(1)k12A{1,2,3,}|A|=k(iAsinθii∉Acosθi)cos(i=1θi)=even k0(1)k2A{1,2,3,}|A|=k(iAsinθii∉Acosθi).

Because the series i=1θi converges absolutely, it is necessarily the case that limiθi=0, limisinθi=0, and limicosθi=1. 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 θi 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

Let ek (for k=0,1,2,3,) be the Template:Mvarth-degree elementary symmetric polynomial in the variables xi=tanθi for i=0,1,2,3,, that is,

e0=1e1=ixi=itanθie2=i<jxixj=i<jtanθitanθje3=i<j<kxixjxk=i<j<ktanθitanθjtanθk    

Then

tan(iθi)=sin(iθi)/icosθicos(iθi)/icosθi=odd k1(1)k12A{1,2,3,}|A|=kiAtanθieven k0(1)k2A{1,2,3,}|A|=kiAtanθi=e1e3+e5e0e2+e4cot(iθi)=e0e2+e4e1e3+e5

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: tan(θ1+θ2)=e1e0e2=x1+x21  x1x2=tanθ1+tanθ21  tanθ1tanθ2,tan(θ1+θ2+θ3)=e1e3e0e2=(x1+x2+x3)  (x1x2x3)1  (x1x2+x1x3+x2x3),tan(θ1+θ2+θ3+θ4)=e1e3e0e2+e4=(x1+x2+x3+x4)  (x1x2x3+x1x2x4+x1x3x4+x2x3x4)1  (x1x2+x1x3+x1x4+x2x3+x2x4+x3x4) + (x1x2x3x4),

and so on. The case of only finitely many terms can be proved by mathematical induction.[14] The case of infinitely many terms can be proved by using some elementary inequalities.[15]

Secants and cosecants of sums

sec(iθi)=isecθie0e2+e4csc(iθi)=isecθie1e3+e5

where ek is the Template:Mvarth-degree elementary symmetric polynomial in the Template:Mvar variables xi=tanθi, i=1,,n, 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.[16] The case of only finitely many terms can be proved by mathematical induction on the number of such terms.

For example,

sec(α+β+γ)=secαsecβsecγ1tanαtanβtanαtanγtanβtanγcsc(α+β+γ)=secαsecβsecγtanα+tanβ+tanγtanαtanβtanγ.

Ptolemy's theorem

Template:Main Template:See also

Diagram illustrating the relation between Ptolemy's theorem and the angle sum trig identity for sine. Ptolemy's theorem states that the sum of the products of the lengths of opposite sides is equal to the product of the lengths of the diagonals. When those side-lengths are expressed in terms of the sin and cos values shown in the figure above, this yields the angle sum trigonometric identity for sine: Template:Math.

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. It states that in a cyclic quadrilateral ABCD, 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.[17] The relationship follows most easily when the circle is constructed to have a diameter of length one, as shown here.

By Thales's theorem, DAB and DCB are both right angles. The right-angled triangles DAB and DCB both share the hypotenuse BD of length 1. Thus, the side AB=sinα, AD=cosα, BC=sinβ and CD=cosβ.

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

When these values are substituted into the statement of Ptolemy's theorem that |AC||BD|=|AB||CD|+|AD||BC|, this yields the angle sum trigonometric identity for sine: sin(α+β)=sinαcosβ+cosαsinβ. The angle difference formula for sin(αβ) can be similarly derived by letting the side CD serve as a diameter instead of BD.[17]

Multiple-angle and half-angle formulae

Template:Mvar is the Template:Mvarth Chebyshev polynomial cos(nθ)=Tn(cosθ)[18]
de Moivre's formula, Template:Mvar is the imaginary unit cos(nθ)+isin(nθ)=(cosθ+isinθ)n[19]

Multiple-angle formulae

Double-angle formulae

Visual demonstration of the double-angle formula for sine. For the above isosceles triangle with unit sides and angle 2θ, the area Template:Sfrac × base × height is calculated in two orientations. When upright, the area is sinθcosθ. When on its side, the same area is 12sin2θ. Therefore, sin2θ=2sinθcosθ.

Formulae for twice an angle.[20]

Template:Startplainlist

  • sin(2θ)=2sinθcosθ=(sinθ+cosθ)21=2tanθ1+tan2θ
  • cos(2θ)=cos2θsin2θ=2cos2θ1=12sin2θ=1tan2θ1+tan2θ
  • tan(2θ)=2tanθ1tan2θ
  • cot(2θ)=cot2θ12cotθ=1tan2θ2tanθ
  • sec(2θ)=sec2θ2sec2θ=1+tan2θ1tan2θ
  • csc(2θ)=secθcscθ2=1+tan2θ2tanθ

Template:Endplainlist

Triple-angle formulae

Formulae for triple angles.[20]

Template:Startplainlist

  • sin(3θ)=3sinθ4sin3θ=4sinθsin(π3θ)sin(π3+θ)
  • cos(3θ)=4cos3θ3cosθ=4cosθcos(π3θ)cos(π3+θ)
  • tan(3θ)=3tanθtan3θ13tan2θ=tanθtan(π3θ)tan(π3+θ)
  • cot(3θ)=3cotθcot3θ13cot2θ
  • sec(3θ)=sec3θ43sec2θ
  • csc(3θ)=csc3θ3csc2θ4

Template:Endplainlist

Multiple-angle formulae

Formulae for multiple angles.[21]

Template:Startplainlist

  • sin(nθ)=k odd(1)k12(nk)cosnkθsinkθ=sinθi=0(n+1)/2j=0i(1)ij(n2i+1)(ij)cosn2(ij)1θ=sin(θ)k=0n12(1)k(2cos(θ))n2k1(nk1k)=2(n1)k=0n1sin(kπ/n+θ)
  • cos(nθ)=k even(1)k2(nk)cosnkθsinkθ=i=0n/2j=0i(1)ij(n2i)(ij)cosn2(ij)θ=k=0n2(1)k(2cos(θ))n2k(nkk)n2n2k
  • cos((2n+1)θ)=(1)n22nk=02ncos(kπ/(2n+1)θ)
  • cos(2nθ)=(1)n22n1k=02n1cos((1+2k)π/(4n)θ)
  • tan(nθ)=k odd(1)k12(nk)tankθk even(1)k2(nk)tankθ

Template:Endplainlist

Chebyshev method

The Chebyshev method is a recursive algorithm for finding the Template:Mvarth multiple angle formula knowing the (n1)th and (n2)th values.[22]

cos(nx) can be computed from cos((n1)x), cos((n2)x), and cos(x) with

cos(nx)=2cosxcos((n1)x)cos((n2)x).

This can be proved by adding together the formulae

cos((n1)x+x)=cos((n1)x)cosxsin((n1)x)sinxcos((n1)xx)=cos((n1)x)cosx+sin((n1)x)sinx

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

Similarly, sin(nx) can be computed from sin((n1)x), sin((n2)x), and cosx with sin(nx)=2cosxsin((n1)x)sin((n2)x) This can be proved by adding formulae for sin((n1)x+x) and sin((n1)xx).

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

tan(nx)=tan((n1)x)+tanx1tan((n1)x)tanx.

Half-angle formulae

sinθ2=sgn(sinθ2)1cosθ2cosθ2=sgn(cosθ2)1+cosθ2tanθ2=1cosθsinθ=sinθ1+cosθ=cscθcotθ=tanθ1+secθ=sgn(sinθ)1cosθ1+cosθ=1+sgn(cosθ)1+tan2θtanθcotθ2=1+cosθsinθ=sinθ1cosθ=cscθ+cotθ=sgn(sinθ)1+cosθ1cosθsecθ2=sgn(cosθ2)21+cosθcscθ2=sgn(sinθ2)21cosθ [23][24]

Also tanη±θ2=sinη±sinθcosη+cosθtan(θ2+π4)=secθ+tanθ1sinθ1+sinθ=|1tanθ2||1+tanθ2|

Table

Template:See also 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] sin(2θ)=2sinθcosθ =2tanθ1+tan2θ cos(2θ)=cos2θsin2θ=2cos2θ1=12sin2θ=1tan2θ1+tan2θ tan(2θ)=2tanθ1tan2θ cot(2θ)=cot2θ12cotθ
Triple-angle formula[18][27] sin(3θ)=sin3θ+3cos2θsinθ=4sin3θ+3sinθ cos(3θ)=cos3θ3sin2θcosθ=4cos3θ3cosθ tan(3θ)=3tanθtan3θ13tan2θ cot(3θ)=3cotθcot3θ13cot2θ
Half-angle formula[23][24] sinθ2=sgn(sinθ2)1cosθ2(or sin2θ2=1cosθ2) cosθ2=sgn(cosθ2)1+cosθ2(or cos2θ2=1+cosθ2) tanθ2=cscθcotθ=±1cosθ1+cosθ=sinθ1+cosθ=1cosθsinθtanη+θ2=sinη+sinθcosη+cosθtan(θ2+π4)=secθ+tanθ1sinθ1+sinθ=|1tanθ2||1+tanθ2|tanθ2=tanθ1+1+tan2θfor θ(π2,π2) cotθ2=cscθ+cotθ=±1+cosθ1cosθ=sinθ1cosθ=1+cosθsinθ

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.

A formula for computing the trigonometric identities for the one-third angle exists, but it requires finding the zeroes of the cubic equation Template:Math, where x is the value of the cosine function at the one-third angle and Template:Mvar 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 are reducible to a real algebraic expression, as they use intermediate complex numbers under the cube roots.

Power-reduction formulae

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

Sine Cosine Other
sin2θ=1cos(2θ)2 cos2θ=1+cos(2θ)2 sin2θcos2θ=1cos(4θ)8
sin3θ=3sinθsin(3θ)4 cos3θ=3cosθ+cos(3θ)4 sin3θcos3θ=3sin(2θ)sin(6θ)32
sin4θ=34cos(2θ)+cos(4θ)8 cos4θ=3+4cos(2θ)+cos(4θ)8 sin4θcos4θ=34cos(4θ)+cos(8θ)128
sin5θ=10sinθ5sin(3θ)+sin(5θ)16 cos5θ=10cosθ+5cos(3θ)+cos(5θ)16 sin5θcos5θ=10sin(2θ)5sin(6θ)+sin(10θ)512

Template:Stack Template:Stack Template:Clear

In general terms of powers of sinθ or cosθ the following is true, and can be deduced using De Moivre's formula, Euler's formula and the binomial theorem.

if n is ... cosnθ sinnθ
n is odd cosnθ=22nk=0n12(nk)cos((n2k)θ) sinnθ=22nk=0n12(1)(n12k)(nk)sin((n2k)θ)
n is even cosnθ=12n(nn2)+22nk=0n21(nk)cos((n2k)θ) sinnθ=12n(nn2)+22nk=0n21(1)(n2k)(nk)cos((n2k)θ)

Product-to-sum and sum-to-product identities

Proof of the sum-and-difference-to-product cosine identity for prosthaphaeresis calculations using an isosceles triangle

The product-to-sum identities[28] 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.[29] 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.

Product-to-sum identities

Template:Startplainlist

  • cosθcosφ=12(cos(θφ)+cos(θ+φ))sinθsinφ=12(cos(θφ)cos(θ+φ))sinθcosφ=12(sin(θ+φ)+sin(θφ))cosθsinφ=12(sin(θ+φ)sin(θφ))
  • tanθtanφ=cos(θφ)cos(θ+φ)cos(θφ)+cos(θ+φ)
  • tanθcotφ=sin(θ+φ)+sin(θφ)sin(θ+φ)sin(θφ)
  • k=1ncosθk=12neScos(e1θ1++enθn)where e=(e1,,en)S={1,1}n
  • k=1nsinθk=(1)n22n{eScos(e1θ1++enθn)j=1nejifnis even,eSsin(e1θ1++enθn)j=1nejifnis odd

Template:Endplainlist

Sum-to-product identities

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 p and q, are constructed such that p=(θ+φ)/2 and q=(θφ)/2. Therefore, θ=p+q and φ=pq. This allows the two congruent purple-outline triangles AFG and FCE to be constructed, each with hypotenuse cosq and angle p at their base. The sum of the heights of the red and blue triangles is sinθ+sinφ, and this is equal to twice the height of one purple triangle, i.e. 2sinpcosq. Writing p and q in that equation in terms of θ and φ yields a sum-to-product identity for sine: sinθ+sinφ=2sin(θ+φ2)cos(θφ2). Similarly, the sum of the widths of the red and blue triangles yields the corresponding identity for cosine.

The sum-to-product identities are as follows:[30]

Template:Startplainlist

  • sinθ±sinφ=2sin(θ±φ2)cos(θφ2)
  • cosθ+cosφ=2cos(θ+φ2)cos(θφ2)
  • cosθcosφ=2sin(θ+φ2)sin(θφ2)
  • tanθ±tanφ=sin(θ±φ)cosθcosφ

Template:Endplainlist

Hermite's cotangent identity

Template:Main

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

An,k=1jnjkcot(akaj)

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

cot(za1)cot(zan)=cosnπ2+k=1nAn,kcot(zak).

The simplest non-trivial example is the case Template:Math:

cot(za1)cot(za2)=1+cot(a1a2)cot(za1)+cot(a2a1)cot(za2).

Finite products of trigonometric functions

For coprime integers Template:Mvar, Template:Mvar

k=1n(2a+2cos(2πkmn+x))=2(Tn(a)+(1)n+mcos(nx))

where Template:Mvar is the Chebyshev polynomial.Template:Citation needed

The following relationship holds for the sine function

k=1n1sin(kπn)=n2n1.

More generally for an integer Template:Math[32]

sin(nx)=2n1k=0n1sin(knπ+x)=2n1k=1nsin(knπx).

or written in terms of the chord function crdx2sin12x,

crd(nx)=k=1ncrd(kn2πx).

This comes from the factorization of the polynomial zn1 into linear factors (cf. root of unity): For any complex Template:Mvar and an integer Template:Math,

zn1=k=1n(zexp(kn2πi)).

Linear combinations

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 Template:Mvar and Template:Mvar unknowns of the in-phase and quadrature components basis below, resulting in a simpler Jacobian, compared to that of c and φ.

Sine and cosine

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]

acosx+bsinx=ccos(x+φ)

where c and φ are defined as so:

c=sgn(a)a2+b2,φ=arctan(b/a),

given that a0.

Arbitrary phase shift

More generally, for arbitrary phase shifts, we have

asin(x+θa)+bsin(x+θb)=csin(x+φ)

where c and φ satisfy:

c2=a2+b2+2abcos(θaθb),tanφ=asinθa+bsinθbacosθa+bcosθb.

More than two sinusoids

Template:See alsoThe general case reads[34] iaisin(x+θi)=asin(x+θ), where a2=i,jaiajcos(θiθj) and tanθ=iaisinθiiaicosθi.

Lagrange's trigonometric identities

These identities, named after Joseph Louis Lagrange, are:[35][36][37] k=0nsinkθ=cos12θcos((n+12)θ)2sin12θk=0ncoskθ=sin12θ+sin((n+12)θ)2sin12θ for θ≢0(mod2π).

A related function is the Dirichlet kernel:

Dn(θ)=1+2k=1ncoskθ=sin((n+12)θ)sin12θ.

A similar identity is[38]

k=1ncos(2k1)α=sin(2nα)2sinα.

The proof is the following. By using the angle sum and difference identities, sin(A+B)sin(AB)=2cosAsinB. Then let's examine the following formula,

2sinαk=1ncos(2k1)α=2sinαcosα+2sinαcos3α+2sinαcos5α++2sinαcos(2n1)α and this formula can be written by using the above identity,

2sinαk=1ncos(2k1)α=k=1n(sin(2kα)sin(2(k1)α))=(sin2αsin0)+(sin4αsin2α)+(sin6αsin4α)++(sin(2nα)sin(2(n1)α))=sin(2nα).

So, dividing this formula with 2sinα completes the proof.

Certain linear fractional transformations

If f(x) is given by the linear fractional transformation f(x)=(cosα)xsinα(sinα)x+cosα, and similarly g(x)=(cosβ)xsinβ(sinβ)x+cosβ, then f(g(x))=g(f(x))=(cos(α+β))xsin(α+β)(sin(α+β))x+cos(α+β).

More tersely stated, if for all α we let fα be what we called f above, then fαfβ=fα+β.

If x is the slope of a line, then f(x) is the slope of its rotation through an angle of α.

Relation to the complex exponential function

Template:Main

Euler's formula states that, for any real number x:[39] eix=cosx+isinx, where i is the imaginary unit. Substituting −x for x gives us: eix=cos(x)+isin(x)=cosxisinx.

These two equations can be used to solve for cosine and sine in terms of the exponential function. Specifically,[40][41] cosx=eix+eix2 sinx=eixeix2i

These formulae are useful for proving many other trigonometric identities. For example, that Template:Math means that Template:Block indent 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[42]
sinθ=eiθeiθ2i arcsinx=iln(ix+1x2)
cosθ=eiθ+eiθ2 arccosx=iln(x+x21)
tanθ=ieiθeiθeiθ+eiθ arctanx=i2ln(i+xix)
cscθ=2ieiθeiθ arccscx=iln(ix+11x2)
secθ=2eiθ+eiθ arcsecx=iln(1x+i11x2)
cotθ=ieiθ+eiθeiθeiθ arccotx=i2ln(xix+i)
cisθ=eiθ arccisx=ilnx

Relation to complex hyperbolic functions

Trigonometric functions may be deduced from hyperbolic functions with complex arguments. The formulae for the relations are shown below[43][44].sinx=isinh(ix)cosx=cosh(ix)tanx=itanh(ix)cotx=icoth(ix)secx=sech(ix)cscx=icsch(ix)

Series expansion

When using a power series expansion to define trigonometric functions, the following identities are obtained:[45]

sinx=xx33!+x55!x77!+=n=0(1)nx2n+1(2n+1)!,cosx=1x22!+x44!x66!+=n=0(1)nx2n(2n)!.

Infinite product formulae

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

sinx=xn=1(1x2π2n2),cosx=n=1(1x2π2(n12))2),sinhx=xn=1(1+x2π2n2),coshx=n=1(1+x2π2(n12))2).

Inverse trigonometric functions

Template:Main

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

sin(arcsinx)=xcos(arcsinx)=1x2tan(arcsinx)=x1x2sin(arccosx)=1x2cos(arccosx)=xtan(arccosx)=1x2xsin(arctanx)=x1+x2cos(arctanx)=11+x2tan(arctanx)=xsin(arccscx)=1xcos(arccscx)=x21xtan(arccscx)=1x21sin(arcsecx)=x21xcos(arcsecx)=1xtan(arcsecx)=x21sin(arccotx)=11+x2cos(arccotx)=x1+x2tan(arccotx)=1x

Taking the multiplicative inverse of both sides of the each equation above results in the equations for csc=1sin,sec=1cos, and cot=1tan. The right hand side of the formula above will always be flipped. For example, the equation for cot(arcsinx) is: cot(arcsinx)=1tan(arcsinx)=1x1x2=1x2x while the equations for csc(arccosx) and sec(arccosx) are: csc(arccosx)=1sin(arccosx)=11x2 and sec(arccosx)=1cos(arccosx)=1x.

The following identities are implied by the reflection identities. They hold whenever x,r,s,x,r, and s are in the domains of the relevant functions. π2=arcsin(x)+arccos(x)=arctan(r)+arccot(r)=arcsec(s)+arccsc(s)π=arccos(x)+arccos(x)=arccot(r)+arccot(r)=arcsec(s)+arcsec(s)0=arcsin(x)+arcsin(x)=arctan(r)+arctan(r)=arccsc(s)+arccsc(s)

Also,[49] arctanx+arctan1x={π2,if x>0π2,if x<0arccotx+arccot1x={π2,if x>03π2,if x<0 arccos1x=arcsecx and arcsec1x=arccosx arcsin1x=arccscx and arccsc1x=arcsinx

The arctangent function can be expanded as a series:[50] arctan(nx)=m=1narctanx1+(m1)mx2

Identities without variables

In terms of the arctangent function we have[49] arctan12=arctan13+arctan17.

The curious identity known as Morrie's law, cos20cos40cos80=18,

is a special case of an identity that contains one variable: j=0k1cos(2jx)=sin(2kx)2ksinx.

Similarly, sin20sin40sin80=38 is a special case of an identity with x=20: sinxsin(60x)sin(60+x)=sin3x4.

For the case x=15, sin15sin45sin75=28,sin15sin75=14.

For the case x=10, sin10sin50sin70=18.

The same cosine identity is cosxcos(60x)cos(60+x)=cos3x4.

Similarly, cos10cos50cos70=38,cos15cos45cos75=28,cos15cos75=14.

Similarly, tan50tan60tan70=tan80,tan40tan30tan20=tan10.

The following is perhaps not as readily generalized to an identity containing variables (but see explanation below): cos24+cos48+cos96+cos168=12.

Degree measure ceases to be more felicitous than radian measure when we consider this identity with 21 in the denominators: cos2π21+cos(22π21)+cos(42π21)+cos(52π21)+cos(82π21)+cos(102π21)=12.

The factors 1, 2, 4, 5, 8, 10 may start to make the pattern clear: they are those integers less than Template:Sfrac 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:[51] 2cosπ3=1,2cosπ5×2cos2π5=1,2cosπ7×2cos2π7×2cos3π7=1, and so forth for all odd numbers, and hence cosπ3+cosπ5×cos2π5+cosπ7×cos2π7×cos3π7+=1.

Many of those curious identities stem from more general facts like the following:[52] k=1n1sinkπn=n2n1 and k=1n1coskπn=sinπn22n1.

Combining these gives us k=1n1tankπn=nsinπn2

If Template:Mvar is an odd number (n=2m+1) we can make use of the symmetries to get k=1mtankπ2m+1=2m+1

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: k=1nsin(2k1)π4n=k=1ncos(2k1)π4n=22n

Computing Template:Pi

An efficient way to [[pi|compute Template:Pi]] 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: π4=4arctan15arctan1239 or, alternatively, by using an identity of Leonhard Euler: π4=5arctan17+2arctan379 or by using Pythagorean triples: π=arccos45+arccos513+arccos1665=arcsin35+arcsin1213+arcsin6365.

Others include:[53][49] π4=arctan12+arctan13, π=arctan1+arctan2+arctan3, π4=2arctan13+arctan17.

Generally, for numbers Template:Math for which Template:Math, let Template:Math. This last expression can be computed directly using the formula for the cotangent of a sum of angles whose tangents are Template:Math and its value will be in Template:Math. In particular, the computed Template:Math will be rational whenever all the Template:Math values are rational. With these values, π2=k=1narctan(tk)π=k=1nsgn(tk)arccos(1tk21+tk2)π=k=1narcsin(2tk1+tk2)π=k=1narctan(2tk1tk2),

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 Template:Math values is not within Template:Math. Note that if Template:Math is rational, then the Template:Math values in the above formulae are proportional to the Pythagorean triple Template:Math.

For example, for Template:Math terms, π2=arctan(ab)+arctan(cd)+arctan(bdacad+bc) for any Template:Math.

An identity of Euclid

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: sin218+sin230=sin236.

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

Composition of trigonometric functions

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

cos(tsinx)=J0(t)+2k=1J2k(t)cos(2kx)
sin(tsinx)=2k=0J2k+1(t)sin((2k+1)x)
cos(tcosx)=J0(t)+2k=1(1)kJ2k(t)cos(2kx)
sin(tcosx)=2k=0(1)kJ2k+1(t)cos((2k+1)x)

where Template:Mvar are Bessel functions.

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

A conditional trigonometric identity is a trigonometric identity that holds if specified conditions on the arguments to the trigonometric functions are satisfied.[55] The following formulae apply to arbitrary plane triangles and follow from α+β+γ=180, 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). tanα+tanβ+tanγ=tanαtanβtanγ1=cotβcotγ+cotγcotα+cotαcotβcot(α2)+cot(β2)+cot(γ2)=cot(α2)cot(β2)cot(γ2)1=tan(β2)tan(γ2)+tan(γ2)tan(α2)+tan(α2)tan(β2)sinα+sinβ+sinγ=4cos(α2)cos(β2)cos(γ2)sinα+sinβ+sinγ=4cos(α2)sin(β2)sin(γ2)cosα+cosβ+cosγ=4sin(α2)sin(β2)sin(γ2)+1cosα+cosβ+cosγ=4sin(α2)cos(β2)cos(γ2)1sin(2α)+sin(2β)+sin(2γ)=4sinαsinβsinγsin(2α)+sin(2β)+sin(2γ)=4sinαcosβcosγcos(2α)+cos(2β)+cos(2γ)=4cosαcosβcosγ1cos(2α)+cos(2β)+cos(2γ)=4cosαsinβsinγ+1sin2α+sin2β+sin2γ=2cosαcosβcosγ+2sin2α+sin2β+sin2γ=2cosαsinβsinγcos2α+cos2β+cos2γ=2cosαcosβcosγ+1cos2α+cos2β+cos2γ=2cosαsinβsinγ+1sin2(2α)+sin2(2β)+sin2(2γ)=2cos(2α)cos(2β)cos(2γ)+2cos2(2α)+cos2(2β)+cos2(2γ)=2cos(2α)cos(2β)cos(2γ)+11=sin2(α2)+sin2(β2)+sin2(γ2)+2sin(α2)sin(β2)sin(γ2)

Historical shorthands

Template:Main 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.

Miscellaneous

Dirichlet kernel

Template:Main The Dirichlet kernel Template:Math is the function occurring on both sides of the next identity: 1+2cosx+2cos(2x)+2cos(3x)++2cos(nx)=sin((n+12)x)sin(12x).

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

Tangent half-angle substitution

Template:Main

If we set t=tanx2, then[56] sinx=2t1+t2;cosx=1t21+t2;eix=1+it1it;dx=2dt1+t2, where eix=cosx+isinx, sometimes abbreviated to Template:Math.

When this substitution of t for Template:Math is used in calculus, it follows that sinx is replaced by Template:Math, cosx is replaced by Template:Math and the differential Template:Math is replaced by Template:Math. Thereby one converts rational functions of sinx and cosx to rational functions of t in order to find their antiderivatives.

Viète's infinite product

Template:See also cosθ2cosθ4cosθ8=n=1cosθ2n=sinθθ=sincθ.

See also

Template:Div col

Template:Div col end

References

Template:Reflist

Bibliography

Template:Refbegin

Template:Refend

  1. Template:AS ref
  2. Template:Harvnb
  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. 6.0 6.1 6.2 6.3 Template:MathWorld
  7. Abramowitz and Stegun, p. 72, 4.3.17
  8. Abramowitz and Stegun, p. 72, 4.3.18
  9. 9.0 9.1 Template:Cite web
  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. Template:Cite conference
  15. Michael Hardy. (2016). "On Tangents and Secants of Infinite Sums." The American Mathematical Monthly, volume 123, number 7, 701–703. https://doi.org/10.4169/amer.math.monthly.123.7.701
  16. Template:Cite journal
  17. 17.0 17.1 Template:Cite web
  18. 18.0 18.1 Template:MathWorld
  19. Abramowitz and Stegun, p. 74, 4.3.48
  20. 20.0 20.1 Template:Harvnb
  21. Template:Cite web
  22. Template:Cite web
  23. 23.0 23.1 Template:AS ref
  24. 24.0 24.1 Template:MathWorld
  25. Abramowitz and Stegun, p. 72, 4.3.24–26
  26. Template:MathWorld
  27. Abramowitz and Stegun, p. 72, 4.3.27–28
  28. Abramowitz and Stegun, p. 72, 4.3.31–33
  29. Template:Cite book
  30. Abramowitz and Stegun, p. 72, 4.3.34–39
  31. Template:Cite journal
  32. Template:Cite web
  33. Apostol, T.M. (1967) Calculus. 2nd edition. New York, NY, Wiley. Pp 334-335.
  34. 34.0 34.1 Template:MathWorld
  35. Template:Cite journal
  36. Template:Cite book Extract of page 185
  37. Template:Cite book
  38. Template:Cite journal
  39. Abramowitz and Stegun, p. 74, 4.3.47
  40. Abramowitz and Stegun, p. 71, 4.3.2
  41. Abramowitz and Stegun, p. 71, 4.3.1
  42. Abramowitz and Stegun, p. 80, 4.4.26–31
  43. Template:Cite book
  44. Template:Cite book
  45. Abramowitz and Stegun, p. 74, 4.3.65–66
  46. Abramowitz and Stegun, p. 75, 4.3.89–90
  47. Abramowitz and Stegun, p. 85, 4.5.68–69
  48. Template:Harvnb
  49. 49.0 49.1 49.2 Wu, Rex H. "Proof Without Words: Euler's Arctangent Identity", Mathematics Magazine 77(3), June 2004, p. 189.
  50. Template:Citation
  51. Template:Cite journal
  52. Template:MathWorld
  53. Harris, Edward M. "Sums of Arctangents", in Roger B. Nelson, Proofs Without Words (1993, Mathematical Association of America), p. 39.
  54. 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
  55. Er. K. C. Joshi, Krishna's IIT MATHEMATIKA. Krishna Prakashan Media. Meerut, India. page 636.
  56. Abramowitz and Stegun, p. 72, 4.3.23