Skip to content
Seeking Psi

Tutorials · Things to know

The Unit Circle & Trigonometry

Why a circle of radius one sits underneath all of quantum mechanics. Angles, turning arrows and phase, with an interactive explorer of all ten classic trigonometric segments.

If you have read What is Quantum Physics?, you have met Feynman’s little arrows. Every way something can happen gets an arrow; arrows add head to tail; the probability is the squared length of the total. The whole game is about which way the arrows point.

“Which way an arrow points” is an angle. And the cleanest way to talk about angles is a circle of radius one. That’s why we start here. Trigonometry has a dusty reputation, all SOH-CAH-TOA and exam tables, but for us it is really the study of one thing: an arrow of length 1, turning.

Draw a circle of radius 11 centred at the origin. That’s the unit circle. Now draw an arrow from the centre to a point PP on the circle, at angle θ\theta measured anticlockwise from the positive xx-axis.

Where is PP? Its shadow on the xx-axis has some length, and its shadow on the yy-axis has another. Those two shadows are so useful they have names: cosine and sine.

P=(cos⁡θ, sin⁡θ).P = (\cos\theta,\ \sin\theta).

That’s the definition, and it’s worth holding onto as a picture rather than a formula. Cosine is “how far right”, sine is “how far up”, for an arrow of length one pointing at angle θ\theta. When the arrow points straight right, cos⁡θ=1\cos\theta = 1 and sin⁡θ=0\sin\theta = 0. Turn it a quarter turn and they swap. Turn it further and they go negative, because the shadow falls on the other side.

Because the arrow has length 11, Pythagoras hands us the most important identity in trigonometry for free:

sin⁡2θ+cos⁡2θ=1.\sin^2\theta + \cos^2\theta = 1 .

Remember this one. In quantum mechanics it turns into the statement that probabilities add up to 100%.

Every classic trigonometric function is the length of some line segment you can draw on this one picture. Sine and cosine are the shadows. Tangent is where the arrow, extended, hits a vertical line touching the circle. The others are gaps and overhangs. The explorer below shows all ten.

Open full screen

You don’t need to memorise all ten. Sine and cosine do almost all the work in quantum mechanics, and tangent turns up now and then. The rest are here because they are beautiful, and because seeing them as lengths makes the identities obvious instead of mysterious.

Group Function Definition
Core position sine, cosine sin⁡θ=y\sin\theta = y, cos⁡θ=x\cos\theta = x
Tangent & secant tangent, cotangent tan⁡θ=sin⁡θcos⁡θ\tan\theta = \dfrac{\sin\theta}{\cos\theta}, cot⁡θ=cos⁡θsin⁡θ\cot\theta = \dfrac{\cos\theta}{\sin\theta}
secant, cosecant sec⁡θ=1cos⁡θ\sec\theta = \dfrac{1}{\cos\theta}, csc⁡θ=1sin⁡θ\csc\theta = \dfrac{1}{\sin\theta}
Gap & exterior versine, coversine versin⁡θ=1−cos⁡θ\operatorname{versin}\theta = 1 - \cos\theta, cvs⁡θ=1−sin⁡θ\operatorname{cvs}\theta = 1 - \sin\theta
exsecant, excosecant exsec⁡θ=sec⁡θ−1\operatorname{exsec}\theta = \sec\theta - 1, excsc⁡θ=csc⁡θ−1\operatorname{excsc}\theta = \csc\theta - 1

Divide sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1 by cos⁡2θ\cos^2\theta, or by sin⁡2θ\sin^2\theta, and you get the other two Pythagorean identities. In the explorer they are right triangles you can see:

1+tan⁡2θ=sec⁡2θ,1+cot⁡2θ=csc⁡2θ.1 + \tan^2\theta = \sec^2\theta, \qquad 1 + \cot^2\theta = \csc^2\theta .

Now let the arrow turn, steadily, round and round. Watch its height. It rises to 11, falls through 00 to −1-1, comes back up. Plot that height against time and you get a sine wave.

That is the deepest idea on this page. A wave is the shadow of a turning arrow. Every ripple, every sound, every oscillating electric field can be thought of this way, and in quantum mechanics it is more than a way of thinking: the arrows are the real ingredients and the waves are what you see when you look at their shadows.

Two numbers describe a turning arrow: how fast it turns (the frequency), and where it is at the start (the phase). Phase on its own means nothing: you can always reset your stopwatch. What matters is the difference in phase between two arrows. That is what decides whether they add up or cancel.

60°

Try it: both arrows go round at the same speed, so the angle between them never changes. That fixed angle is the phase difference. Set it to 0° and the waves rise and fall together: the sum is twice as tall. Set it to 180° and they cancel completely. The squared length of the sum (the number quantum mechanics turns into a probability) swings from 4 down to 0.

This is exactly the arithmetic behind the double-slit experiment. Two paths, two arrows; the longer path’s arrow has turned a bit further, so there is a phase difference between them. In step, they add to a long arrow and you get a bright stripe. Half a turn out of step, they cancel and you get a dark one. Everything in between gives something in between.

A qubit, the basic unit of a quantum computer, is described by two arrows: one for “0” and one for “1”. The chance of reading 0 is the squared length of the first; the chance of reading 1 is the squared length of the second. Those chances have to add up to 1.

Sound familiar? If the two lengths are cos⁡θ2\cos\frac{\theta}{2} and sin⁡θ2\sin\frac{\theta}{2}, they automatically do, by the identity we started with. So a qubit’s state is, at heart, a point on a circle, and quantum gates are rotations and reflections of that circle. The full description adds one more angle, the phase φ\varphi between the two arrows:

∣ψ⟩=cos⁡θ2 ∣0⟩+eiφsin⁡θ2 ∣1⟩.|\psi\rangle = \cos\tfrac{\theta}{2}\,|0\rangle + e^{i\varphi}\sin\tfrac{\theta}{2}\,|1\rangle .

The probabilities are cos⁡2θ2\cos^2\frac{\theta}{2} and sin⁡2θ2\sin^2\frac{\theta}{2}, adding to 11 because of sin⁡2+cos⁡2=1\sin^2 + \cos^2 = 1. The phase φ\varphi doesn’t change those probabilities at all. But change it and you change how the arrows interfere at the next step, which is how quantum algorithms do their work. (Why θ/2\theta/2 and not θ\theta? It’s what makes the picture close up into a sphere, the Bloch sphere, where θ\theta and φ\varphi are like latitude and longitude.)

The odd-looking eiφe^{i\varphi} is a turning arrow written as a single number. Making sense of it is the next step: complex numbers, where the unit circle moves into a plane of its own, and Euler’s formula,

eiθ=cos⁡θ+isin⁡θ,e^{i\theta} = \cos\theta + i\sin\theta ,

turns “an arrow of length one at angle θ\theta” into something you can multiply and add.

Seeking Psi

Quantum physics and quantum computing, explained from the ground up.

© 2026 Seeking Psi · Educational content, not investment advice.