Intersection of a trigonometric function and a line

Finding where a trigonometric function meets a line amounts to solving a trigonometric equation. We find where y=sinxy = \sin x meets the line y=12y = \dfrac{1}{2}.

Finding the intersections

At an intersection sinx=12\sin x = \dfrac{1}{2}. On 0x<2π0 \leq x < 2\pi two values satisfy it.

  • x=π6x = \dfrac{\pi}{6}
  • x=5π6x = \dfrac{5\pi}{6}

The sine takes the value 12\dfrac{1}{2} at x=π6x = \dfrac{\pi}{6} and at the mirror position x=ππ6=5π6x = \pi - \dfrac{\pi}{6} = \dfrac{5\pi}{6}.

Why two solutions appear

On the unit circle, the point at angle θ\theta and the point at angle πθ\pi - \theta are mirror images across the yy-axis. Since the sine is the height of the point, two points symmetric left and right have the same height.

sin(πθ)=sinθ\sin(\pi - \theta) = \sin\theta

That symmetry is why a single value produces two solutions.

Repetition by the period

Since sinx\sin x repeats with period 2π2\pi, these two are not the only intersections. The same crossings recur every 2π2\pi, giving infinitely many solutions.

x=π6+2nπx=5π6+2nπ\begin{align*} x &= \frac{\pi}{6} + 2n\pi \\ x &= \frac{5\pi}{6} + 2n\pi \end{align*}

Here nn is any integer.

The inverse function and the principal value

The inverse function gives arcsin12=π6\arcsin\dfrac{1}{2} = \dfrac{\pi}{6}, but that is the principal value, taken from the restriction π2xπ2-\dfrac{\pi}{2} \leq x \leq \dfrac{\pi}{2}, and it is only one of the answers. The rest are assembled from the symmetry and the periodicity just described.

For cosx=12\cos x = \dfrac{1}{2} the axis of symmetry moves from the yy-axis to the xx-axis, and the solutions take the form x=±π3+2nπx = \pm\dfrac{\pi}{3} + 2n\pi.

The height of the line and the number of intersections

Range of kkIntersections per periodHow they meet
k>1|k| > 100no intersection
k=1k = 111tangent at a crest
1<k<1-1 < k < 122crossing at an angle
k=1k = -111tangent at a trough

Questions such as finding the stretches of time during which an alternating voltage exceeds a given level reduce to equations of exactly this kind.

The large dots are the two intersections on 0x<2π0 \leq x < 2\pi, namely (π6,12)\left( \dfrac{\pi}{6}, \dfrac{1}{2} \right) and (5π6,12)\left( \dfrac{5\pi}{6}, \dfrac{1}{2} \right).