# Exact trigonometric values

In mathematics, the values of the trigonometric functions can be expressed approximately, as in $\cos(\pi /4)\approx 0.707$, or exactly, as in $\cos(\pi /4)={\sqrt {2}}/2$. While trigonometric tables contain many approximate values, the exact values for certain angles can be expressed by a combination of arithmetic operations and square roots. The angles with trigonometric values that are expressible in this way are exactly those that can be constructed with a compass and straight edge, and the values are called constructible numbers.

## Common angles

The trigonometric functions of angles that are multiples of 15°, 18°, or 22.5° have simple algebraic values. These values are listed in the following table for angles from 0° to 45° (see below for proofs). In the table below, the label "Undefined" represents a ratio $1:0.$ If the codomain of the trigonometric functions is taken to be the real numbers these entries are undefined, whereas if the codomain is taken to be the projectively extended real numbers, these entries take the value $\infty$ (see division by zero).
    RadiansDegrees sincostan cotseccsc $0$$0^{\circ }$ $0$ $1$ $0$ Undefined $1$ Undefined ${\frac {\pi }{12}}$$15^{\circ }$ ${\frac {{\sqrt {2}}({\sqrt {3}}-1)}{4}}$ ${\frac {{\sqrt {2}}({\sqrt {3}}+1)}{4}}$ $2-{\sqrt {3}}$ $2+{\sqrt {3}}$ ${\sqrt {2}}({\sqrt {3}}-1)$ ${\sqrt {2}}({\sqrt {3}}+1)$ ${\frac {\pi }{10}}$$18^{\circ }$ ${\frac {{\sqrt {5}}-1}{4}}$ ${\frac {{\sqrt {2}}{\sqrt {5+{\sqrt {5}}}}}{4}}$ ${\frac {{\sqrt {5}}{\sqrt {5-2{\sqrt {5}}}}}{5}}$ ${\sqrt {5+2{\sqrt {5}}}}$ ${\frac {{\sqrt {10}}{\sqrt {5-{\sqrt {5}}}}}{5}}$ ${\sqrt {5}}+1$ ${\frac {\pi }{8}}$$22.5^{\circ }$ ${\frac {\sqrt {2-{\sqrt {2}}}}{2}}$ ${\frac {\sqrt {2+{\sqrt {2}}}}{2}}$ ${\sqrt {2}}-1$ ${\sqrt {2}}+1$ ${\sqrt {2}}{\sqrt {2-{\sqrt {2}}}}$ ${\sqrt {2}}{\sqrt {2+{\sqrt {2}}}}$ ${\frac {\pi }{6}}$$30^{\circ }$ ${\frac {1}{2}}$ ${\frac {\sqrt {3}}{2}}$ ${\frac {\sqrt {3}}{3}}$ ${\sqrt {3}}$ ${\frac {2{\sqrt {3}}}{3}}$ $2$ ${\frac {\pi }{5}}$$36^{\circ }$ ${\frac {{\sqrt {2}}{\sqrt {5-{\sqrt {5}}}}}{4}}$ ${\frac {{\sqrt {5}}+1}{4}}$ ${\sqrt {5-2{\sqrt {5}}}}$ ${\frac {{\sqrt {5}}{\sqrt {5+2{\sqrt {5}}}}}{5}}$ ${\sqrt {5}}-1$ ${\frac {{\sqrt {10}}{\sqrt {5+{\sqrt {5}}}}}{5}}$ ${\frac {\pi }{4}}$$45^{\circ }$ ${\frac {\sqrt {2}}{2}}$ $1$ ${\sqrt {2}}$
For angles outside of this range, trigonometric values can be found by applying reflection and shift identities such as
    ${\begin{alignedat}{3}&&\sin({\tfrac {\pi }{2}}-\theta )&=\cos(\theta ),\\[5mu]&&\sin(2\pi +\theta )&=\sin(\pi -\theta )&&=\sin(\theta ),\quad &&\sin(\pi +\theta )&&=\sin(-\theta )&&=-\sin(\theta ),\\[5mu]&&\cos(2\pi +\theta )&=\cos(-\theta )&&=\cos(\theta ),\quad &&\cos(\pi +\theta )&&=\cos(\pi -\theta )&&=-\cos(\theta ).\end{alignedat}}$

## Trigonometric numbers

A trigonometric number is a number that can be expressed as the sine or cosine of a rational multiple of π radians. Since $\sin(x)=\cos(x-\pi /2),$ the case of a sine can be omitted from this definition. Therefore any trigonometric number can be written as $\cos(2\pi k/n)$, where k and n are integers. This number can be thought of as the real part of the complex number $\cos(2\pi k/n)+i\sin(2\pi k/n)$. De Moivre's formula shows that numbers of this form are roots of unity:
    $\left(\cos \left({\frac {2\pi k}{n}}\right)+i\sin \left({\frac {2\pi k}{n}}\right)\right)^{n}=\cos(2\pi k)+i\sin(2\pi k)=1$
Since the root of unity is a root of the polynomial x$^n$ − 1, it is algebraic. Since the trigonometric number is the average of the root of unity and its complex conjugate, and algebraic numbers are closed under arithmetic operations, every trigonometric number is algebraic. The minimal polynomials of trigonometric numbers can be explicitly enumerated. In contrast, by the Lindemann–Weierstrass theorem, the sine or cosine of any non-zero algebraic number is always transcendental.
The real part of any root of unity is a trigonometric number. By Niven's theorem, the only rational trigonometric numbers are 0, 1, −1, 1/2, and −1/2.

## Constructibility

An angle can be constructed with a compass and straightedge if and only if its sine (or equivalently cosine) can be expressed by a combination of arithmetic operations and square roots applied to integers. Additionally, an angle that is a rational multiple of $\pi$ radians is constructible if and only if, when it is expressed as $a\pi /b$ radians, where a and b are relatively prime integers, the prime factorization of the denominator, b, is the product of some power of two and any number of distinct Fermat primes (a Fermat prime is a prime number one greater than a power of two).
Thus, for example, $2\pi /15=24^{\circ }$ is a constructible angle because 15 is the product of the Fermat primes 3 and 5. Similarly $\pi /12=15^{\circ }$ is a constructible angle because 12 is a power of two (4) times a Fermat prime (3). But $\pi /9=20^{\circ }$ is not a constructible angle, since $9=3\cdot 3$ is not the product of distinct Fermat primes as it contains 3 as a factor twice, and neither is $\pi /7\approx 25.714^{\circ }$, since 7 is not a Fermat prime.
It results from the above characterisation that an angle of an integer number of degrees is constructible if and only if this number of degrees is a multiple of 3.

## Constructible values
### 45°

From a reflection identity, $\cos(45^{\circ })=\sin(90^{\circ }-45^{\circ })=\sin(45^{\circ })$. Substituting into the Pythagorean trigonometric identity $\sin(45^{\circ })^{2}+\cos(45^{\circ })^{2}=1$, one obtains the minimal polynomial $2\sin(45^{\circ })^{2}-1=0$. Taking the positive root, one finds $\sin(45^{\circ })=\cos(45^{\circ })=1/{\sqrt {2}}={\sqrt {2}}/2$.
A geometric way of deriving the sine or cosine of 45° is by considering an isosceles right triangle with leg length 1. Since two of the angles in an isosceles triangle are equal, if the remaining angle is 90° for a right triangle, then the two equal angles are each 45°. Then by the Pythagorean theorem, the length of the hypotenuse of such a triangle is ${\sqrt {2}}$. Scaling the triangle so that its hypotenuse has a length of 1 divides the lengths by ${\sqrt {2}}$, giving the same value for the sine or cosine of 45° given above.

### 30° and 60°

The values of sine and cosine of 30 and 60 degrees are derived by analysis of the equilateral triangle. In an equilateral triangle, the 3 angles are equal and sum to 180°, therefore each corner angle is 60°. Bisecting one corner, the special right triangle with angles 30-60-90 is obtained. By symmetry, the bisected side is half of the side of the equilateral triangle, so one concludes $\sin(30^{\circ })=1/2$. The Pythagorean and reflection identities then give $\sin(60^{\circ })=\cos(30^{\circ })={\sqrt {1-(1/2)^{2}}}={\sqrt {3}}/2$.

### 18°, 36°, 54°, and 72°

The value of $\sin(18^{\circ })$ may be derived using the multiple angle formulas for sine and cosine. By the double angle formula for sine:
    $\sin(36^{\circ })=2\sin(18^{\circ })\cos(18^{\circ })$
By the triple angle formula for cosine:
    $\cos(54^{\circ })=\cos ^{3}(18^{\circ })-3\sin ^{2}(18^{\circ })\cos(18^{\circ })=\cos(18^{\circ })(1-4\sin ^{2}(18^{\circ }))$
Since sin(36°) = cos(54°), we equate these two expressions and cancel a factor of cos(18°):
    $2\sin(18^{\circ })=1-4\sin ^{2}(18^{\circ })$
This quadratic equation has only one positive root:
    $\sin(18^{\circ })={\frac {{\sqrt {5}}-1}{4}}$
The Pythagorean identity then gives $\cos(18^{\circ })$, and the double and triple angle formulas give sine and cosine of 36°, 54°, and 72°. Then $\cos(36^{\circ })=({\sqrt {5}}+1)/4=\varphi /2$, where ⁠$\varphi$⁠ is the golden ratio.

### Remaining multiples of 3°

    Wikimedia Commons has a file available for a table of these exact values.
The sines and cosines of all other angles between 0 and 90° that are multiples of 3° can be derived from the angles described above and the sum and difference formulas. Specifically,
    ${\begin{aligned}3^{\circ }&=18^{\circ }-15^{\circ },&24^{\circ }&=54^{\circ }-30^{\circ },&51^{\circ }&=60^{\circ }-9^{\circ },&78^{\circ }&=60^{\circ }+18^{\circ },&\\6^{\circ }&=36^{\circ }-30^{\circ },&27^{\circ }&=45^{\circ }-18^{\circ },&57^{\circ }&=30^{\circ }+27^{\circ },&81^{\circ }&=45^{\circ }+36^{\circ },&\\9^{\circ }&=45^{\circ }-36^{\circ },&33^{\circ }&=60^{\circ }-27^{\circ },&63^{\circ }&=45^{\circ }+18^{\circ },&84^{\circ }&=54^{\circ }+30^{\circ },&\\12^{\circ }&=30^{\circ }-18^{\circ },&39^{\circ }&=30^{\circ }+9^{\circ },&66^{\circ }&=36^{\circ }+30^{\circ },&87^{\circ }&=60^{\circ }+27^{\circ }.&\\15^{\circ }&=45^{\circ }-30^{\circ },&42^{\circ }&=60^{\circ }-18^{\circ },&69^{\circ }&=60^{\circ }+9^{\circ },&\\21^{\circ }&=30^{\circ }-9^{\circ },&48^{\circ }&=30^{\circ }+18^{\circ },&75^{\circ }&=45^{\circ }+30^{\circ },&\end{aligned}}$
For example, since $24^{\circ }=60^{\circ }-36^{\circ }$, its cosine can be derived by the cosine difference formula:
    ${\begin{aligned}\cos(24^{\circ })&=\cos(60^{\circ })\cos(36^{\circ })+\sin(60^{\circ })\sin(36^{\circ })\\&={\frac {1}{2}}{\frac {{\sqrt {5}}+1}{4}}+{\frac {\sqrt {3}}{2}}{\frac {\sqrt {10-2{\sqrt {5}}}}{4}}\\&={\frac {1+{\sqrt {5}}+{\sqrt {30-6{\sqrt {5}}}}}{8}}\end{aligned}}$

### Half angles

If the denominator, b, is multiplied by additional factors of 2, the sine and cosine can be derived with the half-angle formulas. For example, 22.5° (π/8 rad) is half of 45°, so its sine and cosine are:
    $\sin(22.5^{\circ })={\sqrt {\frac {1-\cos(45^{\circ })}{2}}}={\sqrt {\frac {1-{\frac {\sqrt {2}}{2}}}{2}}}={\frac {1}{2}}{\sqrt {2-{\sqrt {2}}}}$
    $\cos(22.5^{\circ })={\sqrt {\frac {1+\cos(45^{\circ })}{2}}}={\sqrt {\frac {1+{\frac {\sqrt {2}}{2}}}{2}}}={\frac {1}{2}}{\sqrt {2+{\sqrt {2}}}}$
Repeated application of the half-angle formulas leads to nested radicals, specifically nested square roots of 2 of the form ${\sqrt {2\pm \cdots }}$. In general, the sine and cosine of most angles of the form $\beta /2^{n}$ can be expressed using nested square roots of 2 in terms of $\beta$. Specifically, if one can write an angle as
$\alpha =\pi \left({\frac {1}{2}}-\sum _{i=1}^{k}{\frac {\prod _{j=1}^{i}b_{j}}{2^{i+1}}}\right)=\pi \left({\frac {1}{2}}-{\frac {b_{1}}{4}}-{\frac {b_{1}b_{2}}{8}}-{\frac {b_{1}b_{2}b_{3}}{16}}-\ldots -{\frac {b_{1}b_{2}\ldots b_{k}}{2^{k+1}}}\right)$ where $b_{k}\in [-2,2]$ and $b_{i}$ is -1, 0, or 1 for $i<k$, then $\cos(\alpha )={\frac {b_{1}}{2}}{\sqrt {2+b_{2}{\sqrt {2+b_{3}{\sqrt {2+\ldots +b_{k-1}{\sqrt {2+2\sin \left({\frac {\pi b_{k}}{4}}\right)}}}}}}}}$ and if $b_{1}\neq 0$ then $\sin(\alpha )={\frac {1}{2}}{\sqrt {2-b_{2}{\sqrt {2+b_{3}{\sqrt {2+b_{4}{\sqrt {2+\ldots +b_{k-1}{\sqrt {2+2\sin \left({\frac {\pi b_{k}}{4}}\right)}}}}}}}}}}$ For example, ${\frac {13\pi }{32}}=\pi \left({\frac {1}{2}}-{\frac {1}{4}}+{\frac {1}{8}}+{\frac {1}{16}}-{\frac {1}{32}}\right)$, so one has $(b_{1},b_{2},b_{3},b_{4})=(1,-1,1,-1)$ and obtains: $\cos \left({\frac {13\pi }{32}}\right)={\frac {1}{2}}{\sqrt {2-{\sqrt {2+{\sqrt {2+2\sin \left({\frac {-\pi }{4}}\right)}}}}}}={\frac {1}{2}}{\sqrt {2-{\sqrt {2+{\sqrt {2-{\sqrt {2}}}}}}}}$ $\sin \left({\frac {13\pi }{32}}\right)={\frac {1}{2}}{\sqrt {2+{\sqrt {2+{\sqrt {2-{\sqrt {2}}}}}}}}$

### Denominator of 17

Since 17 is a Fermat prime, a regular 17-gon is constructible, which means that the sines and cosines of angles such as $2\pi /17$ radians can be expressed in terms of square roots. In particular, in 1796, Carl Friedrich Gauss showed that:
    $\cos \left({\frac {2\pi }{17}}\right)={\frac {-1+{\sqrt {17}}+{\sqrt {34-2{\sqrt {17}}}}+2{\sqrt {17+3{\sqrt {17}}-{\sqrt {170+38{\sqrt {17}}}}}}}{16}}$
The sines and cosines of other constructible angles of the form ${\frac {k2^{n}\pi }{17}}$ (for integers $k,n$) can be derived from this one.

## Non-constructibility of 1°

As discussed in § Constructibility, only certain angles that are rational multiples of $\pi$ radians have trigonometric values that can be expressed with square roots. The angle 1°, being $\pi /180=\pi /(2^{2}\cdot 3^{2}\cdot 5)$ radians, has a repeated factor of 3 in the denominator and therefore $\sin(1^{\circ })$ cannot be expressed using only square roots. A related question is whether it can be expressed using cube roots. The following two approaches can be used, but both result in an expression that involves the cube root of a complex number.
Using the triple-angle identity, we can identify $\sin(1^{\circ })$ as a root of a cubic polynomial: $\sin(3^{\circ })=-4x^{3}+3x$. The three roots of this polynomial are $\sin(1^{\circ })$, $\sin(59^{\circ })$, and $-\sin(61^{\circ })$. Since $\sin(3^{\circ })$ is constructible, an expression for it could be plugged into Cardano's formula to yield an expression for $\sin(1^{\circ })$. However, since all three roots of the cubic are real, this is an instance of casus irreducibilis, and the expression would require taking the cube root of a complex number.
Alternatively, by De Moivre's formula:
    ${\begin{aligned}(\cos(1^{\circ })+i\sin(1^{\circ }))^{3}&=\cos(3^{\circ })+i\sin(3^{\circ }),\\[4mu](\cos(1^{\circ })-i\sin(1^{\circ }))^{3}&=\cos(3^{\circ })-i\sin(3^{\circ }).\end{aligned}}$
Taking cube roots and adding or subtracting the equations, we have:
    ${\begin{aligned}\cos(1^{\circ })&=\;{\frac {1}{2}}\left({\sqrt[{3}]{\cos(3^{\circ })+i\sin(3^{\circ })}}+{\sqrt[{3}]{\cos(3^{\circ })-i\sin(3^{\circ })}}\right),\\[5mu]\sin(1^{\circ })&={\frac {1}{2i}}\left({\sqrt[{3}]{\cos(3^{\circ })+i\sin(3^{\circ })}}-{\sqrt[{3}]{\cos(3^{\circ })-i\sin(3^{\circ })}}\right).\end{aligned}}$