TOPICS
Search

Trigonometry Angles


The trigonometry angles considered here are rational multiples mpi/n of pi, where m is an integer and n is a positive integer. The defined values of the trigonometric functions at these angles can be expressed using rational operations and real square roots over the rational numbers iff phi(d) is a power of 2, where m/n is reduced to lowest terms with positive denominator d and phi is the totient function. For d>=3, this is exactly the criterion for a constructible polygon with d sides. The values d=1 and 2 are degenerate indices rather than ordinary polygon side counts.

Radical expressions can sometimes be obtained using the Wolfram Language function ToRadicals, e.g., ToRadicals[Sin[Pi/17]]. For n<=6, the trigonometric functions at pi/n auto-evaluate in the Wolfram Language.

Compass and straightedge constructions dating back to Euclid were capable of inscribing regular polygons of 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 64, ..., sides. However, Gauss showed in 1796 (when he was 19 years old) that a sufficient condition for a regular polygon on n sides to be constructible was that n be of the form

 n=2^kp_1p_2...p_s,
(1)

where k is a nonnegative integer and the p_i are distinct Fermat primes. Here, a Fermat prime is a prime Fermat number, i.e., a prime number of the form

 F_n=2^(2^n)+1,
(2)

where n>=0 is an integer, and the only known primes of this form are 3, 5, 17, 257, and 65537. The first proof of the fact that this condition was also necessary is credited to Wantzel (1837, p. 369).

For n>=3, a necessary and sufficient condition that a regular polygon with n sides be constructible is that phi(n) be a power of 2, where phi(n) is the totient function (Krížek et al. 2001, p. 34).

Values of n satisfying the constructibility criterion for n<300 were given by Gauss (Smith 1994). Including the degenerate values 1 and 2, the first few are 1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 16, 17, 20, 24, 30, 32, 34, 40, 48, 51, 60, 64, 68, 80, 85, 96, 102, 120, 128, 136, 160, 170, 192, ... (OEIS A003401).

The algebraic degrees over the rational numbers of cos(2pi/n) at the successive constructible values of n listed above are 1, 1, 1, 1, 2, 1, 2, 2, 2, 4, 4, 8, 4, 4, 4, 8, ... (OEIS A113401). The corresponding algebraic degrees of cos(pi/n) are 1, 1, 1, 2, 2, 2, 4, 4, 4, 4, 8, 8, 8, 8, 8, 16, ... (OEIS A113402).

PolygonConstructionTri

Gardner (1977) and independently Watkins (Conway and Guy 1996, Krížek et al. 2001) noticed that the odd constructible values obtained from the five known Fermat primes are given by rows 0 through 31 of the Sierpiński sieve interpreted as binary numbers, giving 1, 3, 5, 15, 17, 51, 85, 255, ... (OEIS A004729; Conway and Guy 1996, p. 140). These 32 rows are the products of subsets of the five known Fermat primes, ordered by binary counting. Row 0 is the empty product 1, which is not a polygon side count. An additional Fermat prime, if one exists, would give further odd constructible side counts.

A partial table of the analytic values of sine, cosine, and tangent at common angles, including pi/n for several small positive integers n, is given below. The symbol infty at 90 degrees denotes a pole, not a defined real value of the tangent function.

x ( degrees)x (rad)sinxcosxtanx
0.00010
15.01/(12)pi1/4(sqrt(6)-sqrt(2))1/4(sqrt(6)+sqrt(2))2-sqrt(3)
18.01/(10)pi1/4(sqrt(5)-1)1/4sqrt(10+2sqrt(5))1/5sqrt(25-10sqrt(5))
22.51/8pi1/2sqrt(2-sqrt(2))1/2sqrt(2+sqrt(2))sqrt(2)-1
30.01/6pi1/21/2sqrt(3)1/3sqrt(3)
36.01/5pi1/4sqrt(10-2sqrt(5))1/4(1+sqrt(5))sqrt(5-2sqrt(5))
45.01/4pi1/2sqrt(2)1/2sqrt(2)1
60.01/3pi1/2sqrt(3)1/2sqrt(3)
90.01/2pi10infty
180.0pi0-10

There is a nice mnemonic for remembering sines of common angles,

sin(0 degrees)=1/2sqrt(0)
(3)
sin(30 degrees)=1/2sqrt(1)
(4)
sin(45 degrees)=1/2sqrt(2)
(5)
sin(60 degrees)=1/2sqrt(3)
(6)
sin(90 degrees)=1/2sqrt(4).
(7)

In general, any defined trigonometric function can be expressed in radicals for arguments of the form rpi, where r=m/n is a rational number, by writing the trigonometric functions in exponential form and the exponentials as roots of -1. For example, using the principal value of complex exponentiation,

 cos(pi/(23))=-1/2(-1)^(22/23)[1+(-1)^(2/23)].
(8)

This confirms that for rational r, defined trigonometric functions of rpi are always algebraic numbers. For example, the cases n=7 and n=9 involve the cubic equation (in sin^2(pi/7) and sin^2(pi/9), respectively). An algebraic number can be reduced to a canonical form using RootReduce[expr], often producing a Root object. A primitive integer polynomial of which it is a root can be obtained in the Wolfram Language using MinimalPolynomial[expr, x].

Letting (P(x))_k denote the kth root of the polynomial P(x) in the ordering of the Wolfram Language's Root object, the first few analytic values of sin(pi/n) are summarized in the following table.

nsin(pi/n)
10
21
31/2sqrt(3)
41/2sqrt(2)
5(16x^4-20x^2+5)_3
61/2
7(64x^6-112x^4+56x^2-7)_4
8(8x^4-8x^2+1)_3
9(64x^6-96x^4+36x^2-3)_4
101/4(sqrt(5)-1)

Let ord(alpha) denote the polynomial degree of the minimal polynomial of an algebraic number alpha over the rational numbers. For a positive integer n, the algebraic order of sin(pi/n) is given analytically by

 ord(sin(pi/n))={1   if n=2; phi(n)   if n=0,1,3 (mod 4); 1/2phi(n)   otherwise,
(9)

where phi(n) is the totient function. For n=1, 2, ..., this gives the sequence 1, 1, 2, 2, 4, 1, 6, 4, 6, 2, 10, 4, ... (OEIS A055035).

A primitive integer multiple of the minimal polynomial for sin(2pi/p) with p an odd prime is given by

 S_p(x)=sum_(k=0)^((p-1)/2)(-1)^k(p; 2k+1)(1-x^2)^((p-1)/2-k)x^(2k)
(10)

(Beslin and de Angelis 2004).

For a positive integer n!=4, write n=2^rm with r a nonnegative integer and m an odd number. The algebraic order of sin(2pi/n) is given by

 ord(sin((2pi)/n))={phi(n)   if r=0, 1; 1/4phi(n)   if r=2; 1/2phi(n)   if r>=3
(11)

(Ribenboim 1972, p. 289; Beslin and de Angelis 2004). The excluded case n=4 has degree 1. Including it gives the sequence 1, 1, 2, 1, 4, 2, 6, 2, 6, 4, 10, 1, ... (OEIS A093819).

The first few analytic values of cos(pi/n) are summarized in the following table.

ncos(pi/n)
1-1
20
31/2
41/2sqrt(2)
51/4(1+sqrt(5))
61/2sqrt(3)
7(8x^3-4x^2-4x+1)_3
8(8x^4-8x^2+1)_4
9(8x^3-6x-1)_3
10(16x^4-20x^2+5)_4

The algebraic order of cos(pi/n) is given analytically by

 ord(cos(pi/n))={1   if n=1; phi(n)   if n=0 (mod 2); 1/2phi(n)   if n=1 (mod 2),
(12)

where phi is the totient function. For n=1, 2, ..., this gives the sequence 1, 1, 1, 2, 2, 2, 3, 4, 3, 4, 5, 4, 6, ... (OEIS A055034; Lehmer 1933, Watkins and Zeitlin 1993, Surowski and McCombs 2003).

The algebraic order of cos(2pi/n) is given analytically by

 ord(cos((2pi)/n))={1   if n=1 or 2; 1/2phi(n)   if n>2
(13)

(Ribenboim 1972, p. 289; Beslin and de Angelis 2004) giving the sequence 1, 1, 1, 1, 2, 1, 3, 2, 3, 2, 5, ... (OEIS A023022).

For a positive integer n, let Psi_n(x) be the monic minimal polynomial of cos(2pi/n) over the rational numbers. In particular, Psi_1(x)=x-1 and Psi_2(x)=x+1. For an odd prime p, an explicit formula is

 Psi_p(x)=2^(-s)sum_(i=0)^s(-1)^isigma_i(2x)^(s-i),
(14)

where s=1/2(p-1) and, for the indices appearing in the sum,

sigma_(2k)=(-1)^k(s-k; k)
(15)
sigma_(2k-1)=(-1)^k(s-k; k-1)
(16)

(Surowski and McCombs 2003). Watkins and Zeitlin (1993) showed that

 T_(s+1)(x)-T_s(x)=2^sproduct_(d|n)Psi_d(x)
(17)

for n=2s+1 odd, where T_n(x) is a Chebyshev polynomial of the first kind, and

 T_(s+1)(x)-T_(s-1)(x)=2^sproduct_(d|n)Psi_d(x)
(18)

for n=2s even. The products include all positive divisors d of n.

Beslin and de Angelis (2004) give a primitive integer multiple of Psi_p(x) in the simpler form

 C_p(x)=S_p(sqrt((1-x)/2)),
(19)

where S_p(x) is as defined above. Its monic normalization is Psi_p(x)=2^(-s)C_p(x).

As already noted, a special type of expansion in terms of radicals with real arguments can be obtained if n is a power of two times a product of distinct Fermat primes. For other values of n, the situation becomes more complicated. It is now no longer possible to express trigonometric functions in a form that they are expressed as real radicals, but a certain minimal representation still exists. The simplest nontrivial example is for n=7. The exact meaning of "minimal" is rather technical and is related to the subgroups of the Galois groups associated with certain cyclotomic polynomials (Weber 1996). As it turns out, for n prime, the expansions are especially interesting and difficult, and higher order Galois group calculations are both difficult and time-consuming. For example, n=23 is a very difficult case and takes a long time to calculate. Some larger primes are easier again but the complexity grows with the size of the prime on average.

While individual trigonometric functions may require complicated representations at certain angles, there are general formulas for the products of these functions. For a positive integer n, for example,

product_(k=1)^(n)cos((kpi)/n)={0 if n=0 (mod 2); ((-1)^((n+1)/2))/(2^(n-1)) if n=1 (mod 2)
(20)
product_(k=1)^(n)sin((kpi)/n)=0
(21)
product_(k=1)^(|_n/2_|)cos((kpi)/n)={0 if n=0 (mod 2); 1/(2^((n-1)/2)) if n=1 (mod 2)
(22)
product_(k=1)^(|_n/2_|)sin((kpi)/n)=sqrt(n/(2^(n-1))).
(23)

Here |_x_| denotes the floor function. The first few values of the square of the latter product for n=1, 2, ... are therefore 1, 1, 3/4, 1/2, 5/16, 3/16, ... (OEIS A000265 and A084623 for the reduced numerators and denominators, respectively). For a nonnegative integer k and real a with sina!=0, the general case of Morrie's law is

 2^kproduct_(j=0)^(k-1)cos(2^ja)=(sin(2^ka))/(sina).
(24)

See also

257-gon, 65537-gon, Constructible Polygon, Fermat Prime, Heptadecagon, Morrie's Law, Pentagon, Sierpiński Sieve, Trigonometry Angles--0, Trigonometry Angles Pi, Trigonometry Angles--Pi/2, Trigonometry Angles--Pi/3, Trigonometry Angles--Pi/4, Trigonometry Angles--Pi/5, Trigonometry Angles--Pi/6, Trigonometry Angles--Pi/7, Trigonometry Angles--Pi/8, Trigonometry Angles--Pi/9, Trigonometry Angles--Pi/10, Trigonometry Angles--Pi/11, Trigonometry Angles--Pi/12, Trigonometry Angles--Pi/13, Trigonometry Angles--Pi/15, Trigonometry Angles--Pi/16, Trigonometry Angles--Pi/17, Trigonometry Angles--Pi/18, Trigonometry Angles--Pi/20, Trigonometry Angles--Pi/23, Trigonometry Angles--Pi/24, Trigonometry Angles--Pi/30, Trigonometry Angles--Pi/32, Unit Circle

Explore with Wolfram|Alpha

References

Bachmann, P. Die Lehre von der Kreistheilung. Leipzig, Germany: Teubner, 1872.Bauer, F. L. "Sternpolygone und Hyperwürfel." In Miscellanea Mathematica (Ed. P. Hilton, F. Hirzebruch, and R. Remmert). Berlin, Germany: Springer-Verlag, pp. 7-44, 1991.Beslin, S. and de Angelis, V. "The Minimal Polynomials of sin((2pi)/p) and cos((2pi)/p)." Math. Mag. 77, 146-149, 2004. https://doi.org/10.1080/0025570X.2004.11953242.Carrega, J. C. Théorie des corps. Paris, France: Hermann, 1989.Cigler, J. Körper, Ringe, Gleichungen. Heidelberg, Germany: Spektrum, 1995.Conway, J. H. and Guy, R. K. The Book of Numbers. New York: Springer-Verlag, 1996.Dickson, L. E. Modern Algebraic Theories. Chicago, IL: H. Sanborn, 1926.Dörrie, H. Quadratische Gleichungen. Munich, Germany: Oldenburg, 1943.Fricke, R. Lehrbuch der Algebra, 2 vols. Braunschweig, Germany: Vieweg, 1926.Gardner, M. "Pascal's Triangle." Ch. 15 in Mathematical Carnival: A New Round-Up of Tantalizers and Puzzles from Scientific American. New York: Vintage Books, pp. 194-207, 1977.Hobson, E. W. Squaring the Circle. New York: Chelsea, 1988.Jones, A.; Morris, S. A.; and Pearson, K. R. Abstract Algebra and Famous Impossibilities. New York: Springer-Verlag, 1991.Josephy, M. "An Afterthought of Gauss on Cyclotomy." In Proceedings of the 2nd Gauss Symposium. Conference A: Mathematics and Theoretical Physics. Held at Ludwig-Maximilians University, Munich, August 2-7, 1993 (Ed. M. Behara, R. Fritsch, and R. G. Lintz). Berlin, Germany: de Gruyter, pp. 147-150, 1995.Kommerell, K. Das Grenzgebiet der elementaren und hoeheren Mathematik. Leipzig, Germany: Koehler, 1936.Krížek, M.; Luca, F.; and Somer, L. 17 Lectures on Fermat Numbers: From Number Theory to Geometry. New York: Springer-Verlag, 2001.Lehmer, D. H. "A Note on Trigonometric Algebraic Numbers." Amer. Math. Monthly 40, 165-166, 1933.Mitzscherling, A. Das Problem der Kreisteilung. Leipzig, Germany: Teubner, 1913.Mora, T. Solving Polynomial Equation Systems, Vol. 1. Cambridge, England: Cambridge University Press, 2003.Netto, E. Vorlesungen über Algebra, Vols. 1-2. Leipzig, Germany: Teubner, 1896.Niven, I. M. Irrational Numbers. New York: Wiley, p. 39, 1956.Ribenboim, P. Algebraic Numbers. New York: Wiley, 1972.Sloane, N. J. A. Sequences A000265/M2222, A003401/M0505, A004729, A023022, A055034, A055035, A084623, A093819, A113401, and A113402 in "The On-Line Encyclopedia of Integer Sequences."Smith, D. E. A Source Book in Mathematics. New York: Dover, 1994.Stewart, I. Galois Theory, 3rd ed. London, England: Chapman and Hall, 1972.Strommer, J. "Konstruktion des regulären 257-Ecks mit Lineal und Streckenübertrager." Acta Math. Hungar. 70, 259-292, 1996.Surowski, D. and McCombs, P. "Homogeneous Polynomials and the Minimal Polynomial of cos(2pi/n)." Missouri J. Math. Sci. 15, 4-14, 2003. https://doi.org/10.35834/2003/1501014.Tietze, H. Famous Problems of Mathematics: Solved and Unsolved Mathematics Problems from Antiquity to Modern Times. New York: Graylock Press, 1965.Trott, M. "cos(2pi/257) à la Gauss." Mathematica Educ. Res. 4, 31-36, 1995.Trott, M. "cos(2pi/257) à la Gauss." §1.10.2 in The Mathematica GuideBook for Symbolics. New York: Springer-Verlag, pp. 312-321, 2006. https://www.mathematicaguidebooks.org/.Vélez, O. L. P. "A Chord Approach for an Alternative Ruler and Compasses Construction of the 17-Side Regular Polygon." Geom. Dedicata 52, 209-213, 1994. https://doi.org/10.1007/BF01278472.Wantzel, L. "Recherches sur les moyens de reconnaître si un problème de géométrie peut se résoudre avec la règle et le compas." J. Math. pures appliq. 2, 366-372, 1837. https://www.numdam.org/item/JMPA_1837_1_2__366_0/.Watkins, W. and Zeitlin, J. "The Minimal Polynomial of cos(2pi/n)." Amer. Math. Monthly 100, 471-474, 1993. https://doi.org/10.1080/00029890.1993.11990434.Weber, A. "Computing Radical Expressions for Roots of Unity." SIGSAM Bull. 30, 11-20, 1996. https://doi.org/10.1145/240065.240070.Wegner, K. W. "Equations with Trigonometric Values as Roots." Amer. Math. Monthly 66, 52-53, 1959.

Referenced on Wolfram|Alpha

Trigonometry Angles

Cite this as:

Weisstein, Eric W. "Trigonometry Angles." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/TrigonometryAngles.html

Subject classifications