Trigonometric function
In mathematics, the trigonometric functions are functions of an angle important when studying triangles and modeling periodic phenomena. They may be defined as ratios of two sides of a right triangle containing the angle, or, more generally, as ratios of coordinates of points on the unit circle, or, more generally still, as infinite series. All three approaches will be presented below.
There are six basic trigonometric functions.
- Sine (sin)
- Cosine (cos)
- Tangent (tan - equivalent to sin / cos)
- Secant (sec - equivalent to 1 / cos)
- Cosecant (csc - equivalent to 1 / sin)
- Cotangent (cot - equivalent to cos / sin)
| Table of contents |
|
2 Computing 3 Unit circle definitions 4 Series definitions 5 Inverse functions 6 Properties and applications |
Right triangle definitions
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, in this case c.
- 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 a leg of the angle, but not the hypotenuse, in this case b.
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
- sin(A) = opp/hyp = a/c.
A mnemonic commonly used in the UK is "OHMS". This is memorable because it might mean "On Her Majesty's Service", which is stamped on the front of mail sent by the government, or "Opposite over Hypotenuse Means Sine".
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
- cos(A) = adj/hyp = b/c.
- tan(A) = opp/adj = a/b.
Or just remember that as the angle goes from 0° to 90°, sin starts at 0 and grows to 1, cos starts at 1 and shrinks to 0, and tan starts at 0 and grows to +∞. One can then figure out which side to divide by which other side.
The remaining three functions are best defined using the above three functions.
4). The cosecant csc(A) is the inverse of sin(A), i.e. the ratio of the length of the hypotenuse to the length of the opposite side:
- csc(A) = hyp/opp = c/a.
- sec(A) = hyp/adj = c/b.
- cot(A) = adj/opp = b/a.
Computing
The values of the trigonometric functions have been tabulated and can also be computed by calculator. For some simple angles, the values can be computed by hand, as in the following examples:
Suppose we have a right triangle where the two other angles are equal, and therefore = 45 degrees (π/4 radians). Then the length of side b and the length of side a are equal; we can choose a = b= 1. Now, one can determine the sin, cos and tan of an angle of 45 degrees. Using the Pythagorean Theorem, c = √(a2 + b2) = √2. This is illustrated in the following figure:
Therefore,
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.
The equation for the unit circle is:
In the picture, some common angles, measured in radians, are given. Note that we measure angles positive in the counter clockwise direction and angles negative in the clockwise direction. The coordinates of where a line that makes an angle θ with the positive half of the x-axis intersects the circle are equal to cosθ and sinθ, respectively. The triangle in the graphic reveals the reason: the radius is equal to the hypotenuse and has length 1, 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 length 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π:
Though only sine and cosine were defined directly by the unit circle, the other four trig functions can be defined by
Series definitions
Here, and generally in calculus, it is of utmost importance that all angles are measured in radians. One may then define
Inverse functions
The trigonometric functions are not monotonic, so their inverses are not unique. The principle inverses are usually defined as:
These functions are each equivalent to an integral:
Properties and applications
The trigonometric functions, as the name suggests, are of crucial importance in trigonometry, mainly because of the following two results:
The law of sines for an arbitrary triangle states:
- sin(A)/a = sin(B)/b = sin(C)/c
If the angle is not contained between the two sides, the triangle may not be unique. Be aware of this ambiguous case of the Sine Law.
The law of cosines is an extension to the Pythagorean theorem:
- c2 = a2 + b2 − 2ab cos(C)
There is also a law of tangents:
For a compilation of many relations between the trigonometric functions, see trigonometric identities.
An alternative use for trigonometric functions is to make pretty patterns.
See also:


