
In mathematics, the trigonometric functions (also called circular functions, angle functions or goniometric functions) are real functions which relate an angle of a right-angled triangle to ratios of two side lengths. They are widely used in all sciences that are related to geometry, such as navigation, solid mechanics, celestial mechanics, geodesy, and many others. They are among the simplest periodic functions, and as such are also widely used for studying periodic phenomena through Fourier analysis.

The trigonometric functions most widely used in modern mathematics are the sine, the cosine, and the tangent functions. Their reciprocals are respectively the cosecant, the secant, and the cotangent functions, which are less used. Each of these six trigonometric functions has a corresponding inverse function, and an analog among the hyperbolic functions.
The oldest definitions of trigonometric functions, related to right-angle triangles, define them only for acute angles. To extend the sine and cosine functions to functions whose domain is the whole real line, geometrical definitions using the standard unit circle (i.e., a circle with radius 1 unit) are often used; then the domain of the other functions is the real line with some isolated points removed. Modern definitions express trigonometric functions as infinite series or as solutions of differential equations. This allows extending the domain of sine and cosine functions to the whole complex plane, and the domain of the other trigonometric functions to the complex plane with some isolated points removed.
Notation
Conventionally, an abbreviation of each trigonometric function's name is used as its symbol in formulas. Today, the most common versions of these abbreviations are "sin" for sine, "cos" for cosine, "tan" or "tg" for tangent, "sec" for secant, "csc" or "cosec" for cosecant, and "cot" or "ctg" for cotangent. Historically, these abbreviations were first used in prose sentences to indicate particular line segments or their lengths related to an arc of an arbitrary circle, and later to indicate ratios of lengths, but as the function concept developed in the 17th–18th century, they began to be considered as functions of real-number-valued angle measures, and written with functional notation, for example sin(x). Parentheses are still often omitted to reduce clutter, but are sometimes necessary; for example the expression would typically be interpreted to mean
so parentheses are required to express
A positive integer appearing as a superscript after the symbol of the function denotes exponentiation, not function composition. For example and
denote
not
This differs from the (historically later) general functional notation in which
However, the exponent is commonly used to denote the inverse function, not the reciprocal. For example
and
denote the inverse trigonometric function alternatively written
The equation
implies
not
In this case, the superscript could be considered as denoting a composed or iterated function, but negative superscripts other than
are not in common use.
Right-angled triangle definitions
If the acute angle θ is given, then any right triangles that have an angle of θ are similar to each other. This means that the ratio of any two side lengths depends only on θ. Thus these six ratios define six functions of θ, which are the trigonometric functions. In the following definitions, the hypotenuse is the length of the side opposite the right angle, opposite represents the side opposite the given angle θ, and adjacent represents the side between the angle θ and the right angle.
|
|
|
|
|
|
Various mnemonics can be used to remember these definitions.
In a right-angled triangle, the sum of the two acute angles is a right angle, that is, 90° or π/2 radians. Therefore and
represent the same ratio, and thus are equal. This identity and analogous relationships between the other trigonometric functions are summarized in the following table.
Bottom: Graph of sine versus angle. Angles from the top panel are identified.
Function | Description | Relationship | |
---|---|---|---|
using radians | using degrees | ||
sine | opposite/hypotenuse | ||
cosine | adjacent/hypotenuse | ||
tangent | opposite/adjacent | ||
cotangent | adjacent/opposite | ||
secant | hypotenuse/adjacent | ||
cosecant | hypotenuse/opposite |
Radians versus degrees
In geometric applications, the argument of a trigonometric function is generally the measure of an angle. For this purpose, any angular unit is convenient. One common unit is degrees, in which a right angle is 90° and a complete turn is 360° (particularly in elementary mathematics).
However, in calculus and mathematical analysis, the trigonometric functions are generally regarded more abstractly as functions of real or complex numbers, rather than angles. In fact, the functions sin and cos can be defined for all complex numbers in terms of the exponential function, via power series, or as solutions to differential equations given particular initial values (see below), without reference to any geometric notions. The other four trigonometric functions (tan, cot, sec, csc) can be defined as quotients and reciprocals of sin and cos, except where zero occurs in the denominator. It can be proved, for real arguments, that these definitions coincide with elementary geometric definitions if the argument is regarded as an angle in radians. Moreover, these definitions result in simple expressions for the derivatives and indefinite integrals for the trigonometric functions. Thus, in settings beyond elementary geometry, radians are regarded as the mathematically natural unit for describing angle measures.
When radians (rad) are employed, the angle is given as the length of the arc of the unit circle subtended by it: the angle that subtends an arc of length 1 on the unit circle is 1 rad (≈ 57.3°), and a complete turn (360°) is an angle of 2π (≈ 6.28) rad. For real number x, the notation sin x, cos x, etc. refers to the value of the trigonometric functions evaluated at an angle of x rad. If units of degrees are intended, the degree sign must be explicitly shown (sin x°, cos x°, etc.). Using this standard notation, the argument x for the trigonometric functions satisfies the relationship x = (180x/π)°, so that, for example, sin π = sin 180° when we take x = π. In this way, the degree symbol can be regarded as a mathematical constant such that 1° = π/180 ≈ 0.0175.
Unit-circle definitions
The six trigonometric functions can be defined as coordinate values of points on the Euclidean plane that are related to the unit circle, which is the circle of radius one centered at the origin O of this coordinate system. While right-angled triangle definitions allow for the definition of the trigonometric functions for angles between 0 and radians (90°), the unit circle definitions allow the domain of trigonometric functions to be extended to all positive and negative real numbers.
Let be the ray obtained by rotating by an angle θ the positive half of the x-axis (counterclockwise rotation for
and clockwise rotation for
). This ray intersects the unit circle at the point
The ray
extended to a line if necessary, intersects the line of equation
at point
and the line of equation
at point
The tangent line to the unit circle at the point A, is perpendicular to
and intersects the y- and x-axes at points
and
The coordinates of these points give the values of all trigonometric functions for any arbitrary real value of θ in the following manner.
The trigonometric functions cos and sin are defined, respectively, as the x- and y-coordinate values of point A. That is,
and
In the range , this definition coincides with the right-angled triangle definition, by taking the right-angled triangle to have the unit radius OA as hypotenuse. And since the equation
holds for all points
on the unit circle, this definition of cosine and sine also satisfies the Pythagorean identity.
The other trigonometric functions can be found along the unit circle as
and
and
By applying the Pythagorean identity and geometric proof methods, these definitions can readily be shown to coincide with the definitions of tangent, cotangent, secant and cosecant in terms of sine and cosine, that is
Since a rotation of an angle of does not change the position or size of a shape, the points A, B, C, D, and E are the same for two angles whose difference is an integer multiple of
. Thus trigonometric functions are periodic functions with period
. That is, the equalities
and
hold for any angle θ and any integer k. The same is true for the four other trigonometric functions. By observing the sign and the monotonicity of the functions sine, cosine, cosecant, and secant in the four quadrants, one can show that is the smallest value for which they are periodic (i.e.,
is the fundamental period of these functions). However, after a rotation by an angle
, the points B and C already return to their original position, so that the tangent function and the cotangent function have a fundamental period of
. That is, the equalities
and
hold for any angle θ and any integer k.
Algebraic values
The algebraic expressions for the most important angles are as follows:
(zero angle)
(right angle)
Writing the numerators as square roots of consecutive non-negative integers, with a denominator of 2, provides an easy way to remember the values.
Such simple expressions generally do not exist for other angles which are rational multiples of a right angle.
- For an angle which, measured in degrees, is a multiple of three, the exact trigonometric values of the sine and the cosine may be expressed in terms of square roots. These values of the sine and the cosine may thus be constructed by ruler and compass.
- For an angle of an integer number of degrees, the sine and the cosine may be expressed in terms of square roots and the cube root of a non-real complex number. Galois theory allows a proof that, if the angle is not a multiple of 3°, non-real cube roots are unavoidable.
- For an angle which, expressed in degrees, is a rational number, the sine and the cosine are algebraic numbers, which may be expressed in terms of nth roots. This results from the fact that the Galois groups of the cyclotomic polynomials are cyclic.
- For an angle which, expressed in degrees, is not a rational number, then either the angle or both the sine and the cosine are transcendental numbers. This is a corollary of Baker's theorem, proved in 1966.
Simple algebraic values
The following table lists the sines, cosines, and tangents of multiples of 15 degrees from 0 to 90 degrees.
Angle, θ, in | ||||
---|---|---|---|---|
radians | degrees | |||
Undefined |
Definitions in analysis
G. H. Hardy noted in his 1908 work A Course of Pure Mathematics that the definition of the trigonometric functions in terms of the unit circle is not satisfactory, because it depends implicitly on a notion of angle that can be measured by a real number. Thus in modern analysis, trigonometric functions are usually constructed without reference to geometry.
Various ways exist in the literature for defining the trigonometric functions in a manner suitable for analysis; they include:
- Using the "geometry" of the unit circle, which requires formulating the arc length of a circle (or area of a sector) analytically.
- By a power series, which is particularly well-suited to complex variables.
- By using an infinite product expansion.
- By inverting the inverse trigonometric functions, which can be defined as integrals of algebraic or rational functions.
- As solutions of a differential equation.
Definition by differential equations
Sine and cosine can be defined as the unique solution to the initial value problem:
Differentiating again, and
, so both sine and cosine are solutions of the same ordinary differential equation
Sine is the unique solution with y(0) = 0 and y′(0) = 1; cosine is the unique solution with y(0) = 1 and y′(0) = 0.
One can then prove, as a theorem, that solutions are periodic, having the same period. Writing this period as
is then a definition of the real number
which is independent of geometry.
Applying the quotient rule to the tangent ,
so the tangent function satisfies the ordinary differential equation
It is the unique solution with y(0) = 0.
Power series expansion
The basic trigonometric functions can be defined by the following power series expansions. These series are also known as the Taylor series or Maclaurin series of these trigonometric functions:
The radius of convergence of these series is infinite. Therefore, the sine and the cosine can be extended to entire functions (also called "sine" and "cosine"), which are (by definition) complex-valued functions that are defined and holomorphic on the whole complex plane.
Term-by-term differentiation shows that the sine and cosine defined by the series obey the differential equation discussed previously, and conversely one can obtain these series from elementary recursion relations derived from the differential equation.
Being defined as fractions of entire functions, the other trigonometric functions may be extended to meromorphic functions, that is functions that are holomorphic in the whole complex plane, except some isolated points called poles. Here, the poles are the numbers of the form for the tangent and the secant, or
for the cotangent and the cosecant, where k is an arbitrary integer.
Recurrences relations may also be computed for the coefficients of the Taylor series of the other trigonometric functions. These series have a finite radius of convergence. Their coefficients have a combinatorial interpretation: they enumerate alternating permutations of finite sets.
More precisely, defining
- Un, the nth up/down number,
- Bn, the nth Bernoulli number, and
- En, is the nth Euler number,
one has the following series expansions:
Continued fraction expansion
The following continued fractions are valid in the whole complex plane:
The last one was used in the historically first proof that π is irrational.
Partial fraction expansion
There is a series representation as partial fraction expansion where just translated reciprocal functions are summed up, such that the poles of the cotangent function and the reciprocal functions match:
This identity can be proved with the Herglotz trick. Combining the (–n)th with the nth term lead to absolutely convergent series:
Similarly, one can find a partial fraction expansion for the secant, cosecant and tangent functions:
Infinite product expansion
The following infinite product for the sine is due to Leonhard Euler, and is of great importance in complex analysis:
This may be obtained from the partial fraction decomposition of given above, which is the logarithmic derivative of
. From this, it can be deduced also that
Euler's formula and the exponential function
Euler's formula relates sine and cosine to the exponential function:
This formula is commonly considered for real values of x, but it remains true for all complex values.
Proof: Let and
One has
for j = 1, 2. The quotient rule implies thus that
. Therefore,
is a constant function, which equals 1, as
This proves the formula.
One has
Solving this linear system in sine and cosine, one can express them in terms of the exponential function:
When x is real, this may be rewritten as
Most trigonometric identities can be proved by expressing trigonometric functions in terms of the complex exponential function by using above formulas, and then using the identity for simplifying the result.
Euler's formula can also be used to define the basic trigonometric function directly, as follows, using the language of topological groups. The set of complex numbers of unit modulus is a compact and connected topological group, which has a neighborhood of the identity that is homeomorphic to the real line. Therefore, it is isomorphic as a topological group to the one-dimensional torus group
, via an isomorphism
In pedestrian terms
, and this isomorphism is unique up to taking complex conjugates.
For a nonzero real number (the base), the function
defines an isomorphism of the group
. The real and imaginary parts of
are the cosine and sine, where
is used as the base for measuring angles. For example, when
, we get the measure in radians, and the usual trigonometric functions. When
, we get the sine and cosine of angles measured in degrees.
Note that is the unique value at which the derivative
becomes a unit vector with positive imaginary part at
. This fact can, in turn, be used to define the constant
.
Definition via integration
Another way to define the trigonometric functions in analysis is using integration. For a real number , put
where this defines this inverse tangent function. Also,
is defined by
a definition that goes back to Karl Weierstrass.
On the interval , the trigonometric functions are defined by inverting the relation
. Thus we define the trigonometric functions by
where the point
is on the graph of
and the positive square root is taken.
This defines the trigonometric functions on . The definition can be extended to all real numbers by first observing that, as
,
, and so
and
. Thus
and
are extended continuously so that
. Now the conditions
and
define the sine and cosine as periodic functions with period
, for all real numbers.
Proving the basic properties of sine and cosine, including the fact that sine and cosine are analytic, one may first establish the addition formulae. First, holds, provided
, since
after the substitution
. In particular, the limiting case as
gives
Thus we have
and
So the sine and cosine functions are related by translation over a quarter period
.
Definitions using functional equations
One can also define the trigonometric functions using various functional equations.
For example, the sine and the cosine form the unique pair of continuous functions that satisfy the difference formula
and the added condition
In the complex plane
The sine and cosine of a complex number can be expressed in terms of real sines, cosines, and hyperbolic functions as follows:
By taking advantage of domain coloring, it is possible to graph the trigonometric functions as complex-valued functions. Various features unique to the complex functions can be seen from the graph; for example, the sine and cosine functions can be seen to be unbounded as the imaginary part of becomes larger (since the color white represents infinity), and the fact that the functions contain simple zeros or poles is apparent from the fact that the hue cycles around each zero or pole exactly once. Comparing these graphs with those of the corresponding Hyperbolic functions highlights the relationships between the two.
|
|
|
Periodicity and asymptotes
The cosine and sine functions are periodic, with period , which is the smallest positive period:
Consequently, the secant and cosecant also have
as their period. The functions sine and cosine also have semiperiods
, and
and consequently
Also,
The function
has a unique zero (at
) in the strip
. The function
has the pair of zeros
in the same strip. Because of the periodicity, the zeros of sine are
There zeros of cosine are
All of the zeros are simple zeros, and both functions have derivative
at each of the zeros.
The tangent function has a simple zero at
and vertical asymptotes at
, where it has a simple pole of residue
. Again, owing to the periodicity, the zeros are all the integer multiples of
and the poles are odd multiples of
, all having the same residue. The poles correspond to vertical asymptotes
The cotangent function has a simple pole of residue 1 at the integer multiples of
and simple zeros at odd multiples of
. The poles correspond to vertical asymptotes
Basic identities
Many identities interrelate the trigonometric functions. This section contains the most basic ones; for more identities, see List of trigonometric identities. These identities may be proved geometrically from the unit-circle definitions or the right-angled-triangle definitions (although, for the latter definitions, care must be taken for angles that are not in the interval [0, π/2], see Proofs of trigonometric identities). For non-geometrical proofs using only tools of calculus, one may use directly the differential equations, in a way that is similar to that of the above proof of Euler's identity. One can also use Euler's identity for expressing all trigonometric functions in terms of complex exponentials and using properties of the exponential function.
Parity
The cosine and the secant are even functions; the other trigonometric functions are odd functions. That is:
Periods
All trigonometric functions are periodic functions of period 2π. This is the smallest period, except for the tangent and the cotangent, which have π as smallest period. This means that, for every integer k, one has
Pythagorean identity
The Pythagorean identity, is the expression of the Pythagorean theorem in terms of trigonometric functions. It is
.
Dividing through by either or
gives
In mathematics the trigonometric functions also called circular functions angle functions or goniometric functions are real functions which relate an angle of a right angled triangle to ratios of two side lengths They are widely used in all sciences that are related to geometry such as navigation solid mechanics celestial mechanics geodesy and many others They are among the simplest periodic functions and as such are also widely used for studying periodic phenomena through Fourier analysis Basis of trigonometry if two right triangles have equal acute angles they are similar so their corresponding side lengths are proportional The trigonometric functions most widely used in modern mathematics are the sine the cosine and the tangent functions Their reciprocals are respectively the cosecant the secant and the cotangent functions which are less used Each of these six trigonometric functions has a corresponding inverse function and an analog among the hyperbolic functions The oldest definitions of trigonometric functions related to right angle triangles define them only for acute angles To extend the sine and cosine functions to functions whose domain is the whole real line geometrical definitions using the standard unit circle i e a circle with radius 1 unit are often used then the domain of the other functions is the real line with some isolated points removed Modern definitions express trigonometric functions as infinite series or as solutions of differential equations This allows extending the domain of sine and cosine functions to the whole complex plane and the domain of the other trigonometric functions to the complex plane with some isolated points removed NotationConventionally an abbreviation of each trigonometric function s name is used as its symbol in formulas Today the most common versions of these abbreviations are sin for sine cos for cosine tan or tg for tangent sec for secant csc or cosec for cosecant and cot or ctg for cotangent Historically these abbreviations were first used in prose sentences to indicate particular line segments or their lengths related to an arc of an arbitrary circle and later to indicate ratios of lengths but as the function concept developed in the 17th 18th century they began to be considered as functions of real number valued angle measures and written with functional notation for example sin x Parentheses are still often omitted to reduce clutter but are sometimes necessary for example the expression sin x y displaystyle sin x y would typically be interpreted to mean sin x y displaystyle sin x y so parentheses are required to express sin x y displaystyle sin x y A positive integer appearing as a superscript after the symbol of the function denotes exponentiation not function composition For example sin2 x displaystyle sin 2 x and sin2 x displaystyle sin 2 x denote sin x sin x displaystyle sin x cdot sin x not sin sin x displaystyle sin sin x This differs from the historically later general functional notation in which f2 x f f x f f x displaystyle f 2 x f circ f x f f x However the exponent 1 displaystyle 1 is commonly used to denote the inverse function not the reciprocal For example sin 1 x displaystyle sin 1 x and sin 1 x displaystyle sin 1 x denote the inverse trigonometric function alternatively written arcsin x displaystyle arcsin x colon The equation 8 sin 1 x displaystyle theta sin 1 x implies sin 8 x displaystyle sin theta x not 8 sin x 1 displaystyle theta cdot sin x 1 In this case the superscript could be considered as denoting a composed or iterated function but negative superscripts other than 1 displaystyle 1 are not in common use Right angled triangle definitionsIn this right triangle denoting the measure of angle BAC as A sin A a c cos A b c tan A a b Plot of the six trigonometric functions the unit circle and a line for the angle 8 0 7 radians The points labeled 1 Sec 8 Csc 8 represent the length of the line segment from the origin to that point Sin 8 Tan 8 and 1 are the heights to the line starting from the x axis while Cos 8 1 and Cot 8 are lengths along the x axis starting from the origin If the acute angle 8 is given then any right triangles that have an angle of 8 are similar to each other This means that the ratio of any two side lengths depends only on 8 Thus these six ratios define six functions of 8 which are the trigonometric functions In the following definitions the hypotenuse is the length of the side opposite the right angle opposite represents the side opposite the given angle 8 and adjacent represents the side between the angle 8 and the right angle sine sin 8 oppositehypotenuse displaystyle sin theta frac mathrm opposite mathrm hypotenuse cosecant csc 8 hypotenuseopposite displaystyle csc theta frac mathrm hypotenuse mathrm opposite cosine cos 8 adjacenthypotenuse displaystyle cos theta frac mathrm adjacent mathrm hypotenuse secant sec 8 hypotenuseadjacent displaystyle sec theta frac mathrm hypotenuse mathrm adjacent tangent tan 8 oppositeadjacent displaystyle tan theta frac mathrm opposite mathrm adjacent cotangent cot 8 adjacentopposite displaystyle cot theta frac mathrm adjacent mathrm opposite Various mnemonics can be used to remember these definitions In a right angled triangle the sum of the two acute angles is a right angle that is 90 or p 2 radians Therefore sin 8 displaystyle sin theta and cos 90 8 displaystyle cos 90 circ theta represent the same ratio and thus are equal This identity and analogous relationships between the other trigonometric functions are summarized in the following table Top Trigonometric function sin 8 for selected angles 8 p 8 p 8 and 2p 8 in the four quadrants Bottom Graph of sine versus angle Angles from the top panel are identified Summary of relationships between trigonometric functions Function Description Relationshipusing radians using degreessine opposite hypotenuse sin 8 cos p2 8 1csc 8 displaystyle sin theta cos left frac pi 2 theta right frac 1 csc theta sin x cos 90 x 1csc x displaystyle sin x cos left 90 circ x right frac 1 csc x cosine adjacent hypotenuse cos 8 sin p2 8 1sec 8 displaystyle cos theta sin left frac pi 2 theta right frac 1 sec theta cos x sin 90 x 1sec x displaystyle cos x sin left 90 circ x right frac 1 sec x tangent opposite adjacent tan 8 sin 8cos 8 cot p2 8 1cot 8 displaystyle tan theta frac sin theta cos theta cot left frac pi 2 theta right frac 1 cot theta tan x sin xcos x cot 90 x 1cot x displaystyle tan x frac sin x cos x cot left 90 circ x right frac 1 cot x cotangent adjacent opposite cot 8 cos 8sin 8 tan p2 8 1tan 8 displaystyle cot theta frac cos theta sin theta tan left frac pi 2 theta right frac 1 tan theta cot x cos xsin x tan 90 x 1tan x displaystyle cot x frac cos x sin x tan left 90 circ x right frac 1 tan x secant hypotenuse adjacent sec 8 csc p2 8 1cos 8 displaystyle sec theta csc left frac pi 2 theta right frac 1 cos theta sec x csc 90 x 1cos x displaystyle sec x csc left 90 circ x right frac 1 cos x cosecant hypotenuse opposite csc 8 sec p2 8 1sin 8 displaystyle csc theta sec left frac pi 2 theta right frac 1 sin theta csc x sec 90 x 1sin x displaystyle csc x sec left 90 circ x right frac 1 sin x Radians versus degreesIn geometric applications the argument of a trigonometric function is generally the measure of an angle For this purpose any angular unit is convenient One common unit is degrees in which a right angle is 90 and a complete turn is 360 particularly in elementary mathematics However in calculus and mathematical analysis the trigonometric functions are generally regarded more abstractly as functions of real or complex numbers rather than angles In fact the functions sin and cos can be defined for all complex numbers in terms of the exponential function via power series or as solutions to differential equations given particular initial values see below without reference to any geometric notions The other four trigonometric functions tan cot sec csc can be defined as quotients and reciprocals of sin and cos except where zero occurs in the denominator It can be proved for real arguments that these definitions coincide with elementary geometric definitions if the argument is regarded as an angle in radians Moreover these definitions result in simple expressions for the derivatives and indefinite integrals for the trigonometric functions Thus in settings beyond elementary geometry radians are regarded as the mathematically natural unit for describing angle measures When radians rad are employed the angle is given as the length of the arc of the unit circle subtended by it the angle that subtends an arc of length 1 on the unit circle is 1 rad 57 3 and a complete turn 360 is an angle of 2p 6 28 rad For real number x the notation sin x cos x etc refers to the value of the trigonometric functions evaluated at an angle of x rad If units of degrees are intended the degree sign must be explicitly shown sin x cos x etc Using this standard notation the argument x for the trigonometric functions satisfies the relationship x 180x p so that for example sin p sin 180 when we take x p In this way the degree symbol can be regarded as a mathematical constant such that 1 p 180 0 0175 Unit circle definitionsAll of the trigonometric functions of the angle 8 theta can be constructed geometrically in terms of a unit circle centered at O Sine function on unit circle top and its graph bottom In this illustration the six trigonometric functions of an arbitrary angle 8 are represented as Cartesian coordinates of points related to the unit circle The y axis ordinates of A B and D are sin 8 tan 8 and csc 8 respectively while the x axis abscissas of A C and E are cos 8 cot 8 and sec 8 respectively Signs of trigonometric functions in each quadrant Mnemonics like all students take calculus indicates when sine cosine and tangent are positive from quadrants I to IV The six trigonometric functions can be defined as coordinate values of points on the Euclidean plane that are related to the unit circle which is the circle of radius one centered at the origin O of this coordinate system While right angled triangle definitions allow for the definition of the trigonometric functions for angles between 0 and p2 textstyle frac pi 2 radians 90 the unit circle definitions allow the domain of trigonometric functions to be extended to all positive and negative real numbers Let L displaystyle mathcal L be the ray obtained by rotating by an angle 8 the positive half of the x axis counterclockwise rotation for 8 gt 0 displaystyle theta gt 0 and clockwise rotation for 8 lt 0 displaystyle theta lt 0 This ray intersects the unit circle at the point A xA yA displaystyle mathrm A x mathrm A y mathrm A The ray L displaystyle mathcal L extended to a line if necessary intersects the line of equation x 1 displaystyle x 1 at point B 1 yB displaystyle mathrm B 1 y mathrm B and the line of equation y 1 displaystyle y 1 at point C xC 1 displaystyle mathrm C x mathrm C 1 The tangent line to the unit circle at the point A is perpendicular to L displaystyle mathcal L and intersects the y and x axes at points D 0 yD displaystyle mathrm D 0 y mathrm D and E xE 0 displaystyle mathrm E x mathrm E 0 The coordinates of these points give the values of all trigonometric functions for any arbitrary real value of 8 in the following manner The trigonometric functions cos and sin are defined respectively as the x and y coordinate values of point A That is cos 8 xA displaystyle cos theta x mathrm A quad and sin 8 yA displaystyle quad sin theta y mathrm A In the range 0 8 p 2 displaystyle 0 leq theta leq pi 2 this definition coincides with the right angled triangle definition by taking the right angled triangle to have the unit radius OA as hypotenuse And since the equation x2 y2 1 displaystyle x 2 y 2 1 holds for all points P x y displaystyle mathrm P x y on the unit circle this definition of cosine and sine also satisfies the Pythagorean identity cos2 8 sin2 8 1 displaystyle cos 2 theta sin 2 theta 1 The other trigonometric functions can be found along the unit circle as tan 8 yB displaystyle tan theta y mathrm B quad and cot 8 xC displaystyle quad cot theta x mathrm C csc 8 yD displaystyle csc theta y mathrm D quad and sec 8 xE displaystyle quad sec theta x mathrm E By applying the Pythagorean identity and geometric proof methods these definitions can readily be shown to coincide with the definitions of tangent cotangent secant and cosecant in terms of sine and cosine that is tan 8 sin 8cos 8 cot 8 cos 8sin 8 sec 8 1cos 8 csc 8 1sin 8 displaystyle tan theta frac sin theta cos theta quad cot theta frac cos theta sin theta quad sec theta frac 1 cos theta quad csc theta frac 1 sin theta Trigonometric functions Sine Cosine Tangent Cosecant dotted Secant dotted Cotangent dotted animation Since a rotation of an angle of 2p displaystyle pm 2 pi does not change the position or size of a shape the points A B C D and E are the same for two angles whose difference is an integer multiple of 2p displaystyle 2 pi Thus trigonometric functions are periodic functions with period 2p displaystyle 2 pi That is the equalities sin 8 sin 8 2kp displaystyle sin theta sin left theta 2k pi right quad and cos 8 cos 8 2kp displaystyle quad cos theta cos left theta 2k pi right hold for any angle 8 and any integer k The same is true for the four other trigonometric functions By observing the sign and the monotonicity of the functions sine cosine cosecant and secant in the four quadrants one can show that 2p displaystyle 2 pi is the smallest value for which they are periodic i e 2p displaystyle 2 pi is the fundamental period of these functions However after a rotation by an angle p displaystyle pi the points B and C already return to their original position so that the tangent function and the cotangent function have a fundamental period of p displaystyle pi That is the equalities tan 8 tan 8 kp displaystyle tan theta tan theta k pi quad and cot 8 cot 8 kp displaystyle quad cot theta cot theta k pi hold for any angle 8 and any integer k Algebraic valuesThe unit circle with some points labeled with their cosine and sine in this order and the corresponding angles in radians and degrees The algebraic expressions for the most important angles are as follows sin 0 sin 0 02 0 displaystyle sin 0 sin 0 circ quad frac sqrt 0 2 0 zero angle sin p6 sin 30 12 12 displaystyle sin frac pi 6 sin 30 circ frac sqrt 1 2 frac 1 2 sin p4 sin 45 22 12 displaystyle sin frac pi 4 sin 45 circ frac sqrt 2 2 frac 1 sqrt 2 sin p3 sin 60 32 displaystyle sin frac pi 3 sin 60 circ frac sqrt 3 2 sin p2 sin 90 42 1 displaystyle sin frac pi 2 sin 90 circ frac sqrt 4 2 1 right angle Writing the numerators as square roots of consecutive non negative integers with a denominator of 2 provides an easy way to remember the values Such simple expressions generally do not exist for other angles which are rational multiples of a right angle For an angle which measured in degrees is a multiple of three the exact trigonometric values of the sine and the cosine may be expressed in terms of square roots These values of the sine and the cosine may thus be constructed by ruler and compass For an angle of an integer number of degrees the sine and the cosine may be expressed in terms of square roots and the cube root of a non real complex number Galois theory allows a proof that if the angle is not a multiple of 3 non real cube roots are unavoidable For an angle which expressed in degrees is a rational number the sine and the cosine are algebraic numbers which may be expressed in terms of n th roots This results from the fact that the Galois groups of the cyclotomic polynomials are cyclic For an angle which expressed in degrees is not a rational number then either the angle or both the sine and the cosine are transcendental numbers This is a corollary of Baker s theorem proved in 1966 Simple algebraic values The following table lists the sines cosines and tangents of multiples of 15 degrees from 0 to 90 degrees Angle 8 in sin 8 displaystyle sin theta cos 8 displaystyle cos theta tan 8 displaystyle tan theta radians degrees0 displaystyle 0 0 displaystyle 0 circ 0 displaystyle 0 1 displaystyle 1 0 displaystyle 0 p12 displaystyle frac pi 12 15 displaystyle 15 circ 6 24 displaystyle frac sqrt 6 sqrt 2 4 6 24 displaystyle frac sqrt 6 sqrt 2 4 2 3 displaystyle 2 sqrt 3 p6 displaystyle frac pi 6 30 displaystyle 30 circ 12 displaystyle frac 1 2 32 displaystyle frac sqrt 3 2 33 displaystyle frac sqrt 3 3 p4 displaystyle frac pi 4 45 displaystyle 45 circ 22 displaystyle frac sqrt 2 2 22 displaystyle frac sqrt 2 2 1 displaystyle 1 p3 displaystyle frac pi 3 60 displaystyle 60 circ 32 displaystyle frac sqrt 3 2 12 displaystyle frac 1 2 3 displaystyle sqrt 3 5p12 displaystyle frac 5 pi 12 75 displaystyle 75 circ 6 24 displaystyle frac sqrt 6 sqrt 2 4 6 24 displaystyle frac sqrt 6 sqrt 2 4 2 3 displaystyle 2 sqrt 3 p2 displaystyle frac pi 2 90 displaystyle 90 circ 1 displaystyle 1 0 displaystyle 0 UndefinedDefinitions in analysisGraphs of sine cosine and tangentThe sine function blue is closely approximated by its Taylor polynomial of degree 7 pink for a full cycle centered on the origin Animation for the approximation of cosine via Taylor polynomials cos x displaystyle cos x together with the first Taylor polynomials pn x k 0n 1 kx2k 2k displaystyle p n x sum k 0 n 1 k frac x 2k 2k G H Hardy noted in his 1908 work A Course of Pure Mathematics that the definition of the trigonometric functions in terms of the unit circle is not satisfactory because it depends implicitly on a notion of angle that can be measured by a real number Thus in modern analysis trigonometric functions are usually constructed without reference to geometry Various ways exist in the literature for defining the trigonometric functions in a manner suitable for analysis they include Using the geometry of the unit circle which requires formulating the arc length of a circle or area of a sector analytically By a power series which is particularly well suited to complex variables By using an infinite product expansion By inverting the inverse trigonometric functions which can be defined as integrals of algebraic or rational functions As solutions of a differential equation Definition by differential equations Sine and cosine can be defined as the unique solution to the initial value problem ddxsin x cos x ddxcos x sin x sin 0 0 cos 0 1 displaystyle frac d dx sin x cos x frac d dx cos x sin x sin 0 0 cos 0 1 Differentiating again d2dx2sin x ddxcos x sin x textstyle frac d 2 dx 2 sin x frac d dx cos x sin x and d2dx2cos x ddxsin x cos x textstyle frac d 2 dx 2 cos x frac d dx sin x cos x so both sine and cosine are solutions of the same ordinary differential equation y y 0 displaystyle y y 0 Sine is the unique solution with y 0 0 and y 0 1 cosine is the unique solution with y 0 1 and y 0 0 One can then prove as a theorem that solutions cos sin displaystyle cos sin are periodic having the same period Writing this period as 2p displaystyle 2 pi is then a definition of the real number p displaystyle pi which is independent of geometry Applying the quotient rule to the tangent tan x sin x cos x displaystyle tan x sin x cos x ddxtan x cos2 x sin2 xcos2 x 1 tan2 x displaystyle frac d dx tan x frac cos 2 x sin 2 x cos 2 x 1 tan 2 x so the tangent function satisfies the ordinary differential equation y 1 y2 displaystyle y 1 y 2 It is the unique solution with y 0 0 Power series expansion The basic trigonometric functions can be defined by the following power series expansions These series are also known as the Taylor series or Maclaurin series of these trigonometric functions sin x x x33 x55 x77 n 0 1 n 2n 1 x2n 1cos x 1 x22 x44 x66 n 0 1 n 2n x2n displaystyle begin aligned sin x amp x frac x 3 3 frac x 5 5 frac x 7 7 cdots 6mu amp sum n 0 infty frac 1 n 2n 1 x 2n 1 8pt cos x amp 1 frac x 2 2 frac x 4 4 frac x 6 6 cdots 6mu amp sum n 0 infty frac 1 n 2n x 2n end aligned The radius of convergence of these series is infinite Therefore the sine and the cosine can be extended to entire functions also called sine and cosine which are by definition complex valued functions that are defined and holomorphic on the whole complex plane Term by term differentiation shows that the sine and cosine defined by the series obey the differential equation discussed previously and conversely one can obtain these series from elementary recursion relations derived from the differential equation Being defined as fractions of entire functions the other trigonometric functions may be extended to meromorphic functions that is functions that are holomorphic in the whole complex plane except some isolated points called poles Here the poles are the numbers of the form 2k 1 p2 textstyle 2k 1 frac pi 2 for the tangent and the secant or kp displaystyle k pi for the cotangent and the cosecant where k is an arbitrary integer Recurrences relations may also be computed for the coefficients of the Taylor series of the other trigonometric functions These series have a finite radius of convergence Their coefficients have a combinatorial interpretation they enumerate alternating permutations of finite sets More precisely defining Un the n th up down number Bn the n th Bernoulli number and En is the n th Euler number one has the following series expansions tan x n 0 U2n 1 2n 1 x2n 1 n 1 1 n 122n 22n 1 B2n 2n x2n 1 x 13x3 215x5 17315x7 for x lt p2 displaystyle begin aligned tan x amp sum n 0 infty frac U 2n 1 2n 1 x 2n 1 8mu amp sum n 1 infty frac 1 n 1 2 2n left 2 2n 1 right B 2n 2n x 2n 1 5mu amp x frac 1 3 x 3 frac 2 15 x 5 frac 17 315 x 7 cdots qquad text for x lt frac pi 2 end aligned csc x n 0 1 n 12 22n 1 1 B2n 2n x2n 1 x 1 16x 7360x3 3115120x5 for 0 lt x lt p displaystyle begin aligned csc x amp sum n 0 infty frac 1 n 1 2 left 2 2n 1 1 right B 2n 2n x 2n 1 5mu amp x 1 frac 1 6 x frac 7 360 x 3 frac 31 15120 x 5 cdots qquad text for 0 lt x lt pi end aligned sec x n 0 U2n 2n x2n n 0 1 nE2n 2n x2n 1 12x2 524x4 61720x6 for x lt p2 displaystyle begin aligned sec x amp sum n 0 infty frac U 2n 2n x 2n sum n 0 infty frac 1 n E 2n 2n x 2n 5mu amp 1 frac 1 2 x 2 frac 5 24 x 4 frac 61 720 x 6 cdots qquad text for x lt frac pi 2 end aligned cot x n 0 1 n22nB2n 2n x2n 1 x 1 13x 145x3 2945x5 for 0 lt x lt p displaystyle begin aligned cot x amp sum n 0 infty frac 1 n 2 2n B 2n 2n x 2n 1 5mu amp x 1 frac 1 3 x frac 1 45 x 3 frac 2 945 x 5 cdots qquad text for 0 lt x lt pi end aligned Continued fraction expansion The following continued fractions are valid in the whole complex plane sin x x1 x22 3 x2 2 3x24 5 x2 4 5x26 7 x2 displaystyle sin x cfrac x 1 cfrac x 2 2 cdot 3 x 2 cfrac 2 cdot 3x 2 4 cdot 5 x 2 cfrac 4 cdot 5x 2 6 cdot 7 x 2 ddots cos x 11 x21 2 x2 1 2x23 4 x2 3 4x25 6 x2 displaystyle cos x cfrac 1 1 cfrac x 2 1 cdot 2 x 2 cfrac 1 cdot 2x 2 3 cdot 4 x 2 cfrac 3 cdot 4x 2 5 cdot 6 x 2 ddots tan x x1 x23 x25 x27 11x 13x 15x 17x displaystyle tan x cfrac x 1 cfrac x 2 3 cfrac x 2 5 cfrac x 2 7 ddots cfrac 1 cfrac 1 x cfrac 1 cfrac 3 x cfrac 1 cfrac 5 x cfrac 1 cfrac 7 x ddots The last one was used in the historically first proof that p is irrational Partial fraction expansion There is a series representation as partial fraction expansion where just translated reciprocal functions are summed up such that the poles of the cotangent function and the reciprocal functions match pcot px limN n NN1x n displaystyle pi cot pi x lim N to infty sum n N N frac 1 x n This identity can be proved with the Herglotz trick Combining the n th with the n th term lead to absolutely convergent series pcot px 1x 2x n 1 1x2 n2 displaystyle pi cot pi x frac 1 x 2x sum n 1 infty frac 1 x 2 n 2 Similarly one can find a partial fraction expansion for the secant cosecant and tangent functions pcsc px n 1 nx n 1x 2x n 1 1 nx2 n2 displaystyle pi csc pi x sum n infty infty frac 1 n x n frac 1 x 2x sum n 1 infty frac 1 n x 2 n 2 p2csc2 px n 1 x n 2 displaystyle pi 2 csc 2 pi x sum n infty infty frac 1 x n 2 psec px n 0 1 n 2n 1 n 12 2 x2 displaystyle pi sec pi x sum n 0 infty 1 n frac 2n 1 n tfrac 1 2 2 x 2 ptan px 2x n 0 1 n 12 2 x2 displaystyle pi tan pi x 2x sum n 0 infty frac 1 n tfrac 1 2 2 x 2 Infinite product expansion The following infinite product for the sine is due to Leonhard Euler and is of great importance in complex analysis sin z z n 1 1 z2n2p2 z C displaystyle sin z z prod n 1 infty left 1 frac z 2 n 2 pi 2 right quad z in mathbb C This may be obtained from the partial fraction decomposition of cot z displaystyle cot z given above which is the logarithmic derivative of sin z displaystyle sin z From this it can be deduced also that cos z n 1 1 z2 n 1 2 2p2 z C displaystyle cos z prod n 1 infty left 1 frac z 2 n 1 2 2 pi 2 right quad z in mathbb C Euler s formula and the exponential function cos 8 displaystyle cos theta and sin 8 displaystyle sin theta are the real and imaginary part of ei8 displaystyle e i theta respectively Euler s formula relates sine and cosine to the exponential function eix cos x isin x displaystyle e ix cos x i sin x This formula is commonly considered for real values of x but it remains true for all complex values Proof Let f1 x cos x isin x displaystyle f 1 x cos x i sin x and f2 x eix displaystyle f 2 x e ix One has dfj x dx ifj x displaystyle df j x dx if j x for j 1 2 The quotient rule implies thus that d dx f1 x f2 x 0 displaystyle d dx f 1 x f 2 x 0 Therefore f1 x f2 x displaystyle f 1 x f 2 x is a constant function which equals 1 as f1 0 f2 0 1 displaystyle f 1 0 f 2 0 1 This proves the formula One has eix cos x isin xe ix cos x isin x displaystyle begin aligned e ix amp cos x i sin x 5pt e ix amp cos x i sin x end aligned Solving this linear system in sine and cosine one can express them in terms of the exponential function sin x eix e ix2icos x eix e ix2 displaystyle begin aligned sin x amp frac e ix e ix 2i 5pt cos x amp frac e ix e ix 2 end aligned When x is real this may be rewritten as cos x Re eix sin x Im eix displaystyle cos x operatorname Re left e ix right qquad sin x operatorname Im left e ix right Most trigonometric identities can be proved by expressing trigonometric functions in terms of the complex exponential function by using above formulas and then using the identity ea b eaeb displaystyle e a b e a e b for simplifying the result Euler s formula can also be used to define the basic trigonometric function directly as follows using the language of topological groups The set U displaystyle U of complex numbers of unit modulus is a compact and connected topological group which has a neighborhood of the identity that is homeomorphic to the real line Therefore it is isomorphic as a topological group to the one dimensional torus group R Z displaystyle mathbb R mathbb Z via an isomorphism e R Z U displaystyle e mathbb R mathbb Z to U In pedestrian terms e t exp 2pit displaystyle e t exp 2 pi it and this isomorphism is unique up to taking complex conjugates For a nonzero real number a displaystyle a the base the function t e t a displaystyle t mapsto e t a defines an isomorphism of the group R aZ U displaystyle mathbb R a mathbb Z to U The real and imaginary parts of e t a displaystyle e t a are the cosine and sine where a displaystyle a is used as the base for measuring angles For example when a 2p displaystyle a 2 pi we get the measure in radians and the usual trigonometric functions When a 360 displaystyle a 360 we get the sine and cosine of angles measured in degrees Note that a 2p displaystyle a 2 pi is the unique value at which the derivative ddte t a displaystyle frac d dt e t a becomes a unit vector with positive imaginary part at t 0 displaystyle t 0 This fact can in turn be used to define the constant 2p displaystyle 2 pi Definition via integration Another way to define the trigonometric functions in analysis is using integration For a real number t displaystyle t put 8 t 0tdt1 t2 arctan t displaystyle theta t int 0 t frac d tau 1 tau 2 arctan t where this defines this inverse tangent function Also p displaystyle pi is defined by 12p 0 dt1 t2 displaystyle frac 1 2 pi int 0 infty frac d tau 1 tau 2 a definition that goes back to Karl Weierstrass On the interval p 2 lt 8 lt p 2 displaystyle pi 2 lt theta lt pi 2 the trigonometric functions are defined by inverting the relation 8 arctan t displaystyle theta arctan t Thus we define the trigonometric functions by tan 8 t cos 8 1 t2 1 2 sin 8 t 1 t2 1 2 displaystyle tan theta t quad cos theta 1 t 2 1 2 quad sin theta t 1 t 2 1 2 where the point t 8 displaystyle t theta is on the graph of 8 arctan t displaystyle theta arctan t and the positive square root is taken This defines the trigonometric functions on p 2 p 2 displaystyle pi 2 pi 2 The definition can be extended to all real numbers by first observing that as 8 p 2 displaystyle theta to pi 2 t displaystyle t to infty and so cos 8 1 t2 1 2 0 displaystyle cos theta 1 t 2 1 2 to 0 and sin 8 t 1 t2 1 2 1 displaystyle sin theta t 1 t 2 1 2 to 1 Thus cos 8 displaystyle cos theta and sin 8 displaystyle sin theta are extended continuously so that cos p 2 0 sin p 2 1 displaystyle cos pi 2 0 sin pi 2 1 Now the conditions cos 8 p cos 8 displaystyle cos theta pi cos theta and sin 8 p sin 8 displaystyle sin theta pi sin theta define the sine and cosine as periodic functions with period 2p displaystyle 2 pi for all real numbers Proving the basic properties of sine and cosine including the fact that sine and cosine are analytic one may first establish the addition formulae First arctan s arctan t arctan s t1 st displaystyle arctan s arctan t arctan frac s t 1 st holds provided arctan s arctan t p 2 p 2 displaystyle arctan s arctan t in pi 2 pi 2 since arctan s arctan t stdt1 t2 0s t1 stdt1 t2 displaystyle arctan s arctan t int s t frac d tau 1 tau 2 int 0 frac s t 1 st frac d tau 1 tau 2 after the substitution t s t1 st displaystyle tau to frac s tau 1 s tau In particular the limiting case as s displaystyle s to infty gives arctan t p2 arctan 1 t t 0 displaystyle arctan t frac pi 2 arctan 1 t quad t in infty 0 Thus we have sin 8 p2 1t1 1 t 2 11 t2 cos 8 displaystyle sin left theta frac pi 2 right frac 1 t sqrt 1 1 t 2 frac 1 sqrt 1 t 2 cos theta and cos 8 p2 11 1 t 2 t1 t2 sin 8 displaystyle cos left theta frac pi 2 right frac 1 sqrt 1 1 t 2 frac t sqrt 1 t 2 sin theta So the sine and cosine functions are related by translation over a quarter period p 2 displaystyle pi 2 Definitions using functional equations One can also define the trigonometric functions using various functional equations For example the sine and the cosine form the unique pair of continuous functions that satisfy the difference formula cos x y cos xcos y sin xsin y displaystyle cos x y cos x cos y sin x sin y and the added condition 0 lt xcos x lt sin x lt x for 0 lt x lt 1 displaystyle 0 lt x cos x lt sin x lt x quad text for quad 0 lt x lt 1 In the complex plane The sine and cosine of a complex number z x iy displaystyle z x iy can be expressed in terms of real sines cosines and hyperbolic functions as follows sin z sin xcosh y icos xsinh ycos z cos xcosh y isin xsinh y displaystyle begin aligned sin z amp sin x cosh y i cos x sinh y 5pt cos z amp cos x cosh y i sin x sinh y end aligned By taking advantage of domain coloring it is possible to graph the trigonometric functions as complex valued functions Various features unique to the complex functions can be seen from the graph for example the sine and cosine functions can be seen to be unbounded as the imaginary part of z displaystyle z becomes larger since the color white represents infinity and the fact that the functions contain simple zeros or poles is apparent from the fact that the hue cycles around each zero or pole exactly once Comparing these graphs with those of the corresponding Hyperbolic functions highlights the relationships between the two Trigonometric functions in the complex plane sin z displaystyle sin z cos z displaystyle cos z tan z displaystyle tan z cot z displaystyle cot z sec z displaystyle sec z csc z displaystyle csc z Periodicity and asymptotesThe cosine and sine functions are periodic with period 2p displaystyle 2 pi which is the smallest positive period cos z 2p cos z sin z 2p sin z displaystyle cos z 2 pi cos z quad sin z 2 pi sin z Consequently the secant and cosecant also have 2p displaystyle 2 pi as their period The functions sine and cosine also have semiperiods p displaystyle pi and cos z p cos z sin z p sin z displaystyle cos z pi cos z quad sin z pi sin z and consequently tan z p tan z cot z p cot z displaystyle tan z pi tan z quad cot z pi cot z Also cos x p 2 sin x sin x p 2 cos x displaystyle cos x pi 2 sin x quad sin x pi 2 cos x The function sin z displaystyle sin z has a unique zero at z 0 displaystyle z 0 in the strip p lt ℜ z lt p displaystyle pi lt Re z lt pi The function cos z displaystyle cos z has the pair of zeros z p 2 displaystyle z pm pi 2 in the same strip Because of the periodicity the zeros of sine are pZ 2p p 0 p 2p C displaystyle pi mathbb Z left dots 2 pi pi 0 pi 2 pi dots right subset mathbb C There zeros of cosine are p2 pZ 3p2 p2 p2 3p2 C displaystyle frac pi 2 pi mathbb Z left dots frac 3 pi 2 frac pi 2 frac pi 2 frac 3 pi 2 dots right subset mathbb C All of the zeros are simple zeros and both functions have derivative 1 displaystyle pm 1 at each of the zeros The tangent function tan z sin z cos z displaystyle tan z sin z cos z has a simple zero at z 0 displaystyle z 0 and vertical asymptotes at z p 2 displaystyle z pm pi 2 where it has a simple pole of residue 1 displaystyle 1 Again owing to the periodicity the zeros are all the integer multiples of p displaystyle pi and the poles are odd multiples of p 2 displaystyle pi 2 all having the same residue The poles correspond to vertical asymptotes limx p tan x limx p tan x displaystyle lim x to pi tan x infty quad lim x to pi tan x infty The cotangent function cot z cos z sin z displaystyle cot z cos z sin z has a simple pole of residue 1 at the integer multiples of p displaystyle pi and simple zeros at odd multiples of p 2 displaystyle pi 2 The poles correspond to vertical asymptotes limx 0 cot x limx 0 cot x displaystyle lim x to 0 cot x infty quad lim x to 0 cot x infty Basic identitiesMany identities interrelate the trigonometric functions This section contains the most basic ones for more identities see List of trigonometric identities These identities may be proved geometrically from the unit circle definitions or the right angled triangle definitions although for the latter definitions care must be taken for angles that are not in the interval 0 p 2 see Proofs of trigonometric identities For non geometrical proofs using only tools of calculus one may use directly the differential equations in a way that is similar to that of the above proof of Euler s identity One can also use Euler s identity for expressing all trigonometric functions in terms of complex exponentials and using properties of the exponential function Parity The cosine and the secant are even functions the other trigonometric functions are odd functions That is sin x sin xcos x cos xtan x tan xcot x cot xcsc x csc xsec x sec x displaystyle begin aligned sin x amp sin x cos x amp cos x tan x amp tan x cot x amp cot x csc x amp csc x sec x amp sec x end aligned Periods All trigonometric functions are periodic functions of period 2p This is the smallest period except for the tangent and the cotangent which have p as smallest period This means that for every integer k one has sin x 2kp sin xcos x 2kp cos xtan x kp tan xcot x kp cot xcsc x 2kp csc xsec x 2kp sec x displaystyle begin array lrl sin x amp 2k pi amp sin x cos x amp 2k pi amp cos x tan x amp k pi amp tan x cot x amp k pi amp cot x csc x amp 2k pi amp csc x sec x amp 2k pi amp sec x end array Pythagorean identity The Pythagorean identity is the expression of the Pythagorean theorem in terms of trigonometric functions It is sin2 x cos2 x 1 displaystyle sin 2 x cos 2 x 1 Dividing through by either cos2 x displaystyle cos 2 x or sin2 x displaystyle sin 2 x gives tan2 x 1 sec2 x displaystyle tan 2 x 1 sec 2 x