xaktly | Functions | Trigonometry

Trigonometric equations

Periodic functions → many solutions

Often we are faced with solving equations involving trigonometric equations, like $sin(x) = 1/2$. Because of the periodic nature of the trigonometric functions – they repeat themselves infinitely many times – the variable x can take on an infinite number of solutions.

Here's an example, $sin(x) = \sqrt{2}/2$. We know that $sin(\pi/2) = \sqrt{2}/2$, but so do $sin(3\pi/2), \, sin(9\pi/2), \, sin(11\pi/2)$, and so on ... see the graph below. The solutions to the equation are the intersections of the function $f(x) = sin(x)$ and $g(x) = \sqrt{2}/2$.

While it is possible to communicate to a reader the infinite set of all solutions to such equations, , we usually just restrict the domain to only a small region so that the number of solutions is finite. For example, we might need the solutions to $sin(x) = 1/2$ on the interval $[0, \, \pi]$ or the interval $(-\pi/2, \, \pi/2)$.

In this section we'll do several examples of trig-equation solving, and eventually I'll put some videos up to help you. But first, there are a few tools you'll need to have at your disposal ...

Tools you'll need to solve trig equations

In order to be effective solving trigonometric equations, there are some things you'll just have to know first. If you don't, now's the time to review them.

  • You have to know the sines, cosines and tangents of the common angles (0, π/4, π/2, 3π/4, π, 5π/4, 3π/2, 7π/4, 2π) in radians.

  • It's crucial that you are able to make a quick sketch – on paper or in your head – of one or more cycles of each of the three basic trig functions. That means knowing both the general shapes of the curves, that sine starts at zero and cosine starts at +1, and that the tangent is a repeating sigmoid (sideways S-shaped) curve.

  • You should be able to jot down the common angles, in multiples of π/4 and π/6. I've only included the π/4 angles in these figures, you'll get a refresher on the others if you work through the examples below. Sketching these graphs is really just a matter of counting, much as you'd do for the unit circle. Start by writing 0 and 2π, then divide that into chunks of π, then π/2, then divide each of those into π/4 or π/6 pieces.

  • You'll need to know your analytic trigonometry, mainly the Pythagorean identities and a few others that can be very helpful. At least be able to quickly look up the double angle and trig. sum formulas.

You should be able to easily sketch a cycle of the sine and cosine functions like this. They don't need to be as neat or detailed, but being able to make these quick sketches can go a long way toward reminding you of the details you'll need to solve trig equations.

To further refresh you memory, here are a graph of a couple of cycles of the tangent function (remember, it has asymptotes because the denominator, cos(x), is zero at multiples of π), and the most important right triangles, 45-45-90 and 30-60-90.

Example 1

Solve the equation $tan(x) = \sqrt{3}$ on the interval $[-2\pi, \, 2\pi]$.

Solution: In this problem, we recognize that $\sqrt{3}$ is present in the 30-60-90 special triangle, so it makes sense to look there for some solutions. Here's that triangle:

Now notice that

Now here's a graph of tan(x) between [-2π, 2π]. On it, we'll plot our initial solution, $x = \sqrt{3}/3.$

The magenta line is the line $y = \sqrt{3}.$ Obviously, on [-2π, 2π] there are three additional solutions, places where the tangent function is equal to $\sqrt{3}.$ We need to find those. Fortunately, the tangent function has very regular behavior, which just reduces the rest of the problem to some simple arithmetic. Notice that every curve in the tangent graph is separated by π radians. That means our solutions, one per curve, are π rad apart. So we just need to add multiples of π, or better yet 6π/6 for the common denominator, like this:

So on our interval, [-2π, 2π], we have four solutions to this trig equation. They are:

$$x = \frac{-11\pi}{6}, \; \frac{-5\pi}{6}, \; \frac{\pi}{6}, \; \frac{7\pi}{6} \;$$

We found these by first finding one solution, the easiest, which we found by remembering the 30-60-90 triangle, then we recognized the periodicity of the tangent function – repeating every π radians – to walk through our interval and count out the rest of the solutions.

Example 2

Solve the equation $2 sin(x) = \sqrt{x}$ on the interval $[0, \, 4\pi]$.

Solution: We begin by looking at the equation. Nothing really changes that much in algebraic problems, and this this one we're trying to solve for x, so we might as well "peel away" the stuff that's easiest to remove.

$$2 sin(x) = \sqrt{2}$$

In this case, that's dividing by 2 on both sides:

$$sin(x) = \frac{\sqrt{2}}{2}$$

Now hopefully that $\sqrt{2}/2$ will trigger the memory of the 45-45-90 triangle, and how we can use it to find trig functions for 45˚ angles.

So we have as our basic solution

$$x = \frac{\pi}{4}$$

Now let's sketch a graph of the sine function between 0 and . We'll sketch in the line y = √2/2 and notice that we should have four solutions to our equation on this interval, one for every intersection of the line an the curve.

Now all that's left is to recognize that these solutions will have a repeating pattern. For each cycle of the sine curve, there will be a solution at π/4 radians and one at 3π/4 – that much we recall by knowing what one cycle of sin(x) looks like. The other two solutions are just π/4 and 3π/4 rad away from the start of the second cycle, at , so they're 2π + π/4 and 2π + 3π/4.

So this equation has four solutions on the interval [0, 4π]. They are:

$$x = \frac{\pi}{4}, \; \frac{3\pi}{4}, \; \frac{9\pi}{4}, \; \frac{11\pi}{4} \;$$

Example 3

Solve the equation $cos^2(2x) - 1 = 0$ on the interval $[-\pi, \, \pi]$.

Solution: We'll again use a few basic algebra moves to first simplify this function.

$$cos^2(2x) - 1 = 0$$

Moving the 1 to the right gives us

$$cos^2(2x) = 1$$

And taking the root of both sides yields:

$$cos(2x) = ± 1$$

The first thing you might want to do from here is look for a double-angle identity, like

$$cos(2x) = cos^2(x) - sin^2(x)$$

That would be fine, but if you recall that cos(2x) is just a transformed version of cos(x) with two complete cycles of the function between 0 and 2π.

That means, for our purposes, that there is a complete cosine cycle between 0 and π, and because cos(x) is an even function [meaning f(-x) = (x)], it has mirror symmetry across the y-axis. Here's what the graph looks like:

Our first solution is x = 0; then it's just a matter of noting that there's a solution to this equation every π/4 radians, so our solutions on the interval [-π, π] are

$$x = -\pi, \; \frac{-\pi}{2}, \; 0, \; \frac{\pi}{2}, \; \pi$$

Practice problems

Solve the following trigonometric equations analytically on the interval $[0, \, 2\pi]$



In this context, analytically means "on paper with a pencil or pen." That is, we can solve the problem exactly without a computer.

1. $$sin(x) = 1/2$$
2. $$\sqrt{3} \cdot cot(x) + 1 = 0$$
3. $$2 sin(x) + \sqrt{3} = 0$$
4. $$sec^2(x) - 1 = 0$$

5. $$2 cos(x) - \sqrt{3} = 0$$
6. $$tan(x) = 1$$
7. $$csc^2(x) = 1$$
8. $$tan(x) + 1 = 0$$

Creative Commons License   optimized for firefox
xaktly.com by Dr. Jeff Cruzan is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. © 2012, Jeff Cruzan. All text and images on this website not specifically attributed to another source were created by me and I reserve all rights as to their use. Any opinions expressed on this website are entirely mine, and do not necessarily reflect the views of any of my employers. Please feel free to send any questions or comments to jeff.cruzan@verizon.net.