Trig Identities Visualized
Trig identities can feel like an endless list of formulas to memorize. But every single one of them is a statement about geometry — and when you graph them, you can literally see why they are true. Let’s turn abstract algebra into pictures.
The Pythagorean Identity: sin^2 + cos^2 = 1
This is the foundation of all trig identities. It says that for any angle x, the square of sine plus the square of cosine equals exactly 1.
The yellow curve is the sum — and it is a perfectly flat line at y = 1. The red and blue curves dance up and down, but they always compensate for each other. When sin^2 is large, cos^2 is small, and vice versa.
This identity is the Pythagorean theorem in disguise. On the unit circle, a point at angle x has coordinates (cos x, sin x). Its distance from the origin is sqrt(cos^2 x + sin^2 x), which must equal the radius — 1. Square both sides and you get the identity.
Seeing the Identity with a Slider
Let’s pick a specific angle and verify the identity numerically.
The horizontal lines show the specific values of sin^2 and cos^2 at your chosen angle. Add them up mentally — the total is always 1.
Tangent: The Ratio Identity
Tangent is defined as the ratio of sine to cosine:
tan(x) = sin(x) / cos(x)
This means tangent blows up wherever cosine is zero (at x = pi/2, 3pi/2, etc.). Let’s see all three functions together.
Watch the green tan(x) curve. Every time the blue cos(x) crosses zero, tangent shoots off to positive or negative infinity — those are the vertical asymptotes. Between the asymptotes, tangent rises steadily from negative infinity to positive infinity.
Look at where sin(x) = 0: those are the points where tan(x) also crosses zero (since 0 / cos(x) = 0). And where sin(x) = cos(x) (around x = pi/4), tangent equals 1. The ratio interpretation makes the behavior predictable.
Double Angle Formulas
The double angle formulas tell us how to express sin(2x) and cos(2x) in terms of sin(x) and cos(x):
- sin(2x) = 2 sin(x) cos(x)
- cos(2x) = cos^2(x) - sin^2(x)
These are not just algebraic tricks — they describe real geometric relationships. Let’s verify them visually.
sin(2x) = 2 sin(x) cos(x)
The purple and yellow curves lie exactly on top of each other. The two expressions are the same function. sin(2x) oscillates twice as fast as sin(x), and the product 2 sin(x) cos(x) produces exactly that faster oscillation.
cos(2x) = cos^2(x) - sin^2(x)
Again, perfect overlap. The double angle formula for cosine also has two alternative forms (using the Pythagorean identity to substitute):
- cos(2x) = 2cos^2(x) - 1
- cos(2x) = 1 - 2sin^2(x)
The double angle formulas are essential in calculus for integrating powers of sine and cosine. They are also the mathematical basis of many signal processing techniques — whenever you see “frequency doubling” in physics or engineering, a double angle formula is behind it.
Sum-to-Product: Adding Waves
What happens when you add two sine waves of different frequencies? You get beats — a pattern of alternating loud and quiet regions. The formula is:
sin(Ax) + sin(Bx) = 2 sin((A+B)/2 * x) cos((A-B)/2 * x)
The yellow curves form the envelope — the slow “breathing” pattern that modulates the amplitude. When the two frequencies are close together, the beats are slow and dramatic. When they are far apart, the beats are fast and subtle.
Set both frequencies equal (e.g., A = B = 3). The beat pattern vanishes and you get a single sine wave with double amplitude. Now slowly separate them — you’ll see the beats emerge. This is exactly what happens when two tuning forks of slightly different pitch play together.
The Other Pythagorean Identities
Dividing sin^2 + cos^2 = 1 by cos^2 or sin^2 gives two more identities:
- 1 + tan^2(x) = sec^2(x)
- 1 + cot^2(x) = csc^2(x)
Once again, the two curves overlap perfectly. The asymptotes occur at x = pi/2 + n*pi, exactly where cosine is zero.
Challenge: Using the double angle formula cos(2x) = 1 - 2sin^2(x), solve for sin^2(x). You should get sin^2(x) = (1 - cos(2x)) / 2. This is called a power-reducing formula, and it is incredibly useful in calculus. Can you derive the analogous formula for cos^2(x)?