# Trigonometry

Trigonometry (from Greek trigōnon, "triangle" and metron, "measure"[1]) is a branch of mathematics that studies relationships involving lengths and angles of triangles. The field emerged in the Hellenistic world during the 3rd century BC from applications of geometry to astronomical studies.[2]

The 3rd-century astronomers first noted that the lengths of the sides of a right-angle triangle and the angles between those sides have fixed relationships: that is, if at least the length of one side and the value of one angle is known, then all other angles and lengths can be determined algorithmically. These calculations soon came to be defined as the trigonometric functions and today are pervasive in both pure and applied mathematics: fundamental methods of analysis such as the Fourier transform, for example, or the wave equation, use trigonometric functions to understand cyclical phenomena across many applications in fields as diverse as physics, mechanical and electrical engineering, music and acoustics, astronomy, ecology, and biology. Trigonometry is also the foundation of surveying.

Trigonometry is most simply associated with planar right-angle triangles (each of which is a two-dimensional triangle with one angle equal to 90 degrees). The applicability to non-right-angle triangles exists, but, since any non-right-angle triangle (on a flat plane) can be bisected to create two right-angle triangles, most problems can be reduced to calculations on right-angle triangles. Thus the majority of applications relate to right-angle triangles. One exception to this is spherical trigonometry, the study of triangles on spheres, surfaces of constant positive curvature, in elliptic geometry (a fundamental part of astronomy and navigation). Trigonometry on surfaces of negative curvature is part of hyperbolic geometry.

Trigonometry basics are often taught in schools, either as a separate course or as a part of a precalculus course.

All of the trigonometric functions of an angle θ can be constructed geometrically in terms of a unit circle centered at O.

## History

Hipparchus, credited with compiling the first trigonometric table, is known as "the father of trigonometry".[3]

A thick ring shell at the Indus Valley Civilization site of Lothal, with four slits each in two margins served as a compass to measure angles on plane surfaces or in the horizon in multiples of 40 degrees, up to 360 degrees. Such shell instruments were probably invented to measure 8–12 whole sections of the horizon and sky, explaining the slits on the lower and upper margins. Archaeologists consider this as evidence that the Lothal experts had achieved an 8–12 fold division of horizon and sky, as well as an instrument for measuring angles and perhaps the position of stars, and for navigation.[4]

Sumerian astronomers studied angle measure, using a division of circles into 360 degrees.[5] They, and later the Babylonians, studied the ratios of the sides of similar triangles and discovered some properties of these ratios but did not turn that into a systematic method for finding sides and angles of triangles. The ancient Nubians used a similar method.[6]

In the 3rd century BC, Hellenistic mathematicians such as Euclid and Archimedes studied the properties of chords and inscribed angles in circles, and they proved theorems that are equivalent to modern trigonometric formulae, although they presented them geometrically rather than algebraically. In 140 BC, Hipparchus (from Nicaea, Asia Minor) gave the first tables of chords, analogous to modern tables of sine values, and used them to solve problems in trigonometry and spherical trigonometry.[7] In the 2nd century AD, the Greco-Egyptian astronomer Ptolemy (from Alexandria, Egypt) constructed detailed trigonometric tables (Ptolemy's table of chords) in Book 1, chapter 11 of his Almagest.[8] Ptolemy used chord length to define his trigonometric functions, a minor difference from the sine convention we use today.[9] (The value we call sin(θ) can be found by looking up the chord length for twice the angle of interest (2θ) in Ptolemy's table, and then dividing that value by two.) Centuries passed before more detailed tables were produced, and Ptolemy's treatise remained in use for performing trigonometric calculations in astronomy throughout the next 1200 years in the medieval Byzantine, Islamic, and, later, Western European worlds.

The modern sine convention is first attested in the Surya Siddhanta, and its properties were further documented by the 5th century (AD) Indian mathematician and astronomer Aryabhata.[10] These Greek and Indian works were translated and expanded by medieval Islamic mathematicians. By the 10th century, Islamic mathematicians were using all six trigonometric functions, had tabulated their values, and were applying them to problems in spherical geometry. At about the same time, Chinese mathematicians developed trigonometry independently, although it was not a major field of study for them. Knowledge of trigonometric functions and methods reached Western Europe via Latin translations of Ptolemy's Greek Almagest as well as the works of Persian and Arabic astronomers such as Al Battani and Nasir al-Din al-Tusi.[11] One of the earliest works on trigonometry by a northern European mathematician is De Triangulis by the 15th century German mathematician Regiomontanus, who was encouraged to write, and provided with a copy of the Almagest, by the Byzantine Greek scholar cardinal Basilios Bessarion with whom he lived for several years.[12] At the same time, another translation of the Almagest from Greek into Latin was completed by the Cretan George of Trebizond.[13] Trigonometry was still so little known in 16th-century northern Europe that Nicolaus Copernicus devoted two chapters of De revolutionibus orbium coelestium to explain its basic concepts.

Driven by the demands of navigation and the growing need for accurate maps of large geographic areas, trigonometry grew into a major branch of mathematics.[14] Bartholomaeus Pitiscus was the first to use the word, publishing his Trigonometria in 1595.[15] Gemma Frisius described for the first time the method of triangulation still used today in surveying. It was Leonhard Euler who fully incorporated complex numbers into trigonometry. The works of the Scottish mathematicians James Gregory in the 17th century and Colin Maclaurin in the 18th century were influential in the development of trigonometric series.[16] Also in the 18th century, Brook Taylor defined the general Taylor series.[17]

## Overview

In this right triangle: sin A = a/c; cos A = b/c; tan A = a/b.

If one angle of a triangle is 90 degrees and one of the other angles is known, the third is thereby fixed, because the three angles of any triangle add up to 180 degrees. The two acute angles therefore add up to 90 degrees: they are complementary angles. The shape of a triangle is completely determined, except for similarity, by the angles. Once the angles are known, the ratios of the sides are determined, regardless of the overall size of the triangle. If the length of one of the sides is known, the other two are determined. These ratios are given by the following trigonometric functions of the known angle A, where a, b and c refer to the lengths of the sides in the accompanying figure:

• Sine function (sin), defined as the ratio of the side opposite the angle to the hypotenuse.
${\displaystyle \sin A={\frac {\textrm {opposite}}{\textrm {hypotenuse}}}={\frac {a}{\,c\,}}\,.}$
• Cosine function (cos), defined as the ratio of the adjacent leg to the hypotenuse.
${\displaystyle \cos A={\frac {\textrm {adjacent}}{\textrm {hypotenuse}}}={\frac {b}{\,c\,}}\,.}$
• Tangent function (tan), defined as the ratio of the opposite leg to the adjacent leg.
${\displaystyle \tan A={\frac {\textrm {opposite}}{\textrm {adjacent}}}={\frac {a}{\,b\,}}={\frac {a}{\,c\,}}*{\frac {c}{\,b\,}}={\frac {a}{\,c\,}}/{\frac {b}{\,c\,}}={\frac {\sin A}{\cos A}}\,.}$

The hypotenuse is the side opposite to the 90 degree angle in a right triangle; it is the longest side of the triangle and one of the two sides adjacent to angle A. The adjacent leg is the other side that is adjacent to angle A. The opposite side is the side that is opposite to angle A. The terms perpendicular and base are sometimes used for the opposite and adjacent sides respectively. Many people find it easy to remember what sides of the right triangle are equal to sine, cosine, or tangent, by memorizing the word SOH-CAH-TOA (see below under Mnemonics).

The reciprocals of these functions are named the cosecant (csc or cosec), secant (sec), and cotangent (cot), respectively:

${\displaystyle \csc A={\frac {1}{\sin A}}={\frac {\textrm {hypotenuse}}{\textrm {opposite}}}={\frac {c}{a}},}$
${\displaystyle \sec A={\frac {1}{\cos A}}={\frac {\textrm {hypotenuse}}{\textrm {adjacent}}}={\frac {c}{b}},}$
${\displaystyle \cot A={\frac {1}{\tan A}}={\frac {\textrm {adjacent}}{\textrm {opposite}}}={\frac {\cos A}{\sin A}}={\frac {b}{a}}.}$

The inverse functions are called the arcsine, arccosine, and arctangent, respectively. There are arithmetic relations between these functions, which are known as trigonometric identities. The cosine, cotangent, and cosecant are so named because they are respectively the sine, tangent, and secant of the complementary angle abbreviated to "co-".

With these functions, one can answer virtually all questions about arbitrary triangles by using the law of sines and the law of cosines. These laws can be used to compute the remaining angles and sides of any triangle as soon as two sides and their included angle or two angles and a side or three sides are known. These laws are useful in all branches of geometry, since every polygon may be described as a finite combination of triangles.

### Extending the definitions

Fig. 1a – Sine and cosine of an angle θ defined using the unit circle.

The above definitions only apply to angles between 0 and 90 degrees (0 and π/2 radians). Using the unit circle, one can extend them to all positive and negative arguments (see trigonometric function). The trigonometric functions are periodic, with a period of 360 degrees or 2π radians. That means their values repeat at those intervals. The tangent and cotangent functions also have a shorter period, of 180 degrees or π radians.

The trigonometric functions can be defined in other ways besides the geometrical definitions above, using tools from calculus and infinite series. With these definitions the trigonometric functions can be defined for complex numbers. The complex exponential function is particularly useful.

${\displaystyle e^{x+iy}=e^{x}(\cos y+i\sin y).}$

See Euler's and De Moivre's formulas.

Graphing process of y = sin(x) using a unit circle.

Graphing process of y = csc(x), the reciprocal of sine, using a unit circle.

Graphing process of y = tan(x) using a unit circle.

### Mnemonics

A common use of mnemonics is to remember facts and relationships in trigonometry. For example, the sine, cosine, and tangent ratios in a right triangle can be remembered by representing them and their corresponding sides as strings of letters. For instance, a mnemonic is SOH-CAH-TOA:[18]

Sine = Opposite ÷ Hypotenuse

One way to remember the letters is to sound them out phonetically (i.e., SOH-CAH-TOA, which is pronounced 'so-kə-toe-uh' /soʊkəˈtoʊə/). Another method is to expand the letters into a sentence, such as "Some Old Hippie Caught Another Hippie Trippin' On Acid".[19]

### Calculating trigonometric functions

Trigonometric functions were among the earliest uses for mathematical tables. Such tables were incorporated into mathematics textbooks and students were taught to look up values and how to interpolate between the values listed to get higher accuracy. Slide rules had special scales for trigonometric functions.

Today, scientific calculators have buttons for calculating the main trigonometric functions (sin, cos, tan, and sometimes cis and their inverses). Most allow a choice of angle measurement methods: degrees, radians, and sometimes gradians. Most computer programming languages provide function libraries that include the trigonometric functions. The floating point unit hardware incorporated into the microprocessor chips used in most personal computers has built-in instructions for calculating trigonometric functions.[20]

## Applications

Sextants are used to measure the angle of the sun or stars with respect to the horizon. Using trigonometry and a marine chronometer, the position of the ship can be determined from such measurements.

There is an enormous number of uses of trigonometry and trigonometric functions. For instance, the technique of triangulation is used in astronomy to measure the distance to nearby stars, in geography to measure distances between landmarks, and in satellite navigation systems. The sine and cosine functions are fundamental to the theory of periodic functions, such as those that describe sound and light waves.

Fields that use trigonometry or trigonometric functions include astronomy (especially for locating apparent positions of celestial objects, in which spherical trigonometry is essential) and hence navigation (on the oceans, in aircraft, and in space), music theory, audio synthesis, acoustics, optics, electronics, biology, medical imaging (CT scans and ultrasound), pharmacy, chemistry, number theory (and hence cryptology), seismology, meteorology, oceanography, many physical sciences, land surveying and geodesy, architecture, image compression, phonetics, economics, electrical engineering, mechanical engineering, civil engineering, computer graphics, cartography, crystallography and game development.

## Pythagorean identities

The following identities are related to the Pythagorean theorem and hold for any value:[21]

${\displaystyle \sin ^{2}A+\cos ^{2}A=1\ }$
${\displaystyle \tan ^{2}A+1=\sec ^{2}A\ }$
${\displaystyle \cot ^{2}A+1=\csc ^{2}A\ }$

## Angle transformation formulae

${\displaystyle \sin(A\pm B)=\sin A\ \cos B\pm \cos A\ \sin B}$
${\displaystyle \cos(A\pm B)=\cos A\ \cos B\mp \sin A\ \sin B}$
${\displaystyle \tan(A\pm B)={\frac {\tan A\pm \tan B}{1\mp \tan A\ \tan B}}}$
${\displaystyle \cot(A\pm B)={\frac {\cot A\ \cot B\mp 1}{\cot B\pm \cot A}}}$

## Common formulae

Triangle with sides a,b,c and respectively opposite angles A,B,C

Certain equations involving trigonometric functions are true for all angles and are known as trigonometric identities. Some identities equate an expression to a different expression involving the same angles. These are listed in List of trigonometric identities. Triangle identities that relate the sides and angles of a given triangle are listed below.

In the following identities, A, B and C are the angles of a triangle and a, b and c are the lengths of sides of the triangle opposite the respective angles (as shown in the diagram).

### Law of sines

The law of sines (also known as the "sine rule") for an arbitrary triangle states:

${\displaystyle {\frac {a}{\sin A}}={\frac {b}{\sin B}}={\frac {c}{\sin C}}=2R={\frac {abc}{2\Delta }},}$

where ${\displaystyle \Delta }$ is the area of the triangle and R is the radius of the circumscribed circle of the triangle:

${\displaystyle R={\frac {abc}{\sqrt {(a+b+c)(a-b+c)(a+b-c)(b+c-a)}}}.}$

Another law involving sines can be used to calculate the area of a triangle. Given two sides a and b and the angle between the sides C, the area of the triangle is given by half the product of the lengths of two sides and the sine of the angle between the two sides:

${\displaystyle {\mbox{Area}}=\Delta ={\frac {1}{2}}ab\sin C.}$

### Law of cosines

The law of cosines (known as the cosine formula, or the "cos rule") is an extension of the Pythagorean theorem to arbitrary triangles:

${\displaystyle c^{2}=a^{2}+b^{2}-2ab\cos C,\,}$

or equivalently:

${\displaystyle \cos C={\frac {a^{2}+b^{2}-c^{2}}{2ab}}.\,}$

The law of cosines may be used to prove Heron's formula, which is another method that may be used to calculate the area of a triangle. This formula states that if a triangle has sides of lengths a, b, and c, and if the semiperimeter is

${\displaystyle s={\frac {1}{2}}(a+b+c),}$

then the area of the triangle is:

${\displaystyle {\mbox{Area}}=\Delta ={\sqrt {s(s-a)(s-b)(s-c)}}={\frac {abc}{4R}}}$,

where R is the radius of the circumcircle of the triangle.

### Law of tangents

The law of tangents:

${\displaystyle {\frac {a-b}{a+b}}={\frac {\tan \left[{\tfrac {1}{2}}(A-B)\right]}{\tan \left[{\tfrac {1}{2}}(A+B)\right]}}}$

### Euler's formula

Euler's formula, which states that ${\displaystyle e^{ix}=\cos x+i\sin x}$, produces the following analytical identities for sine, cosine, and tangent in terms of e and the imaginary unit i:

${\displaystyle \sin x={\frac {e^{ix}-e^{-ix}}{2i}},\qquad \cos x={\frac {e^{ix}+e^{-ix}}{2}},\qquad \tan x={\frac {i(e^{-ix}-e^{ix})}{e^{ix}+e^{-ix}}}.}$

## References

1. ^ "trigonometry". Online Etymology Dictionary.
2. ^ R. Nagel (ed.), Encyclopedia of Science, 2nd Ed., The Gale Group (2002)
3. ^ Boyer (1991). "Greek Trigonometry and Mensuration". A History of Mathematics. p. 162.
4. ^ S. R. Rao (1985). Lothal. Archaeological Survey of India. pp. 40–41.
5. ^ Aaboe, Asger. Episodes from the Early History of Astronomy. New York: Springer, 2001. ISBN 0-387-95136-9
6. ^ Otto Neugebauer (1975). A history of ancient mathematical astronomy. 1. Springer-Verlag. pp. 744–. ISBN 978-3-540-06995-9.
7. ^ Thurston, pp. 235–236.
8. ^ Toomer, G. J. (1998), Ptolemy's Almagest, Princeton University Press, ISBN 0-691-00260-6
9. ^ Thurston, pp. 239–243.
10. ^ Boyer p. 215
11. ^ Boyer pp. 237, 274
12. ^ "Regiomontanus biography". History.mcs.st-and.ac.uk. Retrieved 2017-03-08.
13. ^ N.G. Wilson, From Byzantium to Italy. Greek Studies in the Italian Renaissance, London, 1992. ISBN 0-7156-2418-0
14. ^ Grattan-Guinness, Ivor (1997). The Rainbow of Mathematics: A History of the Mathematical Sciences. W.W. Norton. ISBN 0-393-32030-8.
15. ^ Robert E. Krebs (2004). Groundbreaking Scientific Experiments, Inventions, and Discoveries of the Middle Ages and the Renaissance. Greenwood Publishing Group. pp. 153–. ISBN 978-0-313-32433-8.
16. ^ William Bragg Ewald (2007). From Kant to Hilbert: a source book in the foundations of mathematics. Oxford University Press US. p. 93. ISBN 0-19-850535-3
17. ^ Kelly Dempski (2002). Focus on Curves and Surfaces. p. 29. ISBN 1-59200-007-X
18. ^ Weisstein, Eric W. "SOHCAHTOA". MathWorld.
19. ^ A sentence more appropriate for high schools is "'Some Old Horse Came A''Hopping Through Our Alley". Foster, Jonathan K. (2008). Memory: A Very Short Introduction. Oxford. p. 128. ISBN 0-19-280675-0.
20. ^ Intel® 64 and IA-32 Architectures Software Developer’s Manual Combined Volumes: 1, 2A, 2B, 2C, 3A, 3B and 3C (PDF). Intel. 2013.
21. ^ Peterson, John C. (2004). Technical Mathematics with Calculus (illustrated ed.). Cengage Learning. p. 856. ISBN 978-0-7668-6189-3. Extract of page 856