thumb|upright=1.35|Basis of trigonometry: if two [[right triangles have equal acute angles, they are similar, so their corresponding side lengths are proportional.]]
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 are widely used for studying periodic phenomena through Fourier analysis.
The trigonometric functions most commonly 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 commonly used. Each of these six trigonometric functions has a corresponding inverse function and has 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 "" for sine, "" for cosine, "" or "" for tangent, "" for secant, "" or "" for cosecant, and "" or "" 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 . Parentheses are still often omitted to reduce clutter, but are sometimes necessary; for example the expression <math>\sin x+y</math> would typically be interpreted to mean <math>(\sin x)+y,</math> so parentheses are required to express <math>\sin (x+y).</math>
A positive integer appearing as a superscript after the symbol of the function denotes exponentiation, not function composition. For example <math>\sin^2 x</math> and <math>\sin^2 (x)</math> denote <math>(\sin x)^2,</math> not <math>\sin(\sin x).</math> This differs from the (historically later) general functional notation in which <math>f^2(x) = (f \circ f)(x) = f(f(x)).</math>
In contrast, the superscript <math>-1</math> is commonly used to denote the inverse function, not the reciprocal. For example <math>\sin^{-1}x</math> and <math>\sin^{-1}(x)</math> denote the inverse trigonometric function alternatively written <math>\arcsin x\,.</math> The equation <math>\theta = \sin^{-1}x</math> implies <math>\sin \theta = x,</math> not <math>\theta \cdot \sin x = 1.</math> In this case, the superscript could be considered as denoting a composed or iterated function, but negative superscripts other than <math>{-1}</math> are not in common use.
Right-angled triangle definitions
thumb|In this right triangle, denoting the measure of angle BAC as A: ; ; .
thumb|Plot of the six trigonometric functions, the unit circle, and a line for the angle . The points labeled , , represent the length of the line segment from the origin to that point. , , and are the heights to the line starting from the -axis, while , , and are lengths along the -axis starting from the origin.
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.
{|
| style="padding-left: 2em; padding-right: 2em; |
;sine: <math>\sin \theta = \frac \mathrm{opposite}\mathrm{hypotenuse}</math>
| style="padding-left: 2em; padding-right: 2em; |
;cosecant: <math>\csc \theta = \frac \mathrm{hypotenuse}\mathrm{opposite}</math>
|-
| style="padding-left: 2em; padding-right: 2em; |
;cosine: <math>\cos \theta = \frac \mathrm{adjacent}\mathrm{hypotenuse}</math>
| style="padding-left: 2em; padding-right: 2em; |
;secant: <math>\sec \theta = \frac \mathrm{hypotenuse}\mathrm{adjacent}</math>
|-
| style="padding-left: 2em; padding-right: 2em; |
;tangent: <math>\tan \theta = \frac \mathrm{opposite}\mathrm{adjacent}</math>
| style="padding-left: 2em; padding-right: 2em; |
;cotangent: <math>\cot \theta = \frac \mathrm{adjacent}\mathrm{opposite}</math>
|}
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, or . Therefore <math>\sin(\theta)</math> and <math>\cos(90^\circ - \theta)</math> represent the same ratio, and thus are equal. This identity and analogous relationships between the other trigonometric functions are summarized in the following table.
thumb|Top: Trigonometric function for selected angles (in radians) , , , and in the four quadrants.<br>Bottom: Graph of sine versus angle. Angles from the top panel are identified.
{| class="wikitable sortable"
|+ Summary of relationships between trigonometric functions
|-
! rowspan=2 | Function
! rowspan=2 | Description
! colspan=2 | Relationship
|-
! using radians
! using degrees
|-
! sine
|align=center|
| <math>\sin \theta = \cos\left(\frac{\pi}{2} - \theta \right) = \frac{1}{\csc \theta}</math>
| <math>\sin x = \cos\left(90^\circ - x \right) = \frac{1}{\csc x}</math>
|-
! cosine
|align=center|
| <math>\cos \theta = \sin\left(\frac{\pi}{2} - \theta \right) = \frac{1}{\sec \theta}\,</math>
| <math>\cos x = \sin\left(90^\circ - x \right) = \frac{1}{\sec x}\,</math>
|-
! tangent
|align=center|
| <math>\tan \theta = \frac{\sin \theta}{\cos \theta} = \cot\left(\frac{\pi}{2} - \theta \right) = \frac{1}{\cot \theta}</math>
| <math>\tan x = \frac{\sin x}{\cos x} = \cot\left(90^\circ - x \right) = \frac{1}{\cot x}</math>
|-
! cotangent
|align=center|
| <math>\cot \theta = \frac{\cos \theta}{\sin \theta} = \tan\left(\frac{\pi}{2} - \theta \right) = \frac{1}{\tan \theta}</math>
| <math>\cot x = \frac{\cos x}{\sin x} = \tan\left(90^\circ - x \right) = \frac{1}{\tan x}</math>
|-
! secant
|align=center|
| <math>\sec \theta = \csc\left(\frac{\pi}{2} - \theta \right) = \frac{1}{\cos \theta}</math>
| <math>\sec x = \csc\left(90^\circ - x \right) = \frac{1}{\cos x}</math>
|-
! cosecant
|align=center|
| <math>\csc \theta = \sec\left(\frac{\pi}{2} - \theta \right) = \frac{1}{\sin \theta}</math>
| <math>\csc x = \sec\left(90^\circ - x \right) = \frac{1}{\sin x}</math>
|}
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 and 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 (, , , ) can be defined as quotients and reciprocals of and , 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. 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. Since radian is dimensionless, i.e. 1 rad = 1, the degree symbol can also be regarded as a mathematical constant factor 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 of this coordinate system. While right-angled triangle definitions allow for the definition of the trigonometric functions for angles between and <math display="inline">\frac{\pi}{2}</math> radians the unit circle definitions allow the domain of trigonometric functions to be extended to all positive and negative real numbers.
Let <math>\mathcal L</math> be the ray obtained by rotating by an angle the positive half of the -axis (counterclockwise rotation for <math>\theta > 0,</math> and clockwise rotation for <math>\theta < 0</math>). This ray intersects the unit circle at the point <math>\mathrm{A} = (x_\mathrm{A},y_\mathrm{A}).</math> The ray <math>\mathcal L,</math> extended to a line if necessary, intersects the line of equation <math>x=1</math> at point <math>\mathrm{B} = (1,y_\mathrm{B}),</math> and the line of equation <math>y=1</math> at point <math>\mathrm{C} = (x_\mathrm{C},1).</math> The tangent line to the unit circle at the point , is perpendicular to <math>\mathcal L,</math> and intersects the - and -axes at points <math>\mathrm{D} = (0,y_\mathrm{D})</math> and <math>\mathrm{E} = (x_\mathrm{E},0).</math> 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 and are defined, respectively, as the - and -coordinate values of point . That is,
<math display="inline">\cos \theta = x_\mathrm{A}</math> and <math display=inline>\sin \theta = y_\mathrm{A}.</math>
In the range <math>0 \le \theta \le \pi/2</math>, this definition coincides with the right-angled triangle definition, by taking the right-angled triangle to have the unit radius as hypotenuse. And since the equation <math>x^2+y^2=1</math> holds for all points <math>\mathrm{P} = (x,y)</math> on the unit circle, this definition of cosine and sine also satisfies the Pythagorean identity.
<math display="block">\cos^2\theta+\sin^2\theta=1.</math>
thumb|upright=1.2|left|In this illustration, the six trigonometric functions of an arbitrary angle are represented as [[Cartesian coordinates of points related to the unit circle. The -axis ordinates of , and are , and , respectively, while the -axis abscissas of , and are , and , respectively.]]
The other trigonometric functions can also be found along the unit circle; all together, they are:
<math display="block">\begin{align}
\cos \theta &= x_\mathrm{A}\\
\sin \theta &= y_\mathrm{A}\\
\tan \theta &= y_\mathrm{B},\ x_\mathrm{B} = 1\\
\cot \theta &= x_\mathrm{C},\ y_\mathrm{C} = 1\\
\csc \theta &= y_\mathrm{D},\ x_\mathrm{D} = 0\\
\quad\sec \theta &= x_\mathrm{E},\ y_\mathrm{E} = 0\\
\end{align}</math>
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, i.e.
<math display="block">\begin{align}
\tan \theta &=\frac{\sin \theta}{\cos\theta}\\
\cot\theta&=\frac{\cos\theta}{\sin\theta}\\
\sec\theta&=\frac{1}{\cos\theta}\\
\csc\theta&=\frac{1}{\sin\theta}
\end{align}</math>
[[File:Trigonometric functions.svg|right|thumb|upright=1.35|link=|Trigonometric functions:
,
,
,
,
,
– [ animation] ]]
thumb|Signs of trigonometric functions in each quadrant. [[mnemonics in trigonometry|Mnemonics like "all students take calculus" indicate when sine, cosine, and tangent are positive from quadrants I to IV.]]
Since a rotation of an angle of <math>\pm2\pi</math> does not change the position or size of a shape, the points , , , , and are the same for two angles whose difference is an integer multiple of <math>2\pi</math>. Thus trigonometric functions are periodic functions with period <math>2\pi</math>. That is, the equalities
<math display="inline">\sin\theta = \sin\left(\theta + 2 k \pi \right)</math> and <math display=inline>\cos\theta = \cos\left(\theta + 2 k \pi \right)</math>
hold for any angle and any integer . 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 <math>2\pi</math> is the smallest value for which they are periodic (i.e., <math>2\pi</math> is the fundamental period of these functions). However, after a rotation by an angle <math>\pi</math>, the points and already return to their original position, so that the tangent function and the cotangent function have a fundamental period of <math>\pi</math>. That is, the equalities
<math display="inline">\tan\theta = \tan(\theta + k\pi)</math> and <math display=inline>\cot\theta = \cot(\theta + k\pi)</math>
hold for any angle and any integer .
Algebraic values
right|thumb|The [[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 some notable angles are as follows, beginning with the zero angle and ending with the right angle:
<math display="block">\begin{align}
\sin 0 &= \sin 0^\circ &&= \frac{\sqrt{0{2} &&= 0\\
\sin \frac\pi6 &= \sin 30^\circ &&= \frac{\sqrt1}2 &&= \frac{1}{2}\\
\sin \frac\pi4 &= \sin 45^\circ &&= \frac{\sqrt{2{2} &&= \frac{1}{\sqrt{2\\
\sin \frac\pi3 &= \sin 60^\circ &&= \frac{\sqrt{3{2}\\
\sin \frac\pi2 &= \sin 90^\circ &&= \frac{\sqrt4}2 &&= 1
\end{align}</math>
Writing the numerators as square roots of consecutive non-negative integers, with a denominator of 2, provides an easy way to remember the values. 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 using an infinite product expansion.
Definition by differential equations
Sine and cosine can be defined as the unique solution to the initial value problem:
<math display="block">\frac{d}{dx}\sin x= \cos x,\ \frac{d}{dx}\cos x= -\sin x,\ \sin(0)=0,\ \cos(0)=1.</math>
Differentiating again, <math display="inline">\frac{d^2}{dx^2}\sin x = \frac{d}{dx}\cos x = -\sin x</math> and <math display="inline">\frac{d^2}{dx^2}\cos x = -\frac{d}{dx}\sin x = -\cos x</math>, so both sine and cosine are solutions of the same ordinary differential equation
<math display="block">y+y=0\,.</math>
Sine is the unique solution with and ; cosine is the unique solution with and .
One can then prove, as a theorem, that solutions <math>\cos,\sin</math> are periodic, having the same period. Writing this period as <math>2\pi</math> is then a definition of the real number <math>\pi</math> which is independent of geometry.
Applying the quotient rule to the tangent <math>\tan x = \sin x / \cos x</math>,
<math display="block">\frac{d}{dx}\tan x = \frac{\cos^2 x + \sin^2 x}{\cos^2 x} = 1+\tan^2 x\,,</math>
so the tangent function satisfies the ordinary differential equation
<math display="block">y' = 1 + y^2\,.</math>
It is the unique solution with .
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:
<math display="block">
\begin{align}
\sin x &= x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \cdots &&= \sum_{n=0}^\infty (-1)^n \frac{x^{2n+1{(2n+1)!} \\
\cos x & = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \frac{x^6}{6!} + \cdots &&= \sum_{n=0}^\infty (-1)^n \frac{x^{2n{(2n)!}
\end{align}
</math>
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 <math display="inline">(2k+1)\frac \pi 2</math> for the tangent and the secant, or <math>k\pi</math> for the cotangent and the cosecant, where 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
: , the -th up/down number,
: , the -th Bernoulli number, and
: , is the -th Euler number,
one has the following series expansions:
<math display="block">
\begin{align}
\tan x & {} = \sum_{n=0}^\infty \frac{U_{2n+1{(2n+1)!}x^{2n+1} \\[8mu]
& {} = \sum_{n=1}^\infty \frac{(-1)^{n-1} 2^{2n} \left(2^{2n}-1\right) B_{2n{(2n)!}x^{2n-1} \\[5mu]
& {} = x + \frac{1}{3}x^3 + \frac{2}{15}x^5 + \frac{17}{315}x^7 + \cdots, \qquad \text{for } |x| < \frac{\pi}{2}.
\end{align}
</math>
<math display="block">
\begin{align}
\csc x &= \sum_{n=0}^\infty \frac{(-1)^{n+1} 2 \left(2^{2n-1}-1\right) B_{2n{(2n)!}x^{2n-1} \\[5mu]
&= x^{-1} + \frac{1}{6}x + \frac{7}{360}x^3 + \frac{31}{15120}x^5 + \cdots, \qquad \text{for } 0 < |x| < \pi.
\end{align}
</math>
<math display="block">
\begin{align}
\sec x &= \sum_{n=0}^\infty \frac{U_{2n{(2n)!}x^{2n}
= \sum_{n=0}^\infty \frac{(-1)^n E_{2n{(2n)!}x^{2n} \\[5mu]
&= 1 + \frac{1}{2}x^2 + \frac{5}{24}x^4 + \frac{61}{720}x^6 + \cdots, \qquad \text{for } |x| < \frac{\pi}{2}.
\end{align}
</math>
<math display="block">
\begin{align}
\cot x &= \sum_{n=0}^\infty \frac{(-1)^n 2^{2n} B_{2n{(2n)!}x^{2n-1} \\[5mu]
&= x^{-1} - \frac{1}{3}x - \frac{1}{45}x^3 - \frac{2}{945}x^5 - \cdots, \qquad \text{for } 0 < |x| < \pi.
\end{align}
</math>
Continued fraction expansion
The following continued fractions are valid in the whole complex plane:
<math display="block">\sin x =
\cfrac{x}{1 + \cfrac{x^2}{2\cdot3-x^2 +
\cfrac{2\cdot3 x^2}{4\cdot5-x^2 +
\cfrac{4\cdot5 x^2}{6\cdot7-x^2 + \ddots</math>
<math display="block">\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</math>
<math display="block">\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</math>
The last one was used in the historically first proof that π is irrational.
There is a rapidly convergent continued fraction for <math >\tan(x)</math>:
<math display="block">\tan x=1+\cfrac{5x^2}{T_{0}+5x^2}, T_{k}= (4k+1)(4k+3)(4k+5)-4x^2(4k+3)+ \cfrac{x^2(4k+1)}{1+ \cfrac{x^2(4k+9)}{T_{k+1}</math>
Let <math>x=1</math> then the following continued fraction representation gives (asymptotically) 12.68 new correct decimal places per cycle:
<math display="block">\tan 1=1+\cfrac{5}{T_{0}+5}, T_{k}= (4k+1)(4k+3)(4k+5)-4(4k+3)+ \cfrac{4k+1}{1+ \cfrac{4k+9}{T_{k+1}</math>
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:
<math display="block">\sin z = z \prod_{n=1}^\infty \left(1-\frac{z^2}{n^2 \pi^2}\right), \quad z\in\mathbb C.</math>
This may be obtained from the partial fraction decomposition of <math>\cot z</math> given above, which is the logarithmic derivative of <math>\sin z</math>. From this, it can be deduced also that
<math display="block">\cos z = \prod_{n=1}^\infty \left(1-\frac{z^2}{(n-1/2)^2 \pi^2}\right), \quad z\in\mathbb C.</math>
Euler's formula and the exponential function
thumb|<math>\cos(\theta)</math> and <math>\sin(\theta)</math> are the real and imaginary part of <math>e^{i\theta}</math> respectively.
Euler's formula relates sine and cosine to the exponential function:
<math display="block">e^{ix} = \cos x + i\sin x.</math>
This formula is commonly considered for real values of , but it remains true for all complex values.
Proof: Let <math>f_1(x)=\cos x + i\sin x,</math> and <math>f_2(x)=e^{ix}.</math> One has <math>df_j(x)/dx= if_j(x)</math> for . The quotient rule implies thus that <math>d/dx\, (f_1(x)/f_2(x))=0</math>. Therefore, <math>f_1(x)/f_2(x)</math> is a constant function, which equals , as <math>f_1(0)=f_2(0)=1.</math> This proves the formula.
One has
<math display="block">\begin{align}
e^{ix} &= \cos x + i\sin x\\[5pt]
e^{-ix} &= \cos x - i\sin x.
\end{align}</math>
Solving this linear system in sine and cosine, one can express them in terms of the exponential function:
<math display="block">\begin{align}\sin x &= \frac{e^{i x} - e^{-i x{2i}\\[5pt]
\cos x &= \frac{e^{i x} + e^{-i x{2}.
\end{align}</math>
When is real, this may be rewritten as
<math display="block">\cos x = \operatorname{Re}\left(e^{i x}\right), \qquad \sin x = \operatorname{Im}\left(e^{i x}\right).</math>
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 <math>e^{a+b}=e^ae^b</math> 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 <math>U</math> 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 <math>\mathbb R/\mathbb Z</math>, via an isomorphism
<math display="block">e:\mathbb R/\mathbb Z\to U.</math>
In simple terms, <math>e(t) = \exp(2\pi i t)</math>, and this isomorphism is unique up to taking complex conjugates.
For a nonzero real number <math>a</math> (the base), the function <math>t\mapsto e(t/a)</math> defines an isomorphism of the group <math>\mathbb R/a\mathbb Z\to U</math>. The real and imaginary parts of <math>e(t/a)</math> are the cosine and sine, where <math>a</math> is used as the base for measuring angles. For example, when <math>a=2\pi</math>, we get the measure in radians, and the usual trigonometric functions. When <math>a=360</math>, we get the sine and cosine of angles measured in degrees.
Note that <math>a=2\pi</math> is the unique value at which the derivative
<math display="block">\frac{d}{dt} e(t/a)</math>
becomes a unit vector with positive imaginary part at <math>t=0</math>. This fact can, in turn, be used to define the constant <math>2\pi</math>.
Definition via integration
Another way to define the trigonometric functions in analysis is using integration. For a real number <math>t</math>, put
<math display="block">\theta(t) = \int_0^t \frac{d\tau}{1+\tau^2}=\arctan t</math>
where this defines this inverse tangent function. Also, <math>\pi</math> is defined by
<math display="block">\frac12\pi = \int_0^\infty \frac{d\tau}{1+\tau^2}</math>
a definition that goes back to Karl Weierstrass.
On the interval <math>-\pi/2<\theta<\pi/2</math>, the trigonometric functions are defined by inverting the relation <math>\theta = \arctan t</math>. Thus we define the trigonometric functions by
<math display="block">\tan\theta = t,\quad \cos\theta = (1+t^2)^{-1/2},\quad \sin\theta = t(1+t^2)^{-1/2}</math>
where the point <math>(t,\theta)</math> is on the graph of <math>\theta=\arctan t</math> and the positive square root is taken.
This defines the trigonometric functions on <math>(-\pi/2,\pi/2)</math>. The definition can be extended to all real numbers by first observing that, as <math>\theta\to\pi/2</math>, <math>t\to\infty</math>, and so <math>\cos\theta = (1+t^2)^{-1/2}\to 0</math> and <math>\sin\theta = t(1+t^2)^{-1/2}\to 1</math>. Thus <math>\cos\theta</math> and <math>\sin\theta</math> are extended continuously so that <math>\cos(\pi/2)=0,\sin(\pi/2)=1</math>. Now the conditions <math>\cos(\theta+\pi)=-\cos(\theta)</math> and <math>\sin(\theta+\pi)=-\sin(\theta)</math> define the sine and cosine as periodic functions with period <math>2\pi</math>, 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,
<math display="block">\arctan s + \arctan t = \arctan \frac{s+t}{1-st}</math>
holds, provided <math>\arctan s+\arctan t\in(-\pi/2,\pi/2)</math>, since
<math display="block">\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}</math>
after the substitution <math>\tau \to \frac{s+\tau}{1-s\tau}</math>. In particular, the limiting case as <math>s\to\infty</math> gives
<math display="block">\arctan t + \frac{\pi}{2} = \arctan(-1/t),\quad t\in (-\infty,0).</math>
Thus we have
<math display="block">\sin\left(\theta + \frac{\pi}{2}\right) = \frac{-1}{t\sqrt{1+(-1/t)^2 = \frac{-1}{\sqrt{1+t^2 = -\cos(\theta)</math>
and
<math display="block">\cos\left(\theta + \frac{\pi}{2}\right) = \frac{1}{\sqrt{1+(-1/t)^2 = \frac{t}{\sqrt{1+t^2 = \sin(\theta).</math>
So the sine and cosine functions are related by translation over a quarter period <math>\pi/2</math>.
Definitions using functional equations
One can also define the trigonometric functions using various functional equations.
For example, Muhammad ibn Jābir al-Harrānī al-Battānī (853–929) defined the reciprocal functions of secant and cosecant, and produced the first table of cosecants for each degree from 1° to 90°.
The terms tangent and secant were first introduced by the Danish mathematician Thomas Fincke in his book Geometria rotundi (1583).
In a paper published in 1682, Gottfried Leibniz proved that is not an algebraic function of . half-tangent (tangent of half an angle), and exsecant. List of trigonometric identities shows more relations between these functions.
<math display="block">\begin{align}
\operatorname{crd}\theta &= 2 \sin\tfrac12\theta, \\[5mu]
\operatorname{vers}\theta&=1-\cos \theta = 2\sin^2\tfrac12\theta, \\[5mu]
\operatorname{hav}\theta&=\tfrac{1}{2}\operatorname{vers}\theta = \sin^2\tfrac12\theta, \\[5mu]
\operatorname{covers}\theta&=1-\sin\theta = \operatorname{vers}\bigl(\tfrac12\pi - \theta\bigr), \\[5mu]
\operatorname{exsec}\theta &= \sec\theta - 1.
\end{align}</math>
Historically, trigonometric functions were often combined with logarithms in compound functions like the logarithmic sine, logarithmic cosine, logarithmic secant, logarithmic cosecant, logarithmic tangent and logarithmic cotangent.
Etymology
The word derives from Latin sinus, meaning "bend; bay", and more specifically "the hanging fold of the upper part of a toga", "the bosom of a garment", which was chosen as the translation of what was interpreted as the Arabic word jaib, meaning "pocket" or "fold" in the twelfth-century translations of works by Al-Battani and al-Khwārizmī into Medieval Latin.
The choice was based on a misreading of the Arabic written form j-y-b (), which itself originated as a transliteration from Sanskrit ', which along with its synonym ' (the standard Sanskrit term for the sine) translates to "bowstring", being in turn adopted from Ancient Greek "string". since the line touches the circle of unit radius, whereas secant stems from Latin secans—"cutting"—since the line cuts the circle.
The prefix "co-" (in "cosine", "cotangent", "cosecant") is found in Edmund Gunter's Canon triangulorum (1620), which defines the cosinus as an abbreviation of the sinus complementi (sine of the complementary angle) and proceeds to define the cotangens similarly.
</references>
References
- Lars Ahlfors, Complex Analysis: an introduction to the theory of analytic functions of one complex variable, second edition, McGraw-Hill Book Company, New York, 1966.
- Boyer, Carl B., A History of Mathematics, John Wiley & Sons, Inc., 2nd edition. (1991). .
- Gal, Shmuel and Bachelis, Boris. An accurate elementary mathematical library for the IEEE floating point standard, ACM Transactions on Mathematical Software (1991).
- Joseph, George G., The Crest of the Peacock: Non-European Roots of Mathematics, 2nd ed. Penguin Books, London. (2000). .
- Kantabutra, Vitit, "On hardware for computing exponential and trigonometric functions," IEEE Trans. Computers 45 (3), 328–339 (1996).
- Maor, Eli, Trigonometric Delights, Princeton Univ. Press. (1998). Reprint edition (2002): .
- Needham, Tristan, "Preface"" to Visual Complex Analysis. Oxford University Press, (1999). .
- O'Connor, J. J., and E. F. Robertson, "Trigonometric functions", MacTutor History of Mathematics archive. (1996).
- O'Connor, J. J., and E. F. Robertson, "Madhava of Sangamagramma", MacTutor History of Mathematics archive. (2000).
- Pearce, Ian G., "Madhava of Sangamagramma" , MacTutor History of Mathematics archive. (2002).
- Weisstein, Eric W., "Tangent" from MathWorld, accessed 21 January 2006.
External links
- Visionlearning Module on Wave Mathematics
- GonioLab Visualization of the unit circle, trigonometric and hyperbolic functions
- q-Sine Article about the q-analog of sin at MathWorld
- q-Cosine Article about the q-analog of cos at MathWorld
