Trigonometry and Complex Numbers


Trigonometry and Complex Numbers

Simon
Corey, I want to start with something that blew my mind. If you just mess around on Desmos with cosine squared, you find it looks exactly like a scaled version of cosine itself. That's not obvious at all.

Corey
Right, it's like a little cosine wave that's been squished and shifted. And when you actually try to match it, you get that identity: cosine squared of x equals one plus cosine of two x, all over two. But where does that even come from?

Simon
Well, it hints at something deeper. You know what else has that property? Exponential functions. If you square 2 to the x, you get 2 to the 2x — squaring the output is the same as scaling the input. So cosine is behaving a bit like an exponential, which is weird because they seem totally unrelated.

Corey
Exactly. And that's the big picture: trigonometry and complex numbers are deeply connected. But before we get there, we need to really understand what sine and cosine are. And the best way is to think about circles, not triangles.

Simon
Yeah, the unit circle definition is so natural. Imagine a point moving around a circle of radius one. Cosine is the x-coordinate, sine is the y-coordinate. The input theta is the distance you've walked along the circumference — that's radians. A full circle is 2 pi, half is pi, and so on.

Corey
And that's why the graphs look like waves — they just cycle forever. But then there's the triangle definition, SOH CAH TOA, which is useful for physical problems like that leaning tower of Pisa. You have a 100-meter tower leaning at 80 degrees, and you want the shadow length. That's just 100 times cosine of 80 degrees.

Simon
Right, and from that triangle picture, we get the most important identity of all: cosine squared plus sine squared equals one. That's just the Pythagorean theorem on a right triangle with hypotenuse one. Though, the notation is a bit annoying — they write cos squared x instead of (cos x) squared.

Corey
I know, it's confusing because in the rest of math, f squared means function composition. But we just have to live with it. Anyway, using that identity we can compute exact values for special angles. Like sine of pi over six — that's 30 degrees — we get one half because it's half the side of an equilateral triangle.

Simon
And cosine of pi over six is square root of three over two, from the Pythagorean theorem. But then if we want cosine of pi over twelve, which is 15 degrees, we can use the half-angle identity we discovered earlier. Set x equal to pi over twelve, then cos^2 = (1 + cos(pi/6))/2 = (1 + √3/2)/2, and taking the square root gives a messy but exact expression.

Corey
That's a great example of how the identity lets us compute values we wouldn't otherwise know. But let's talk about tangent. Where does that show up geometrically? SOHCAHTOA says it's opposite over adjacent, but in the unit circle you can actually draw a tangent line.

Simon
Exactly. If you draw a line perpendicular to the radius at the point on the circle, that line is tangent to the circle. The length from that point to the x-axis, along that tangent line, is the tangent of the angle. That's why it's called tangent. And as the angle approaches pi over two, that length blows up to infinity.

Corey
So the graph of tangent has vertical asymptotes at those points. That makes perfect sense. Now, one last thing I want to see: where does cosine squared live in the unit circle? You mentioned a nice geometric proof of the Pythagorean theorem.

Simon
Yeah, here's the trick. In the standard right triangle inside the unit circle, you have sides of length sine theta and cosine theta, with hypotenuse 1. Now drop a perpendicular from the right angle onto the hypotenuse. That little segment on the hypotenuse, the part near the origin, turns out to be cosine squared theta.

Corey
Wait, how do you get that? You're using the triangle definition again, right?

Simon
Exactly. In that small right triangle, the adjacent side to the angle is that segment, and the hypotenuse is cosine theta. So by definition, cos theta = (that segment) / (cos theta), which gives the segment = cos^2 theta. Similarly, the other part of the hypotenuse is sin^2 theta. And since the whole hypotenuse is 1, we have cos^2 + sin^2 = 1 — a purely geometric argument.

Corey
That's beautiful. And it shows that even something like cos^2 = (1+cos2θ)/2 isn't just algebraic — it has a geometric root. In the next lecture, we'll see how complex numbers tie all this together, turning these identities into something almost trivial.

Simon
Right, the fact that squaring cosine gives you a scaled version of cosine is a shadow of Euler's formula. But for now, we've laid the foundation: the unit circle, the definitions, the identities, and that key insight that cosine is secretly related to exponentials. Thanks for sticking with me!

Ask anything
We've read this whole study set, so questions about it get the best answers.