Solveeit Logo

Question

Question: The number of solutions of the equation $x + 2\tan{x} = \frac{\pi}{2}$ in the interval $(0, 2\pi)$ i...

The number of solutions of the equation x+2tanx=π2x + 2\tan{x} = \frac{\pi}{2} in the interval (0,2π)(0, 2\pi) is

A

0

B

1

C

2

D

3

Answer

3

Explanation

Solution

Let h(x)=x+2tanxπ2h(x) = x + 2\tan{x} - \frac{\pi}{2}. We analyze the number of roots of h(x)h(x) in the interval (0,2π)(0, 2\pi). The derivative is h(x)=1+2sec2xh'(x) = 1 + 2\sec^2{x}. Since sec2x1\sec^2{x} \ge 1, h(x)1+2(1)=3>0h'(x) \ge 1 + 2(1) = 3 > 0. Thus, h(x)h(x) is strictly increasing in each continuous interval of its domain.

The vertical asymptotes for tanx\tan{x} in (0,2π)(0, 2\pi) are at x=π2x = \frac{\pi}{2} and x=3π2x = \frac{3\pi}{2}.

  1. Interval (0,π2)(0, \frac{\pi}{2}):

    • As x0+x \to 0^+, h(x)0+2(0)π2=π2h(x) \to 0 + 2(0) - \frac{\pi}{2} = -\frac{\pi}{2}.
    • As xπ2x \to \frac{\pi}{2}^-, h(x)π2+2(+)π2=+h(x) \to \frac{\pi}{2} + 2(+\infty) - \frac{\pi}{2} = +\infty. Since h(x)h(x) is continuous and strictly increasing from a negative to a positive value, there is exactly one solution in (0,π2)(0, \frac{\pi}{2}).
  2. Interval (π2,3π2)(\frac{\pi}{2}, \frac{3\pi}{2}):

    • As xπ2+x \to \frac{\pi}{2}^+, h(x)π2+2()π2=h(x) \to \frac{\pi}{2} + 2(-\infty) - \frac{\pi}{2} = -\infty.
    • As x3π2x \to \frac{3\pi}{2}^-, h(x)3π2+2(+)π2=+h(x) \to \frac{3\pi}{2} + 2(+\infty) - \frac{\pi}{2} = +\infty. Since h(x)h(x) is continuous and strictly increasing from -\infty to ++\infty, there is exactly one solution in (π2,3π2)(\frac{\pi}{2}, \frac{3\pi}{2}). More specifically, we can check h(π)=π+2tan(π)π2=π+0π2=π2>0h(\pi) = \pi + 2\tan(\pi) - \frac{\pi}{2} = \pi + 0 - \frac{\pi}{2} = \frac{\pi}{2} > 0. Since h(x)h(x) \to -\infty as xπ2+x \to \frac{\pi}{2}^+ and h(π)>0h(\pi) > 0, there is a root in (π2,π)(\frac{\pi}{2}, \pi). In (π,3π2)(\pi, \frac{3\pi}{2}), h(x)h(x) increases from h(π)=π2h(\pi) = \frac{\pi}{2} to ++\infty, so there are no roots in (π,3π2)(\pi, \frac{3\pi}{2}).
  3. Interval (3π2,2π)(\frac{3\pi}{2}, 2\pi):

    • As x3π2+x \to \frac{3\pi}{2}^+, h(x)3π2+2()π2=h(x) \to \frac{3\pi}{2} + 2(-\infty) - \frac{\pi}{2} = -\infty.
    • At x=2πx=2\pi, h(2π)=2π+2tan(2π)π2=2π+0π2=3π2h(2\pi) = 2\pi + 2\tan(2\pi) - \frac{\pi}{2} = 2\pi + 0 - \frac{\pi}{2} = \frac{3\pi}{2}. Since h(x)h(x) is continuous and strictly increasing from -\infty to a positive value, there is exactly one solution in (3π2,2π)(\frac{3\pi}{2}, 2\pi).

In total, there are 1+1+1=31 + 1 + 1 = 3 solutions in the interval (0,2π)(0, 2\pi).