✖

Trigonometric inequalities

A trigonometric inequality looks like a trigonometric equation, except that instead of the equals sign it has <, >, ≤ or ≥. Take, for example, this one:

sin⁡x>12

We are looking for all the x for which sine is greater than one half. Part of the work is already done. We solved the equation sin⁡x=12 in the article on trigonometric equations, and within one turn we got two solutions: π6 and 5π6. These two numbers act as boundaries. Somewhere between them sine is greater than a half, and elsewhere it is smaller. What remains is to find out where.

On the unit circle

The easiest way to see it is on the unit circle. The sine of an angle is the y-coordinate of the point on the circle, so the inequality sin⁡x>12 is really asking: which points of the circle lie above the line y=12?

The points of the unit circle above the line y = \frac{1}{2} form a red arc

The blue line meets the circle at two points, which correspond to the angles π6 and 5π6. Only the red arc between them lies above the line. As long as the arm of the angle turns anticlockwise from π6 to 5π6, sine is greater than a half. As soon as it leaves the arc, it drops below.

The end points do not belong to the solution, which is why they are open circles in the figure. There sine is exactly 12, and we want it to be strictly greater. Within one turn we therefore get the open interval

(π6,5π6).

But sine is a periodic function with period 2π: after every full turn everything repeats. So we add 2kπ to both ends and get the result

x∈(π6+2kπ,5π6+2kπ),

where k ∈ ℤ. For k = 0 this is the arc from the figure; for k = 1 it is the same arc shifted by one turn, that is, the interval (13π6,17π6). The solution is infinitely many intervals, each always 2π away from the next.

Let’s check, just to be safe. Try x=π2, which lies in the interval. We have sin⁡π2=1, and one is indeed greater than a half. On the other hand, x = π does not lie in the interval and sin π = 0, which is not greater than a half. So the result works.

An interval through zero

Now for cosine:

cos⁡x>12

Cosine is the x-coordinate of the point on the circle, so we are looking for the points to the right of the vertical line that crosses the horizontal axis at 12. The equation cos⁡x=12 also has two solutions within the first turn, π3 and 5π3 (π3 is 60°, from the exact values, and 5π3 is the symmetrical point below the x-axis). The arc to the right of the line starts at the bottom, at 5π3, passes through zero and ends at the top, at π3.

And here there is a strong temptation to write

(5π3,π3).

A trap. The left end of an interval must be smaller than the right end, but 5π3 is greater than π3. Such an interval is empty: there is no number that is both greater than 5π3 and smaller than π3.

The fix is simple. Instead of 5π3 we take the same point of the circle one turn back:

5π3−2π=−π3.

The angle −π3 points to the same place on the circle as 5π3; we just get there by turning clockwise. The left end is now smaller than the right end, and the result is

x∈(−π3+2kπ,π3+2kπ),

where k ∈ ℤ. This is also easy to see on the graph of cosine:

Graph of the function \cos x and the line y = \frac{1}{2}, with the sections where \cos x > \frac{1}{2} in red

The red section around zero corresponds exactly to the interval for k = 0. The section on the right, which starts at 5π3, is its copy for k = 1, that is, (5π3,7π3). That is also a correct way to write it, just with a different k. The wrong one is the version in which the ends are swapped.

Tangent

One last example:

tan⁡x≥1

Tangent is equal to one for x=π4. On each of its branches the graph of tangent is always increasing, so for a slightly larger x tangent is greater than one. But it only increases up to π2, where it shoots off to infinity, and after that it starts again from minus infinity. On one branch of the graph, then, everything from π4 up to π2 satisfies the inequality.

There are two mistakes people commonly make here. The first is in the period. Tangent does not repeat every 2π like sine, but already every π. Anyone who adds 2kπ out of habit loses half of the solutions, for example x=5π4, where tangent is also equal to one.

The second lies in wait at the right-hand end. The left end π4 does belong to the solution, because the inequality is not strict and tan⁡π4=1 satisfies it. But the right end π2 never belongs to it, even for a non-strict inequality. Tangent is not defined there, so it can be neither greater than nor equal to one. It would be a mistake to write the closed interval [π4,π2] just because the question has ≥.

The correct result is therefore

x∈[π4+kπ,π2+kπ),

where k ∈ ℤ. To check, we substitute x=π3, which lies in the interval for k = 0. We have tan⁡π3=3≈1.73, which is more than one.