Intersection of a trigonometric function and a line
An intersection of a trigonometric function and a line amounts to solving a trigonometric equation. We find where y=sinx meets the line y=21.
At an intersection sinx=21. On 0≤x<2π, this holds at x=6π and x=65π. Sine takes the value 21 at x=6π and at the mirror position x=π−6π=65π.
But sinx repeats with period 2π, so these are not the only intersections. The same crossings recur every 2π, and the solutions are x=6π+2πn and x=65π+2πn (with n an integer) — infinitely many.
Sliding the line changes the number of intersections. A line y=k with −1<k<1 gives two per period; k=1 or k=−1 gives one per period (tangent at a peak or trough); and ∣k∣>1 gives none. The large dots are the two intersections on 0≤x<2π: (6π,21) and (65π,21).