List of trigonometric identities

Cosines and sines around the unit circle

In mathematics, trigonometric identities are equalities that involve trigonometric functions and are true for every single value of the occurring variables where 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. Only the former are covered in this article.

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.

Notation

Angles

This article uses Greek letters such as alpha (α), beta (β), gamma (γ), and theta (θ) to represent angles. Several different units of angle measure are widely used, including degrees, radians, and gradians (gons):

1 full circle (turn) = 360 degrees = 2π radians  =  400 gons.

The following table shows the conversions and values for some common angles:

Turns Degrees Radians Gradians sine cosine tangent
0 0 0g 0 1 0
1/12 30° π/6 33 1/3g 1/2 3/2 3/3
1/8 45° π/4 50g 2/2 2/2 1
2/12=1/6 60° π/3 66 2/3g 3/2 1/2 3
3/12=1/4 90° π/2 100g 1 0
4/12=1/3 120° 2π/3 133 1/3g 3/2 -1/2 -3
3/8 135° 3π/4 150g 2/2 -2/2 -1
5/12 150° 5π/6 166 2/3g 1/2 -3/2 -3/3
6/12=1/2 180° π 200g 0 -1 0
7/12 210° 7π/6 233 1/3g -1/2 -3/2 3/3
5/8 225° 5π/4 250g -2/2 -2/2 1
8/12=2/3 240° 4π/3 266 2/3g -3/2 -1/2 3
9/12=3/4 270° 3π/2 300g -1 0
10/12=5/6 300° 5π/3 333 1/3g -3/2 1/2 -3
7/8 315° 7π/4 350g -2/2 2/2 -1
11/12 330° 11π/6 366 2/3g -1/2 3/2 -3/3
12/12 = 1 360° 2π 400g 0 1 0

Unless otherwise specified, all angles in this article are assumed to be in radians, but angles ending in a degree symbol (°) are in degrees. Per Niven's theorem multiples of 30° are the only angles that are a rational multiple of one degree and also have a rational sine or cosine, which may account for their popularity in examples.[1]

Trigonometric functions

The primary trigonometric functions are the sine and cosine of an angle. These are sometimes abbreviated sin(θ) and cos(θ), respectively, where θ is the angle, but the parentheses around the angle are often omitted, e.g., sin θ and cos θ.

The sine of an angle is defined in the context of a right triangle, as the ratio of the length of the side that is opposite to the angle divided by the length of the longest side of the triangle (the hypotenuse).

The cosine of an angle is also defined in the context of a right triangle, as the ratio of the length of the side that is adjacent to the angle divided by the length of the longest side of the triangle (the hypotenuse).

The tangent (tan) of an angle is the ratio of the sine to the cosine:

\tan\theta = \frac{\sin\theta}{\cos\theta}.

Finally, the reciprocal functions secant (sec), cosecant (csc), and cotangent (cot) are the reciprocals of the cosine, sine, and tangent:

\sec\theta = \frac{1}{\cos\theta},\quad\csc\theta = \frac{1}{\sin\theta},\quad\cot\theta=\frac{1}{\tan\theta}=\frac{\cos\theta}{\sin\theta}.

These definitions are sometimes referred to as ratio identities.

Inverse functions

The inverse trigonometric functions are partial inverse functions for the trigonometric functions. For example, the inverse function for the sine, known as the inverse sine (sin1) or arcsine (arcsin or asin), satisfies

\sin(\arcsin x) = x\quad\text{for} \quad |x| \leq 1

and

\arcsin(\sin x) = x\quad\text{for} \quad |x| \leq \pi/2.

This article uses the notation below for inverse trigonometric functions:

Function sin cos tan sec csc cot
Inverse arcsin arccos arctan arcsec arccsc arccot

Pythagorean identity

In trigonometry, the basic relationship between the sine and the cosine is known as the Pythagorean identity:

\sin^2\theta + \cos^2\theta = 1\!

where cos2 θ means (cos(θ))2 and sin2 θ means (sin(θ))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:

\begin{align}
\sin\theta &= \pm \sqrt{1 - \cos^2\theta}, \\
\cos\theta &= \pm \sqrt{1 - \sin^2\theta}.
\end{align}

where the sign depends on the quadrant of θ.

Related identities

Dividing the Pythagorean identity by either cos2 θ or sin2 θ yields two other identities:

1 + \tan^2\theta = \sec^2\theta\quad\text{and}\quad 1 + \cot^2\theta = \csc^2\theta.\!

Using these identities together with the ratio 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 the other five.[2]
in terms of  \sin \theta\!  \cos \theta\!  \tan \theta\!  \csc \theta\!  \sec \theta\!  \cot \theta\!
   \sin \theta =\!    \sin \theta\ \pm\sqrt{1 - \cos^2 \theta}\! \pm\frac{\tan \theta}{\sqrt{1 + \tan^2 \theta}}\!    \frac{1}{\csc \theta}\! \pm\frac{\sqrt{\sec^2 \theta - 1}}{\sec \theta}\! \pm\frac{1}{\sqrt{1 + \cot^2 \theta}}\!
   \cos \theta =\! \pm\sqrt{1 - \sin^2\theta}\!    \cos \theta\! \pm\frac{1}{\sqrt{1 + \tan^2 \theta}}\! \pm\frac{\sqrt{\csc^2 \theta - 1}}{\csc \theta}\!    \frac{1}{\sec \theta}\! \pm\frac{\cot \theta}{\sqrt{1 + \cot^2 \theta}}\!
   \tan \theta =\! \pm\frac{\sin \theta}{\sqrt{1 - \sin^2 \theta}}\! \pm\frac{\sqrt{1 - \cos^2 \theta}}{\cos \theta}\!    \tan \theta\! \pm\frac{1}{\sqrt{\csc^2 \theta - 1}}\! \pm\sqrt{\sec^2 \theta - 1}\!    \frac{1}{\cot \theta}\!
   \csc \theta =\!    \frac{1}{\sin \theta}\! \pm\frac{1}{\sqrt{1 - \cos^2 \theta}}\! \pm\frac{\sqrt{1 + \tan^2 \theta}}{\tan \theta}\!    \csc \theta\! \pm\frac{\sec \theta}{\sqrt{\sec^2 \theta - 1}}\! \pm\sqrt{1 + \cot^2 \theta}\!
   \sec \theta =\! \pm\frac{1}{\sqrt{1 - \sin^2 \theta}}\!
   \frac{1}{\cos \theta}\! \pm\sqrt{1 + \tan^2 \theta}\! \pm\frac{\csc \theta}{\sqrt{\csc^2 \theta - 1}}\!    \sec \theta\! \pm\frac{\sqrt{1 + \cot^2 \theta}}{\cot \theta}\!
   \cot \theta =\! \pm\frac{\sqrt{1 - \sin^2 \theta}}{\sin \theta}\! \pm\frac{\cos \theta}{\sqrt{1 - \cos^2 \theta}}\!    \frac{1}{\tan \theta}\! \pm\sqrt{\csc^2 \theta - 1}\! \pm\frac{1}{\sqrt{\sec^2 \theta - 1}}\!    \cot \theta\!

Historical shorthands

All of the trigonometric functions of an angle θ can be constructed geometrically in terms of a unit circle centered at O. Many of these terms are no longer in common use.

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.

Name Abbreviation Value[3]
versed sine, versine \operatorname{versin} \theta
\operatorname{vers} \theta
\operatorname{ver} \theta
1 - \cos \theta
versed cosine, vercosine \operatorname{vercosin} \theta
\operatorname{vercos} \theta
\operatorname{vcs} \theta
1 + \cos \theta
coversed sine, coversine \operatorname{coversin} \theta
\operatorname{covers} \theta
\operatorname{cvs} \theta
1 - \sin \theta
coversed cosine, covercosine \operatorname{covercosin} \theta
\operatorname{covercos} \theta
\operatorname{cvc} \theta
1 + \sin \theta
half versed sine, haversine \operatorname{haversin} \theta
\operatorname{hav} \theta
\operatorname{sem} \theta
\frac{1 - \cos \theta}{2}
half versed cosine, havercosine \operatorname{havercosin} \theta
\operatorname{havercos} \theta
\operatorname{hvc} \theta
\frac{1 + \cos \theta}{2}
half coversed sine, hacoversine
cohaversine
\operatorname{hacoversin} \theta
\operatorname{hacovers} \theta
\operatorname{hcv} \theta
\frac{1 - \sin \theta}{2}
half coversed cosine, hacovercosine
cohavercosine
\operatorname{hacovercosin} \theta
\operatorname{hacovercos} \theta
\operatorname{hcc} \theta
\frac{1 + \sin \theta}{2}
exterior secant, exsecant \operatorname{exsec} \theta
\operatorname{exs} \theta
\sec \theta - 1
exterior cosecant, excosecant \operatorname{excosec} \theta
\operatorname{excsc} \theta
\operatorname{exc} \theta
\csc \theta - 1
chord \operatorname{crd} \theta 2\sin\frac{\theta}{2}

Symmetry, shifts, and periodicity

By examining the unit circle, the following properties of the trigonometric functions can be established.

Symmetry

When the trigonometric functions are reflected from certain angles, the result is often one of the other trigonometric functions. This leads to the following identities:

Reflected in \theta=0 [4] Reflected in \theta= \pi/4
(co-function identities)[5]
Reflected in \theta= \pi/2

\begin{align}
\sin(-\theta) &= -\sin \theta \\
\cos(-\theta) &= +\cos \theta \\
\tan(-\theta) &= -\tan \theta \\
\csc(-\theta) &= -\csc \theta \\
\sec(-\theta) &= +\sec \theta \\
\cot(-\theta) &= -\cot \theta \\
\end{align}

\begin{align}
\sin(\tfrac{\pi}{2} - \theta) &= +\cos \theta \\
\cos(\tfrac{\pi}{2} - \theta) &= +\sin \theta \\
\tan(\tfrac{\pi}{2} - \theta) &= +\cot \theta \\
\csc(\tfrac{\pi}{2} - \theta) &= +\sec \theta \\
\sec(\tfrac{\pi}{2} - \theta) &= +\csc \theta \\
\cot(\tfrac{\pi}{2} - \theta) &= +\tan \theta \\
\end{align}

\begin{align}
\sin(\pi - \theta) &= +\sin \theta \\
\cos(\pi - \theta) &= -\cos \theta \\
\tan(\pi - \theta) &= -\tan \theta \\
\csc(\pi - \theta) &= +\csc \theta \\
\sec(\pi - \theta) &= -\sec \theta \\
\cot(\pi - \theta) &= -\cot \theta \\
\end{align}

Note that the sign in front of the trig function does not necessarily indicate the sign of the value. For example, +\cos\theta does not always mean that \cos\theta is positive. In particular, if \theta = \pi, then +\cos\theta = -1.

Shifts and periodicity

By shifting the function round by certain angles, it is often possible to find different trigonometric functions that express particular results more simply. Some examples of this are shown by shifting functions round by π/2, π and 2π radians. Because the periods of these functions are either π or 2π, there are cases where the new function is exactly the same as the old function without the shift.

Shift by π/2 Shift by π
Period for tan and cot[6]
Shift by 2π
Period for sin, cos, csc and sec[7]

\begin{align}
\sin(\theta + \tfrac{\pi}{2}) &= +\cos \theta \\
\cos(\theta + \tfrac{\pi}{2}) &= -\sin \theta \\
\tan(\theta + \tfrac{\pi}{2}) &= -\cot \theta \\
\csc(\theta + \tfrac{\pi}{2}) &= +\sec \theta \\
\sec(\theta + \tfrac{\pi}{2}) &= -\csc \theta \\
\cot(\theta + \tfrac{\pi}{2}) &= -\tan \theta
\end{align}

\begin{align}
\sin(\theta + \pi) &= -\sin \theta \\
\cos(\theta + \pi) &= -\cos \theta \\
\tan(\theta + \pi) &= +\tan \theta \\
\csc(\theta + \pi) &= -\csc \theta \\
\sec(\theta + \pi) &= -\sec \theta \\
\cot(\theta + \pi) &= +\cot \theta \\
\end{align}

\begin{align}
\sin(\theta + 2\pi) &= +\sin \theta \\
\cos(\theta + 2\pi) &= +\cos \theta \\
\tan(\theta + 2\pi) &= +\tan \theta \\
\csc(\theta + 2\pi) &= +\csc \theta \\
\sec(\theta + 2\pi) &= +\sec \theta \\
\cot(\theta + 2\pi) &= +\cot \theta
\end{align}

Angle sum and difference identities

Illustration of angle addition formulae for the sine and cosine. Emphasized segment is of unit length.
Illustration of the angle addition formula for the tangent. Emphasized segments are of unit length.

These are also known as the addition and subtraction theorems or formulae. They were originally established by the 10th century Persian mathematician Abū al-Wafā' Būzjānī. The identities can be derived by combining right triangles such as in the adjacent diagram or by considering the invariance of the length of a chord on a unit circle given a particular central angle. Further, it is even possible to derive the identities using Euler's Identity although this would be a more obscure approach given that complex numbers are used.

For the angle addition diagram for the sine and cosine, the line in bold with the 1 on it is of length 1. It is the hypotenuse of a right angle triangle with angle β which gives the sin β and cos β. The cos β line is the hypotenuse of a right angle triangle with angle α so it has sides sin α and cos α both multiplied by cos β. This is the same for the sin β line. The original line is also the hypotenuse of a right angle triangle with angle α+β, the opposite side is the sin(α+β) line up from the origin and the adjacent side is the cos(α+β) segment going horizontally from the top left.

Overall the diagram can be used to show the sine and cosine of sum identities

\sin(\alpha + \beta) = \sin \alpha \cos \beta + \cos \alpha \sin \beta
\cos(\alpha + \beta) = \cos \alpha \cos \beta - \sin \alpha \sin \beta

because the opposite sides of the rectangle are equal.

Sine \sin(\alpha \pm \beta) = \sin \alpha \cos \beta \pm \cos \alpha \sin \beta \![8][9]
Cosine \cos(\alpha \pm \beta) = \cos \alpha \cos \beta \mp \sin \alpha \sin \beta\,[9][10]
Tangent \tan(\alpha \pm \beta) = \frac{\tan \alpha \pm \tan \beta}{1 \mp \tan \alpha \tan \beta}[9][11]
Arcsine \arcsin\alpha \pm \arcsin\beta = \arcsin\left(\alpha\sqrt{1-\beta^2} \pm \beta\sqrt{1-\alpha^2}\right)[12]
Arccosine \arccos\alpha \pm \arccos\beta = \arccos\left(\alpha\beta \mp \sqrt{(1-\alpha^2)(1-\beta^2)}\right)[13]
Arctangent \arctan\alpha \pm \arctan\beta = \arctan\left(\frac{\alpha \pm \beta}{1 \mp \alpha\beta}\right)[14]

Matrix form

The sum and difference formulae for sine and cosine can be written in matrix form as:


\begin{align}
& {} \quad
\left(\begin{array}{rr}
  \cos\alpha    & -\sin\alpha  \\
  \sin\alpha & \cos\alpha
\end{array}\right)
\left(\begin{array}{rr}
  \cos\beta    & -\sin\beta  \\
  \sin\beta & \cos\beta
\end{array}\right) \\[12pt]
& = \left(\begin{array}{rr}
  \cos\alpha\cos\beta - \sin\alpha\sin\beta & -\cos\alpha\sin\beta - \sin\alpha\cos\beta \\
  \sin\alpha\cos\beta + \cos\alpha\sin\beta & -\sin\alpha\sin\beta + \cos\alpha\cos\beta 
\end{array}\right) \\[12pt]
& = \left(\begin{array}{rr}
  \cos(\alpha+\beta) & -\sin(\alpha+\beta) \\
  \sin(\alpha+\beta) & \cos(\alpha+\beta)
\end{array}\right).
\end{align}

This shows that these matrices form a representation of the rotation group in the plane (technically, the special orthogonal group SO(2)), since the composition law is fulfilled: subsequent multiplications of a vector with these two matrices yields the same result as the rotation by the sum of the angles.

Sines and cosines of sums of infinitely many terms

 \sin\left(\sum_{i=1}^\infty \theta_i\right)
=\sum_{\text{odd}\  k \ge 1} (-1)^{(k-1)/2}
\sum_{\begin{smallmatrix} A \subseteq \{\,1,2,3,\dots\,\} \\ \left|A\right| = k\end{smallmatrix}}
\left(\prod_{i \in A} \sin\theta_i \prod_{i \not \in A} \cos\theta_i\right)
 \cos\left(\sum_{i=1}^\infty \theta_i\right)
=\sum_{\text{even}\  k \ge 0} ~ (-1)^{k/2} ~~
\sum_{\begin{smallmatrix} A \subseteq \{\,1,2,3,\dots\,\} \\ \left|A\right| = k\end{smallmatrix}}
\left(\prod_{i \in A} \sin\theta_i \prod_{i \not \in A} \cos\theta_i\right)

In these two identities an asymmetry appears that is not seen in the case of sums of finitely many terms: in each product, there are only finitely many sine factors and cofinitely many cosine factors.

If only finitely many of the terms θi are nonzero, then only finitely many of the terms on the right side will be nonzero because sine factors will vanish, and in each term, all but finitely many of the cosine factors will be unity.

Tangents of sums

Let ek (for k = 0, 1, 2, 3, ...) be the kth-degree elementary symmetric polynomial in the variables

x_i = \tan \theta_i\,

for i = 0, 1, 2, 3, ..., i.e.,


\begin{align}
e_0 & = 1 \\[6pt]
e_1 & = \sum_i  x_i & & = \sum_i  \tan\theta_i \\[6pt]
e_2 & = \sum_{i < j} x_i x_j & & = \sum_{i < j} \tan\theta_i \tan\theta_j \\[6pt]
e_3 & = \sum_{i < j < k} x_i x_j x_k & & = \sum_{i < j < k} \tan\theta_i \tan\theta_j \tan\theta_k \\
& {}\  \ \vdots & & {}\  \  \vdots
\end{align}

Then

\tan\left(\sum_i \theta_i\right) = \frac{e_1 - e_3 + e_5 -\cdots}{e_0 - e_2 + e_4 - \cdots}.\!

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

For example:

 \begin{align}
\tan(\theta_1 + \theta_2) &
= \frac{ e_1 }{ e_0 - e_2 }
= \frac{ x_1 + x_2 }{ 1 \ - \ x_1 x_2 }
= \frac{ \tan\theta_1 + \tan\theta_2 }{ 1 \ - \ \tan\theta_1 \tan\theta_2 }
,
\\[8pt]
\tan(\theta_1 + \theta_2 + \theta_3) &
= \frac{ e_1 - e_3 }{ e_0 - e_2 }
= \frac{ (x_1 + x_2 + x_3) \ - \ (x_1 x_2 x_3) }{ 1 \ - \ (x_1x_2 + x_1 x_3 + x_2 x_3) },
\\[8pt]
\tan(\theta_1 + \theta_2 + \theta_3 + \theta_4) &
= \frac{ e_1 - e_3 }{ e_0 - e_2 + e_4 } \\[8pt] &
= \frac{ (x_1 + x_2 + x_3 + x_4) \ - \ (x_1 x_2 x_3 + x_1 x_2 x_4 + x_1 x_3 x_4 + x_2 x_3 x_4) }{ 1 \ - \ (x_1 x_2 + x_1 x_3 + x_1 x_4 + x_2 x_3 + x_2 x_4 + x_3 x_4) \ + \ (x_1 x_2 x_3 x_4) },
\end{align}

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

Secants and cosecants of sums


\begin{align}
\sec\left(\sum_i \theta_i\right) & = \frac{\prod_i \sec\theta_i}{e_0 - e_2 + e_4 - \cdots} \\[8pt]
\csc\left(\sum_i \theta_i \right) & = \frac{\prod_i \sec\theta_i }{e_1 - e_3 + e_5 - \cdots}
\end{align}

where ek is the kth-degree elementary symmetric polynomial in the n 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. The case of only finitely many terms can be proved by mathematical induction on the number of such terms. The convergence of the series in the denominators can be shown by writing the secant identity in the form

 e_0 - e_2 + e_4 - \cdots = \frac{\prod_i \sec\theta_i}{\sec\left(\sum_i \theta_i\right)}

and then observing that the left side converges if the right side converges, and similarly for the cosecant identity.

For example,


\begin{align}
\sec(\alpha+\beta+\gamma) & = \frac{\sec\alpha \sec\beta \sec\gamma}{1 - \tan\alpha\tan\beta - \tan\alpha\tan\gamma - \tan\beta\tan\gamma } \\[8pt]
\csc(\alpha+\beta+\gamma) & = \frac{\sec\alpha \sec\beta \sec\gamma}{\tan\alpha + \tan\beta + \tan\gamma - \tan\alpha\tan\beta\tan\gamma}.
\end{align}

Multiple-angle formulae

Tn is the nth Chebyshev polynomial \cos (n\theta) =T_n (\cos \theta )\,  [16]
Sn is the nth spread polynomial \sin^2 (n\theta) = S_n (\sin^2\theta)\,
de Moivre's formula, i is the imaginary unit \cos (n\theta) +i\sin (n\theta)=(\cos \theta +i\sin \theta)^n \,    [17]

Double-angle, triple-angle, and half-angle formulae

Double-angle formulae

 \sin (2\theta) = 2 \cos \theta \sin \theta =\frac{2 \tan \theta} {1 + \tan^2 \theta}
 \cos (2\theta) = \cos^2 \theta - \sin^2 \theta = 2 \cos^2 \theta - 1 = 1 - 2 \sin^2 \theta = \frac{1 - \tan^2 \theta} {1 + \tan^2 \theta}
 \tan (2\theta) = \frac{2 \tan \theta} {1 - \tan^2 \theta}
 \cot (2\theta) = \frac{\cot^2 \theta - 1}{2 \cot \theta}

Triple-angle formulae

 \sin (3\theta) = - \sin^3\theta + 3 \cos^2\theta \sin\theta 
= - 4\sin^3\theta + 3\sin\theta
 \cos (3\theta)  = \cos^3\theta - 3 \sin^2 \theta\cos \theta =
 4 \cos^3\theta - 3 \cos\theta
 \tan (3\theta) = \frac{3 \tan\theta - \tan^3\theta}{1 - 3 \tan^2\theta}
\cot (3\theta) = \frac{3 \cot\theta - \cot^3\theta}{1 - 3 \cot^2\theta}

[16][18]

Half-angle formulae

\begin{align}
\sin \frac{\theta}{2} &= \sgn \left(2 \pi - \theta + 4 \pi \left\lfloor \frac{\theta}{4\pi} \right\rfloor \right) \sqrt{\frac{1 \! - \! \cos \theta}{2}} \\
&= \sgn \left(2 \pi - \theta + 4 \pi \left\lfloor \frac{\theta}{4\pi} \right\rfloor \right) \sqrt{\operatorname{hav}\theta} \\
\end{align}
 \sin^2\frac{\theta}{2}=\frac{1-\cos\theta}{2}=\operatorname{hav}\theta
\begin{align}
\cos \frac{\theta}{2} &= \sgn \left(\pi + \theta + 4 \pi \left\lfloor \frac{\pi - \theta}{4\pi} \right\rfloor \right) \sqrt{\frac{1 + \cos\theta}{2}} \\
&= \sgn \left(\pi + \theta + 4 \pi \left\lfloor \frac{\pi - \theta}{4\pi} \right\rfloor \right) \sqrt{\operatorname{hvc}\theta} \\
\end{align}
 \cos^2\frac{\theta}{2}=\frac{1+\cos\theta}{2}=\operatorname{hvc}\theta
\begin{align}
\tan \frac{\theta}{2} &= \csc \theta - \cot \theta &= \pm\, \sqrt{1 - \cos \theta \over 1 + \cos \theta} &= \frac{\sin \theta}{1 + \cos \theta} &= \frac{1-\cos \theta}{\sin \theta} \\
&&= \pm\, \sqrt{\operatorname{ver}\theta \over \operatorname{vcs}\theta} &= \frac{\sin \theta}{\operatorname{vcs}\theta} &= \frac{\operatorname{ver}\theta}{\sin \theta} \\
\end{align}
 \tan\frac{\theta }{2} = \frac{-1 \pm \sqrt{1+\tan^2\theta}}{\tan\theta}  = \frac{\tan\theta}{1 + \sec{\theta}}
\begin{align}
\cot \frac{\theta}{2} &= \csc \theta + \cot \theta &= \pm\, \sqrt{1 + \cos \theta \over 1 - \cos \theta} &= \frac{\sin \theta}{1 - \cos \theta} &= \frac{1 + \cos \theta}{\sin \theta}\\
&&= \pm\, \sqrt{\operatorname{vcs}\theta \over \operatorname{ver}\theta} &= \frac{\sin \theta}{\operatorname{ver}\theta} &= \frac{\operatorname{vcs}\theta}{\sin \theta}\\
\end{align}

[19][20]

Also

 \tan\frac{\eta+\theta}{2} = \frac{\sin\eta+\sin\theta}{\cos\eta+\cos\theta}
 \tan\left(\frac{\theta}{2} + \frac{\pi}{4}\right) = \sec\theta + \tan\theta
 \sqrt{\frac{\operatorname{cvs}\theta}{\operatorname{cvc}\theta}} = \sqrt{\frac{1 - \sin\theta}{1 + \sin\theta}} = \frac{1 - \tan(\theta/2)}{1 + \tan(\theta/2)}

Table

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

Double-angle formulae[21][22]
\begin{align}
\sin (2\theta) &= 2 \sin \theta \cos \theta \ \\ &= \frac{2 \tan \theta} {1 + \tan^2 \theta}
\end{align} \begin{align}
\cos (2\theta) &= \cos^2 \theta - \sin^2 \theta \\ &= 2 \cos^2 \theta - 1 \\ 
&= 1 - 2 \sin^2 \theta \\ &= \frac{1 - \tan^2 \theta} {1 + \tan^2 \theta}
\end{align} \tan (2\theta) = \frac{2 \tan \theta} {1 - \tan^2 \theta} \cot (2\theta) = \frac{\cot^2 \theta - 1}{2 \cot \theta}
Triple-angle formulae[16][23]
\begin{align}\sin (3\theta) & = - \sin^3\theta + 3 \cos^2\theta \sin\theta\\
& = - 4\sin^3\theta + 3\sin\theta \end{align} \begin{align}\cos (3\theta) & = \cos^3\theta - 3 \sin^2 \theta\cos \theta \\
& = 4 \cos^3\theta - 3 \cos\theta\end{align} \tan (3\theta) = \frac{3 \tan\theta - \tan^3\theta}{1 - 3 \tan^2\theta} \cot (3\theta) = \frac{3 \cot\theta - \cot^3\theta}{1 - 3 \cot^2\theta}
Half-angle formulae[24][20]
\begin{align}&\sin \frac{\theta}{2} = \sgn \left(2 \pi - \theta + 4 \pi \left\lfloor \frac{\theta}{4\pi} \right\rfloor \right) \sqrt{\frac{1 \! - \! \cos \theta}{2}} \\
&= \sgn \left(2 \pi - \theta + 4 \pi \left\lfloor \frac{\theta}{4\pi} \right\rfloor \right) \sqrt{\operatorname{hav}\theta} \\ \\
&\left(\mathrm{or}\,\,\sin^2\frac{\theta}{2}=\frac{1-\cos\theta}{2}=\operatorname{hav}\theta\right)\end{align} \begin{align}&\cos \frac{\theta}{2} = \sgn \left(\pi + \theta + 4 \pi \left\lfloor \frac{\pi - \theta}{4\pi} \right\rfloor \right) \sqrt{\frac{1 + \cos\theta}{2}} \\
&= \sgn \left(\pi + \theta + 4 \pi \left\lfloor \frac{\pi - \theta}{4\pi} \right\rfloor \right) \sqrt{\operatorname{hvc}\theta} \\ \\
&\left(\mathrm{or}\,\,\cos^2\frac{\theta}{2}=\frac{1+\cos\theta}{2}=\operatorname{hvc}\theta\right)\end{align} \begin{align} \tan \frac{\theta}{2} &= \csc \theta - \cot \theta \\ &= \pm\, \sqrt{1 - \cos \theta \over 1 + \cos \theta} &= \pm\, \sqrt{\operatorname{ver}\theta \over \operatorname{vcs}\theta} \\[8pt] &= \frac{\sin \theta}{1 + \cos \theta} &= \frac{\sin \theta}{\operatorname{vcs}\theta} \\[8pt] &= \frac{1-\cos \theta}{\sin \theta} &= \frac{\operatorname{ver}\theta}{\sin \theta}\\[10pt]
\tan\frac{\eta+\theta}{2} & = \frac{\sin\eta+\sin\theta}{\cos\eta+\cos\theta} \\[8pt]
\tan\left(\frac{\theta}{2} + \frac{\pi}{4}\right) & = \sec\theta + \tan\theta \\[8pt]
\sqrt{\frac{\operatorname{cvs}\theta}{\operatorname{cvc}\theta}} & = \sqrt{\frac{1 - \sin\theta}{1 + \sin\theta}} & = \frac{1 - \tan(\theta/2)}{1 + \tan(\theta/2)} \\[8pt]
\tan (\tfrac{1}{2}\theta) & = \frac{\tan\theta}{1 + \sqrt{1+\tan^2\theta}} \\ &\mbox{for}\quad \theta \in \left(-\tfrac{\pi}{2},\tfrac{\pi}{2} \right)
\end{align} \begin{align} \cot \frac{\theta}{2} &= \csc \theta + \cot \theta \\ &= \pm\, \sqrt{1 + \cos \theta \over 1 - \cos \theta} &= \pm\, \sqrt{\operatorname{vcs}\theta \over \operatorname{ver}\theta} \\[8pt] &= \frac{\sin \theta}{1 - \cos \theta} &= \frac{\sin \theta}{\operatorname{ver}\theta} \\[8pt] &= \frac{1 + \cos \theta}{\sin \theta} &= \frac{\operatorname{vcs}\theta}{\sin \theta}\end{align}

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.

A formula for computing the trigonometric identities for the one-third angle exists, but it requires finding the zeroes of the cubic equation x^3 - \frac{3x+d}{4}=0, where x 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.

Sine, cosine, and tangent of multiple angles

For specific multiples, these follow from the angle addition formulas, while the general formula was given by 16th century French mathematician Vieta.

\sin (n\theta) = \sum_{k=0}^n \binom{n}{k} \cos^k \theta\,\sin^{n-k} \theta\,\sin\left(\frac{1}{2}(n-k)\pi\right)
\cos (n\theta) = \sum_{k=0}^n \binom{n}{k} \cos^k \theta\,\sin^{n-k} \theta\,\cos\left(\frac{1}{2}(n-k)\pi\right)

In each of these two equations, the first parenthesized term is a binomial coefficient, and the final trigonometric function equals one or minus one or zero so that half the entries in each of the sums are removed. tan  can be written in terms of tan θ using the recurrence relation:

\tan\,((n{+}1)\theta) = \frac{\tan (n\theta) + \tan \theta}{1 - \tan (n\theta)\,\tan \theta}.

cot (nθ) can be written in terms of cot θ using the recurrence relation:

\cot\,((n{+}1)\theta) = \frac{\cot (n\theta)\,\cot \theta - 1}{\cot (n\theta) + \cot \theta}.

Chebyshev method

The Chebyshev method is a recursive algorithm for finding the nth multiple angle formula knowing the (n  1)th and (n  2)th formulae.[25]

The cosine for nx can be computed from the cosine of (n  1)x and (n  2)x as follows:

\cos (nx) = 2 \cdot \cos x \cdot \cos ((n-1) x) - \cos ((n-2) x) \,

Similarly sin(nx) can be computed from the sines of (n  1)x and (n  2)x

\sin (nx) = 2 \cdot \cos x \cdot \sin ((n-1) x) - \sin ((n-2) x) \,

For the tangent, we have:

\tan (nx) = \frac{H + K \tan x}{K- H \tan x} \,

where H/K = tan(n  1)x.

Tangent of an average

 \tan\left( \frac{\alpha+\beta}{2} \right)
= \frac{\sin\alpha + \sin\beta}{\cos\alpha + \cos\beta}
= -\,\frac{\cos\alpha - \cos\beta}{\sin\alpha - \sin\beta}

Setting either α or β to 0 gives the usual tangent half-angle formulæ.

Viète's infinite product

 \cos{\theta \over 2} \cdot \cos {\theta \over 4}
\cdot \cos {\theta \over 8} \cdots = \prod_{n=1}^\infty \cos {\theta \over 2^n}
= {\sin \theta \over \theta} = \operatorname{sinc}\,\theta.

(Refer to sinc function.)

Power-reduction formula

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

Sine Cosine Other
\sin^2\theta = \frac{1 - \cos (2\theta)}{2}\! \cos^2\theta = \frac{1 + \cos (2\theta)}{2}\! \sin^2\theta \cos^2\theta = \frac{1 - \cos (4\theta)}{8}\!
\sin^3\theta = \frac{3 \sin\theta - \sin (3\theta)}{4}\! \cos^3\theta = \frac{3 \cos\theta + \cos (3\theta)}{4}\! \sin^3\theta \cos^3\theta = \frac{3\sin (2\theta) - \sin (6\theta)}{32}\!
\sin^4\theta = \frac{3 - 4 \cos (2\theta) + \cos (4\theta)}{8}\! \cos^4\theta = \frac{3 + 4 \cos (2\theta) + \cos (4\theta)}{8}\! \sin^4\theta \cos^4\theta = \frac{3-4\cos (4\theta) + \cos (8\theta)}{128}\!
\sin^5\theta = \frac{10 \sin\theta - 5 \sin (3\theta) + \sin (5\theta)}{16}\! \cos^5\theta = \frac{10 \cos\theta + 5 \cos (3\theta) + \cos (5\theta)}{16}\! \sin^5\theta \cos^5\theta = \frac{10\sin (2\theta) - 5\sin (6\theta) + \sin (10\theta)}{512}\!

and 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 binomial theorem .

Cosine Sine
\text{if }n\text{ is odd} \cos^n\theta = \frac{2}{2^n} \sum_{k=0}^{\frac{n-1}{2}} \binom{n}{k} \cos{((n-2k)\theta)} \sin^n\theta = \frac{2}{2^n} \sum_{k=0}^{\frac{n-1}{2}} (-1)^{(\frac{n-1}{2}-k)} \binom{n}{k} \sin{((n-2k)\theta)}
\text{if }n\text{ is even} \cos^n\theta = \frac{1}{2^n} \binom{n}{\frac{n}{2}} + \frac{2}{2^n} \sum_{k=0}^{\frac{n}{2}-1} \binom{n}{k} \cos{((n-2k)\theta)} \sin^n\theta = \frac{1}{2^n} \binom{n}{\frac{n}{2}} + \frac{2}{2^n} \sum_{k=0}^{\frac{n}{2}-1} (-1)^{(\frac{n}{2}-k)} \binom{n}{k} \cos{((n-2k)\theta)}

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

The product-to-sum identities or prosthaphaeresis formulas can be proven by expanding their right-hand sides using the angle addition theorems. See amplitude modulation for an application of the product-to-sum formulæ, and beat (acoustics) and phase detector for applications of the sum-to-product formulæ.

Product-to-sum[26]
2\cos \theta \cos \varphi = {{\cos(\theta - \varphi) + \cos(\theta + \varphi)}}
2\sin \theta \sin \varphi = {{\cos(\theta - \varphi) - \cos(\theta + \varphi)} }
2\sin \theta \cos \varphi = {{\sin(\theta + \varphi) + \sin(\theta - \varphi)} }
2\cos \theta \sin \varphi = {{\sin(\theta + \varphi) - \sin(\theta - \varphi)} }
\tan \theta \tan \varphi =\frac{\cos(\theta-\varphi)-\cos(\theta+\varphi)}{\cos(\theta-\varphi)+\cos(\theta+\varphi)}
\begin{align} \prod_{k=1}^n \cos \theta_k & = \frac{1}{2^n}\sum_{e\in S} \cos(e_1\theta_1+\cdots+e_n\theta_n) \\[6pt]
& \text{where }S=\{1,-1\}^n
\end{align}
Sum-to-product[27]
\sin \theta \pm \sin \varphi = 2 \sin\left( \frac{\theta \pm \varphi}{2} \right) \cos\left( \frac{\theta \mp \varphi}{2} \right)
\cos \theta + \cos \varphi = 2 \cos\left( \frac{\theta + \varphi} {2} \right) \cos\left( \frac{\theta - \varphi}{2} \right)
\cos \theta - \cos \varphi = -2\sin\left( {\theta + \varphi \over 2}\right) \sin\left({\theta - \varphi \over 2}\right)

Other related identities

  • If x + y + z = \pi (half circle), then
\sin(2x) + \sin(2y) + \sin(2z) = 4\sin x \sin y \sin z.\,
  • (Triple tangent identity) \text{If }x + y + z = \pi = \text{half circle,}\,
\text{then }\tan x + \tan y + \tan z = \tan x \tan y \tan z.\,
In particular, the formula holds when x, y, and z are the three angles of any triangle.
(If any of x, y, z is a right angle, one should take both sides to be ∞. This is neither +∞ nor ∞; for present purposes it makes sense to add just one point at infinity to the real line, that is approached by tan θ as tan θ either increases through positive values or decreases through negative values. This is a one-point compactification of the real line.)
  • (Triple cotangent identity) \text{If }x + y + z = \tfrac{\pi}{2} = \text{right angle (quarter circle),}\,
\text{then }\cot x + \cot y + \cot z = \cot x \cot y \cot z.\,

Hermite's cotangent identity

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

 A_{n,k} = \prod_{\begin{smallmatrix} 1 \le j \le n \\ j \neq k \end{smallmatrix}} \cot(a_k - a_j)

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

 \cot(z - a_1)\cdots\cot(z - a_n) = \cos\frac{n\pi}{2} + \sum_{k=1}^n A_{n,k} \cot(z - a_k).

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

\cot(z - a_1)\cot(z - a_2) = -1 + \cot(a_1 - a_2)\cot(z - a_1) + \cot(a_2 - a_1)\cot(z - a_2).

Ptolemy's theorem

Main article: Ptolemy's theorem

Ptolemy's theorem can be expressed in the language of modern trigonometry as:

\text{If }w + x + y + z = \pi = \text{half circle, then:}
\begin{align}
   \sin(w + x)\sin(x + y)
&= \sin(x + y)\sin(y + z) & \text{(trivial)} \\
&= \sin(y + z)\sin(z + w) & \text{(trivial)} \\
&= \sin(z + w)\sin(w + x) & \text{(trivial)} \\
&= \sin w \sin y + \sin x \sin z. & \text{(significant)}
\end{align}

(The first three equalities are trivial rearrangements; the fourth is the substance of this identity.)

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

Sine and cosine

In the case of a non-zero linear combination of a sine and cosine wave[29] (which is just a sine wave with a phase shift of π/2), we have

a\sin x+b\cos x=c\cdot\sin(x+\varphi)\,

where

c = \sqrt{a^2 + b^2},\,

and (using the atan2 function)

 \varphi = \operatorname{atan2} \left( b, a \right).

Arbitrary phase shift

More generally, for an arbitrary phase shift, we have

a\sin x+b\sin(x+\theta)= c \sin(x+\varphi)\,

where

c = \sqrt{a^2 + b^2 + 2ab\cos \theta},\,

and

\varphi = \operatorname{atan2} \left( b\,\sin\theta, a + b\cos\theta \right).

More than two sinusoids

The general case reads

\sum_i a_i \sin(x+\theta_i)= a \sin(x+\theta),

where

a^2=\sum_{i,j}a_i a_j \cos(\theta_i-\theta_j)

and

\tan \theta=\frac{\sum_i a_i \sin\theta_i}{\sum_i a_i \cos\theta_i}.

See also Phasor addition.

Lagrange's trigonometric identities

These identities, named after Joseph Louis Lagrange, are:[30][31]


\begin{align}
\sum_{n=1}^N \sin (n\theta) & = \frac{1}{2}\cot\frac{\theta}{2}-\frac{\cos((N+\frac{1}{2})\theta)}{2\sin(\frac{1}{2}\theta)}\\
\sum_{n=1}^N \cos (n\theta) & = -\frac{1}{2}+\frac{\sin((N+\frac{1}{2})\theta)}{2\sin(\frac{1}{2}\theta)}
\end{align}

A related function is the following function of x, called the Dirichlet kernel.

1+2\cos x + 2\cos(2x) + 2\cos(3x) + \cdots + 2\cos(nx)
= \frac{\sin\left(\left(n +\frac{1}{2}\right)x\right)}{\sin(x/2)}.

Other sums of trigonometric functions

Sum of sines and cosines with arguments in arithmetic progression:[32] if \alpha\ne0, then


\begin{align}
& \sin \varphi + \sin(\varphi + \alpha) + \sin(\varphi + 2\alpha) + \cdots \\[8pt]
& {} \qquad\qquad \cdots + \sin(\varphi + n\alpha) = \frac{\sin\frac{(n+1) \alpha}{2} \cdot \sin(\varphi + \frac{n \alpha}{2})}{\sin\frac{\alpha}{2}} \quad\text{and} \\[10pt]
& \cos\varphi + \cos(\varphi + \alpha) + \cos(\varphi + 2\alpha) + \cdots \\[8pt]
& {} \qquad\qquad \cdots + \cos(\varphi + n\alpha) = \frac{\sin\frac{(n+1) \alpha}{2} \cdot \cos(\varphi + \frac{n \alpha}{2})}{\sin\frac{\alpha}{2}}.
\end{align}

For any a and b:

a \cos x + b \sin x = \sqrt{ a^2 + b^2 } \cos(x - \operatorname{atan2}\,(b, a)) \;

where atan2(y, x) is the generalization of arctan(y/x) that covers the entire circular range.

\sec x \pm \tan x = \tan\left(\frac \pi 4 \pm \frac x 2 \right).

The above identity is sometimes convenient to know when thinking about the Gudermannian function, which relates the circular and hyperbolic trigonometric functions without resorting to complex numbers.

If x, y, and z are the three angles of any triangle, i.e. if x + y + z = π, then

\cot x \cot y + \cot y \cot z + \cot z \cot x = 1.\,

Certain linear fractional transformations

If ƒ(x) is given by the linear fractional transformation

 f(x) = \frac{(\cos\alpha)x - \sin\alpha}{(\sin\alpha)x + \cos\alpha},

and similarly

 g(x) = \frac{(\cos\beta)x - \sin\beta}{(\sin\beta)x + \cos\beta},

then

 f(g(x)) = g(f(x))
= \frac{(\cos(\alpha+\beta))x - \sin(\alpha+\beta)}{(\sin(\alpha+\beta))x + \cos(\alpha+\beta)}.

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

 f_\alpha \circ f_\beta = f_{\alpha+\beta}. \,

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

Inverse trigonometric functions

 \arcsin x +\arccos x = \pi/2\;
 \arctan x +\arccot x = \pi/2.\;
\arctan x + \arctan \frac{1}{x}=\left\{\begin{matrix} \pi/2, & \mbox{if }x > 0 \\  -\pi/2, & \mbox{if }x < 0 \end{matrix}\right.

Compositions of trig and inverse trig functions

\sin(\arccos x)=\sqrt{1-x^2} \, \tan(\arcsin x)=\frac{x}{\sqrt{1 - x^2}}
\sin(\arctan x)=\frac{x}{\sqrt{1+x^2}} \tan(\arccos x)=\frac{\sqrt{1 - x^2}}{x}
\cos(\arctan x)=\frac{1}{\sqrt{1+x^2}} \cot(\arcsin x)=\frac{\sqrt{1 - x^2}}{x}
\cos(\arcsin x)=\sqrt{1-x^2} \, \cot(\arccos x)=\frac{x}{\sqrt{1 - x^2}}

Relation to the complex exponential function

e^{ix} = \cos x + 
i\sin x\,[33] (Euler's formula),
e^{-ix} = \cos(-x) + i\sin(-x) = \cos x - i\sin x
e^{i\pi} = -1 (Euler's identity),
e^{2\pi i} = 1
\cos x = \frac{e^{ix} + e^{-ix}}{2} [34]
\sin x = \frac{e^{ix} - e^{-ix}}{2i} [35]

and hence the corollary:

\tan x = \frac{\sin x}{\cos x}= \frac{e^{ix} - e^{-ix}}{i({e^{ix} + e^{-ix}})}

where i^2 = -1.

Infinite product formulae

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

\sin x = x \prod_{n = 1}^\infty\left(1 - \frac{x^2}{\pi^2 n^2}\right)
\sinh x = x \prod_{n = 1}^\infty\left(1 + \frac{x^2}{\pi^2 n^2}\right)
\frac{\sin x}{x} = \prod_{n = 1}^\infty\cos\frac{x}{2^n}

\cos x = \prod_{n = 1}^\infty\left(1 - \frac{x^2}{\pi^2(n - \frac{1}{2})^2}\right)
\cosh x = \prod_{n = 1}^\infty\left(1 + \frac{x^2}{\pi^2(n - \frac{1}{2})^2}\right)
|\sin x| = \frac1{2}\prod_{n = 0}^\infty \sqrt[2^{n+1}]{\left|\tan\left(2^n x\right)\right|}

Identities without variables

The curious identity known as Morrie's law

\cos 20^\circ\cdot\cos 40^\circ\cdot\cos 80^\circ=\frac{1}{8}

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

\prod_{j=0}^{k-1}\cos(2^j x)=\frac{\sin(2^k x)}{2^k\sin x}.

The same cosine identity in radians is

 \cos\frac{\pi}{9}\cos\frac{2\pi}{9}\cos\frac{4\pi}{9} = \frac{1}{8}.

Similarly:

\sin 20^\circ\cdot\sin 40^\circ\cdot\sin 80^\circ=\frac{\sqrt{3}}{8}

is a special case of an identity with the case x = 20:

\sin x \cdot \sin (60^\circ-x) \cdot \sin (60^\circ+x)
= \frac{\sin 3x}{4} .

Similarly the case x = 15:

\sin 15^\circ\cdot\sin 45^\circ\cdot\sin 75^\circ=\frac{\sqrt{2}}{8},
\sin 15^\circ\cdot\sin 75^\circ=\frac{1}{4}.

Similarly the case x = 10:

\sin 10^\circ\cdot\sin 50^\circ\cdot\sin 70^\circ=\frac{1}{8}.

The same cosine identity is

\cos x \cdot \cos (60^\circ-x) \cdot \cos (60^\circ+x)
= \frac{\cos 3x}{4}.

Similary:

\cos 10^\circ\cdot\cos 50^\circ\cdot\cos 70^\circ=\frac{\sqrt{3}}{8}.
\cos 15^\circ\cdot\cos 45^\circ\cdot\cos 75^\circ=\frac{\sqrt{2}}{8},
\cos 15^\circ\cdot\cos 75^\circ=\frac{1}{4}.

Similarly:

\tan 50^\circ\cdot\tan 60^\circ\cdot\tan 70^\circ=\tan 80^\circ.
\tan 40^\circ\cdot\tan 30^\circ\cdot\tan 20^\circ=\tan 10^\circ.

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

\cos 24^\circ+\cos 48^\circ+\cos 96^\circ+\cos 168^\circ=\frac{1}{2}.

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


\begin{align}
& \cos \frac{2\pi}{21}
  + \cos\left(2\cdot\frac{2\pi}{21}\right)   
  + \cos\left(4\cdot\frac{2\pi}{21}\right) \\[10pt]
& {} \qquad {} + \cos\left( 5\cdot\frac{2\pi}{21}\right)
  + \cos\left( 8\cdot\frac{2\pi}{21}\right)
  + \cos\left(10\cdot\frac{2\pi}{21}\right)=\frac{1}{2}.
\end{align}

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:[38]

2\cos \frac{\pi}{3}=1,
2\cos \frac{\pi}{5} \times 2\cos \frac{2\pi}{5}=1,
2\cos \frac{\pi}{7} \times 2\cos \frac{2\pi}{7}\times 2\cos \frac{3\pi}{7}=1,

and so forth for all odd numbers, and hence

\cos \frac{\pi}{3}+\cos \frac{\pi}{5} \times \cos \frac{2\pi}{5}+\cos \frac{\pi}{7} \times \cos \frac{2\pi}{7} \times \cos \frac{3\pi}{7}+ \dots =1.

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

 \prod_{k=1}^{n-1} \sin\frac{k\pi}{n} = \frac{n}{2^{n-1}}

and

 \prod_{k=1}^{n-1} \cos\frac{k\pi}{n} = \frac{\sin(\pi n/2)}{2^{n-1}}

Combining these gives us

 \prod_{k=1}^{n-1} \tan\frac{k\pi}{n} = \frac{n}{\sin(\pi n/2)}

If n is an odd number (n = 2m + 1) we can make use of the symmetries to get

 \prod_{k=1}^{m} \tan\frac{k\pi}{2m+1} = \sqrt{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:

 \prod_{k=1}^{n} \sin\frac{\left(2k-1\right)\pi}{4n} = \prod_{k=1}^{n} \cos\frac{\left(2k-1\right)\pi}{4n} = \frac{\sqrt{2}}{2^{n}}

Computing π

An efficient way to compute π is based on the following identity without variables, due to Machin:

\frac{\pi}{4} = 4 \arctan\frac{1}{5} - \arctan\frac{1}{239}

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

\frac{\pi}{4} = 5 \arctan\frac{1}{7} + 2 \arctan\frac{3}{79}

or by using Pythagorean Triples:

\pi = \arccos\frac{4}{5} + \arccos\frac{5}{13} + \arccos\frac{16}{65} = \arcsin\frac{3}{5} + \arcsin\frac{12}{13} + \arcsin\frac{63}{65}.

A useful mnemonic for certain values of sines and cosines

For certain simple angles, the sines and cosines take the form \scriptstyle\sqrt{n}/2 for 0  n  4, which makes them easy to remember.


\begin{matrix}
\sin 0 & = & \sin 0^\circ & = & \sqrt{0}/2 & = & \cos 90^\circ &  =  & \cos \frac {\pi} {2} \\  \\
\sin \frac {\pi} {6} & = & \sin 30^\circ & = & \sqrt{1}/2 & = & \cos 60^\circ & = & \cos \frac {\pi} {3} \\  \\
\sin \frac {\pi} {4} & = & \sin 45^\circ & = & \sqrt{2}/2 & = & \cos 45^\circ & = & \cos \frac {\pi} {4} \\  \\
\sin \frac {\pi} {3} & = & \sin 60^\circ & = & \sqrt{3}/2 & = & \cos 30^\circ & = & \cos \frac {\pi} {6} \\  \\
\sin \frac {\pi} {2} & = & \sin 90^\circ & = & \sqrt{4}/2 & = & \cos 0^\circ & = & \cos 0 
\end{matrix}

Miscellany

With the golden ratio φ:

\cos \frac {\pi} {5} = \cos 36^\circ=\tfrac14 (\sqrt{5}+1) = \tfrac12 \varphi
\sin \frac {\pi} {10} = \sin 18^\circ = \tfrac14 (\sqrt{5}-1) = \tfrac12 \varphi^{-1}

Also see exact trigonometric constants.

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:

\sin^2 18^\circ +\sin^2 30^\circ =\sin^2 36^\circ . \,

Ptolemy used this proposition to compute some angles in his table of chords.

Composition of trigonometric functions

This identity involves a trigonometric function of a trigonometric function:[40]

\cos(t \sin x) = J_0(t) + 2 \sum_{k=1}^\infty J_{2k}(t) \cos(2kx)
\sin(t \sin x) = 2 \sum_{k=0}^\infty J_{2k+1}(t) \sin((2k+1)x)
\cos(t \cos x) = J_0(t) + 2 \sum_{k=1}^\infty (-1)^kJ_{2k}(t) \cos(2kx)
\sin(t \cos x) = 2 \sum_{k=0}^\infty(-1)^k J_{2k+1}(t) \cos((2k+1)x)

where Ji are Bessel functions.

Calculus

In calculus the relations stated below require angles to be measured in radians; the relations would become more complicated if angles were measured in another unit such as degrees. If the trigonometric functions are defined in terms of geometry, along with the definitions of arc length and area, their derivatives can be found by verifying two limits. The first is:

\lim_{x\rightarrow 0}\frac{\sin x}{x}=1,

verified using the unit circle and squeeze theorem. The second limit is:

\lim_{x\rightarrow 0}\frac{1-\cos x }{x}=0,

verified using the identity tan(x/2) = (1  cos x)/sin x. Having established these two limits, one can use the limit definition of the derivative and the addition theorems to show that (sin x) = cos x and (cos x) = sin x. If the sine and cosine functions are defined by their Taylor series, then the derivatives can be found by differentiating the power series term-by-term.

{\mathrm{d} \over \mathrm{d}x}\sin x = \cos x

The rest of the trigonometric functions can be differentiated using the above identities and the rules of differentiation:[41][42][43]


\begin{align}
{\mathrm{d} \over \mathrm{d}x} \sin x & = \cos x,         & {\mathrm{d} \over \mathrm{d}x} \arcsin x & =  {1 \over \sqrt{1 - x^2}}      \\  \\
{\mathrm{d} \over \mathrm{d}x} \cos x & = -\sin x,        & {\mathrm{d} \over \mathrm{d}x} \arccos x & = {-1 \over \sqrt{1 - x^2}}      \\  \\
{\mathrm{d} \over \mathrm{d}x} \tan x & = \sec^2 x,       & {\mathrm{d} \over \mathrm{d}x} \arctan x & = { 1 \over 1 + x^2}             \\  \\
{\mathrm{d} \over \mathrm{d}x} \cot x & = -\csc^2 x,      & {\mathrm{d} \over \mathrm{d}x} \arccot x & = {-1 \over 1 + x^2}             \\  \\
{\mathrm{d} \over \mathrm{d}x} \sec x & = \tan x \sec x,  & {\mathrm{d} \over \mathrm{d}x} \arcsec x & = { 1 \over |x|\sqrt{x^2 - 1}}   \\  \\
{\mathrm{d} \over \mathrm{d}x} \csc x & = -\csc x \cot x, & {\mathrm{d} \over \mathrm{d}x} \arccsc x & = {-1 \over |x|\sqrt{x^2 - 1}}
\end{align}

The integral identities can be found in "list of integrals of trigonometric functions". Some generic forms are listed below.

\int \frac{\mathrm{d}u}{\sqrt{a^2-u^2}} =\sin^{-1}\left( \frac{u}{a} \right)+C
\int \frac{\mathrm{d}u}{a^2+u^2} =\frac{1}{a}\tan ^{-1}\left( \frac{u}{a} \right)+C
\int \frac{\mathrm{d}u}{u\sqrt{u^2-a^2}} =\frac{1}{a}\sec ^{-1}\left| \frac{u}{a} \right|+C

Implications

The fact that the differentiation of trigonometric functions (sine and cosine) results in linear combinations of the same two functions is of fundamental importance to many fields of mathematics, including differential equations and Fourier transforms.

Some differential equations satisfied by the sine function

Let i = −1 be the imaginary unit and let \circ denote composition of differential operators. Then for every odd positive integer n,

 \sum_{k=0}^n \binom{n}{k} \left(\frac{\mathrm{d}}{\mathrm{d}x}-\sin x\right) \circ \left(\frac{\mathrm{d}}{\mathrm{d}x} - \sin x + i\right)\circ\cdots\circ\left(\frac{\mathrm{d}}{\mathrm{d}x}-\sin x+(k-1)i\right) (\sin x)^{n-k} = 0.

(When k = 0, then the number of differential operators being composed is 0, so the corresponding term in the sum above is just (sin x)n.) This identity was discovered as a by-product of research in medical imaging.[44]

Exponential definitions

Function Inverse function[45]
\sin \theta = \frac{e^{i\theta} - e^{-i\theta}}{2i} \, \arcsin x = -i \ln \left(ix + \sqrt{1 - x^2}\right) \,
\cos \theta = \frac{e^{i\theta} + e^{-i\theta}}{2} \, \arccos x = i\,\ln\left(x-i\,\sqrt{1-x^2}\right) \,
\tan \theta = \frac{e^{i\theta} - e^{-i\theta}}{i(e^{i\theta} + e^{-i\theta})} \, \arctan x = \frac{i}{2} \ln \left(\frac{i + x}{i - x}\right) \,
\csc \theta = \frac{2i}{e^{i\theta} - e^{-i\theta}} \, \arccsc x = -i \ln \left(\tfrac{i}{x} + \sqrt{1 - \tfrac{1}{x^2}}\right) \,
\sec \theta = \frac{2}{e^{i\theta} + e^{-i\theta}} \, \arcsec x = -i \ln \left(\tfrac{1}{x} + \sqrt{1 - \tfrac{i}{x^2}}\right) \,
\cot \theta = \frac{i(e^{i\theta} + e^{-i\theta})}{e^{i\theta} - e^{-i\theta}} \, \arccot x = \frac{i}{2} \ln \left(\frac{x - i}{x + i}\right) \,
\operatorname{cis} \, \theta = e^{i\theta} \, \operatorname{arccis} \, x = \frac{\ln x}{i} = -i \ln x = \operatorname{arg} \, x \,

Miscellaneous

Dirichlet kernel

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

1+2\cos x +2\cos(2x)+2\cos(3x)+\cdots+2\cos(nx) = \frac{ \sin\left[\left(n+\frac{1}{2}\right)x\right\rbrack }{ \sin\left(\frac{x}{2}\right) }.

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

If we set

t = \tan\frac{x}{2},

then[46]

\sin x  = \frac{2t}{1 + t^2}\text{ and }\cos x = \frac{1 - t^2}{1 + t^2}\text{ and }e^{i x} = \frac{1 + i t}{1 - i t}

where eix = cos x + i sin x, sometimes abbreviated to cis x.

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

See also

Notes

  1. Schaumberger, N. "A Classroom Theorem on Trigonometric Irrationalities." Two-Year College Math. J. 5, 73-76, 1974. also see Weisstein, Eric W. "Niven's Theorem." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/NivensTheorem.html
  2. Abramowitz and Stegun, p. 73, 4.3.45
  3. Abramowitz and Stegun, p. 78, 4.3.147
  4. Abramowitz and Stegun, p. 72, 4.3.1315
  5. The Elementary Identities
  6. Abramowitz and Stegun, p. 72, 4.3.9
  7. Abramowitz and Stegun, p. 72, 4.3.78
  8. Abramowitz and Stegun, p. 72, 4.3.16
  9. 1 2 3 Weisstein, Eric W., "Trigonometric Addition Formulas", MathWorld.
  10. Abramowitz and Stegun, p. 72, 4.3.17
  11. Abramowitz and Stegun, p. 72, 4.3.18
  12. Abramowitz and Stegun, p. 80, 4.4.42
  13. Abramowitz and Stegun, p. 80, 4.4.33
  14. Abramowitz and Stegun, p. 80, 4.4.36
  15. Bronstein, Manuel (1989). "Simplification of real elementary functions". In G. H. Gonnet (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.
  16. 1 2 3 Weisstein, Eric W., "Multiple-Angle Formulas", MathWorld.
  17. Abramowitz and Stegun, p. 74, 4.3.48
  18. Abramowitz and Stegun, p. 72, 4.3.2728
  19. Abramowitz and Stegun, p. 72, 4.3.2022
  20. 1 2 Weisstein, Eric W., "Half-Angle Formulas", MathWorld.
  21. Abramowitz and Stegun, p. 72, 4.3.2426
  22. Weisstein, Eric W., "Double-Angle Formulas", MathWorld.
  23. Abramowitz and Stegun, p. 72, 4.3.2728
  24. Abramowitz and Stegun, p. 72, 4.3.2022
  25. Ken Ward's Mathematics Pages, http://www.trans4mind.com/personal_development/mathematics/trigonometry/multipleAnglesRecursiveFormula.htm
  26. Abramowitz and Stegun, p. 72, 4.3.3133
  27. Abramowitz and Stegun, p. 72, 4.3.3439
  28. Warren P. Johnson, "Trigonometric Identities à la Hermite", American Mathematical Monthly, volume 117, number 4, April 2010, pages 311327
  29. Cazelais, Gilles (18 February 2007). "Linear Combination of Sine and Cosine" (PDF).
  30. Eddie Ortiz Muñiz (February 1953). "A Method for Deriving Various Formulas in Electrostatics and Electromagnetism Using Lagrange's Trigonometric Identities". American Journal of Physics 21 (2): 140. doi:10.1119/1.1933371.
  31. Alan Jeffrey and Hui-hui Dai (2008). "Section 2.4.1.6". Handbook of Mathematical Formulas and Integrals (4th ed.). Academic Press. ISBN 978-0-12-374288-9.
  32. Michael P. Knapp, Sines and Cosines of Angles in Arithmetic Progression
  33. Abramowitz and Stegun, p. 74, 4.3.47
  34. Abramowitz and Stegun, p. 71, 4.3.2
  35. Abramowitz and Stegun, p. 71, 4.3.1
  36. Abramowitz and Stegun, p. 75, 4.3.8990
  37. Abramowitz and Stegun, p. 85, 4.5.6869
  38. Humble, Steve, "Grandma's identity", Mathematical Gazette 88, November 2004, 524–525.
  39. Weisstein, Eric W., "Sine" from MathWorld
  40. 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
  41. Abramowitz and Stegun, p. 77, 4.3.105110
  42. Abramowitz and Stegun, p. 82, 4.4.5257
  43. Finney, Ross (2003). Calculus : Graphical, Numerical, Algebraic. Glenview, Illinois: Prentice Hall. pp. 159–161. ISBN 0-13-063131-0.
  44. Peter Kuchment and Sergey Lvin, "Identities for sin x that Came from Medical Imaging", American Mathematical Monthly, volume 120, August–September, 2013, pages 609–621.
  45. Abramowitz and Stegun, p. 80, 4.4.2631
  46. Abramowitz and Stegun, p. 72, 4.3.23

References

External links

This article is issued from Wikipedia - version of the Monday, February 15, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.