A few days ago I wrote about how to systematically solve trig equations. That post was abstract and general. This post will be concrete and specific, looking at the special case of quadratic equations in sines and cosines, i.e. any equation of the form

As outlined earlier, we turn the equation into a system of equations in *s* and *c*.

The resultant of

and

as a function of *s*is

where

## Example 1

Let’s look at a particular example. Suppose we want to solve

Then the possible sine values are the roots of

This equation as four real roots: *s* = -0.993462, -0.300859, -0.0996236, or 0.966329.

So any solution θ to our original equation must have sine equal to one of these values. Now sine takes on each value twice during each period, so we have a little work left to find the values of θ. Take the last root for example. If we take the arcsine of 0.966329 we get 1.31056, and θ = 1.31056 is *not* a solution to our equation. But arcsin(*y*) returns only one possible solution to the equation sin(*x*) = *y*. In this case, θ = π – 1.31056 is the solution we’re looking for.

The full set of solutions for 0 ≤ θ < 2π are

In the example above our polynomial in *s* had four real roots in [-1, 1]. In general we could have roots outside this interval, including complex roots. If we’re looking for solutions with real values of θ then we discard these.

## Example 2

Now suppose we want to solve

Our resultant is

and the roots are 0.119029, 0.987302, and -0.766973 ± 0.319513*i*.

If we’re only interested in real values of θ then the two solutions are arcsin(0.119029) = 0.119312 and arcsin(0.987302) = 1.41127. But there are two complex solutions, θ = 3.91711 ± 0.433731*i*.