Trigonometric functions

From testwiki
Revision as of 01:46, 23 February 2025 by imported>Joyous! (Reverted 1 edit by ImpossibleJ121 (talk) to last revision by Quantling)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description Template:Redir Template:Redir Template:Use dmy dates

Error creating thumbnail:
Basis of trigonometry: if two right triangles have equal acute angles, they are similar, so their corresponding side lengths are proportional.

In mathematics, the trigonometric functions (also called circular functions, angle functions or goniometric functions)Template:R are real functions which relate an angle of a right-angled triangle to ratios of two side lengths. They are widely used in all sciences that are related to geometry, such as navigation, solid mechanics, celestial mechanics, geodesy, and many others. They are among the simplest periodic functions, and as such are also widely used for studying periodic phenomena through Fourier analysis. Template:Trigonometry

The trigonometric functions most widely used in modern mathematics are the sine, the cosine, and the tangent functions. Their reciprocals are respectively the cosecant, the secant, and the cotangent functions, which are less used. Each of these six trigonometric functions has a corresponding inverse function, and an analog among the hyperbolic functions.

The oldest definitions of trigonometric functions, related to right-angle triangles, define them only for acute angles. To extend the sine and cosine functions to functions whose domain is the whole real line, geometrical definitions using the standard unit circle (i.e., a circle with radius 1 unit) are often used; then the domain of the other functions is the real line with some isolated points removed. Modern definitions express trigonometric functions as infinite series or as solutions of differential equations. This allows extending the domain of sine and cosine functions to the whole complex plane, and the domain of the other trigonometric functions to the complex plane with some isolated points removed.

Notation

Conventionally, an abbreviation of each trigonometric function's name is used as its symbol in formulas. Today, the most common versions of these abbreviations are "sin" for sine, "cos" for cosine, "tan" or "tg" for tangent, "sec" for secant, "csc" or "cosec" for cosecant, and "cot" or "ctg" for cotangent. Historically, these abbreviations were first used in prose sentences to indicate particular line segments or their lengths related to an arc of an arbitrary circle, and later to indicate ratios of lengths, but as the function concept developed in the 17th–18th century, they began to be considered as functions of real-number-valued angle measures, and written with functional notation, for example Template:Math. Parentheses are still often omitted to reduce clutter, but are sometimes necessary; for example the expression sinx+y would typically be interpreted to mean sin(x)+y, so parentheses are required to express sin(x+y).

A positive integer appearing as a superscript after the symbol of the function denotes exponentiation, not function composition. For example sin2x and sin2(x) denote sin(x)sin(x), not sin(sinx). This differs from the (historically later) general functional notation in which f2(x)=(ff)(x)=f(f(x)).

However, the exponent 1 is commonly used to denote the inverse function, not the reciprocal. For example sin1x and sin1(x) denote the inverse trigonometric function alternatively written arcsinx: The equation θ=sin1x implies sinθ=x, not θsinx=1. In this case, the superscript could be considered as denoting a composed or iterated function, but negative superscripts other than 1 are not in common use.

Right-angled triangle definitions

In this right triangle, denoting the measure of angle BAC as A: Template:Math; Template:Math; Template:Math.
Error creating thumbnail:
Plot of the six trigonometric functions, the unit circle, and a line for the angle Template:Math. The points labeled Template:Color, Template:Color, Template:Color represent the length of the line segment from the origin to that point. Template:Color, Template:Color, and Template:Color are the heights to the line starting from the Template:Mvar-axis, while Template:Color, Template:Color, and Template:Color are lengths along the Template:Mvar-axis starting from the origin.

If the acute angle Template:Mvar is given, then any right triangles that have an angle of Template:Mvar are similar to each other. This means that the ratio of any two side lengths depends only on Template:Mvar. Thus these six ratios define six functions of Template:Mvar, which are the trigonometric functions. In the following definitions, the hypotenuse is the length of the side opposite the right angle, opposite represents the side opposite the given angle Template:Mvar, and adjacent represents the side between the angle Template:Mvar and the right angle.[1][2]

sine
sinθ=oppositehypotenuse
cosecant
cscθ=hypotenuseopposite
cosine
cosθ=adjacenthypotenuse
secant
secθ=hypotenuseadjacent
tangent
tanθ=oppositeadjacent
cotangent
cotθ=adjacentopposite

Various mnemonics can be used to remember these definitions.

In a right-angled triangle, the sum of the two acute angles is a right angle, that is, Template:Math or Template:Math. Therefore sin(θ) and cos(90θ) represent the same ratio, and thus are equal. This identity and analogous relationships between the other trigonometric functions are summarized in the following table.

Error creating thumbnail:
Top: Trigonometric function Template:Math for selected angles Template:Math, Template:Math, Template:Math, and Template:Math in the four quadrants.
Bottom: Graph of sine versus angle. Angles from the top panel are identified.
Summary of relationships between trigonometric functions[3]
Function Description Relationship
using radians using degrees
sine Template:Math sinθ=cos(π2θ)=1cscθ sinx=cos(90x)=1cscx
cosine Template:Math cosθ=sin(π2θ)=1secθ cosx=sin(90x)=1secx
tangent Template:Math tanθ=sinθcosθ=cot(π2θ)=1cotθ tanx=sinxcosx=cot(90x)=1cotx
cotangent Template:Math cotθ=cosθsinθ=tan(π2θ)=1tanθ cotx=cosxsinx=tan(90x)=1tanx
secant Template:Math secθ=csc(π2θ)=1cosθ secx=csc(90x)=1cosx
cosecant Template:Math cscθ=sec(π2θ)=1sinθ cscx=sec(90x)=1sinx

Radians versus degrees

In geometric applications, the argument of a trigonometric function is generally the measure of an angle. For this purpose, any angular unit is convenient. One common unit is degrees, in which a right angle is 90° and a complete turn is 360° (particularly in elementary mathematics).

However, in calculus and mathematical analysis, the trigonometric functions are generally regarded more abstractly as functions of real or complex numbers, rather than angles. In fact, the functions Template:Math and Template:Math can be defined for all complex numbers in terms of the exponential function, via power series,[4] or as solutions to differential equations given particular initial values[5] (see below), without reference to any geometric notions. The other four trigonometric functions (Template:Math, Template:Math, Template:Math, Template:Math) can be defined as quotients and reciprocals of Template:Math and Template:Math, except where zero occurs in the denominator. It can be proved, for real arguments, that these definitions coincide with elementary geometric definitions if the argument is regarded as an angle in radians.[4] Moreover, these definitions result in simple expressions for the derivatives and indefinite integrals for the trigonometric functions.[6] Thus, in settings beyond elementary geometry, radians are regarded as the mathematically natural unit for describing angle measures.

When radians (rad) are employed, the angle is given as the length of the arc of the unit circle subtended by it: the angle that subtends an arc of length 1 on the unit circle is 1 rad (≈ 57.3°), and a complete turn (360°) is an angle of 2Template:Pi (≈ 6.28) rad. For real number x, the notation Template:Math, Template:Math, etc. refers to the value of the trigonometric functions evaluated at an angle of x rad. If units of degrees are intended, the degree sign must be explicitly shown (Template:Math, Template:Math, etc.). Using this standard notation, the argument x for the trigonometric functions satisfies the relationship x = (180x/Template:Pi)°, so that, for example, Template:Math when we take x = Template:Pi. In this way, the degree symbol can be regarded as a mathematical constant such that 1° = Template:Pi/180 ≈ 0.0175.

Unit-circle definitions

Error creating thumbnail:
All of the trigonometric functions of the angle Template:Math (theta) can be constructed geometrically in terms of a unit circle centered at O.
Sine function on unit circle (top) and its graph (bottom)
Error creating thumbnail:
In this illustration, the six trigonometric functions of an arbitrary angle Template:Math are represented as Cartesian coordinates of points related to the unit circle. The Template:Mvar-axis ordinates of Template:Math, Template:Math and Template:Math are Template:Math, Template:Math and Template:Math, respectively, while the Template:Mvar-axis abscissas of Template:Math, Template:Math and Template:Math are Template:Math, Template:Math and Template:Math, respectively.
File:Trigonometric function quadrant sign.svg
Signs of trigonometric functions in each quadrant. Mnemonics like "all students take calculus" indicates when sine, cosine, and tangent are positive from quadrants I to IV.[7]

The six trigonometric functions can be defined as coordinate values of points on the Euclidean plane that are related to the unit circle, which is the circle of radius one centered at the origin Template:Math of this coordinate system. While right-angled triangle definitions allow for the definition of the trigonometric functions for angles between Template:Math and π2 radians Template:Math the unit circle definitions allow the domain of trigonometric functions to be extended to all positive and negative real numbers.

Let be the ray obtained by rotating by an angle Template:Mvar the positive half of the Template:Math-axis (counterclockwise rotation for θ>0, and clockwise rotation for θ<0). This ray intersects the unit circle at the point A=(xA,yA). The ray , extended to a line if necessary, intersects the line of equation x=1 at point B=(1,yB), and the line of equation y=1 at point C=(xC,1). The tangent line to the unit circle at the point Template:Math, is perpendicular to , and intersects the Template:Math- and Template:Math-axes at points D=(0,yD) and E=(xE,0). The coordinates of these points give the values of all trigonometric functions for any arbitrary real value of Template:Mvar in the following manner.

The trigonometric functions Template:Math and Template:Math are defined, respectively, as the x- and y-coordinate values of point Template:Math. That is,

cosθ=xA and sinθ=yA.[8]

In the range 0θπ/2, this definition coincides with the right-angled triangle definition, by taking the right-angled triangle to have the unit radius Template:Math as hypotenuse. And since the equation x2+y2=1 holds for all points P=(x,y) on the unit circle, this definition of cosine and sine also satisfies the Pythagorean identity.

cos2θ+sin2θ=1.

The other trigonometric functions can be found along the unit circle as

tanθ=yB and cotθ=xC,
cscθ =yD and secθ=xE.

By applying the Pythagorean identity and geometric proof methods, these definitions can readily be shown to coincide with the definitions of tangent, cotangent, secant and cosecant in terms of sine and cosine, that is

tanθ=sinθcosθ,cotθ=cosθsinθ,secθ=1cosθ,cscθ=1sinθ.
Trigonometric functions: Template:Color, Template:Color, Template:Color, Template:Color, Template:Color, Template:Coloranimation

Since a rotation of an angle of ±2π does not change the position or size of a shape, the points Template:Math, Template:Math, Template:Math, Template:Math, and Template:Math are the same for two angles whose difference is an integer multiple of 2π. Thus trigonometric functions are periodic functions with period 2π. That is, the equalities

sinθ=sin(θ+2kπ) and cosθ=cos(θ+2kπ)

hold for any angle Template:Mvar and any integer Template:Mvar. The same is true for the four other trigonometric functions. By observing the sign and the monotonicity of the functions sine, cosine, cosecant, and secant in the four quadrants, one can show that 2π is the smallest value for which they are periodic (i.e., 2π is the fundamental period of these functions). However, after a rotation by an angle π, the points Template:Mvar and Template:Mvar already return to their original position, so that the tangent function and the cotangent function have a fundamental period of π. That is, the equalities

tanθ=tan(θ+kπ) and cotθ=cot(θ+kπ)

hold for any angle Template:Mvar and any integer Template:Mvar.

Algebraic values

Error creating thumbnail:
The unit circle, with some points labeled with their cosine and sine (in this order), and the corresponding angles in radians and degrees.

The algebraic expressions for the most important angles are as follows:

sin0=sin0=02=0 (zero angle)
sinπ6=sin30=12=12
sinπ4=sin45=22=12
sinπ3=sin60=32
sinπ2=sin90=42=1 (right angle)

Writing the numerators as square roots of consecutive non-negative integers, with a denominator of 2, provides an easy way to remember the values.[9]

Such simple expressions generally do not exist for other angles which are rational multiples of a right angle.

Simple algebraic values

Template:Main

The following table lists the sines, cosines, and tangents of multiples of 15 degrees from 0 to 90 degrees.

Angle, θ, in sin(θ) cos(θ) tan(θ)
radians degrees
0 0 0 1 0
π12 15 624 6+24 23
π6 30 12 32 33
π4 45 22 22 1
π3 60 32 12 3
5π12 75 6+24 624 2+3
π2 90 1 0 Template:N/a

Definitions in analysis

Error creating thumbnail:
Graphs of sine, cosine and tangent
Error creating thumbnail:
The sine function (blue) is closely approximated by its Taylor polynomial of degree 7 (pink) for a full cycle centered on the origin.
File:Taylor cos.gif
Animation for the approximation of cosine via Taylor polynomials.
cos(x) together with the first Taylor polynomials pn(x)=k=0n(1)kx2k(2k)!

G. H. Hardy noted in his 1908 work A Course of Pure Mathematics that the definition of the trigonometric functions in terms of the unit circle is not satisfactory, because it depends implicitly on a notion of angle that can be measured by a real number.[10] Thus in modern analysis, trigonometric functions are usually constructed without reference to geometry.

Various ways exist in the literature for defining the trigonometric functions in a manner suitable for analysis; they include:

  • Using the "geometry" of the unit circle, which requires formulating the arc length of a circle (or area of a sector) analytically.[10]
  • By a power series, which is particularly well-suited to complex variables.[10][11]
  • By using an infinite product expansion.[10]
  • By inverting the inverse trigonometric functions, which can be defined as integrals of algebraic or rational functions.[10]
  • As solutions of a differential equation.[12]

Definition by differential equations

Sine and cosine can be defined as the unique solution to the initial value problem:Template:Sfn

ddxsinx=cosx, ddxcosx=sinx, sin(0)=0, cos(0)=1.

Differentiating again, d2dx2sinx=ddxcosx=sinx and d2dx2cosx=ddxsinx=cosx, so both sine and cosine are solutions of the same ordinary differential equation

y+y=0.

Sine is the unique solution with Template:Math and Template:Math; cosine is the unique solution with Template:Math and Template:Math.

One can then prove, as a theorem, that solutions cos,sin are periodic, having the same period. Writing this period as 2π is then a definition of the real number π which is independent of geometry.

Applying the quotient rule to the tangent tanx=sinx/cosx,

ddxtanx=cos2x+sin2xcos2x=1+tan2x,

so the tangent function satisfies the ordinary differential equation

y=1+y2.

It is the unique solution with Template:Math.

Power series expansion

The basic trigonometric functions can be defined by the following power series expansions.[13] These series are also known as the Taylor series or Maclaurin series of these trigonometric functions:

sinx=xx33!+x55!x77!+=n=0(1)n(2n+1)!x2n+1cosx=1x22!+x44!x66!+=n=0(1)n(2n)!x2n.

The radius of convergence of these series is infinite. Therefore, the sine and the cosine can be extended to entire functions (also called "sine" and "cosine"), which are (by definition) complex-valued functions that are defined and holomorphic on the whole complex plane.

Term-by-term differentiation shows that the sine and cosine defined by the series obey the differential equation discussed previously, and conversely one can obtain these series from elementary recursion relations derived from the differential equation.

Being defined as fractions of entire functions, the other trigonometric functions may be extended to meromorphic functions, that is functions that are holomorphic in the whole complex plane, except some isolated points called poles. Here, the poles are the numbers of the form (2k+1)π2 for the tangent and the secant, or kπ for the cotangent and the cosecant, where Template:Mvar is an arbitrary integer.

Recurrences relations may also be computed for the coefficients of the Taylor series of the other trigonometric functions. These series have a finite radius of convergence. Their coefficients have a combinatorial interpretation: they enumerate alternating permutations of finite sets.[14]

More precisely, defining

Template:Mvar, the Template:Mvarth up/down number,
Template:Mvar, the Template:Mvarth Bernoulli number, and
Template:Mvar, is the Template:Mvarth Euler number,

one has the following series expansions:[15]

tanx=n=0U2n+1(2n+1)!x2n+1=n=1(1)n122n(22n1)B2n(2n)!x2n1=x+13x3+215x5+17315x7+,for |x|<π2.
cscx=n=0(1)n+12(22n11)B2n(2n)!x2n1=x1+16x+7360x3+3115120x5+,for 0<|x|<π.
secx=n=0U2n(2n)!x2n=n=0(1)nE2n(2n)!x2n=1+12x2+524x4+61720x6+,for |x|<π2.
cotx=n=0(1)n22nB2n(2n)!x2n1=x113x145x32945x5,for 0<|x|<π.

Continued fraction expansion

The following continued fractions are valid in the whole complex plane:

sinx=x1+x223x2+23x245x2+45x267x2+
cosx=11+x212x2+12x234x2+34x256x2+
tanx=x1x23x25x27=11x13x15x17x

The last one was used in the historically first proof that π is irrational.[16]

Partial fraction expansion

There is a series representation as partial fraction expansion where just translated reciprocal functions are summed up, such that the poles of the cotangent function and the reciprocal functions match:[17]

πcotπx=limNn=NN1x+n.

This identity can be proved with the Herglotz trick.[18] Combining the Template:Mathth with the Template:Mathth term lead to absolutely convergent series:

πcotπx=1x+2xn=11x2n2.

Similarly, one can find a partial fraction expansion for the secant, cosecant and tangent functions:

πcscπx=n=(1)nx+n=1x+2xn=1(1)nx2n2,
π2csc2πx=n=1(x+n)2,
πsecπx=n=0(1)n(2n+1)(n+12)2x2,
πtanπx=2xn=01(n+12)2x2.

Infinite product expansion

The following infinite product for the sine is due to Leonhard Euler, and is of great importance in complex analysis:[19]

sinz=zn=1(1z2n2π2),z.

This may be obtained from the partial fraction decomposition of cotz given above, which is the logarithmic derivative of sinz.[20] From this, it can be deduced also that

cosz=n=1(1z2(n1/2)2π2),z.

Euler's formula and the exponential function

File:Sinus und Kosinus am Einheitskreis 3.svg
cos(θ) and sin(θ) are the real and imaginary part of eiθ respectively.

Euler's formula relates sine and cosine to the exponential function:

eix=cosx+isinx.

This formula is commonly considered for real values of Template:Mvar, but it remains true for all complex values.

Proof: Let f1(x)=cosx+isinx, and f2(x)=eix. One has dfj(x)/dx=ifj(x) for Template:Math. The quotient rule implies thus that d/dx(f1(x)/f2(x))=0. Therefore, f1(x)/f2(x) is a constant function, which equals Template:Val, as f1(0)=f2(0)=1. This proves the formula.

One has

eix=cosx+isinxeix=cosxisinx.

Solving this linear system in sine and cosine, one can express them in terms of the exponential function:

sinx=eixeix2icosx=eix+eix2.

When Template:Mvar is real, this may be rewritten as

cosx=Re(eix),sinx=Im(eix).

Most trigonometric identities can be proved by expressing trigonometric functions in terms of the complex exponential function by using above formulas, and then using the identity ea+b=eaeb for simplifying the result.

Euler's formula can also be used to define the basic trigonometric function directly, as follows, using the language of topological groups.[21] The set U of complex numbers of unit modulus is a compact and connected topological group, which has a neighborhood of the identity that is homeomorphic to the real line. Therefore, it is isomorphic as a topological group to the one-dimensional torus group /, via an isomorphism e:/U. In pedestrian terms e(t)=exp(2πit), and this isomorphism is unique up to taking complex conjugates.

For a nonzero real number a (the base), the function te(t/a) defines an isomorphism of the group /aU. The real and imaginary parts of e(t/a) are the cosine and sine, where a is used as the base for measuring angles. For example, when a=2π, we get the measure in radians, and the usual trigonometric functions. When a=360, we get the sine and cosine of angles measured in degrees.

Note that a=2π is the unique value at which the derivative ddte(t/a) becomes a unit vector with positive imaginary part at t=0. This fact can, in turn, be used to define the constant 2π.

Definition via integration

Another way to define the trigonometric functions in analysis is using integration.[10][22] For a real number t, put θ(t)=0tdτ1+τ2=arctant where this defines this inverse tangent function. Also, π is defined by 12π=0dτ1+τ2 a definition that goes back to Karl Weierstrass.[23]

On the interval π/2<θ<π/2, the trigonometric functions are defined by inverting the relation θ=arctant. Thus we define the trigonometric functions by tanθ=t,cosθ=(1+t2)1/2,sinθ=t(1+t2)1/2 where the point (t,θ) is on the graph of θ=arctant and the positive square root is taken.

This defines the trigonometric functions on (π/2,π/2). The definition can be extended to all real numbers by first observing that, as θπ/2, t, and so cosθ=(1+t2)1/20 and sinθ=t(1+t2)1/21. Thus cosθ and sinθ are extended continuously so that cos(π/2)=0,sin(π/2)=1. Now the conditions cos(θ+π)=cos(θ) and sin(θ+π)=sin(θ) define the sine and cosine as periodic functions with period 2π, for all real numbers.

Proving the basic properties of sine and cosine, including the fact that sine and cosine are analytic, one may first establish the addition formulae. First, arctans+arctant=arctans+t1st holds, provided arctans+arctant(π/2,π/2), since arctans+arctant=stdτ1+τ2=0s+t1stdτ1+τ2 after the substitution τs+τ1sτ. In particular, the limiting case as s gives arctant+π2=arctan(1/t),t(,0). Thus we have sin(θ+π2)=1t1+(1/t)2=11+t2=cos(θ) and cos(θ+π2)=11+(1/t)2=t1+t2=sin(θ). So the sine and cosine functions are related by translation over a quarter period π/2.

Definitions using functional equations

One can also define the trigonometric functions using various functional equations.

For example,[24] the sine and the cosine form the unique pair of continuous functions that satisfy the difference formula

cos(xy)=cosxcosy+sinxsiny

and the added condition

0<xcosx<sinx<x for 0<x<1.

In the complex plane

The sine and cosine of a complex number z=x+iy can be expressed in terms of real sines, cosines, and hyperbolic functions as follows:

sinz=sinxcoshy+icosxsinhycosz=cosxcoshyisinxsinhy

By taking advantage of domain coloring, it is possible to graph the trigonometric functions as complex-valued functions. Various features unique to the complex functions can be seen from the graph; for example, the sine and cosine functions can be seen to be unbounded as the imaginary part of z becomes larger (since the color white represents infinity), and the fact that the functions contain simple zeros or poles is apparent from the fact that the hue cycles around each zero or pole exactly once. Comparing these graphs with those of the corresponding Hyperbolic functions highlights the relationships between the two.

Trigonometric functions in the complex plane
File:Trig-sin.png

sinz

File:Trig-cos.png

cosz

tanz

Error creating thumbnail:

cotz

File:Trig-sec.png

secz

File:Trig-csc.png

cscz

Periodicity and asymptotes

The cosine and sine functions are periodic, with period 2π, which is the smallest positive period: cos(z+2π)=cos(z),sin(z+2π)=sin(z). Consequently, the secant and cosecant also have 2π as their period. The functions sine and cosine also have semiperiods π, and cos(z+π)=cos(z),sin(z+π)=sin(z) and consequently tan(z+π)=tan(z),cot(z+π)=cot(z). Also, cos(x+π/2)=sin(x),sin(x+π/2)=cos(x). The function sin(z) has a unique zero (at z=0) in the strip π<(z)<π. The function cos(z) has the pair of zeros z=±π/2 in the same strip. Because of the periodicity, the zeros of sine are π={,2π,π,0,π,2π,}. There zeros of cosine are π2+π={,3π2,π2,π2,3π2,}. All of the zeros are simple zeros, and both functions have derivative ±1 at each of the zeros.

The tangent function tan(z)=sin(z)/cos(z) has a simple zero at z=0 and vertical asymptotes at z=±π/2, where it has a simple pole of residue 1. Again, owing to the periodicity, the zeros are all the integer multiples of π and the poles are odd multiples of π/2, all having the same residue. The poles correspond to vertical asymptotes limxπtan(x)=+,limxπ+tan(x)=.

The cotangent function cot(z)=cos(z)/sin(z) has a simple pole of residue 1 at the integer multiples of π and simple zeros at odd multiples of π/2. The poles correspond to vertical asymptotes limx0cot(x)=,limx0+cot(x)=+.

Basic identities

Many identities interrelate the trigonometric functions. This section contains the most basic ones; for more identities, see List of trigonometric identities. These identities may be proved geometrically from the unit-circle definitions or the right-angled-triangle definitions (although, for the latter definitions, care must be taken for angles that are not in the interval Template:Math, see Proofs of trigonometric identities). For non-geometrical proofs using only tools of calculus, one may use directly the differential equations, in a way that is similar to that of the above proof of Euler's identity. One can also use Euler's identity for expressing all trigonometric functions in terms of complex exponentials and using properties of the exponential function.

Parity

The cosine and the secant are even functions; the other trigonometric functions are odd functions. That is:

sin(x)=sinxcos(x)=cosxtan(x)=tanxcot(x)=cotxcsc(x)=cscxsec(x)=secx.

Periods

All trigonometric functions are periodic functions of period Template:Math. This is the smallest period, except for the tangent and the cotangent, which have Template:Pi as smallest period. This means that, for every integer Template:Mvar, one has

sin(x+2kπ)=sinxcos(x+2kπ)=cosxtan(x+kπ)=tanxcot(x+kπ)=cotxcsc(x+2kπ)=cscxsec(x+2kπ)=secx.

Pythagorean identity

The Pythagorean identity, is the expression of the Pythagorean theorem in terms of trigonometric functions. It is

sin2x+cos2x=1.

Dividing through by either cos2x or sin2x gives

tan2x+1=sec2x

and

1+cot2x=csc2x.

Sum and difference formulas

The sum and difference formulas allow expanding the sine, the cosine, and the tangent of a sum or a difference of two angles in terms of sines and cosines and tangents of the angles themselves. These can be derived geometrically, using arguments that date to Ptolemy. One can also produce them algebraically using Euler's formula.

Sum
sin(x+y)=sinxcosy+cosxsiny,cos(x+y)=cosxcosysinxsiny,tan(x+y)=tanx+tany1tanxtany.
Difference
sin(xy)=sinxcosycosxsiny,cos(xy)=cosxcosy+sinxsiny,tan(xy)=tanxtany1+tanxtany.

When the two angles are equal, the sum formulas reduce to simpler equations known as the double-angle formulae.

sin2x=2sinxcosx=2tanx1+tan2x,cos2x=cos2xsin2x=2cos2x1=12sin2x=1tan2x1+tan2x,tan2x=2tanx1tan2x.

These identities can be used to derive the product-to-sum identities.

By setting t=tan12θ, all trigonometric functions of θ can be expressed as rational fractions of t:

sinθ=2t1+t2,cosθ=1t21+t2,tanθ=2t1t2.

Together with

dθ=21+t2dt,

this is the tangent half-angle substitution, which reduces the computation of integrals and antiderivatives of trigonometric functions to that of rational fractions.

Derivatives and antiderivatives

The derivatives of trigonometric functions result from those of sine and cosine by applying the quotient rule. The values given for the antiderivatives in the following table can be verified by differentiating them. The number Template:Mvar is a constant of integration.

f(x) f(x) f(x)dx
sinx cosx cosx+C
cosx sinx sinx+C
tanx sec2x ln|secx|+C
cscx cscxcotx ln|cscxcotx|+C
secx secxtanx ln|secx+tanx|+C
cotx csc2x ln|cscx|+C

Note: For 0<x<π the integral of cscx can also be written as arsinh(cotx), and for the integral of secx for π/2<x<π/2 as arsinh(tanx), where arsinh is the inverse hyperbolic sine.

Alternatively, the derivatives of the 'co-functions' can be obtained using trigonometric identities and the chain rule:

dcosxdx=ddxsin(π/2x)=cos(π/2x)=sinx,dcscxdx=ddxsec(π/2x)=sec(π/2x)tan(π/2x)=cscxcotx,dcotxdx=ddxtan(π/2x)=sec2(π/2x)=csc2x.

Inverse functions

Template:Main The trigonometric functions are periodic, and hence not injective, so strictly speaking, they do not have an inverse function. However, on each interval on which a trigonometric function is monotonic, one can define an inverse function, and this defines inverse trigonometric functions as multivalued functions. To define a true inverse function, one must restrict the domain to an interval where the function is monotonic, and is thus bijective from this interval to its image by the function. The common choice for this interval, called the set of principal values, is given in the following table. As usual, the inverse trigonometric functions are denoted with the prefix "arc" before the name or its abbreviation of the function.

Function Definition Domain Set of principal values
y=arcsinx siny=x 1x1 π2yπ2
y=arccosx cosy=x 1x1 0yπ
y=arctanx tany=x <x< π2<y<π2
y=arccotx coty=x <x< 0<y<π
y=arcsecx secy=x x<1 or x>1 0yπ,yπ2
y=arccscx cscy=x x<1 or x>1 π2yπ2,y0

The notations Template:Math, Template:Math, etc. are often used for Template:Math and Template:Math, etc. When this notation is used, inverse functions could be confused with multiplicative inverses. The notation with the "arc" prefix avoids such a confusion, though "arcsec" for arcsecant can be confused with "arcsecond".

Just like the sine and cosine, the inverse trigonometric functions can also be expressed in terms of infinite series. They can also be expressed in terms of complex logarithms.

Applications

Template:Main

Angles and sides of a triangle

In this section Template:Mvar, Template:Mvar, Template:Mvar denote the three (interior) angles of a triangle, and Template:Mvar, Template:Mvar, Template:Mvar denote the lengths of the respective opposite edges. They are related by various formulas, which are named by the trigonometric functions they involve.

Law of sines

Template:Main The law of sines states that for an arbitrary triangle with sides Template:Mvar, Template:Mvar, and Template:Mvar and angles opposite those sides Template:Mvar, Template:Mvar and Template:Mvar: sinAa=sinBb=sinCc=2Δabc, where Template:Math is the area of the triangle, or, equivalently, asinA=bsinB=csinC=2R, where Template:Mvar is the triangle's circumradius.

It can be proved by dividing the triangle into two right ones and using the above definition of sine. 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

Template:Main The law of cosines (also known as the cosine formula or cosine rule) is an extension of the Pythagorean theorem: c2=a2+b22abcosC, or equivalently, cosC=a2+b2c22ab.

In this formula the angle at Template:Mvar is opposite to the side Template:Mvar. This theorem can be proved by dividing the triangle into two right ones and using the Pythagorean theorem.

The law of cosines can be used to determine a side of a triangle if two sides and the angle between them are known. It can also be used to find the cosines of an angle (and consequently the angles themselves) if the lengths of all the sides are known.

Law of tangents

Template:Main The law of tangents says that:

tanAB2tanA+B2=aba+b.

Law of cotangents

Template:Main If s is the triangle's semiperimeter, (a + b + c)/2, and r is the radius of the triangle's incircle, then rs is the triangle's area. Therefore Heron's formula implies that:

r=1s(sa)(sb)(sc).

The law of cotangents says that:[25]

cotA2=sar

It follows that

cotA2sa=cotB2sb=cotC2sc=1r.

Periodic functions

Error creating thumbnail:
A Lissajous curve, a figure formed with a trigonometry-based function.
File:Synthesis square.gif
An animation of the additive synthesis of a square wave with an increasing number of harmonics
File:Sawtooth Fourier Animation.gif
Sinusoidal basis functions (bottom) can form a sawtooth wave (top) when added. All the basis functions have nodes at the nodes of the sawtooth, and all but the fundamental (Template:Math) have additional nodes. The oscillation seen about the sawtooth when Template:Mvar is large is called the Gibbs phenomenon.

The trigonometric functions are also important in physics. The sine and the cosine functions, for example, are used to describe simple harmonic motion, which models many natural phenomena, such as the movement of a mass attached to a spring and, for small angles, the pendular motion of a mass hanging by a string. The sine and cosine functions are one-dimensional projections of uniform circular motion.

Trigonometric functions also prove to be useful in the study of general periodic functions. The characteristic wave patterns of periodic functions are useful for modeling recurring phenomena such as sound or light waves.[26]

Under rather general conditions, a periodic function Template:Math can be expressed as a sum of sine waves or cosine waves in a Fourier series.[27] Denoting the sine or cosine basis functions by Template:Mvar, the expansion of the periodic function Template:Math takes the form: f(t)=k=1ckφk(t).

For example, the square wave can be written as the Fourier series fsquare(t)=4πk=1sin((2k1)t)2k1.

In the animation of a square wave at top right it can be seen that just a few terms already produce a fairly good approximation. The superposition of several terms in the expansion of a sawtooth wave are shown underneath.

History

Template:Main While the early study of trigonometry can be traced to antiquity, the trigonometric functions as they are in use today were developed in the medieval period. The chord function was defined by Hipparchus of Nicaea (180–125 BCE) and Ptolemy of Roman Egypt (90–165 CE). The functions of sine and versine (1 – cosine) are closely related to the jyā and koti-jyā functions used in Gupta period Indian astronomy (Aryabhatiya, Surya Siddhanta), via translation from Sanskrit to Arabic and then from Arabic to Latin.[28] (See Aryabhata's sine table.)

All six trigonometric functions in current use were known in Islamic mathematics by the 9th century, as was the law of sines, used in solving triangles.[29] Al-Khwārizmī (c. 780–850) produced tables of sines and cosines. Circa 860, Habash al-Hasib al-Marwazi defined the tangent and the cotangent, and produced their tables.[30][31] Muhammad ibn Jābir al-Harrānī al-Battānī (853–929) defined the reciprocal functions of secant and cosecant, and produced the first table of cosecants for each degree from 1° to 90°.[31] The trigonometric functions were later studied by mathematicians including Omar Khayyám, Bhāskara II, Nasir al-Din al-Tusi, Jamshīd al-Kāshī (14th century), Ulugh Beg (14th century), Regiomontanus (1464), Rheticus, and Rheticus' student Valentinus Otho.

Madhava of Sangamagrama (c. 1400) made early strides in the analysis of trigonometric functions in terms of infinite series.[32] (See Madhava series and Madhava's sine table.)

The tangent function was brought to Europe by Giovanni Bianchini in 1467 in trigonometry tables he created to support the calculation of stellar coordinates.[33]

The terms tangent and secant were first introduced by the Danish mathematician Thomas Fincke in his book Geometria rotundi (1583).[34]

The 17th century French mathematician Albert Girard made the first published use of the abbreviations sin, cos, and tan in his book Trigonométrie.[35]

In a paper published in 1682, Gottfried Leibniz proved that Template:Math is not an algebraic function of Template:Mvar.[36] Though defined as ratios of sides of a right triangle, and thus appearing to be rational functions, Leibnitz result established that they are actually transcendental functions of their argument. The task of assimilating circular functions into algebraic expressions was accomplished by Euler in his Introduction to the Analysis of the Infinite (1748). His method was to show that the sine and cosine functions are alternating series formed from the even and odd terms respectively of the exponential series. He presented "Euler's formula", as well as near-modern abbreviations (sin., cos., tang., cot., sec., and cosec.).[28]

A few functions were common historically, but are now seldom used, such as the chord, versine (which appeared in the earliest tables[28]), haversine, coversine,[37] half-tangent (tangent of half an angle), and exsecant. List of trigonometric identities shows more relations between these functions.

crdθ=2sin12θ,versθ=1cosθ=2sin212θ,havθ=12versθ=sin212θ,coversθ=1sinθ=vers(12πθ),exsecθ=secθ1.

Template:AnchorHistorically, trigonometric functions were often combined with logarithms in compound functions like the logarithmic sine, logarithmic cosine, logarithmic secant, logarithmic cosecant, logarithmic tangent and logarithmic cotangent.[38][39][40][41]

Etymology

Template:Main The word Template:Lang derives[42] from Latin sinus, meaning "bend; bay", and more specifically "the hanging fold of the upper part of a toga", "the bosom of a garment", which was chosen as the translation of what was interpreted as the Arabic word jaib, meaning "pocket" or "fold" in the twelfth-century translations of works by Al-Battani and al-Khwārizmī into Medieval Latin.[43] The choice was based on a misreading of the Arabic written form j-y-b (Template:Lang), which itself originated as a transliteration from Sanskrit Template:IAST, which along with its synonym Template:IAST (the standard Sanskrit term for the sine) translates to "bowstring", being in turn adopted from Ancient Greek Template:Lang "string".[44]

The word tangent comes from Latin tangens meaning "touching", since the line touches the circle of unit radius, whereas secant stems from Latin secans—"cutting"—since the line cuts the circle.[45]

The prefix "co-" (in "cosine", "cotangent", "cosecant") is found in Edmund Gunter's Canon triangulorum (1620), which defines the cosinus as an abbreviation for the sinus complementi (sine of the complementary angle) and proceeds to define the cotangens similarly.[46][47]

See also

Template:Colbegin

Template:Colend

Notes

Template:Notelist Template:Reflist

References

Template:Refbegin

Template:Refend

Template:Wikibooks

Template:Trigonometric and hyperbolic functions

Template:Authority control

  1. Template:Harvtxt
  2. Template:Cite web
  3. Template:Harvtxt
  4. 4.0 4.1 Template:Cite book
  5. Template:Cite journal
  6. Template:Cite book
  7. Template:Cite book
  8. Template:Cite web
  9. Cite error: Invalid <ref> tag; no text was provided for refs named Larson_2013
  10. 10.0 10.1 10.2 10.3 10.4 10.5 Template:Citation
  11. Whittaker, E. T., & Watson, G. N. (1920). A course of modern analysis: an introduction to the general theory of infinite processes and of analytic functions; with an account of the principal transcendental functions. University press.
  12. Bartle, R. G., & Sherbert, D. R. (2000). Introduction to real analysis (3rd ed). Wiley.
  13. Whitaker and Watson, p 584
  14. Stanley, Enumerative Combinatorics, Vol I., p. 149
  15. Abramowitz; Weisstein.
  16. Template:Citation
  17. Cite error: Invalid <ref> tag; no text was provided for refs named Aigner_2000
  18. Cite error: Invalid <ref> tag; no text was provided for refs named Remmert_1991
  19. Whittaker and Watson, p 137
  20. Ahlfors, p 197
  21. Template:Cite book
  22. Template:Citation
  23. Template:Cite book
  24. Cite error: Invalid <ref> tag; no text was provided for refs named Kannappan_2009
  25. Cite error: Invalid <ref> tag; no text was provided for refs named Allen_1976
  26. Cite error: Invalid <ref> tag; no text was provided for refs named Farlow_1993
  27. Cite error: Invalid <ref> tag; no text was provided for refs named Folland_1992
  28. 28.0 28.1 28.2 Cite error: Invalid <ref> tag; no text was provided for refs named Boyer_1991
  29. Cite error: Invalid <ref> tag; no text was provided for refs named Gingerich_1986
  30. Jacques Sesiano, "Islamic mathematics", p. 157, in Template:Cite book
  31. 31.0 31.1 Template:Cite web
  32. Cite error: Invalid <ref> tag; no text was provided for refs named mact-biog
  33. Template:Cite journal
  34. Cite error: Invalid <ref> tag; no text was provided for refs named Fincke
  35. Template:MacTutor
  36. Cite error: Invalid <ref> tag; no text was provided for refs named Bourbaki_1994
  37. Template:Harvtxt
  38. Template:Cite book
  39. Template:Cite book
  40. Template:Cite book
  41. Template:Cite book
  42. The anglicized form is first recorded in 1593 in Thomas Fale's Horologiographia, the Art of Dialling.
  43. Various sources credit the first use of Template:Lang to either See Merlet, A Note on the History of the Trigonometric Functions in Ceccarelli (ed.), International Symposium on History of Machines and Mechanisms, Springer, 2004
    See Maor (1998), chapter 3, for an earlier etymology crediting Gerard.
    See Template:Cite book
  44. Cite error: Invalid <ref> tag; no text was provided for refs named Plofker_2009
  45. Oxford English Dictionary
  46. Cite error: Invalid <ref> tag; no text was provided for refs named Gunter_1620
  47. Cite error: Invalid <ref> tag; no text was provided for refs named Roegel_2010