Lemma 1: In a right triangle, given angle θ, sinθ=hypotenuseopposite and cosθ=hypotenuseadjacent#
But it’s definitely best to visualize:
Basic geometric definition of sine and cosine
From the definitions, we get that the green side is hcosθ because cosθ=hypotenuseadjacent⟹adjacent=hcosθ. Similarly, the blue side is hsinθ. Letting h=1, the adjacent side is just cosθ, and the opposite side is sinθ. With this setup, we can show Lemma 2.
Lemma 2: cosθ=sin(2π−θ) and sinθ=cos(2π−θ) for arbitrary θ#
Proof. Consider α=2π−θ. In the triangle with hypotenuse 1, the green side is cosθ=1adjacent. It is also sinα=1opposite. Hence, cosθ=sin(2π−θ). Similar reasoning holds for the latter identity and for arbitrary h.
Geometric proof of separation by 90 degrees
Here’s a Desmos graph where you can see the identity for yourself: 1
Back to Lemma 1, why should the basic definition be limited to a static right triangle? What about a dynamic right triangle, perhaps one like this: 2
In this graph, the x coordinates always involve cosθ, and the y coordinates always involve sinθ. Thinking of the black line as a vector 3, we see that to get the horizontal component of the vector, we multiply its length by cosθ. To get its vertical component, we multiply its length by sinθ. In other words, cosθ projects to x, and sinθ projects to y.
This applies to the graph of a circle as well. Note that, again, x always goes with cosθ, and y always goes with sinθ.
There is an algebraic symmetry that is, in my opinion, as beautiful as the symmetries above. This symmetry also allows us to prove eix=cosx+isinx for any x.
Lemma 3: cosx=1−2x2+4!x4−6!x6+⋯, and sinx=x−3!x3+5!x5−7!x7+⋯5#
Proof. Consider that the Taylor series6 expansion of f(x) about the point a is f(a)+f’(a)(x−a)+2!f’’(a)(x−a)2+3!f’’’(a)(x−a)3+⋯+n!f(n)(a)(x−a)n+⋯
The Maclaurin expansion is the Taylor series centered at a=0, so the Maclaurin expansion of f(x) is f(0)+f’(0)x+2!f’’(0)x2+3!f’’’(0)x3+⋯+n!f(n)(0)xn+⋯
Using that cos(0)=1 and sin(0)=0, we have that the first few terms of the Maclaurin series are 1+0x−2x2+0x3+4!x4. Now, we write the pattern: cosx=n=0∑∞2n!(−1)nx2n
Any odd power will have sin(0)=0 and so can be ignored. Hence, we use only the even numbers 2n in our summation. Using that f(x)=cosx and f’’(x)=−cosx, we note that the signs alternate each (even) term, so we also have (−1)n in the summation.
Similar reasoning holds for sinx=∑n=0∞(2n+1)!(−1)nx2n+1.
Lastly, there are also two trigonometric identities that I have always found interesting, in terms of symmetry.
I won’t prove these identities here, but I will write about the symmetries. Note that the sin identities have matching signs; that is, if there is a + on the left side, there’s a + on the right side. However, the multiplications are mismatched in that sin is multiplied by cos and vice versa.
On the other hand, the cos identities have matching multiplication in that cos multiplies cos, and sin multiplies sin. The signs, however, are mismatched.
You can press the ▶️ on the left to view the animation. ↩︎
Note that there is no magic going on here. There’s nothing in Desmos that specifically generates an arbitrary right triangle - this graph uses only the sine and cosine knowledge shown above! ↩︎
Note that the cosine expansion contains only even powers of x (including x0=1) divided by even factorials, and the sine expansion contains only odd powers of x divided by odd factorials. ↩︎
I might write an article about the Taylor series! For now, the tl;dr is that the Taylor expansion of a complicated function is a highly accurate approximation that is made up of less complicated polynomial terms, which are much easier to work with. ↩︎
Note here that the cycle length is 4, which is the same as that of the powers of i. ↩︎