---
title: Solving trig equations
heading: When does the sine wave reach that level?
eyebrow: A2 · Lesson 22 · Solving trig equations
xp: 40
---

::: hook
A diode in a rectifier only conducts while the input sine wave is above about 0.7 V. So when, in each cycle, does the wave cross 0.7 V on the way up, and when does it cross on the way down? That's an equation like $\sin\theta = c$. A calculator's $\sin^{-1}$ gives you one answer, but a sine wave reaches every level twice per cycle and repeats forever. Finding all the answers is the skill.

::: play
- The curve is $\sin\theta$ over two full cycles, with $\theta$ in radians. The dashed line is the level $c$.
- Move $c$. The markers show the two crossings in the first cycle. Where are the crossings in the second?
- Set $c$ to 1, then to 0. How many crossings per cycle now?
:::
:::

```sim plot
view: graph
x: theta = 0..12.6
y: y = -1.3..1.3
slider: c = -0.95..0.95 step 0.05 = 0.5
plot: sin(theta) | label: sin θ
plot: c | dashed | color: ch2 | label: level c
marker: x = asin(c) | label: sin⁻¹ c
marker: x = pi - asin(c) | label: π − sin⁻¹ c
readout: first, in degrees = asin(c)*180/pi | digits: 4
readout: second, in degrees = 180 - asin(c)*180/pi | digits: 4
```

::: predict
## A calculator says $\sin^{-1}(0.5) = 30°$. Between 0° and 360°, at what other angle is $\sin\theta = 0.5$?

- [ ] 60°
- [x] 150°
- [ ] 210°
- [ ] 330°

::: reveal
150°. The sine is the height of a point going round a circle, and two points on the circle are at height 0.5: one at 30° and its mirror image across the vertical axis, at $180° - 30° = 150°$. The calculator only returns the one between −90° and 90°.
:::
:::

::: nameit
## All the solutions

The inverse functions return one **principal** angle each. The rest come from the symmetry and repetition of the circle.

**Sine.** $\sin\theta = c$ (with $-1 \le c \le 1$) holds at

$$\theta = \sin^{-1} c \qquad\text{and}\qquad \theta = 180° - \sin^{-1} c$$

plus any whole number of turns, 360°, added to either.

**Cosine.** Cosine is the horizontal coordinate, so its mirror image is across the horizontal axis: $\cos\theta = c$ holds at

$$\theta = \pm\cos^{-1} c$$

plus whole turns. Between 0° and 360°, that's $\cos^{-1} c$ and $360° - \cos^{-1} c$.

**Tangent.** $\tan\theta$ repeats every 180°, so $\tan\theta = c$ holds at $\tan^{-1} c$ plus any multiple of 180°.

**Count before you solve.** A sine or cosine crosses a level strictly between −1 and 1 exactly twice per cycle. $\sin(3\theta)$ goes through three cycles as $\theta$ runs from 0° to 360°, so $\sin 3\theta = c$ has six solutions there. Solve for $3\theta$ first, then divide.

## Solving in time

For a waveform $v(t) = A\sin(2\pi f t)$, set $v = L$: $\sin(2\pi f t) = L/A$. The first time it reaches $L$ on the way up is

$$t_1 = \frac{\sin^{-1}(L/A)}{2\pi f}$$

and it comes back down through $L$ at $t_2 = \dfrac{\pi - \sin^{-1}(L/A)}{2\pi f}$, with the angle in radians. Everything repeats one period later.

A rectifier diode conducts between $t_1$ and $t_2$, with $L$ the diode's 0.7 V. As a fraction of the whole period that's

$$\frac{\pi - 2\sin^{-1}(0.7/A)}{2\pi}$$

just under one-half for a large input, and much less for an input of only a volt or two.
:::

::: example
## Solve $2\sin\theta = \sqrt{3}$ for $0° \le \theta < 360°$.

::: solution
1. **Divide by 2.**
   $$\begin{aligned} \sin\theta &= \sqrt{3}/2 \\ &= 0.866 \end{aligned}$$
2. **Principal angle.** From the 30-60-90 triangle,
   $$\sin^{-1}(0.866) = 60°$$
3. **Mirror angle.**
   $$180° - 60° = 120°$$
4. **Check the range.** Adding 360° to either takes it out of the range, so there are no others.

**Answer:** $\theta$ = 60° and 120°.
:::
:::

::: example
## A 60 Hz mains waveform peaks at 170 V. How long after a zero crossing does it first reach 120 V?

::: solution
1. **Set up the equation.**
   $$\begin{aligned} \sin(2\pi \cdot 60\,t) &= 120/170 \\ &= 0.706 \end{aligned}$$
2. **Take the inverse sine.**
   $$\begin{aligned} 2\pi \cdot 60\,t &= \sin^{-1}(0.706) \\ &= 0.784\ \text{rad} \end{aligned}$$
3. **Solve for t.**
   $$\begin{aligned} t &= \frac{0.784}{2\pi \times 60} \\ &= \frac{0.784}{377} \\ &= 2.08\ \text{ms} \end{aligned}$$
4. **Compare with the peak.** That's halfway to the peak in angle (45°) but well over half of the voltage, because a sine climbs fastest near zero.

**Answer:** it first reaches 120 V 2.08 ms after the zero crossing.
:::
:::

::: example
## Solve $\cos 2\theta = 0.5$ for $0° \le \theta < 360°$.

::: solution
1. **Substitute.** Let $u = 2\theta$. Since $\theta$ runs from 0° to 360°, $u$ runs from 0° to 720°: two full turns, so expect twice as many solutions.
2. **Solve for u.** $\cos u = 0.5$ at $u = 60°$ and $300°$ in the first turn, and $420°$ and $660°$ in the second.
3. **Halve.** That gives $\theta$ = 30°, 150°, 210° and 330°.
4. **What the doubling means.** A sine wave at twice the frequency crosses each level twice as often, which is all the doubled angle is saying.

**Answer:** $\theta$ = 30°, 150°, 210° and 330°.
:::
:::

::: check
given: c = 0.2 | 0.5 | 0.7 | 0.9
answer: 180 - asin(c)*180/pi
unit: °
tolerance: 0.2%

## $\sin\theta$ = {c} at two angles between 0° and 180°. What is the larger one?

::: right
Right. $180° - \sin^{-1}(\given{c})$ = {answer}.
:::

::: misses
- [asin(c)*180/pi] That's the calculator's answer, the smaller one. Its mirror across the vertical axis is the other.
- [180 + asin(c)*180/pi] At that angle the sine is negative. Mirror across the vertical axis: $180° - \theta$.
- [90 + asin(c)*180/pi] The mirror of $\theta$ is $180° - \theta$.
- [any] Not yet. Find $\sin^{-1}(\given{c})$, then the angle with the same height on the other side of the circle.
:::
:::

::: check
given: c = 0.3 | 0.6 | 0.8 | -0.4
answer: 360 - acos(c)*180/pi
unit: °
tolerance: 0.2%

## $\cos\theta$ = {c} at two angles between 0° and 360°. What is the larger one?

::: right
Right. $360° - \cos^{-1}(\given{c})$ = {answer}.
:::

::: misses
- [acos(c)*180/pi] That's the smaller one. Cosine's mirror image is across the horizontal axis: $360° - \theta$.
- [180 - acos(c)*180/pi] That mirrors across the vertical axis, which works for sine. For cosine, mirror across the horizontal axis.
- [any] Not yet. Cosine is the horizontal coordinate, so the two angles are $\theta$ and $-\theta$, which is $360° - \theta$.
:::
:::

::: check
given: A = 10 | 170 | 325; k = 0.3 | 0.5 | 0.8; f = 50 | 60; let L = k*A
answer: asin(L/A)/(2*pi*f)
unit: s

## A sine wave of {f} Hz peaks at {A} V. How long after it crosses zero going up does it first reach {L} V?

::: right
Right. $\sin^{-1}(\given{L}/\given{A})$ radians, divided by $2\pi \times \given{f}$: {answer}.
:::

::: misses
- [asin(L/A)/f] The angle advances $2\pi f$ radians a second, so divide by $2\pi f$.
- [L/A/(2*pi*f)] Take the inverse sine of $L/A$ first: the wave isn't a straight line.
- [asin(L/A)*180/pi/(2*pi*f)] Keep the angle in radians when you divide by $2\pi f$.
- [any] Not yet. Solve $\sin(2\pi f t) = L/A$: find the angle, then divide by $2\pi f$.
:::
:::

::: check
given: A = 2 | 3 | 5 | 10
answer: 100*(pi - 2*asin(0.7/A))/(2*pi)
tolerance: 0.5%

## A rectifier diode conducts while its {A} V peak sine input is above 0.7 V. For what percent of each period does it conduct?

::: right
Right. From $\sin^{-1}(0.7/\given{A})$ to $\pi$ minus that, out of $2\pi$: {answer}%.
:::

::: misses
- [50] That's an ideal diode that conducts the whole positive half. The 0.7 V threshold shaves a bit off each end.
- [100*(pi - asin(0.7/A))/(2*pi)] It starts conducting late and stops early by the same angle. Take it off both ends.
- [any] Not yet. Find the two crossings of 0.7 V in one cycle, and the fraction of $2\pi$ between them.
:::
:::

::: check
given: n = 2 | 3 | 4 | 5
answer: 2*n
tolerance: 0.5

## How many solutions does $\sin(\given{n}\theta) = 0.5$ have for $0° \le \theta < 360°$?

::: right
Right. $\sin(\given{n}\theta)$ goes through {n} cycles, with two crossings in each: {answer}.
:::

::: misses
- [2] That's one cycle's worth. Over 360°, $\sin(\given{n}\theta)$ goes through {n} cycles.
- [n] Each cycle crosses the level twice.
- [any] Not yet. Count the cycles, then the crossings in each.
:::
:::

::: check
given: c = 0.5 | 1 | 2 | 3
answer: 180 - atan(c)*180/pi
unit: °
tolerance: 0.2%

## What is the smallest positive angle with $\tan\theta = -\given{c}$?

::: right
Right. $\tan^{-1}(-\given{c})$ is negative, and adding 180° gives {answer}.
:::

::: misses
- [-atan(c)*180/pi] That's negative. Tangent repeats every 180°, so add 180°.
- [360 - atan(c)*180/pi] That's another solution, but not the smallest positive one. Tangent repeats every 180°.
- [any] Not yet. Find $\tan^{-1}(-\given{c})$, then add 180° until it's positive.
:::
:::

::: check
kind: parts
given: a = 4 | 5; b = 1 | -1 | 3

## Solve $\given{a}\cos 2\theta = \given{b}$ for $0° \le \theta < 360°$.

::: part
answer: acos(b/a)*180/pi/2
unit: °
tolerance: 0.5%

### What is the smallest solution?

::: misses
- [acos(b/a)*180/pi] That's $2\theta$. Halve it.
- [any] Find $2\theta$ from $\cos 2\theta = \given{b}/\given{a}$, then halve it.
:::
:::

::: part
answer: 180 - acos(b/a)*180/pi/2
unit: °
tolerance: 0.5%

### What is the next one?

::: misses
- [360 - acos(b/a)*180/pi] That's the second value of $2\theta$. Halve it.
- [any] The second $2\theta$ in the first turn is $360°$ minus the first. Halve it.
:::
:::
:::

::: check
kind: derivation
vars: A = 2..10, L = 0.1..1.9, f = 1..100

## A sine wave $A\sin(2\pi ft)$ crosses the level $L$ (with $0 < L < A$) twice in each cycle. Derive the crossing times in the first cycle.

::: step
answer: asin(L/A)/(2*pi*f)

### When does it first reach $L$?
:::

::: step
answer: (pi - asin(L/A))/(2*pi*f)

### When does it come back down through $L$?

::: misses
- [(pi + asin(L/A))/(2*pi*f)] That's where it crosses $-L$. The sine has the same value at $\pi - u$ as at $u$.
:::
:::

::: step
answer: (pi - 2*asin(L/A))/(2*pi*f)

### For how long each cycle is it above $L$?
:::

::: right
Right. It spends $(\pi - 2\arcsin(L/A))/(2\pi f)$ above the level, half a period when $L = 0$.
:::
:::

::: explain
## Why does $\sin\theta = 0.5$ have infinitely many solutions, and why does a calculator give only one?

::: model
The sine is the height of a point going round a circle. Two points on the circle are at height 0.5, at 30° and 150°, and going round any number of extra full turns brings you back to the same points, so every angle 30° + 360°k or 150° + 360°k works. A calculator's inverse sine has to return a single number, so it's defined to give the one between −90° and 90°, and you find the others from the symmetry and the repetition.
:::
:::

::: practice

::: check
given: c = 0.1 | 0.3 | 0.6 | 0.95
answer: 180 - asin(c)*180/pi
unit: °
tolerance: 0.2%

## Besides $\sin^{-1}(\given{c})$, at what angle between 0° and 180° is $\sin\theta$ = {c}?

::: misses
- [asin(c)*180/pi] That's the calculator's one.
- [any] $180° - \sin^{-1} c$.
:::
:::

::: check
given: c = 0.25 | 0.5 | 0.75 | -0.6
answer: 360 - acos(c)*180/pi
unit: °
tolerance: 0.2%

## Besides $\cos^{-1}(\given{c})$, at what angle between 0° and 360° is $\cos\theta$ = {c}?

::: misses
- [180 - acos(c)*180/pi] That works for sine. For cosine, use $360° - \theta$.
- [any] $360° - \cos^{-1} c$.
:::
:::

::: check
given: A = 5 | 12 | 100; k = 0.2 | 0.6 | 0.9; f = 50 | 400 | 1000; let L = k*A
answer: (pi - asin(L/A))/(2*pi*f)
unit: s

## A {f} Hz sine wave peaks at {A} V. When does it come back down through {L} V for the first time?

::: misses
- [asin(L/A)/(2*pi*f)] That's on the way up. On the way down, use $\pi - \sin^{-1}(L/A)$.
- [any] $t = (\pi - \sin^{-1}(L/A))/(2\pi f)$.
:::
:::

::: check
given: A = 1.5 | 3 | 24
answer: 100*(pi - 2*asin(0.7/A))/(2*pi)
tolerance: 0.5%

## A {A} V peak sine drives a diode that needs 0.7 V. What percent of the period does it conduct?

::: misses
- [50] The 0.7 V threshold shortens it.
- [any] $(\pi - 2\sin^{-1}(0.7/A))/(2\pi)$.
:::
:::

::: check
given: n = 2 | 3 | 6
answer: 2*n
tolerance: 0.5

## How many solutions does $\cos(\given{n}\theta) = 0.3$ have for $0° \le \theta < 360°$?

::: misses
- [n] Two per cycle.
- [any] {n} cycles, two crossings each.
:::
:::
:::
