---
title: The trig identities you'll use most
heading: Trig identities, read off the circle
eyebrow: A2 · Lesson 21 · Trig identities
xp: 40
---

::: hook
Trig textbooks list dozens of identities. You need about six, and every one of them is something you can see on the unit circle: a reflection, a quarter turn, two turns in a row. Once you can see them, you can rebuild them whenever you need them, instead of memorizing a page of formulas.

::: play
- The long arrow is the point at angle θ on a circle of radius 1. The other two arrows are its horizontal part, $\cos\theta$, and its vertical part, $\sin\theta$.
- Turn θ all the way around. The two parts always make a right triangle with the long arrow. What does Pythagoras say about them?
- Compare θ with −θ (say 40° and 320°). Which part keeps its value and which flips sign?
:::
:::

```sim plot
view: complex
range: 1.4
slider: theta = 0..360 step 1 = 35 °
curve: exp(j*u) | over: u = 0..2*pi | dashed | color: ch4
arrow: 1∠theta | label: 1
arrow: cos(theta°) | color: ch2 | label: cos θ
arrow: j*sin(theta°) | from: cos(theta°) | color: ch3 | label: sin θ
readout: cos θ = cos(theta°)
readout: sin θ = sin(theta°)
readout: cos²θ + sin²θ = cos(theta°)^2 + sin(theta°)^2
```

::: predict
## You know $\cos 40° \approx 0.766$. What is $\cos(-40°)$?

- [x] 0.766
- [ ] −0.766
- [ ] 0.643
- [ ] −0.643

::: reveal
0.766, the same. The angle −40° is 40° measured clockwise, the mirror image of 40° in the horizontal axis. The mirror leaves the horizontal part alone and flips the vertical part, so $\cos(-\theta) = \cos\theta$ while $\sin(-\theta) = -\sin\theta$.
:::
:::

::: nameit
## Six identities and where they come from

**1. Pythagoras.** The two parts and the radius make a right triangle with hypotenuse 1:

$$\cos^2\theta + \sin^2\theta = 1$$

**2. Mirror.** Reflecting in the horizontal axis turns $\theta$ into $-\theta$:

$$\cos(-\theta) = \cos\theta \qquad \sin(-\theta) = -\sin\theta$$

**3. Quarter and half turns.** Turning the point a further 90° moves its horizontal part onto the vertical axis; turning 180° puts it on the opposite side:

$$\sin(\theta + 90°) = \cos\theta \qquad \cos(\theta + 90°) = -\sin\theta \qquad \cos(\theta + 180°) = -\cos\theta$$

**4. Two turns in a row (the angle-sum formulas).** Turning by $\alpha$ and then by $\beta$ is the same as turning by $\alpha + \beta$. Working out where the point lands gives

$$\cos(\alpha + \beta) = \cos\alpha\cos\beta - \sin\alpha\sin\beta$$
$$\sin(\alpha + \beta) = \sin\alpha\cos\beta + \cos\alpha\sin\beta$$

These are the most important ones, because the rest follow from them. In A3 they'll become a single line: multiplying $e^{j\alpha}$ by $e^{j\beta}$.

**5. Double angle.** Put $\beta = \alpha$ in the first one, then use Pythagoras:

$$\cos 2\theta = \cos^2\theta - \sin^2\theta = 2\cos^2\theta - 1 \qquad\text{so}\qquad \cos^2\theta = \frac{1 + \cos 2\theta}{2}$$

That last form explains a fact about power. A voltage $A\cos\omega t$ across a resistor $R$ delivers $A^2\cos^2(\omega t)/R$, which is $\frac{A^2}{2R}(1 + \cos 2\omega t)$: a steady average of $A^2/2R$ plus a part that wobbles at twice the frequency and averages to zero. Half the peak power, on average, which is where the $\sqrt2$ in RMS comes from.

**6. Product to sum.** Add the angle-sum formula for $\cos(\alpha + \beta)$ to the one for $\cos(\alpha - \beta)$:

$$\cos\alpha\cos\beta = \tfrac12\big[\cos(\alpha - \beta) + \cos(\alpha + \beta)\big]$$

Multiplying two sinusoids gives sinusoids at the difference and sum of their frequencies. Radios rely on exactly this to move signals between frequencies, and read backward, it's the beat formula you'll meet in lesson 25.

You can check the angle-sum formula in the second picture: the readouts compare $\cos(\alpha + \beta)$ with the right-hand side for any two angles.

```sim plot
view: complex
range: 1.4
slider: a = 0..360 step 1 = 30 °
slider: b = 0..360 step 1 = 50 °
curve: exp(j*u) | over: u = 0..2*pi | dashed | color: ch4
arrow: 1∠a | color: ch2 | label: α
arrow: 1∠(a + b) | label: α + β
readout: cos(α+β) = cos((a + b)°)
readout: cosα cosβ − sinα sinβ = cos(a°)*cos(b°) - sin(a°)*sin(b°)
```
:::

::: example
## Find $\sin 75°$ exactly.

::: solution
1. **Split the angle.**
   $$75° = 45° + 30°$$
2. **Apply the sum formula.**
   $$\begin{aligned} \sin 75° &= \sin 45°\cos 30° \\ &\quad + \cos 45°\sin 30° \\ &= \frac{\sqrt2}{2}\cdot\frac{\sqrt3}{2} + \frac{\sqrt2}{2}\cdot\frac{1}{2} \\ &= \frac{\sqrt6 + \sqrt2}{4} \end{aligned}$$
3. **Check.** That's 0.9659, and a calculator agrees.

**Answer:** $\sin 75° = \dfrac{\sqrt6 + \sqrt2}{4}$, or 0.9659.
:::
:::

::: example
## A current $i = 2\cos(\omega t)$ A flows through a 10 Ω resistor. What is the average power?

::: solution
1. **Instantaneous power.**
   $$\begin{aligned} p &= Ri^2 \\ &= 10 \times 4\cos^2(\omega t) \\ &= 40\cos^2(\omega t) \end{aligned}$$
2. **Use the square identity.** With $\cos^2 x = \frac{1}{2}(1 + \cos 2x)$,
   $$p = 20 + 20\cos(2\omega t)$$
3. **Average.** The second term averages to zero over a cycle, so the average power is 20 W, half the 40 W peak.
4. **The wobble.** The power also wobbles at twice the current's frequency.

**Answer:** the average power is 20 W.
:::
:::

::: example
## A radio mixer multiplies $\cos(2\pi \cdot 1000\,t)$ by $\cos(2\pi \cdot 1100\,t)$. What frequencies come out?

::: solution
1. **Product to sum.** The identity $\cos A\cos B = \tfrac12[\cos(A - B) + \cos(A + B)]$ turns the product into two cosines:
   $$\begin{aligned} & \tfrac12\cos(2\pi \cdot 100\,t) \\ & + \tfrac12\cos(2\pi \cdot 2100\,t) \end{aligned}$$
2. **Read off the frequencies.** The output holds 100 Hz and 2100 Hz, each at half amplitude, and nothing at 1000 or 1100 Hz.
3. **Where it's used.** This is how every radio receiver moves a signal to a new frequency: multiply by a local oscillator, then filter out the copy you don't want.

**Answer:** 100 Hz and 2100 Hz come out, each at half amplitude.
:::
:::

::: check
kind: expression
answer: cos(x)
vars: x = -3..3
form: simplified

## Simplify $\sin(x + 90°)$, with $x$ in radians (so 90° is $\pi/2$).

::: right
Right. A further quarter turn moves the horizontal part onto the vertical axis, so the new sine is the old cosine.
:::

::: misses
- [-cos(x)] Check at $x = 0$: $\sin 90° = 1$, and $\cos 0 = 1$.
- [sin(x)] A quarter turn changes the value. Check at $x = 0$: $\sin 90° = 1$, but $\sin 0 = 0$.
- [-sin(x)] Check at $x = 0$: $\sin 90° = 1$.
- [any] Not yet. Turn the point a quarter turn further and see which part its height becomes.
:::
:::

::: check
kind: expression
answer: (1 + cos(2*x))/2
vars: x = -3..3

## Write $\cos^2 x$ using $\cos 2x$, with no squares.

::: right
Right. From $\cos 2x = 2\cos^2 x - 1$, solve for $\cos^2 x$.
:::

::: misses
- [(1 - cos(2*x))/2] That's $\sin^2 x$. At $x = 0$, $\cos^2 x = 1$, so the plus sign belongs here.
- [cos(2*x)/2] At $x = 0$ this gives ½, but $\cos^2 0 = 1$. There's a constant part too.
- [any] Not yet. Start from $\cos 2x = 2\cos^2 x - 1$.
:::
:::

::: check
given: A = 2..20 int; R = 2 | 4 | 5 | 8 | 10 Ω
answer: A^2/(2*R)
unit: W
tolerance: 1%

## A voltage $\given{A}\cos(\omega t)$ volts is across a {R} resistor. What power does it deliver on average?

::: right
Right. The instantaneous power is $A^2\cos^2(\omega t)/R$, and $\cos^2$ averages to ½, so the average is $A^2/2R$ = {answer}.
:::

::: misses
- [A^2/R] That's the peak power, at the instants when the cosine is ±1. On average $\cos^2$ is only ½.
- [A/(2*R)] Power goes as the voltage squared.
- [A^2/(sqrt(2)*R)] The average of $\cos^2$ is ½. The √2 belongs to the RMS voltage, which is then squared.
- [any] Not yet. Use $\cos^2\theta = (1 + \cos 2\theta)/2$: what is its average?
:::
:::

::: check
kind: choice

## Which of these is true for every angle?

- [ ] $\sin(-\theta) = \sin\theta$
- [x] $\cos(\theta + 180°) = -\cos\theta$
- [ ] $\cos(\alpha + \beta) = \cos\alpha + \cos\beta$
- [ ] $\sin 2\theta = 2\sin\theta$

::: right
Right. Half a turn puts the point on the opposite side of the circle, so both of its coordinates change sign.
:::

::: misses
- [1] The mirror flips the vertical part: $\sin(-\theta) = -\sin\theta$.
- [3] Try $\alpha = \beta = 60°$: $\cos 120° = -0.5$, but $\cos 60° + \cos 60° = 1$.
- [4] Try θ = 90°: $\sin 180° = 0$, but $2\sin 90° = 2$. The real formula is $\sin 2\theta = 2\sin\theta\cos\theta$.
:::
:::

::: check
kind: parts
given: f1 = 1000 | 2000 | 5000; f2 = 1500 | 2600; A1 = 1 | 2; A2 = 0.5 | 3

## A mixer multiplies $\given{A1}\cos(2\pi \cdot \given{f1}\,t)$ by $\given{A2}\cos(2\pi \cdot \given{f2}\,t)$.

::: part
answer: abs(f1 - f2)
unit: Hz
tolerance: 0.5%

### What is the lower frequency in the output?

::: misses
- [f1 + f2] That's the higher one.
- [any] The difference of the two input frequencies.
:::
:::

::: part
answer: f1 + f2
unit: Hz
tolerance: 0.5%

### What is the higher one?

::: misses
- [abs(f1 - f2)] That's the lower one.
- [any] The sum of the inputs.
:::
:::

::: part
answer: A1*A2/2
unit: V
tolerance: 0.5%

### Taking the inputs in volts, what is the amplitude of each output tone?

::: misses
- [A1*A2] The identity has a ½: $\cos A\cos B = \tfrac12[\cos(A - B) + \cos(A + B)]$.
- [any] The product of the amplitudes, halved.
:::
:::
:::

::: check
kind: derivation
vars: x = -3..3

## Starting from $\cos 2x = \cos^2 x - \sin^2 x$ and $\sin^2 x + \cos^2 x = 1$, derive the power-reduction formulas.

::: step
answer: 2*cos(x)^2 - 1

### Replace $\sin^2 x$ to write $\cos 2x$ using only $\cos x$.
:::

::: step
answer: (1 + cos(2*x))/2

### Solve for $\cos^2 x$.
:::

::: step
answer: (1 - cos(2*x))/2

### Do the same for $\sin^2 x$.
:::

::: right
Right. $\cos^2 x = \tfrac12(1 + \cos 2x)$: the square of a sinusoid is a constant plus a wave at twice the frequency. That's why AC power pulses at 120 Hz on a 60 Hz supply.
:::
:::

::: explain
## Explain, using the unit circle, why $\cos(-\theta) = \cos\theta$.

::: model
The angle $-\theta$ is $\theta$ measured the other way around, clockwise, so its point on the circle is the mirror image of the point at $\theta$, reflected in the horizontal axis. A reflection in the horizontal axis keeps every point's horizontal position and flips its vertical position. The cosine is the horizontal position, so it's the same for both angles.
:::
:::

::: practice

::: check
given: a = 10..80 step 10; b = 10..80 step 10; let ca = cos(a°); let sa = sin(a°); let cb = cos(b°); let sb = sin(b°)
answer: cos(a°)*cos(b°) - sin(a°)*sin(b°)
tolerance: 1%

## An angle α has $\cos\alpha = \given{ca}$ and $\sin\alpha = \given{sa}$. Another, β, has $\cos\beta = \given{cb}$ and $\sin\beta = \given{sb}$. What is $\cos(\alpha + \beta)$?

::: misses
- [cos(a°)*cos(b°) + sin(a°)*sin(b°)] That's $\cos(\alpha - \beta)$. For a sum, the sign is minus.
- [cos(a°) + cos(b°)] Cosine doesn't add like that. Use the angle-sum formula.
- [any] Use $\cos(\alpha + \beta) = \cos\alpha\cos\beta - \sin\alpha\sin\beta$.
:::
:::

::: check
given: t = 10..80 step 5
answer: 2*sin(t°)*cos(t°)
tolerance: 1%

## What is $\sin(2 \times \given{t}°)$, worked out as $2\sin\given{t}°\cos\given{t}°$?

::: misses
- [2*sin(t°)] $\sin 2\theta$ isn't $2\sin\theta$. Use $2\sin\theta\cos\theta$.
- [any] $\sin 2\theta = 2\sin\theta\cos\theta$.
:::
:::

::: check
kind: expression
answer: (cos(x - y) + cos(x + y))/2
vars: x = -2..2, y = -2..2

## Write $\cos x \cos y$ as a sum of cosines.

::: misses
- [(cos(x - y) - cos(x + y))/2] That's $\sin x \sin y$. For the product of cosines, both terms are added.
- [cos(x - y) + cos(x + y)] There's a factor of ½.
- [any] Add the angle-sum formulas for $\cos(x + y)$ and $\cos(x - y)$.
:::
:::

::: check
given: s = 0.3..0.95 sig 2
answer: sqrt(1 - s^2)
tolerance: 1%

## An angle between 0° and 90° has $\sin\theta = \given{s}$. What is $\cos\theta$?

::: misses
- [1 - s] Pythagoras works with squares: $\cos^2\theta = 1 - \sin^2\theta$.
- [1 - s^2] That's $\cos^2\theta$. Take the square root.
- [any] Use $\cos^2\theta + \sin^2\theta = 1$, and take the positive root since θ is in the first quadrant.
:::
:::

::: check
given: A = 1..170 sig 2 V; R = 1..100 sig 2 Ω
answer: A^2/(2*R)
unit: W
tolerance: 1%

## A sinusoidal voltage of amplitude {A} is across {R}. What is the average power?

::: misses
- [A^2/R] That's the peak power. On average, $\cos^2$ is ½.
- [any] Average power is $A^2/2R$.
:::
:::
:::
