Sumerian astronomers studied angle measure, using a division of circles into 360 degrees. 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.
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. 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. Ptolemy used chord length to define his trigonometric functions, a minor difference from the sine convention we use today. (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.
In this right triangle: sin A = a/h;cos A = b/h;tan A = a/b.
Trigonometric ratios are the ratios between edges of a right triangle. These ratios are given by the following trigonometric functions of the known angle A, where a, b and h 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.
Cosine function (cos), defined as the ratio of the adjacent leg (the side of the triangle joining the angle to the right angle) to the hypotenuse.
Tangent function (tan), defined as the ratio of the opposite leg to the adjacent leg.
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. See below under Mnemonics.
Since any two right triangles with the same acute angle A are similar, the value of a trigonometric ratio depends only on the angle A.
The reciprocals of these functions are named the cosecant (csc), secant (sec), and cotangent (cot), respectively:
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.
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:
Sine = Opposite ÷ Hypotenuse
Cosine = Adjacent ÷ Hypotenuse
Tangent = Opposite ÷ Adjacent
One way to remember the letters is to sound them out phonetically (i.e. /ˌsoʊkəˈtoʊə/SOH-kə-TOH-ə, similar to Krakatoa). Another method is to expand the letters into a sentence, such as "Some Old Hippie Caught Another Hippie Trippin' On Acid".
The unit circle and common trigonometric values
Fig. 1a – Sine and cosine of an angle θ defined using the unit circle
Indication of the sign and amount of key angles according to rotation direction
Trigonometric ratios can also be represented using the unit circle, which is the circle of radius 1 centered at the origin in the plane. In this setting, the terminal side of an angle A placed in standard position will intersect the unit circle in a point (x,y), where and . This representation allows for the calculation of commonly found trigonometric values, such as those in the following table:
Trigonometric functions of real or complex variables
The following table summarizes the properties of the graphs of the six main trigonometric functions:
Inverse trigonometric functions
Because the six main trigonometric functions are periodic, they are not injective (or, 1 to 1), and thus are not invertible. By restricting the domain of a trigonometric function, however, they can be made invertible.: 48ff
The names of the inverse trigonometric functions, together with their domains and range, can be found in the following table:: 48ff : 521ff
When considered as functions of a real variable, the trigonometric ratios can be represented by an infinite series. For instance, sine and cosine have the following representations:
With these definitions the trigonometric functions can be defined for complex numbers. When extended as functions of real or complex variables, the following formula holds for the complex exponential:
This complex exponential function, written in terms of trigonometric functions, is particularly useful.
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.
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.
Other trigonometric functions
In addition to the six ratios listed earlier, there are additional trigonometric functions that were historically important, though seldom used today. These include the chord (crd(θ) = 2 sin(θ/2)), the versine (versin(θ) = 1 − cos(θ) = 2 sin2(θ/2)) (which appeared in the earliest tables), the coversine (coversin(θ) = 1 − sin(θ) = versin(π/2 − θ)), the haversine (haversin(θ) = 1/2versin(θ) = sin2(θ/2)), the exsecant (exsec(θ) = sec(θ) − 1), and the excosecant (excsc(θ) = exsec(π/2 − θ) = csc(θ) − 1). See List of trigonometric identities for more relations between these functions.
For centuries, spherical trigonometry has been used for locating solar, lunar, and stellar positions, predicting eclipses, and describing the orbits of the planets.
In land surveying, trigonometry is used in the calculation of lengths, areas, and relative angles between objects.
On a larger scale, trigonometry is used in geography to measure distances between landmarks.
Function (in red) is a sum of six sine functions of different amplitudes and harmonically related frequencies. Their summation is called a Fourier series. The Fourier transform, (in blue), which depicts amplitude vs frequency, reveals the 6 frequencies (at odd harmonics) and their amplitudes (1/odd number).
The law of cosines (known as the cosine formula, or the "cos rule") is an extension of the Pythagorean theorem to arbitrary triangles:
Law of tangents
The law of tangents, developed by François Viète, is an alternative to the Law of Cosines when solving for the unknown edges of a triangle, providing simpler computations when using trigonometric tables. It is given by:
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:
Heron's formula 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
^Charles William Hackley (1853). A treatise on trigonometry, plane and spherical: with its application to navigation and surveying, nautical and practical astronomy and geodesy, with logarithmic, trigonometrical, and nautical tables. G. P. Putnam.
^Mary Jane Sterling (24 February 2014). Trigonometry For Dummies. John Wiley & Sons. p. 185. ISBN 978-1-118-82741-3.
^P.R. Halmos (1 December 2013). I Want to be a Mathematician: An Automathography. Springer Science & Business Media. ISBN 978-1-4612-1084-9.
^Ron Larson; Robert P. Hostetler (10 March 2006). Trigonometry. Cengage Learning. p. 230. ISBN 0-618-64332-X.
^Boyer (1991), p. 162, "Greek Trigonometry and Mensuration".
^Pimentel, Ric; Wall, Terry (2018). Cambridge IGCSE Core Mathematics (4th ed.). Hachette UK. p. 275. ISBN 978-1-5104-2058-8. Extract of page 275
^Otto Neugebauer (1975). A history of ancient mathematical astronomy. 1. Springer-Verlag. p. 744. ISBN 978-3-540-06995-9.
^Gingerich, Owen. "Islamic astronomy." Scientific American 254.4 (1986): 74-83
^ abMichael Willers (13 February 2018). Armchair Algebra: Everything You Need to Know From Integers To Equations. Book Sales. p. 37. ISBN 978-0-7858-3595-0.
^"Nasir al-Din al-Tusi". MacTutor History of Mathematics archive. Retrieved 2021-01-08. One of al-Tusi's most important mathematical contributions was the creation of trigonometry as a mathematical discipline in its own right rather than as just a tool for astronomical applications. In Treatise on the quadrilateral al-Tusi gave the first extant exposition of the whole system of plane and spherical trigonometry. This work is really the first in history on trigonometry as an independent branch of pure mathematics and the first in which all six cases for a right-angled spherical triangle are set forth.
^Berggren, J. L. (October 2013). "Islamic Mathematics". the cambridge history of science. Vol. 2. Cambridge University Press. pp. 62–83. doi:10.1017/CHO9780511974007.004. ISBN 9780521594486.
^"ṬUSI, NAṢIR-AL-DIN i. Biography". Encyclopaedia Iranica. Retrieved 2018-08-05. His major contribution in mathematics (Nasr, 1996, pp. 208-214) is said to be in trigonometry, which for the first time was compiled by him as a new discipline in its own right. Spherical trigonometry also owes its development to his efforts, and this includes the concept of the six fundamental formulas for the solution of spherical right-angled triangles.
^Humble, Chris (2001). Key Maths : GCSE, Higher. Fiona McGill. Cheltenham: Stanley Thornes Publishers. p. 51. ISBN 0-7487-3396-5. OCLC 47985033.
^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 978-0-19-280675-8.
^ abDavid Cohen; Lee B. Theodore; David Sklar (17 July 2009). Precalculus: A Problems-Oriented Approach, Enhanced Edition. Cengage Learning. ISBN 978-1-4390-4460-5.
^W. Michael Kelley (2002). The Complete Idiot's Guide to Calculus. Alpha Books. p. 45. ISBN 978-0-02-864365-6.
^Jenny Olive (18 September 2003). Maths: A Student's Survival Guide: A Self-Help Workbook for Science and Engineering Students. Cambridge University Press. p. 175. ISBN 978-0-521-01707-7.
^Mary P Attenborough (30 June 2003). Mathematics for Electrical Engineering and Computing. Elsevier. p. 418. ISBN 978-0-08-047340-6.
^Ron Larson; Bruce H. Edwards (10 November 2008). Calculus of a Single Variable. Cengage Learning. p. 21. ISBN 978-0-547-20998-2.
^ abElizabeth G. Bremigan; Ralph J. Bremigan; John D. Lorch (2011). Mathematics for Secondary School Teachers. MAA. ISBN 978-0-88385-773-1.
^Martin Brokate; Pammy Manchanda; Abul Hasan Siddiqi (3 August 2019). Calculus for Scientists and Engineers. Springer. ISBN 9789811384646.
^Serge Lang (14 March 2013). Complex Analysis. Springer. p. 63. ISBN 978-3-642-59273-7.
^Silvia Maria Alessio (9 December 2015). Digital Signal Processing and Spectral Analysis for Scientists: Concepts and Applications. Springer. p. 339. ISBN 978-3-319-25468-5.
^K. RAJA RAJESWARI; B. VISVESVARA RAO (24 March 2014). SIGNALS AND SYSTEMS. PHI Learning. p. 263. ISBN 978-81-203-4941-4.
^John Stillwell (23 July 2010). Mathematics and Its History. Springer Science & Business Media. p. 313. ISBN 978-1-4419-6053-5.
^Olinthus Gregory (1816). Elements of Plane and Spherical Trigonometry: With Their Applications to Heights and Distances Projections of the Sphere, Dialling, Astronomy, the Solution of Equations, and Geodesic Operations. Baldwin, Cradock, and Joy.
^Neugebauer, Otto (1948). "Mathematical methods in ancient astronomy". Bulletin of the American Mathematical Society. 54 (11): 1013–1041. doi:10.1090/S0002-9904-1948-09089-9.
^Michael Seeds; Dana Backman (5 January 2009). Astronomy: The Solar System and Beyond. Cengage Learning. p. 254. ISBN 978-0-495-56203-0.
^John Sabine (1800). The Practical Mathematician, Containing Logarithms, Geometry, Trigonometry, Mensuration, Algebra, Navigation, Spherics and Natural Philosophy, Etc. p. 1.
^Mordechai Ben-Ari; Francesco Mondada (2018). Elements of Robotics. Springer. p. 16. ISBN 978-3-319-62533-1.
^George Roberts Perkins (1853). Plane Trigonometry and Its Application to Mensuration and Land Surveying: Accompanied with All the Necessary Logarithmic and Trigonometric Tables. D. Appleton & Company.
^Charles W. J. Withers; Hayden Lorimer (14 December 2015). Geographers: Biobibliographical Studies. A&C Black. p. 6. ISBN 978-1-4411-0785-5.
^H. G. ter Morsche; J. C. van den Berg; E. M. van de Vrie (7 August 2003). Fourier and Laplace Transforms. Cambridge University Press. p. 61. ISBN 978-0-521-53441-3.
^Bernd Thaller (8 May 2007). Visual Quantum Mechanics: Selected Topics with Computer-Generated Animations of Quantum-Mechanical Phenomena. Springer Science & Business Media. p. 15. ISBN 978-0-387-22770-2.
^M. Rahman (2011). Applications of Fourier Transforms to Generalized Functions. WIT Press. ISBN 978-1-84564-564-9.
^Lawrence Bornstein; Basic Systems, Inc (1966). Trigonometry for the Physical Sciences. Appleton-Century-Crofts.
^ abcJohn J. Schiller; Marie A. Wurster (1988). College Algebra and Trigonometry: Basics Through Precalculus. Scott, Foresman. ISBN 978-0-673-18393-4.
^Dudley H. Towne (5 May 2014). Wave Phenomena. Dover Publications. ISBN 978-0-486-14515-0.
^ abcdE. Richard Heineman; J. Dalton Tarwater (1 November 1992). Plane Trigonometry. McGraw-Hill. ISBN 978-0-07-028187-5.
^Mark Kahrs; Karlheinz Brandenburg (18 April 2006). Applications of Digital Signal Processing to Audio and Acoustics. Springer Science & Business Media. p. 404. ISBN 978-0-306-47042-4.
^Kim Williams; Michael J. Ostwald (9 February 2015). Architecture and Mathematics from Antiquity to the Future: Volume I: Antiquity to the 1500s. Birkhäuser. p. 260. ISBN 978-3-319-00137-1.
^Dan Foulder (15 July 2019). Essential Skills for GCSE Biology. Hodder Education. p. 78. ISBN 978-1-5104-6003-4.
^Luciano Beolchi; Michael H. Kuhn (1995). Medical Imaging: Analysis of Multimodality 2D/3D Images. IOS Press. p. 122. ISBN 978-90-5199-210-6.
^Marcus Frederick Charles Ladd (2014). Symmetry of Crystals and Molecules. Oxford University Press. p. 13. ISBN 978-0-19-967088-8.
^Gennady I. Arkhipov; Vladimir N. Chubarikov; Anatoly A. Karatsuba (22 August 2008). Trigonometric Sums in Number Theory and Analysis. Walter de Gruyter. ISBN 978-3-11-019798-3.
^Study Guide for the Course in Meteorological Mathematics: Latest Revision, Feb. 1, 1943. 1943.
^Mary Sears; Daniel Merriman; Woods Hole Oceanographic Institution (1980). Oceanography, the past. Springer-Verlag. ISBN 978-0-387-90497-9.