Trigonometric Identity

In mathematics, trigonometric identities (or trig identities for short) are equations involving trigonometric functions that are true for all values of the occurring variables. 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 trick involves first using the substitution rule with a trigonometric function, and then simplifying the resulting integral with a trigonometric identity.

Notation

The following notations hold for all six trigonometric functions: sine (sin), cosine (cos), tangent (tan), cotangent (cot), secant (sec), and cosecant (csc). For brevity, only the sine case is given in the table.
Reading Description Definition
sin2(x) "sine squared of x" the square of sine; sine to the second power sin2(x) = (sin(x))2
arcsin(x) "arcsine of x" the inverse function for sine arcsin(x) = y  if and only if  sin(y) = x and -{\pi \over 2} \le y \le {\pi \over 2}
(sin(x))−1 "sine of x, to the negative-one power" the reciprocal of sine; the multiplicative inverse of sine (sin(x))−1 = 1 / sin(x)

Definitions

\tan (x) = \frac {\sin (x)} {\cos(x)} \qquad \operatorname{cot}(x) = \frac {\cos (x)} {\sin(x)} = \frac{1} {\tan(x)}
\operatorname{sec}(x) = \frac{1} {\cos(x)} \qquad \operatorname{csc}(x) = \frac{1} {\sin(x)}
For more information, including definitions based on the sides of a right triangle, see Trigonometric functions.

Periodicity, symmetry, and shifts

These are most easily shown from the unit circle:
\sin(x) = \sin(x + 2\pi)
  \qquad \sin(x) = \cos\left(\frac{\pi}{2} - x\right)  
\cos(x) = \cos(x + 2\pi)
  \qquad \cos(x) = \sin\left(\frac{\pi}{2}-x\right)  
\tan(x) = \tan(x + \pi)
  \qquad \tan(x) = \cot\left(\frac{\pi}{2} - x\right) 
\sin(-x) = -\sin(x) \qquad\; \cos(-x) =\; \cos(x)
\tan(-x) = -\tan(x) \qquad \cot(-x) = -\cot(x)
For some purposes it is important to know that any linear combination of sine waves of the same period but different phase shifts is also a sine wave with the same period, but a different phase shift. In other words, we have
a\sin x+b\cos x=\sqrt{a^2+b^2}\cdot\sin(x+\varphi)
where
   \varphi=   \left\{    \begin{matrix}     {\rm arctan}(b/a),&&\mbox{if }a\ge0; \;    \\     \pi+{\rm arctan}(b/a),&&\mbox{if }a<0. \;    \end{matrix}   \right. \;   

Pythagorean identities

These identities are based on the Pythagorean theorem. The first is sometimes simply called the Pythagorean trigonometric identity.
\sin^2(x) + \cos^2(x) = 1 \;
\tan^2(x) + 1 = \sec^2(x) \;
1 + \cot^2(x) = \csc^2(x) \;
Note that the second equation is obtained from the first by dividing both sides by cos²(x). To get the third equation, divide the first by sin²(x) instead.

Angle sum and difference identities

These are also known as the addition and subtraction theorems or formulas. The quickest way to prove these is Euler's formula. The tangent formula follows from the other two. A geometric proof of the sin(x + y) identity is given at the end of this article.
\sin(x \pm y) = \sin(x) \cos(y) \pm \cos(x) \sin(y)\,
\cos(x \pm y) = \cos(x) \cos(y) \mp \sin(x) \sin(y)\,
\tan(x \pm y) = \frac{\tan(x) \pm \tan(y)}{1 \mp \tan(x)\tan(y)}
{\rm cis}(x+y)={\rm cis}(x)\,{\rm cis}(y)
{\rm cis}(x-y)=
\sin\left(\frac{x}{2}\right) = \pm\, \sqrt{\frac{1 - \cos(x)}{2}}
These may also be called the half-angle formulas. Then
\tan\left(\frac{x}{2}\right) = {\sin (x/2) \over \cos (x/2)} = \pm\, \sqrt{1 - \cos x \over 1 + \cos x}. \qquad \qquad (1)
Multiply both numerator and denominator inside the radical by 1 + cos x, then simplify (using a Pythagorean identity):
\tan\left(\frac{x}{2}\right) = \pm\, \sqrt{(1 - \cos x) (1 + \cos x) \over (1 + \cos x) (1 + \cos x)} = \pm\, \sqrt{1 - \cos^2 x \over (1 + \cos x)^2}
= {\sin x \over 1 + \cos x}.
Likewise, multiplying both numerator and denominator inside the radical — in equation (1) — by
1 − cos x, then simplifying:
\tan\left(\frac{x}{2}\right) = \pm\, \sqrt{(1 - \cos x) (1 - \cos x) \over (1 + \cos x) (1 - \cos x)} = \pm\, \sqrt{(1 - \cos x)^2 \over (1 - \cos^2 x)}
= {1 - \cos x \over \sin x}.
Thus, the pair of half-angle formulas for the tangent are:
\tan\left(\frac{x}{2}\right) = \frac{\sin(x)}{1 + \cos(x)} = \frac{1-\cos(x)}{\sin(x)}.
If we set
t = \tan\left(\frac{x}{2}\right),
then
math>\sin(x) = \frac{2t}{1 + t^2}   and   \cos(x) = \frac{1 - t^2}{1 + t^2}   and   e^{i x} = \frac{1 + i t}{1 - i t}.
This substitution of t for tan(x/2), with the consequent replacement of sin(x) by 2t/(1 + t2) and cos(x) by (1 − t2)/(1 + t2) is useful in calculus for converting rational functions in sin(x) and cos(x) to functions of t in order to find their antiderivatives. For more information see tangent half-angle formula.

Products-to-sum identities

These can be proven by expanding their right-hand-sides using the addition theorems.
\cos(x) \cos(y) = {\cos(x + y) + \cos(x - y) \over 2} \;
\sin(x) \sin(y) = {\cos(x - y) - \cos(x + y) \over 2} \;
\sin(x) \cos(y) = {\sin(x + y) + \sin(x - y) \over 2} \;

Sum-to-product identities

Replace x by (x + y) / 2 and y by (xy) / 2 in the product-to-sum formulas.
\sin(x) + \sin(y) = 2 \sin\left( \frac{x + y}{2} \right) \cos\left( \frac{x - y}{2} \right) \;
\cos(x) + \cos(y) = 2 \cos\left( \frac{x + y}{2} \right) \cos\left( \frac{x - y}{2} \right) \;

Inverse trigonometric functions

\arcsin(x)+\arccos(x)=\pi/2\;
\arctan(x)+\arccot(x)=\pi/2.\;
\arctan(x)+\arctan(1/x)=\left\{\begin{matrix} \pi/2, & \mbox{if }x > 0 \\ -\pi/2, & \mbox{if }x < 0 \end{matrix}\right..
\arctan(x)+\arctan(y)=\arctan\left(\frac{x+y}{1-xy}\right) \;
\sin(\arccos(x))=\sqrt{1-x^2} \,
\cos(\arcsin(x))=\sqrt{1-x^2} \,
\sin(\arctan(x))=\frac{x}{\sqrt{1+x^2}}
\cos(\arctan(x))=\frac{1}{\sqrt{1+x^2}}
Every trigonometric function can be related directly to every other trigonometric function. Such relations can be expressed by means of inverse trigonometric functions as follows: let φ and ψ represent a pair of trigonometric functions, and let arcψ be the inverse of ψ, such that ψ(arcψ(x))=x. Then φ(arcψ(x)) can be expressed as an algebraic formula in terms of x. Such formulas are shown in the table below: φ can be made equal to the head of one of the rows, and ψ can be equated to the head of a column: Table of conversion formulas>
tyle="background:#A3F8CF;"| φ / ψ style="background:#9DDCFD;"| sin style="background:#9DDCFD;"| cos style="background:#9DDCFD;"| tan style="background:#9DDCFD;"| csc style="background:#9DDCFD;"| sec style="background:#9DDCFD;"| cot
tyle="background:#9DDCFD;"| sin x\ \sqrt{1 - x^2} {x \over \sqrt{1 + x^2}} {1 \over x} {\sqrt{x^2 - 1} \over x} {1 \over \sqrt{1 + x^2}}
tyle="background:#9DDCFD;"| cos \sqrt{1 - x^2} x\ {1 \over \sqrt{1 + x^2}} {\sqrt{x^2 - 1} \over x} {1 \over x} {x \over \sqrt{1 + x^2}}
tyle="background:#9DDCFD;"| tan {x \over \sqrt{1 - x^2}} {\sqrt{1 - x^2} \over x} x\ {1 \over \sqrt{x^2 - 1}} \sqrt{x^2 - 1} {1 \over x}
tyle="background:#9DDCFD;"| csc {1 \over x} {1 \over \sqrt{1 - x^2}} {\sqrt{1 + x^2} \over x} x\ {x \over \sqrt{x^2 - 1}} \sqrt{1 + x^2}
tyle="background:#9DDCFD;"| sec {1 \over \sqrt{1 - x^2}} {1 \over x} \sqrt{1 + x^2} {x \over \sqrt{x^2 - 1}} x\ {\sqrt{1 + x^2} \over x}
tyle="background:#9DDCFD;"| cot {\sqrt{1 - x^2} \over x} {x \over \sqrt{1 - x^2}} {1 \over x} \sqrt{x^2 - 1} {1 \over \sqrt{x^2 - 1}} x\
One procedure that can be used to obtain the elements of this table is as follows:
Given trigonometric functions φ and ψ, what is φ(arcψ(x)) equal to?
  1. Find an equation that relates φ(u) and ψ(u) to each other:
  2. : f(\varphi(u), \psi(u)) = 0 \
  3. Let u = arc ψ(x), so that:
  4. : f(\varphi({\rm arc}\psi(x)),\psi({\rm arc}\psi(x)) = 0 \
  5. : f(\varphi({\rm arc}\psi(x)),x) = 0 \
  6. Solve the last equation for φ(arcψ(x)).
Example. What is cot(arccsc(x)) equal to? First, find an equation which relations the functions cot and csc to each other, such as
\cot^2 u + 1 = \csc^2 u \ .
Second, let u = arccsc(x):
\cot^2(\arccsc(x)) + 1 = \csc^2(\arccsc(x)) \ ,
\cot^2(\arccsc(x)) + 1 = x^2 \ .
Third, solve this equation for cot(arccsc(x)):
\cot^2(\arccsc(x)) = x^2 - 1, \
\cot(\arccsc(x)) = \pm\sqrt{x^2 - 1},
and this is the formula which shows up in the sixth row and fourth column of the table.

The Gudermannian function

The Gudermannian function relates the circular and hyperbolic trigonometric functions without resorting to complex numbers -- see that article for details.

Identities without variables

Richard Feynman is reputed to have learned as a boy, and always remembered, the following curious identity:
\cos 20^\circ\cdot\cos 40^\circ\cdot\cos 80^\circ=\frac{1}{8}.
However, this 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 following are perhaps not as readily generalized to identities containing variables:
\cos 36^\circ+\cos 108^\circ=\frac{1}{2}
\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:
\cos\left( \frac{2\pi}{21}\right)
   \,+\, \cos\left(2\cdot\frac{2\pi}{21}\right)      \,+\, \cos\left(4\cdot\frac{2\pi}{21}\right) 
   \,+\, \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}. 
The factors 1, 2, 4, 5, 8, 10 may start to make the pattern clear: they are those integers less than 21/2 that 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 Mbius 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. 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 Euler's formula:
\frac{\pi}{4} = 5 \arctan\frac{1}{7} + 2 \arctan\frac{3}{79}.

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, then 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. It may be tempting to propose to use L'Hpital's rule to establish this limit. However, if one uses this limit in order to prove that the derivative of the sine is the cosine, and then uses the fact that the derivative of the sine is the cosine in applying L'Hpital's rule, one is reasoning circularly—a logical fallacy. 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.
{d \over dx}\sin(x) = \cos(x)
The rest of the trigonometric functions can be differentiated using the above identities and the rules of differentiation. We have:
{d \over dx}\cos(x) = -\sin(x)
{d \over dx}\tan(x) = \sec^2(x)
{d \over dx}\cot(x) = -\csc^2(x)
{d \over dx}\sec(x) = \sec(x) \tan(x)
{d \over dx}\csc(x) = - \csc(x)\cot(x)
{d \over dx}\arcsin(x)=\frac{1}{\sqrt{1-x^2}}
{d \over dx}\arctan(x)=\frac{1}{1+x^2}
The integral identities can be found in Wikipedia's table of integrals.

Proofs using a differential equation

Consider this differential equation:
y^{\prime\prime} + y=0
Using Euler's formula and the method for solving linear differential equations combined with the uniqueness theorem and the existence theorem we can define sine and cosine as the following: \cos(x) is the unique solution of
y^{\prime\prime} + y = 0 subject to the initial conditions of y(0)=1 \; and y^\prime(0) = 0
\sin(x) is the unique solution of
y^{\prime\prime} + y = 0 subject to the initial conditions of y(0)=0 \; and y^\prime(0) = 1
Now, let's prove that
\frac{d}{dx}\sin(x) = \cos(x)
First let
T(x) = \sin^\prime(x)
Now we find the first and second derivatives of T(x)
T^\prime(x) = \sin^{\prime\prime}(x) but since \sin(x) is a solution of y^{\prime\prime} + y = 0 we can say \sin^{\prime\prime}(x) + \sin(x) = 0 so \sin^{\prime\prime}(x)=-\sin(x)
Therefore
T^\prime(x) = -\sin(x)
T^{\prime\prime}(x) = -\sin^\prime(x) = -T(x)
Therefore we can say
T^{\prime\prime}(x) + T(x) = 0
Once again according to our technique of solving linear differential equations and Euler's formula the solution to T^{\prime\prime}(x) + T(x) = 0 must be a linear combination of \sin(x) and \cos(x), therefore
T(x) = A\sin(x) + B\cos(x) \;
Now we solve for B by plugging in 0 for x
T(0) = 0 + B \;
but according to our initial values T(0) = \sin^\prime(0) = 1, therefore
B=1 \;
To solve for A we take the derviative of T(x) and plug in 0 for x
T^\prime(x) = A\sin^\prime(x) + B\cos^\prime(x)
T^\prime(0) = A\sin^\prime(0) + B\cos^\prime(0)
Using our initial values and since T^\prime(x) = -\sin(x)
-\sin(0)=A{1}+B{0} \;
A=0 \;
Plugging A and B back into our original equation for T(x) we get
T(x)=\cos(x) \;
But since T(x) was defined as \sin^\prime(x) we get
\sin^\prime(x) = \cos(x)
or
\frac{d}{dx}\sin(x) = \cos(x)
Q.E.D. Using these rigorous definitions of sine and cosine, you can prove all the other properties of sine and cosine using the same technique. See also Rigorous Definition of Sine and Cosine (pdf).

Geometric proofs

sin(x + y) = sin(x) cos(y) + cos(x) sin(y)

In the figure the angle x is part of right angled triangle ABC, and the angle y part of right angled triangle ACD. Then construct DG perpendicular to AB and construct CE parallel to AB. Angle x = Angle BAC = Angle ACE = Angle CDE. EG = BC.
\sin(x + y) \,
= DG / AD \,
= (EG + DE) / AD \,
= (BC + DE) / AD \,
= (BC / AD) + (DE / AD) \,
= \frac{BC}{AD} \cdot \frac{AC}{AC} + \frac{DE}{AD} \cdot \frac{CD}{CD} \,
= \frac{BC}{AC} \cdot \frac{AC}{AD} + \frac{DE}{CD} \cdot \frac{CD}{AD} \,
= \sin( x ) \cos( y ) + \cos( x ) \sin( y ). \,

cos(x + y) = cos(x) cos(y) − sin(x) sin(y)

Using the above figure:
\cos(x + y) \,
= AG / AD \,
= (AB - GB) / AD \,
= (AB - EC) / AD \,
= (AB / AD) - (EC / AD) \,
= \frac{AB}{AD} \cdot \frac{AC}{AC} - \frac{EC}{AD} \cdot \frac{CD}{CD} \,
= \frac{AB}{AC} \cdot \frac{AC}{AD} - \frac{EC}{CD} \cdot \frac{CD}{AD} \,
= \cos( x ) \cos( y ) - \sin( x ) \sin( y ). \,

See also

 

<< PreviousWord BrowserNext >>
talk
sex pistols
telecommunication
transcendental number
the terminator
total order
tactical voting
tetraodontiformes
thesaurus
total preorder
trial of socrates
tetris
pre socratic philosophy
transliteration
torah
tanakh
talmud
terminator 2: judgment day
twerps
the modern lovers
trumpet
tricky
thelema
temperature
tsr
tiber
tomb raider
truth table
transition metal
taoism
torr
trigonometric function
thermochemistry
techno
london eye
taekwondo
tony blair
targum
tosefta
ten commandments
the evolution of cooperation
the machinery of freedom
tunneling
tom stoppard