Trigonometry () is a branch of
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
that studies relationships between side lengths and
angles of
triangles. The field emerged in the
Hellenistic world during the 3rd century BC from applications of
geometry to
astronomical studies. The Greeks focused on the
calculation of chords, while mathematicians in India created the earliest-known tables of values for trigonometric ratios (also called
trigonometric functions) such as
sine
In mathematics, sine and cosine are trigonometric functions of an angle. The sine and cosine of an acute angle are defined in the context of a right triangle: for the specified angle, its sine is the ratio of the length of the side that is oppo ...
.
Throughout history, trigonometry has been applied in areas such as
geodesy
Geodesy ( ) is the Earth science of accurately measuring and understanding Earth's figure (geometric shape and size), orientation in space, and gravity. The field also incorporates studies of how these properties change over time and equivale ...
,
surveying
Surveying or land surveying is the technique, profession, art, and science of determining the terrestrial two-dimensional or three-dimensional positions of points and the distances and angles between them. A land surveying professional is ca ...
,
celestial mechanics, and
navigation.
Trigonometry is known for its many
identities. These
trigonometric identities are commonly used for rewriting trigonometrical
expressions with the aim to simplify an expression, to find a more useful form of an expression, or to
solve an equation.
History
Sumer
Sumer () is the earliest known civilization in the historical region of southern Mesopotamia (south-central Iraq), emerging during the Chalcolithic and early Bronze Ages between the sixth and fifth millennium BC. It is one of the cradles of c ...
ian 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
Nubians () (Nobiin: ''Nobī,'' ) are an ethnic group indigenous to the region which is now northern Sudan and southern Egypt. They originate from the early inhabitants of the central Nile valley, believed to be one of the earliest cradles of c ...
used a similar method.
In the 3rd century BC,
Hellenistic mathematicians such as
Euclid and
Archimedes
Archimedes of Syracuse (;; ) was a Greek mathematician, physicist, engineer, astronomer, and inventor from the ancient city of Syracuse in Sicily. Although few details of his life are known, he is regarded as one of the leading scientists ...
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
The ''Almagest'' is a 2nd-century Greek-language mathematical and astronomical treatise on the apparent motions of the stars and planetary paths, written by Claudius Ptolemy ( ). One of the most influential scientific texts in history, it canoni ...
''.
Ptolemy used
chord
Chord may refer to:
* Chord (music), an aggregate of musical pitches sounded simultaneously
** Guitar chord a chord played on a guitar, which has a particular tuning
* Chord (geometry), a line segment joining two points on a curve
* Chord ( ...
length to define his trigonometric functions, a minor difference from the
sine
In mathematics, sine and cosine are trigonometric functions of an angle. The sine and cosine of an acute angle are defined in the context of a right triangle: for the specified angle, its sine is the ratio of the length of the side that is oppo ...
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
Islam (; ar, ۘالِإسلَام, , ) is an Abrahamic monotheistic religion centred primarily around the Quran, a religious text considered by Muslims to be the direct word of God (or '' Allah'') as it was revealed to Muhammad, the mai ...
, and, later, Western European worlds.
The modern sine convention is first attested in the ''
Surya Siddhanta
The ''Surya Siddhanta'' (; ) is a Sanskrit treatise in Indian astronomy dated to 505 CE,Menso Folkerts, Craig G. Fraser, Jeremy John Gray, John L. Berggren, Wilbur R. Knorr (2017)Mathematics Encyclopaedia Britannica, Quote: "(...) its Hindu inven ...
'', and its properties were further documented by the 5th century (AD)
Indian mathematician and astronomer
Aryabhata. 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
300px, A sphere with a spherical triangle on it.
Spherical geometry is the geometry of the two-dimensional surface of a sphere. In this context the word "sphere" refers only to the 2-dimensional surface and other terms like "ball" or "solid sp ...
.
The
Persian polymath Nasir al-Din al-Tusi
Muhammad ibn Muhammad ibn al-Hasan al-Tūsī ( fa, محمد ابن محمد ابن حسن طوسی 18 February 1201 – 26 June 1274), better known as Nasir al-Din al-Tusi ( fa, نصیر الدین طوسی, links=no; or simply Tusi in the West ...
has been described as the creator of trigonometry as a mathematical discipline in its own right. He was the first to treat trigonometry as a mathematical discipline independent from astronomy, and he developed spherical trigonometry into its present form.
He listed the six distinct cases of a right-angled triangle in spherical trigonometry, and in his ''On the Sector Figure'', he stated the law of sines for plane and spherical triangles, discovered the
law of tangents for spherical triangles, and provided proofs for both these laws. 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 Arab astronomers such as
Al Battani
Abū ʿAbd Allāh Muḥammad ibn Jābir ibn Sinān al-Raqqī al-Ḥarrānī aṣ-Ṣābiʾ al-Battānī ( ar, محمد بن جابر بن سنان البتاني) ( Latinized as Albategnius, Albategni or Albatenius) (c. 858 – 929) was an astron ...
and
Nasir al-Din al-Tusi
Muhammad ibn Muhammad ibn al-Hasan al-Tūsī ( fa, محمد ابن محمد ابن حسن طوسی 18 February 1201 – 26 June 1274), better known as Nasir al-Din al-Tusi ( fa, نصیر الدین طوسی, links=no; or simply Tusi in the West ...
. 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. At the same time, another translation of the ''Almagest'' from Greek into Latin was completed by the Cretan
George of Trebizond. 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.
Bartholomaeus Pitiscus was the first to use the word, publishing his ''Trigonometria'' in 1595.
Gemma Frisius described for the first time the method of
triangulation
In trigonometry and geometry, triangulation is the process of determining the location of a point by forming triangles to the point from known points.
Applications
In surveying
Specifically in surveying, triangulation involves only angle me ...
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. Also in the 18th century,
Brook Taylor
Brook Taylor (18 August 1685 – 29 December 1731) was an English mathematician best known for creating Taylor's theorem and the Taylor series, which are important for their use in mathematical analysis.
Life and work
Brook Taylor w ...
defined the general
Taylor series.
Trigonometric ratios

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
In mathematics, sine and cosine are trigonometric functions of an angle. The sine and cosine of an acute angle are defined in the context of a right triangle: for the specified angle, its sine is the ratio of the length of the side that is oppo ...
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
Adjacent or adjacency may refer to:
*Adjacent (graph theory), two vertices that are the endpoints of an edge in a graph
*Adjacent (music), a conjunct step to a note which is next in the scale
See also
*Adjacent angles, two angles that share a c ...
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.
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:
:Sine = Opposite ÷ Hypotenuse
:Cosine = Adjacent ÷ Hypotenuse
:Tangent = Opposite ÷ Adjacent
One way to remember the letters is to sound them out phonetically (i.e. , 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

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
Using the
unit circle, one can extend the definitions of trigonometric ratios to all positive and negative arguments
(see
trigonometric function).
Graphs of trigonometric functions
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
In mathematics, an injective function (also known as injection, or one-to-one function) is a function that maps distinct elements of its domain to distinct elements; that is, implies . (Equivalently, implies in the equivalent contrapositiv ...
(or, 1 to 1), and thus are not invertible. By
restricting the domain of a trigonometric function, however, they can be made invertible.
The names of the inverse trigonometric functions, together with their domains and range, can be found in the following table:
Power series representations
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
In science, a formula is a concise way of expressing information symbolically, as in a mathematical formula or a ''chemical formula''. The informal use of the term ''formula'' in science refers to the general construct of a relationship betwee ...
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
In the mathematical field of numerical analysis, interpolation is a type of estimation, a method of constructing (finding) new data points based on the range of a discrete set of known data points.
In engineering and science, one often has a n ...
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
In trigonometry, the gradian, also known as the gon (from grc, γωνία, gōnía, angle), grad, or grade, is a unit of measurement of an angle, defined as one hundredth of the right angle; in other words, there are 100 gradians in 90 degre ...
. 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
Chord may refer to:
* Chord (music), an aggregate of musical pitches sounded simultaneously
** Guitar chord a chord played on a guitar, which has a particular tuning
* Chord (geometry), a line segment joining two points on a curve
* Chord ( ...
(), the
versine () (which appeared in the earliest tables), the
coversine (), the
haversine (), the
exsecant (), and the
excosecant (). See
List of trigonometric identities for more relations between these functions.
Applications
Astronomy
For centuries, spherical trigonometry has been used for locating solar, lunar, and stellar positions,
predicting eclipses, and describing the orbits of the planets.
In modern times, the technique of
triangulation
In trigonometry and geometry, triangulation is the process of determining the location of a point by forming triangles to the point from known points.
Applications
In surveying
Specifically in surveying, triangulation involves only angle me ...
is used in
astronomy to measure the distance to nearby stars,
as well as in
satellite navigation systems.
Navigation

Historically, trigonometry has been used for locating latitudes and longitudes of sailing vessels, plotting courses, and calculating distances during navigation.
Trigonometry is still used in navigation through such means as the
Global Positioning System
The Global Positioning System (GPS), originally Navstar GPS, is a satellite-based radionavigation system owned by the United States government and operated by the United States Space Force. It is one of the global navigation satellite sy ...
and
artificial intelligence for
autonomous vehicles.
Surveying
In land
surveying
Surveying or land surveying is the technique, profession, art, and science of determining the terrestrial two-dimensional or three-dimensional positions of points and the distances and angles between them. A land surveying professional is ca ...
, 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.
Periodic functions

The sine and cosine functions are fundamental to the theory of
periodic functions,
such as those that describe sound and
light waves.
Fourier discovered that every
continuous,
periodic function could be described as an
infinite sum of trigonometric functions.
Even non-periodic functions can be represented as an
integral of sines and cosines through the
Fourier transform
A Fourier transform (FT) is a mathematical transform that decomposes functions into frequency components, which are represented by the output of the transform as a function of frequency. Most commonly functions of time or space are transformed, ...
. This has applications to
quantum mechanics and
communications,
among other fields.
Optics and acoustics
Trigonometry is useful in many
physical sciences,
including
acoustics
Acoustics is a branch of physics that deals with the study of mechanical waves in gases, liquids, and solids including topics such as vibration, sound, ultrasound and infrasound. A scientist who works in the field of acoustics is an acoustician ...
,
and
optics.
In these areas, they are used to describe
sound and
light wave
In physics, electromagnetic radiation (EMR) consists of waves of the electromagnetic (EM) field, which propagate through space and carry momentum and electromagnetic radiant energy. It includes radio waves, microwaves, infrared, (visible) ligh ...
s, and to solve boundary- and transmission-related problems.
Other applications
Other fields that use trigonometry or trigonometric functions include
music theory
Music theory is the study of the practices and possibilities of music. ''The Oxford Companion to Music'' describes three interrelated uses of the term "music theory". The first is the "rudiments", that are needed to understand music notation (ke ...
,
geodesy
Geodesy ( ) is the Earth science of accurately measuring and understanding Earth's figure (geometric shape and size), orientation in space, and gravity. The field also incorporates studies of how these properties change over time and equivale ...
,
audio synthesis
A synthesizer (also spelled synthesiser) is an electronic musical instrument that generates audio signals. Synthesizers typically create sounds by generating Waveform, waveforms through methods including subtractive synthesis, additive synth ...
,
architecture,
electronics,
biology,
medical imaging
Medical imaging is the technique and process of imaging the interior of a body for clinical analysis and medical intervention, as well as visual representation of the function of some organs or tissues (physiology). Medical imaging seeks to rev ...
(
CT scan
A computed tomography scan (CT scan; formerly called computed axial tomography scan or CAT scan) is a medical imaging technique used to obtain detailed internal images of the body. The personnel that perform CT scans are called radiographers ...
s and
ultrasound),
chemistry
Chemistry is the science, scientific study of the properties and behavior of matter. It is a natural science that covers the Chemical element, elements that make up matter to the chemical compound, compounds made of atoms, molecules and ions ...
,
number theory (and hence
cryptology),
seismology,
meteorology,
oceanography
Oceanography (), also known as oceanology and ocean science, is the scientific study of the oceans. It is an Earth science, which covers a wide range of topics, including ecosystem dynamics; ocean currents, waves, and geophysical fluid dynamic ...
,
image compression
Image compression is a type of data compression applied to digital images, to reduce their cost for storage or transmission. Algorithms may take advantage of visual perception and the statistical properties of image data to provide superior r ...
,
phonetics,
economics,
electrical engineering
Electrical engineering is an engineering discipline concerned with the study, design, and application of equipment, devices, and systems which use electricity, electronics, and electromagnetism. It emerged as an identifiable occupation in the l ...
,
mechanical engineering,
civil engineering,
computer graphics,
cartography,
crystallography
Crystallography is the experimental science of determining the arrangement of atoms in crystalline solids. Crystallography is a fundamental subject in the fields of materials science and solid-state physics (condensed matter physics). The wor ...
and
game development.
Identities

Trigonometry has been noted for its many identities, that is, equations that are true for all possible inputs.
Identities involving only angles are known as ''trigonometric identities''. Other equations, known as ''triangle identities'',
relate both the sides and angles of a given triangle.
Triangle identities
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:
:
where
is the area of the triangle and ''R'' is the radius of the
circumscribed circle of the triangle:
:
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:
:
or equivalently:
:
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:
:
Area
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
:
then the area of the triangle is:
:
,
where R is the radius of the
circumcircle of the triangle.
Trigonometric identities
Pythagorean identities
The following trigonometric
identities are related to the
Pythagorean theorem
In mathematics, the Pythagorean theorem or Pythagoras' theorem is a fundamental relation in Euclidean geometry between the three sides of a right triangle. It states that the area of the square whose side is the hypotenuse (the side opposite t ...
and hold for any value:
[Extract of page 856]
/ref>
:
:
:
The second and third equations are derived from dividing the first equation by and , respectively.
Euler's formula
Euler's formula, which states that , produces the following analytical identities for sine, cosine, and tangent in terms of '' e'' and the imaginary unit ''i'':
:
Other trigonometric identities
Other commonly used trigonometric identities include the half-angle identities, the angle sum and difference identities, and the product-to-sum identities.
See also
* Aryabhata's sine table
* Generalized trigonometry
* Lénárt sphere
* List of triangle topics
* List of trigonometric identities
* Rational trigonometry
* Skinny triangle
* Small-angle approximation
* Trigonometric functions
* Unit circle
* Uses of trigonometry
References
Bibliography
*
*
*
Further reading
*
* Linton, Christopher M. (2004). ''From Eudoxus to Einstein: A History of Mathematical Astronomy''. Cambridge University Press.
*
External links
Khan Academy: Trigonometry, free online micro lectures
by Alfred Monroe Kenyon and Louis Ingold, The Macmillan Company, 1914. In images, full text presented.
Benjamin Banneker's Trigonometry Puzzle
a
Convergence
Dave's Short Course in Trigonometry
by David Joyce of Clark University
Trigonometry, by Michael Corral, Covers elementary trigonometry, Distributed under GNU Free Documentation License
{{Authority control