Trigonometric function
From Free net encyclopedia
Template:Redirect5 In mathematics, the trigonometric functions are functions of an angle, important when studying triangles and modeling periodic phenomena. They are commonly defined as ratios of two sides of a right triangle containing the angle, and can equivalently be defined as the lengths of various line segments from a unit circle. More modern definitions express them as infinite series or as solutions of certain differential equations, allowing their extension to positive and negative values and even to complex numbers. All of these approaches will be presented below.
In modern usage, there are six basic trigonometric functions, which are tabulated below along with equations relating them to one another. Especially in the case of the last four, these relations are often taken as the definitions of those functions, but one can equally define them geometrically or by other means and derive the relations.
Function | Abbreviation | Relation |
Sine | sin | <math>\sin \theta = \cos \left(\frac{\pi}{2} - \theta \right) \,</math> |
Cosine | cos | <math>\cos \theta = \sin \left(\frac{\pi}{2} - \theta \right)\,</math> |
Tangent | tan | <math>\tan \theta = \frac{1}{\cot \theta} = \frac{\sin \theta}{\cos \theta} = \cot \left(\frac{\pi}{2} - \theta \right) \,</math> |
Cotangent | cot | <math>\cot \theta = \frac{1}{\tan \theta} = \frac{\cos \theta}{\sin \theta} = \tan \left(\frac{\pi}{2} - \theta \right) \,</math> |
Secant | sec | <math>\sec \theta = \frac{1}{\cos \theta} = \csc \left(\frac{\pi}{2} - \theta \right) \,</math> |
Cosecant | csc (or cosec) | <math>\csc \theta =\frac{1}{\sin \theta} = \sec \left(\frac{\pi}{2} - \theta \right) \,</math> |
A few other functions were common historically (and appeared in the earliest tables), but are now little-used, such as:
Many more relations between these functions are listed in the article about trigonometric identities.
Contents |
Etymology of sine
Our modern word sine is derived from the Latin word sinus, which means "bay" or "fold", from a mistranslation (via Arabic) of the Sanskrit word jiva, alternatively spelled jya. Jiva, which was originally called ardha-jiva, meaning "half-chord", in the 5th century by Aryabhata, was transliterated by the Arabs as jiba (جب), but was confused for another word jaib (جب), meaning "bay", by European translators such as Robert of Chester and Gherardo of Cremona in Toledo in the 12th century, probably because jiba (جب) and jaib (جب) are written the same in Arabic. Many vowels are excluded from words written in the Arabic alphabet.
History
There is evidence that the Babylonians first used trigonometric functions, based on a table of numbers written on a Babylonian cuneiform tablet, Plimpton 322 (circa 1900 BC), which can be interpreted as a table of secants.Template:Inote There is still much debate on whether it was a trignometric table however. The earliest use of sine appears in the Sulba Sutras written in ancient India from the 8th century BC to the 6th century BC, which correctly computes the sine of π/4 (45°) as 1/√2 in a procedure for circling the square (the opposite of squaring the circle), though they hadn't yet developed the notion of a sine in a general sense. Template:Inote
Trigonometric functions were later studied by Hipparchus of Nicaea (180-125 BC), who tabulated the lengths of circle arcs (angle A times radius r) with the lengths of the subtending chords (2r sin(A/2)). Later, Ptolemy of Egypt (2nd century) expanded upon this work in his Almagest, deriving addition/subtraction formulas for the equivalent of sin(A + B) and cos(A + B). Ptolemy derived the equivalent of the half-angle formula sin2(A/2) = (1 − cos(A))/2, and created a table of his results. Neither the tables of Hipparchus nor of Ptolemy have survived to the present day, although there is little doubt that they once existed due to descriptions by other ancient authors (Boyer, 1991).
The next significant developments of trigonometry were in India. Mathematician-astronomer Aryabhata (476–550), in his work Aryabhata-Siddhanta, first defined the sine as the modern relationship between half an angle and half a chord, while also defining the cosine, versine, and inverse sine. His works also contain the earliest known tables of sine values and versine (1 − cosine) values (in contrast to the tables of chords earlier produced by Hipparchus and Ptolemy), in 3.75° intervals from 0° to 90°, to an accuracy of 4 decimal places. He used the words jya for sine, kojya for cosine, ukramajya for versine, and otkram jya for inverse sine. The words jya and kojya eventually became sine and cosine respectively after a mistranslation (see Etymology above).
Other Indian mathematicians later expanded Aryabhata's works on trigonometry. Varahamihira developed the formulas sin2x + cos2x = 1, sin x = cos(π/2 − x), and (1 − cos(2x))/2 = sin2x. Bhaskara I produced a formula for calculating the sine of an acute angle without the use of a table. Brahmagupta developed the formula 1 − sin2x = cos2x = sin2(π/2 − x), and the Brahmagupta interpolation formula for computing sine values, which is a special case of the Newton-Stirling interpolation formula up to second order.
The Indian works were later translated and expanded by Muslim mathematicians. Persian mathematician Muḥammad ibn Mūsā al-Ḵwārizmī produced tables of sines and tangents, and also contributed to spherical trigonometry. By the 10th century, in the work of Abu'l-Wafa, Muslim mathematicians were using all six trigonometric functions, and had sine tables in 0.25° increments, to 8 decimal places of accuracy, as well as tables of tangent values. Abu'l-Wafa also developed the trigonometric formula sin 2x = 2 sin x cos x. Persian mathematician Omar Khayyam solved cubic equations using approximate numerical solutions found by interpolation in trigonometric tables.
All of these earlier works on trigonometry treated it mainly as an adjunct to astronomy; perhaps the first treatment as a subject in its own right was by Indian mathematician Bhaskara II and Persian mathematician Nasir al-Din Tusi, who also gave the formula a/sin A = b/sin B = c/sin C and listed the six distinct cases of a right angled triangle in spherical trigonometry. Regiomontanus was perhaps the first mathematician in Europe to treat trigonometry as a distinct mathematical discipline, in his De triangulis omnimodus written in 1464, as well as his later Tabulae directionum which included the tangent function, unnamed.
In the 13th century, Persian mathematician Nasir al-Din Tusi states the law of sines and provides a proof for it. In the work of Persian mathematician Ghiyath al-Kashi (14th century), there are trigonometric tables giving values of the sine function to four sexagesimal digits (equivalent to 8 decimal places) for each 1° of argument with differences to be added for each 1/60 of 1°. Timurid mathematician Ulugh Beg's (14th century) accurate tables of sines and tangents were correct to 8 decimal places.
Madhava (c. 1400) in South India made early strides in the mathematical analysis of trigonometric functions and their infinite series expansions. He developed the concepts of the power series and Taylor series, and produced the trigonometric series expansions of sine, cosine, tangent and arctangent. Using the Taylor series approximations of sine and cosine, he produced a sine table to 12 decimal places of accuracy and a cosine table to 9 decimal places of accuracy. He also gave the power series of π, π/4, the radius, diameter, circumference and angle θ in terms of trigonometric functions. His works were expanded by his followers at the Kerala School upto the 16th century.
The Opus palatinum de triangulis of Rheticus, a student of Copernicus, was probably the first to define trigonometric functions directly in terms of right triangles instead of circles, with tables for all six trigonometric functions; this work was finished by Rheticus' student Valentin Otho in 1596.
Introductio in analysin infinitorum, written in 1748 by Euler was mostly responsible for establishing the analytic treatment of trigonometric functions in Europe, defining them as infinite series and presenting "Euler's formula" eix = cos(x) + i sin(x). Euler used the near-modern abbreviations sin., cos., tang., cot., sec., and cosec. Brook Taylor defined the general Taylor series and gave the series expansions and approximations for all six trigonometric functions. The works of James Gregory and Colin Maclaurin were also very influential in the development of trigonometric series.
Right triangle definitions
Image:Trigonometry triangle.svg
In order to define the trigonometric functions for the angle A, start with an arbitrary right triangle that contains the angle A:
We use the following names for the sides of the triangle:
- The hypotenuse is the side opposite the right angle, or defined as the longest side of a right-angled triangle, in this case h.
- The opposite side is the side opposite to the angle we are interested in, in this case a.
- The adjacent side is the side that is in contact with the angle we are interested in and the right angle, hence its name. In this case the adjacent side is b.
All triangles are taken to exist in the Euclidean plane so that the inside angles of each triangle sum to π radians (or 180°); therefore, for a right triangle the two non-right angles are between zero and π/2 radians. The reader should note that the following definitions, strictly speaking, only define the trigonometric functions for angles in this range. We extend them to the full set of real arguments by requiring that they be periodic functions.
1) The sine of an angle is the ratio of the length of the opposite side to the length of the hypotenuse. In our case
- <math>\sin A = \frac {\textrm{opposite}} {\textrm{hypotenuse}} = \frac {a} {h}</math>.
Note that this ratio does not depend on the particular right triangle chosen, as long as it contains the angle A, since all those triangles are similar.
The set of zeroes of sine is <math>\left\{n\pi\big| n\isin\mathbb{Z}\right\}</math>.
2) The cosine of an angle is the ratio of the length of the adjacent side to the length of the hypotenuse. In our case
- <math>\cos A = \frac {\textrm{adjacent}} {\textrm{hypotenuse}} = \frac {b} {h}</math>.
The set of zeroes of cosine is <math>\left\{\left(\frac{2n+1}{2}\right)\pi\bigg| n\isin\mathbb{Z}\right\}</math>.
3) The tangent of an angle is the ratio of the length of the opposite side to the length of the adjacent side. In our case
- <math>\tan A = \frac {\textrm{opposite}} {\textrm{adjacent}} = \frac {a} {b} </math>.
The set of zeroes of tangent is <math>\left\{n\pi\big| n\isin\mathbb{Z}\right\}</math>.
The remaining three functions are best defined using the above three functions.
4) The cosecant csc(A) is the multiplicative inverse of sin(A), i.e. the ratio of the length of the hypotenuse to the length of the opposite side:
- <math>\csc A = \frac {\textrm{hypotenuse}} {\textrm{opposite}} = \frac {h} {a} </math>.
5) The secant sec(A) is the multiplicative inverse of cos(A), i.e. the ratio of the length of the hypotenuse to the length of the adjacent side:
- <math>\sec A = \frac {\textrm{hypotenuse}} {\textrm{adjacent}} = \frac {h} {b} </math>.
6) The cotangent cot(A) is the multiplicative inverse of tan(A), i.e. the ratio of the length of the adjacent side to the length of the opposite side:
- <math>\cot A = \frac {\textrm{adjacent}} {\textrm{opposite}} = \frac {b} {a} </math>.
Mnemonics
There are a number of mnemonics for the above definitions, for example SOHCAHTOA (sounds like "soak a toe-a" or "sock-a toe-a" depending upon the use of American English or British English. Can also be read as "soccer tour"). It means:
- SOH ... sin = opposite/hypotenuse
- CAH ... cos = adjacent/hypotenuse
- TOA ... tan = opposite/adjacent.
Many other such words and phrases have been contrived. For more see: trigonometry mnemonics.
Slope definitions
Equivalent to the right-triangle definitions, the trigonometric functions can be defined in terms of the rise, run, and slope of a line segment relative to some horizontal line. The slope is commonly taught as "rise over run" or rise/run. The three main trigonometric functions are commonly taught in the order sine, cosine, tangent. With a unit circle, this gives rise to the following matchings:
- Sine is first, rise is first. Sine takes an angle and tells the rise.
- Cosine is second, run is second. Cosine takes an angle and tells the run.
- Tangent is the slope formula that combines the rise and run. Tangent takes an angle and tells the slope.
This shows the main use of tangent and arctangent (i.e. cotangent), which is converting between the two ways of telling how slanted a line is: angles and slopes.
While the radius of the circle makes no difference for the slope (the slope doesn't depend on the length of the slanted line), it does affect rise and run. To adjust and find the actual rise and run, just multiply the sine and cosine by the radius. For instance, if the circle has radius 5, the run at an angle of 1 is 5 cos(1).
Unit-circle definitions
The six trigonometric functions can also be defined in terms of the unit circle, the circle of radius one centered at the origin. The unit circle definition provides little in the way of practical calculation; indeed it relies on right triangles for most angles. The unit circle definition does, however, permit the definition of the trig functions for all positive and negative arguments, not just for angles between 0 and π/2 radians. It also provides a single visual picture that encapsulates at once all the important triangles used so far. The equation for the unit circle is:
- <math>x^2 + y^2 = 1 \,</math>
In the picture, some common angles, measured in radians, are given. Measurements in the counter clockwise direction are positive angles and measurements in the clockwise direction are negative angles. Let a line making an angle of θ with the positive half of the x-axis intersect the unit circle. The x- and y-coordinates of this point of intersection are equal to cos θ and sin θ, respectively. The triangle in the graphic enforces the formula; the radius is equal to the hypotenuse and has length 1, so we have sin θ = y/1 and cos θ = x/1. The unit circle can be thought of as a way of looking at an infinite number of triangles by varying the lengths of their legs but keeping the lengths of their hypotenuses equal to 1.
For angles greater than 2π or less than −2π, simply continue to rotate around the circle. In this way, sine and cosine become periodic functions with period 2π:
- <math>\sin\theta = \sin\left(\theta + 2\pi k \right)</math>
- <math>\cos\theta = \cos\left(\theta + 2\pi k \right)</math>
for any angle θ and any integer k.
The smallest positive period of a periodic function is called the primitive period of the function. The primitive period of the sine, cosine, secant, or cosecant is a full circle, i.e. 2π radians or 360 degrees; the primitive period of the tangent or cotangent is only a half-circle, i.e. π radians or 180 degrees. Above, only sine and cosine were defined directly by the unit circle, but the other four trig functions can be defined by:
- <math>\tan\theta = \frac{\sin\theta}{\cos\theta} \quad \sec\theta = \frac{1}{\cos\theta}</math>
- <math>\csc\theta = \frac{1}{\sin\theta} \quad \cot\theta = \frac{\cos\theta}{\sin\theta}</math>
Image:Tangent.svg To the right is an image that displays a noticeably different graph of the trigonometric function f(θ)= tan(θ) graphed on the cartesian plane. Note that its x-intercepts correspond to that of sin(θ) while its undefined values correspond to the x-intercepts of the cos(θ). Observe that the function's results change slowly around angles of kπ, but change rapidly at angles close to (k/2)π. The graph of the tangent function also has a vertical asymptote at θ = kπ/2. This is the case because the function approaches infinity as θ approaches k/π from the left and minus infinity as it approaches k/π from the right.
Image:Circle-trig6.svg Alternatively, all of the basic trigonometric functions can be defined in terms of a unit circle centered at O (shown at right), and similar such geometric definitions were used historically. In particular, for a chord AB of the circle, where θ is half of the subtended angle, sin(θ) is AC (half of the chord), a definition introduced in India (see below). cos(θ) is the horizontal distance OC, and versin(θ) = 1 − cos(θ) is CD. tan(θ) is the length of the segment AE of the tangent line through A, hence the word tangent for this function. cot(θ) is another tangent segment, AF. sec(θ) = OE and csc(θ) = OF are segments of secant lines (intersecting the circle at two points), and can also be viewed as projections of OA along the tangent at A to the horizontal and vertical axes, respectively. DE is exsec(θ) = sec(θ) − 1 (the portion of the secant outside, or ex, the circle). From these constructions, it is easy to see that the secant and tangent functions diverge as θ approaches π/2 (90 degrees) and that the cosecant and cotangent diverge as θ approaches zero. (Many similar constructions are possible, and the basic trigonometric identities can also be proven graphically.)
Series definitions
Please note: Here, and generally in calculus, all angles are measured in radians. (See also below).
Using only geometry and properties of limits, it can be shown that the derivative of sine is cosine and the derivative of cosine is the negative of sine. One can then use the theory of Taylor series to show that the following identities hold for all real numbers x:
- <math>\sin x = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \cdots = \sum_{n=0}^\infty \frac{(-1)^nx^{2n+1}}{(2n+1)!}</math>
- <math>\cos x = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \frac{x^6}{6!} + \cdots = \sum_{n=0}^\infty \frac{(-1)^nx^{2n}}{(2n)!}</math>
These identities are often taken as the definitions of the sine and cosine function. They are often used as the starting point in a rigorous treatment of trigonometric functions and their applications (e.g. in Fourier series), since the theory of infinite series can be developed from the foundations of the real number system, independent of any geometric considerations. The differentiability and continuity of these functions are then established from the series definitions alone.
Other series can be found (Abramowitz and Stegun 1964, Weinstein 2006):
<math>\tan x \, </math> <math> {} = \sum_{n=0}^\infty \frac{U_{2n+1} x^{2n+1}}{(2n+1)!} </math> <math> {} = \sum_{n=1}^\infty \frac{(-1)^{n-1} 2^{2n} (2^{2n}-1) B_{2n} x^{2n-1}}{(2n)!} </math> <math> {} = x + \frac{x^3}{3} + \frac{2 x^5}{15} + \frac{17 x^7}{315} + \cdots, \qquad \mbox{for } |x| < \frac {\pi} {2} </math>
When this is expressed in a form in which the denominators are the corresponding factorials, the the numerators, called the "tangent numbers", have a combinatorial interpretation: they enumerate alternating permutations of finite sets of odd cardinality.
<math>\csc x \, </math> <math> {} = \sum_{n=0}^\infty \frac{(-1)^{n+1} 2 (2^{2n-1}-1) B_{2n} x^{2n-1}}{(2n)!} </math> <math> {} = \frac {1} {x} + \frac {x} {6} + \frac {7 x^3} {360} + \frac {31 x^5} {15120} + \cdots, \qquad \mbox{for } 0 < |x| < \pi </math>
<math>\sec x \, </math> <math> {} = \sum_{n=0}^\infty \frac{U_{2n} x^{2n}}{(2n)!} = \sum_{n=0}^\infty \frac{(-1)^n E_n x^{2n}}{(2n)!} </math>
<math> {} = 1 + \frac {x^2} {2} + \frac {5 x^4} {24} + \frac {61 x^6} {720} + \cdots, \qquad \mbox{for } |x| < \frac {\pi} {2} </math>
When this is expressed in a form in which the denominators are the corresponding factorials, the the numerators, called the "secant numbers", have a combinatorial interpretation: they enumerate alternating permutations of finite sets of even cardinality.
<math>\cot x \, </math> <math> {} = \sum_{n=0}^\infty \frac{(-1)^n 2^{2n} B_{2n} x^{2n-1}}{(2n)!} </math> <math> {} = \frac {1} {x} - \frac {x}{3} - \frac {x^3} {45} - \frac {2 x^5} {945} - \cdots, \qquad \mbox{for } 0 < |x| < \pi </math>
where
- <math>B_n \,</math> is the nth Bernoulli number,
- <math>E_n \,</math> is the nth Euler number, and
- <math>U_n \,</math> is the nth up/down number.
Relationship to exponential function
It can be shown from the series definitions that the sine and cosine functions are the imaginary and real parts, respectively, of the complex exponential function when its argument is purely imaginary:
- <math> e^{i \theta} = \cos\theta + i\sin\theta \,.</math>
This relationship was first noted by Euler and the identity is called Euler's formula. In this way, trigonometric functions become essential in the geometric interpretation of complex analysis. For example, with the above identity, if one considers the unit circle in the complex plane, defined by eix, and as above, we can parametrize this circle in terms of cosines and sines, the relationship between the complex exponential and the trigonometric functions becomes more apparent.
Furthermore, this allows for the definition of the trigonometric functions for complex arguments z:
- <math>\sin z \, = \, \sum_{n=0}^{\infty}\frac{(-1)^{n}}{(2n+1)!}z^{2n+1} \, = \, {e^{\imath z} - e^{-\imath z} \over 2\imath} = -\imath \sinh \left( \imath z\right) </math>
- <math>\cos z \, = \, \sum_{n=0}^{\infty}\frac{(-1)^{n}}{(2n)!}z^{2n} \, = \, {e^{\imath z} + e^{-\imath z} \over 2} = \cosh \left(\imath z\right)</math>
where i2</sub> = −1. Also, for purely real x,
- <math>\cos x \, = \, \mbox{Re } (e^{\imath x})</math>
- <math>\sin x \, = \, \mbox{Im } (e^{\imath x})</math>
It is also shown that exponential processes are intimately linked to periodic behavior.
Definitions via differential equations
Both the sine and cosine functions satisfy the differential equation
- <math>y\,=-y</math>
i.e. each is the additive inverse of its own second derivative. Within the 2-dimensional vector space V consisting of all solutions of this equation, the sine function is the unique solution satisfying the initial conditions y(0) = 0 and y′(0) = 1, and the cosine function is the unique solution satisfying the initial conditions y(0) = 1 and y′(0) = 0. Since the sine and cosine functions are linearly independent, together they form a basis of V. This method of defining the sine and cosine functions is essentially equivalent to using Euler's formula. (See linear differential equation.) It turns out that this differential equation can be used not only to define the sine and cosine functions but also to prove the trigonometric identities for the sine and cosine functions.
The tangent function is the unique solution of the nonlinear differential equation
- <math>y\,'=1+y^2</math>
satisfying the initial condition y(0) = 0. There is a very interesting visual proof that the tangent function satisfies this differential equation; see [1].
The significance of radians
Radians specify an angle by measuring the length around the path of the circle and constitute a special argument to the sine and cosine functions. In particular, only those sines and cosines which map radians to ratios satisfy the differential equations which classically describe them. If an argument to sine or cosine in radians is scaled by frequency,
- <math>f(x) = \sin(kx); k \ne 0, k \ne 1 \,</math>
then the derivatives will scale by amplitude.
- <math>f'(x) = k\cos(kx) \,</math>.
Here, k is a constant that represents a mapping between units. If x is in degrees, then
- <math>k = \frac{\pi}{180^\circ}.</math>
This means that the second derivative of a sine in degrees satisfies not the differential equation
- <math>y = -y \,</math>,
but
- <math>y = -k^2y \,</math>;
similarly for cosine.
This means that these sines and cosines are different functions, and that the fourth derivative of sine will be sine again only if the argument is in radians.
Other definitions
Theorem: There exists exactly one pair of real functions s, c with the following properties:
For any <math>x, y \in\mathbb{R}</math>:
- <math>
s(x)^2 + c(x)^2 = 1,\, </math>
- <math>s(x+y) = s(x)c(y) + c(x)s(y),\,</math>
- <math>c(x+y) = c(x)c(y) - s(x)s(y),\,</math>
- <math>0 < xc(x) < s(x) < x\ \mathrm{for}\ 0 < x < 1.</math>
Computation
The computation of trigonometric functions is a complicated subject, which can today be avoided by most people because of the widespread availability of computers and scientific calculators that provide built-in trigonometric functions for any angle. In this section, however, we describe more details of their computation in three important contexts: the historical use of trigonometric tables, the modern techniques used by computers, and a few "important" angles where simple exact values are easily found. (Below, it suffices to consider a small range of angles, say 0 to π/2, since all other angles can be reduced to this range by the periodicity and symmetries of the trigonometric functions.)
Prior to computers, people typically evaluated trigonometric functions by interpolating from a detailed table of their values, calculated to many significant figures. Such tables have been available for as long as trigonometric functions have been described (see History, above), and were typically generated by repeated application of the half-angle and angle-addition identities starting from a known value (such as sin(π/2)=1). See also: Generating trigonometric tables.
Modern computers use a variety of techniques (Kantabutra, 1996). One common method, especially on higher-end processors with floating point units, is to combine a polynomial approximation (such as a Taylor series or a rational function) with a table lookup — they first look up the closest angle in a small table, and then use the polynomial to compute the correction. On simpler devices that lack hardware multipliers, there is an algorithm called CORDIC (as well as related techniques) that is more efficient, since it uses only shifts and additions. All of these methods are commonly implemented in hardware for performance reasons.
Finally, for some simple angles, the values can be easily computed by hand using the Pythagorean theorem, as in the following examples. In fact, the sine, cosine and tangent of any integer multiple of π/60 radians (three degrees) can be found exactly by hand.
Consider a right triangle where the two other angles are equal, and therefore are both π/4 radians (45 degrees). Then the length of side b and the length of side a are equal; we can choose a = b = 1. The values of sine, cosine and tangent of an angle of π/4 radians (45 degrees) can then be found using the Pythagorean theorem:
- <math>c = \sqrt { a^2+b^2 } = \sqrt2 </math>
Therefore:
- <math>\sin \left(\pi / 4 \right) = \sin \left(45^\circ\right) = \cos \left(\pi / 4 \right) = \cos \left(45^\circ\right) = {1 \over \sqrt2}</math>
- <math>\tan \left(\pi / 4 \right) = \tan \left(45^\circ\right) = {\sqrt2 \over \sqrt2} = 1</math>
To determine the trigonometric functions for angles of π/3 radians (60 degrees) and π/6 radians (30 degrees), we start with an equilateral triangle of side length 1. All its angles are π/3 radians (60 degrees). By dividing it into two, we obtain a right triangle with π/6 radians (30 degrees) and π/3 radians (60 degrees) angles. For this triangle, the shortest side = 1/2, the next largest side =(√3)/2 and the hypotenuse = 1. This yields:
- <math>\sin \left(\pi / 6 \right) = \sin \left(30^\circ\right) = \cos \left(\pi / 3 \right) = \cos \left(60^\circ\right) = {1 \over 2}</math>
- <math>\cos \left(\pi / 6 \right) = \cos \left(30^\circ\right) = \sin \left(\pi / 3 \right) = \sin \left(60^\circ\right) = {\sqrt3 \over 2}</math>
- <math>\tan \left(\pi / 6 \right) = \tan \left(30^\circ\right) = \cot \left(\pi / 3 \right) = \cot \left(60^\circ\right) = {1 \over \sqrt3}</math>
See also: Exact trigonometric constants
Inverse functions
The trigonometric functions are periodic, so we must restrict their domains before we are able to define a unique inverse. In the following, the functions on the left are defined by the equation on the right; these are not proved identities. The principal inverses are usually defined as:
- <math> \begin{matrix}
\mbox{for} & -\frac{\pi}{2} \le y \le \frac{\pi}{2}, & y = \arcsin(x) & \mbox{if and only if} & x = \sin(y) \\ \\ \mbox{for} & 0 \le y \le \pi, & y = \arccos(x) & \mbox{if and only if} & x = \cos(y) \\ \\ \mbox{for} & -\frac{\pi}{2} < y < \frac{\pi}{2}, & y = \arctan(x) & \mbox{if and only if} & x = \tan(y) \\ \\ \mbox{for} & -\frac{\pi}{2} \le y \le \frac{\pi}{2}, y \ne 0, & y = \arccsc(x) & \mbox{if and only if} & x = \csc(y) \\ \\ \mbox{for} & 0 \le y \le \pi, y \ne \frac{\pi}{2}, & y = \arcsec(x) & \mbox{if and only if} & x = \sec(y) \\ \\ \mbox{for} & -\frac{\pi}{2} < y < \frac{\pi}{2}, y \ne 0, & y = \arccot(x) & \mbox{if and only if} & x = \cot(y)
\end{matrix} </math>
For inverse trigonometric functions, the notations sin−1 and cos−1 are often used for arcsin and arccos, etc. When this notation is used, the inverse functions are sometimes confused with the multiplicative inverses of the functions. Our notation avoids such confusion.
The following series definition may be obtained:
- <math>
\arcsin z = z + \left( \frac {1} {2} \right) \frac {z^3} {3} + \left( \frac {1 \cdot 3} {2 \cdot 4} \right) \frac {z^5} {5} + \left( \frac{1 \cdot 3 \cdot 5} {2 \cdot 4 \cdot 6 } \right) \frac{z^7} {7} + \cdots</math>
- <math>= \sum_{n=0}^\infty \left( \frac {(2n)!} {2^{2n}(n!)^2} \right) \frac {z^{2n+1}} {(2n+1)}
\ , \quad \left| z \right| < 1 </math>
- <math>
\begin{matrix} \arccos z & = & \frac {\pi} {2} - \arcsin z \\ \\ & = & \frac {\pi} {2} - (z + \left( \frac {1} {2} \right) \frac {z^3} {3} + \left( \frac {1 \cdot 3} {2 \cdot 4} \right) \frac {z^5} {5} + \left( \frac{1 \cdot 3 \cdot 5} {2 \cdot 4 \cdot 6 } \right) \frac{z^7} {7} + \cdots ) \\ & = & \frac {\pi} {2} - \sum_{n=0}^\infty \left( \frac {(2n)!} {2^{2n}(n!)^2} \right) \frac {z^{2n+1}} {(2n+1)} \end{matrix} \ , \quad \left| z \right| < 1 </math>
- <math>
\begin{matrix} \arctan z & = & z - \frac {z^3} {3} +\frac {z^5} {5} -\frac {z^7} {7} +\cdots \\ \\ & = & \sum_{n=0}^\infty \frac {(-1)^n z^{2n+1}} {2n+1} \end{matrix} \ , \quad \left| z \right| < 1 </math>
- <math>
\begin{matrix} \arccsc z & = & \arcsin\left(z^{-1}\right) \\ \\ & = & z^{-1} + \left( \frac {1} {2} \right) \frac {z^{-3}} {3} + \left( \frac {1 \cdot 3} {2 \cdot 4 } \right) \frac {z^{-5}} {5} + \left( \frac {1 \cdot 3 \cdot 5} {2 \cdot 4 \cdot 6} \right) \frac {z^{-7}} {7} +\cdots \\ & = & \sum_{n=0}^\infty \left( \frac {(2n)!} {2^{2n}(n!)^2} \right) \frac {z^{-(2n+1)}} {2n+1}\end{matrix} \ , \quad \left| z \right| > 1 </math>
- <math>
\begin{matrix} \arcsec z & = & \arccos\left(z^{-1}\right) \\ \\ & = & \frac {\pi} {2} - (z^{-1} + \left( \frac {1} {2} \right) \frac {z^{-3}} {3} + \left( \frac {1 \cdot 3} {2 \cdot 4} \right) \frac {z^{-5}} {5} + \left( \frac{1 \cdot 3 \cdot 5} {2 \cdot 4 \cdot 6 } \right) \frac{z^{-7}} {7} + \cdots ) \\ & = & \frac {\pi} {2} - \sum_{n=0}^\infty \left( \frac {(2n)!} {2^{2n}(n!)^2} \right) \frac {z^{-(2n+1)}} {(2n+1)} \end{matrix} \ , \quad \left| z \right| > 1 </math>
- <math>
\begin{matrix} \arccot z & = & \frac {\pi} {2} - \arctan z \\ \\ & = & \frac {\pi} {2} - ( z - \frac {z^3} {3} +\frac {z^5} {5} -\frac {z^7} {7} +\cdots ) \\ \\ & = & \frac {\pi} {2} - \sum_{n=0}^\infty \frac {(-1)^n z^{2n+1}} {2n+1} \end{matrix} \ , \quad \left| z \right| < 1 </math>
These functions may also be defined by proving that they are antiderivatives of other functions.
- <math>
\arcsin\left(x\right) = \int_0^x \frac 1 {\sqrt{1 - z^2}}\,\mathrm{d}z, \quad |x| < 1 </math>
- <math>
\arccos\left(x\right) = \int_x^1 \frac {1} {\sqrt{1 - z^2}}\,\mathrm{d}z,\quad |x| < 1 </math>
- <math>
\arctan\left(x\right) = \int_0^x \frac 1 {1 + z^2}\,\mathrm{d}z, \quad \forall x \in \mathbb{R} </math>
- <math>
\arccot\left(x\right) = \int_x^\infty \frac {1} {z^2 + 1}\,\mathrm{d}z, \quad z > 0 </math>
- <math>
\arcsec\left(x\right) = \int_x^1 \frac 1 {|z| \sqrt{z^2 - 1}}\,\mathrm{d}z, \quad x > 1 </math>
- <math>
\arccsc\left(x\right) = \int_x^\infty \frac {-1} {|z| \sqrt{z^2 - 1}}\,\mathrm{d}z, \quad x > 1 </math>
Inverse trigonometric functions can be generalized to complex arguments using the complex logarithm.
- <math>
\arcsin (z) = -i \log \left( i z + \sqrt{1 - z^2} \right) </math>
- <math>
\arccos (z) = -i \log \left( z + \sqrt{z^2 - 1}\right) </math>
- <math>
\arctan (z) = \frac{i}{2} \log\left(\frac{1-iz}{1+iz}\right) </math>
Note: arcsec can also mean arcsecond.
Identities
- Main article: trigonometric identity.
- <math>\sin \left(x+y\right)=\sin x \cos y + \cos x \sin y</math>
- <math>\sin \left(x-y\right)=\sin x \cos y - \cos x \sin y</math>
- <math>\cos \left(x+y\right)=\cos x \cos y - \sin x \sin y</math>
- <math>\cos \left(x-y\right)=\cos x \cos y + \sin x \sin y</math>
- <math>\tan \left(x+y\right)=\frac{\tan x +\tan y}{1-\tan x \tan y}</math>
- <math>\tan \left(x-y\right)=\frac{\tan x -\tan y}{1+\tan x \tan y}</math>
- <math>\cot \left(x+y\right)=\frac{\cot x \cot y - 1}{\cot y + \cot x}</math>
- <math>\cot \left(x-y\right)=\frac{\cot x \cot y + 1}{\cot y - \cot x}</math>
- <math>\sin x+\sin y=2\sin \left( \frac{x+y}{2} \right) \cos \left( \frac{x-y}{2} \right) </math>
- <math>\sin x-\sin y=2\cos \left( \frac{x+y}{2} \right) \sin \left( \frac{x-y}{2} \right) </math>
- <math>\cos x+\cos y=2\cos \left( \frac{x+y}{2} \right) \cos \left( \frac{x-y}{2} \right)</math>
- <math>\cos x-\cos y=-2\sin \left( \frac{x+y}{2} \right)\sin \left( \frac{x-y}{2} \right)</math>
- <math>\tan x+\tan y=\frac{\sin \left( x+y\right) }{\cos x\cos y}</math>
- <math>\tan x-\tan y=\frac{\sin \left( x-y\right) }{\cos x\cos y}</math>
- <math>\cot x+\cot y=\frac{\sin \left( x+y\right) }{\sin x\sin y}</math>
- <math>\cot x-\cot y=\frac{-\sin \left( x-y\right) }{\sin x\sin y}</math>
- <math>\arctan x = \arcsin \left( \frac{x}{\sqrt{1+x^2}} \right)</math>
See also trigonometric identity. For integrals and derivatives of trigonometric functions, see the relevant sections of table of derivatives, table of integrals, and list of integrals of trigonometric functions.
Properties and applications
The trigonometric functions, as the name suggests, are of crucial importance in trigonometry, mainly because of the following two results:
Law of sines
The law of sines for an arbitrary triangle states:
- <math>\frac{\sin A}{a} = \frac{\sin B}{b} = \frac{\sin C}{c}</math>
also known as:
- <math>\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C} = 2R</math>
It can be proven by dividing the triangle into two right ones and using the above definition of sine. The common number (sinA)/a occurring in the theorem is the reciprocal of the diameter of the circle through the three points A, B and C. The law of sines is useful for computing the lengths of the unknown sides in a triangle if two angles and one side are known. This is a common situation occurring in triangulation, a technique to determine unknown distances by measuring two angles and an accessible enclosed distance.
Law of cosines
The law of cosines (also known as the cosine formula) is an extension of the Pythagorean theorem:
- <math>c^2=a^2+b^2-2ab\cos C \,</math>
also known as:
- <math>\arccos C=\frac{a^2+b^2-c^2}{2ab}</math>
Again, this theorem can be proven by dividing the triangle into two right ones. The law of cosines is useful to determine the unknown data of a triangle if two sides and an angle are known.
If the angle is not contained between the two sides, the triangle may not be unique. Be aware of this ambiguous case of the Cosine law.
Law of tangents
There is also a law of tangents:
- <math>\frac{a+b}{a-b} = \frac{\tan[\frac{1}{2}(A+B)]}{\tan[\frac{1}{2}(A-B)]}</math>
Image:Sincos pretty.png The trigonometric functions are also important outside of the study of triangles. They are periodic functions with characteristic wave patterns as graphs, useful for modelling recurring phenomena such as sound or light waves. Every signal can be written as a (typically infinite) sum of sine and cosine functions of different frequencies; this is the basic idea of Fourier analysis, where trigonometric series are used to solve a variety of boundary-value problems in partial differential equations.
The image on the right displays a two-dimensional graph based on such a summation of sines and cosines, illustrating the fact that arbitrarily complicated closed curves can be described by a Fourier series. Its equation is:
- <math>(x(\theta),\,y(\theta)) = \sum_{n=1}^\infty \frac {1}{F(n+1)} (\sin(\theta\cdot F(n)),\, \cos(\theta\cdot F(n))) </math>
where F(n) is the nth Fibonacci number.
For a compilation of many relations between the trigonometric functions, see trigonometric identities.
References
- Milton Abramowitz and Irene A. Stegun, Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables (Dover, New York, 1964). ISBN 0-486-61272-4.
- Carl B. Boyer, A History of Mathematics, 2nd ed. (Wiley, New York, 1991).
- George G. Joseph, The Crest of the Peacock: Non-European Roots of Mathematics, 2nd ed. (Penguin Books, London, 2000).
- Vitit Kantabutra, "On hardware for computing exponential and trigonometric functions," IEEE Trans. Computers 45 (3), 328-339 (1996).
- Eli Maor, Trigonometric Delights (Princeton Univ. Press, 1998).
- Tristan Needham, Visual Complex Analysis, (Oxford University Press, 2000), ISBN 0198534469 Book website
- J.J. O'Connor and E.F. Robertson, MacTutor History of Mathematics Archive, 1996-2006.
- J.J. O'Connor and E.F. Robertson, 'Trigonometric functions', MacTutor History of Mathematics Archive, 1996.
- J.J. O'Connor and E.F. Robertson, 'Madhava of Sangamagramma', MacTutor History of Mathematics Archive, 2000
- Ian G. Pearce. 'Madhava of Sangamagramma', MacTutor History of Mathematics Archive, 2002.
- Eric W. Weinstein, MathWorld, accessed 21 January 2006.
See also
- Generating trigonometric tables
- Hyperbolic function
- Pythagoras
- Pythagorean theorem
- Trigonometric identity
- Uses of trigonometry
- Direction cosines
- Table of Newtonian series
- Trigonometric functions of angles 0° to 90° by degree
External links
- Javascript function grapher uses a javascript library to display functions. Works in nearly every modern browser.
- Sine and cosine function with an implementation in Rexx.
- Trigonometric functions and Euclid's Elements
Template:Featured articleTemplate:Link FA
ar:مثلثات bg:Тригонометрична функция bn:ত্রিকোণমিতি ca:Trigonometria cs:Goniometrická funkce da:Trigonometrisk funktion de:Trigonometrische Funktion es:Trigonometría eo:Trigonometrio fr:Fonction trigonométrique io:Trigonometriala funciono is:Hornaföll it:Funzioni trigonometriche ko:삼각함수 he:טריגונומטריה nl:Goniometrische functie ja:三角関数 pl:Funkcje trygonometryczne pt:Função trigonométrica ru:Тригонометрические функции sl:Trigonometrična funkcija fi:Trigonometria sv:Trigonometrisk funktion th:ตรีโกณมิติ vi:Hàm lượng giác zh:三角函数